Started GET "/" for 127.0.0.1 at 2015-03-14 14:11:44 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.8ms) Rendered partials/_nav.haml (6.0ms) Completed 200 OK in 133ms (Views: 132.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:11:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:11:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:11:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:11:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:11:45 -0400 Started GET "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:11:48 -0400 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 (10.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 (45.1ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 77ms (Views: 74.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:11:54 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"C698jFILAhG9YvTSkdbctsTJqXPhn2yPd9Orn9BpLAqC2EdoNiKcEg0DlS7peEOIFnA5EOFS2nwx9rhS4ozqFg==", "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: 2.1300ms 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: 17.9410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"current_sign_in_at"=>2015-03-14 18:11:54 UTC, "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.2110ms Redirected to http://localhost:3000/ Completed 302 Found in 161ms Started GET "/" for 127.0.0.1 at 2015-03-14 14:11:54 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8530ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 33ms (Views: 33.0ms) Started GET "/" for 127.0.0.1 at 2015-03-14 14:11:58 -0400 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.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered partials/_nav.haml (2.8ms) Completed 200 OK in 30ms (Views: 30.3ms) Started GET "/" for 127.0.0.1 at 2015-03-14 14:11:59 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9670ms Rendered partials/_nav.haml (2.3ms) Completed 200 OK in 35ms (Views: 34.6ms) Started GET "/" for 127.0.0.1 at 2015-03-14 14:11:59 -0400 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.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered partials/_nav.haml (2.5ms) Completed 200 OK in 25ms (Views: 25.0ms) Started GET "/forums/topics/54bd3ce04e65695661210000/posts/54bd3ce04e65695661220000" for 127.0.0.1 at 2015-03-14 14:11:59 -0400 Processing by MongoidForums::PostsController#show as HTML Parameters: {"topic_id"=>"54bd3ce04e65695661210000", "id"=>"54bd3ce04e65695661220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54bd3ce04e65695661210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 5.9740ms Completed 404 Not Found in 42ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54bd3ce04e65695661210000. 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): 54bd3ce04e65695661210000 ... (1 total) and the following ids were not found: 54bd3ce04e65695661210000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:101:in `find_topic' 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.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 (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.0ms) Started GET "/forums" for 127.0.0.1 at 2015-03-14 14:12:00 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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: 6.9590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 5.9620ms Completed 200 OK in 83ms (Views: 79.9ms) Started GET "/forums" for 127.0.0.1 at 2015-03-14 14:12:05 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms 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.6380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 33ms (Views: 30.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:06 -0400 Started GET "/admin/topics/test/edit" for 127.0.0.1 at 2015-03-14 14:12:18 -0400 ActionController::RoutingError (No route matches [GET] "/admin/topics/test/edit"): 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.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.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.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 (58.8ms) Started GET "/admin/forums" for 127.0.0.1 at 2015-03-14 14:12:20 -0400 ActionController::RoutingError (No route matches [GET] "/admin/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.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.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.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 (52.7ms) Started GET "/admin/forums" for 127.0.0.1 at 2015-03-14 14:12:24 -0400 ActionController::RoutingError (No route matches [GET] "/admin/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 (3.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.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.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 (47.8ms) Started GET "/admin/forums" for 127.0.0.1 at 2015-03-14 14:12:24 -0400 ActionController::RoutingError (No route matches [GET] "/admin/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 (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.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/_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 (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 (48.0ms) Started GET "/about" for 127.0.0.1 at 2015-03-14 14:12:25 -0400 ActionController::RoutingError (No route matches [GET] "/about"): 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.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.8ms) 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 (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 (63.4ms) Started GET "/forums/topics/54bd3ce04e65695661210000/posts/54bd3ce04e65695661220000" for 127.0.0.1 at 2015-03-14 14:12:26 -0400 Processing by MongoidForums::PostsController#show as HTML Parameters: {"topic_id"=>"54bd3ce04e65695661210000", "id"=>"54bd3ce04e65695661220000"} 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('54c407ca4e65694706000000')}, "$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('54bd3ce04e65695661210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54bd3ce04e65695661210000. 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): 54bd3ce04e65695661210000 ... (1 total) and the following ids were not found: 54bd3ce04e65695661210000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:101:in `find_topic' 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.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.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.1ms) Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:12:26 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms 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.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1490ms Completed 200 OK in 45ms (Views: 43.3ms) Started GET "/forums/admin" for 127.0.0.1 at 2015-03-14 14:12:27 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7920ms Completed 200 OK in 57ms (Views: 54.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:27 -0400 Started GET "/forums/admin/categories/new" for 127.0.0.1 at 2015-03-14 14:12:30 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (56.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8250ms Completed 200 OK in 104ms (Views: 102.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:31 -0400 Started POST "/forums/admin/categories" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"i1E4HAvJi0mbDx9odX97YzyoZtgEZ8d/P6FemAJXjcghwyj5hWg4YYoO1ZpDNewZh14JsjY9+bDo83HV38yAlA==", "category"=>{"name"=>"TestCat"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55047a144e6569818c000000'), "order"=>0, "name"=>"TestCat"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 20.8870ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 39ms Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms 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.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.0060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 28ms (Views: 26.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:36 -0400 Started GET "/forums/admin/categories/new" for 127.0.0.1 at 2015-03-14 14:12:38 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8250ms Completed 200 OK in 41ms (Views: 38.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:39 -0400 Started GET "/forums/admin" for 127.0.0.1 at 2015-03-14 14:12:40 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2630ms Completed 200 OK in 50ms (Views: 47.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:40 -0400 Started GET "/forums/admin/forums/new" for 127.0.0.1 at 2015-03-14 14:12:41 -0400 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('54c407ca4e65694706000000')}, "$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.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0130ms Completed 200 OK in 51ms (Views: 49.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:41 -0400 Started POST "/forums/admin/forums" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LpORo1PuRoCuPEsqOMqDEpOrhdK9epCNXvN4Xn9ZYeSEAYFG3U/1qL89gdgOgBRoKF3quI8grkKJoVcTosJsuA==", "forum"=>{"name"=>"TestFor", "category"=>"55047a144e6569818c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "order"=>0, "name"=>"TestFor", "category_id"=>BSON::ObjectId('55047a144e6569818c000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.7360ms Redirected to http://localhost:3000/forums/55047a1f4e6569818c010000 Completed 302 Found in 32ms Started GET "/forums/55047a1f4e6569818c010000" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 10.3520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55047a1f4e6569818c020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-03-14 18:12:47 UTC, "created_at"=>2015-03-14 18:12:47 UTC, "current_viewed_at"=>2015-03-14 18:12:47 UTC, "past_viewed_at"=>2015-03-14 18:12:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.5030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.7130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"current_viewed_at"=>2015-03-14 18:12:47 UTC, "updated_at"=>2015-03-14 18:12:47 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8790ms Completed 200 OK in 67ms (Views: 38.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:47 -0400 Started GET "/forums/55047a1f4e6569818c010000/new" for 127.0.0.1 at 2015-03-14 14:12:50 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7680ms Completed 200 OK in 56ms (Views: 51.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:50 -0400 Started POST "/forums/55047a1f4e6569818c010000/create" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"v5uZMtXvdlG3Tm5UkDNOxwC++i56oHNJCstqSYK0b+wVCYnXW07FeaZPpKamedm9u0iVREj6TYbdmUUEXy9isA==", "topic"=>{"name"=>"A topic", "posts"=>{"text"=>"topic here"}}, "commit"=>"Create Topic", "forum_id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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('54c407ca4e65694706000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('55047a284e6569818c040000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"A topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "updated_at"=>2015-03-14 18:12:56 UTC, "created_at"=>2015-03-14 18:12:56 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 6.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 3.8720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('55047a284e6569818c060000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-03-14 18:12:56 UTC, "created_at"=>2015-03-14 18:12:56 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('55047a284e6569818c050000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"topic here", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "updated_at"=>2015-03-14 18:12:56 UTC, "created_at"=>2015-03-14 18:12:56 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 5.3190ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 54ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55047a284e6569818c070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-03-14 18:12:56 UTC, "created_at"=>2015-03-14 18:12:56 UTC, "current_viewed_at"=>2015-03-14 18:12:56 UTC, "past_viewed_at"=>2015-03-14 18:12:56 UTC}] 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('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"current_viewed_at"=>2015-03-14 18:12:56 UTC, "updated_at"=>2015-03-14 18:12:56 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.7120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 82ms (Views: 69.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:12:56 -0400 Started GET "/forums/55047a1f4e6569818c010000/new" for 127.0.0.1 at 2015-03-14 14:13:00 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2930ms Completed 200 OK in 69ms (Views: 63.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:13:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:13:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:13:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:13:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:13:01 -0400 Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:13:09 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms 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: 5.9440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.5770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7130ms Completed 200 OK in 82ms (Views: 75.8ms) Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:13:09 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 72ms (Views: 69.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:13:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:13:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:13:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:13:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:13:10 -0400 Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:28:20 -0400 ActionController::RoutingError (uninitialized constant MongoidForums::ApplicationController::CanCan): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:4:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:1:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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 (3.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.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.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.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 (75.1ms) Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:28:44 -0400 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('54c407ca4e65694706000000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.5450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (74.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8450ms Completed 200 OK in 117ms (Views: 101.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:44 -0400 Started GET "/forums/55047a1f4e6569818c010000" for 127.0.0.1 at 2015-03-14 14:28:48 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:12:47 UTC, "current_viewed_at"=>2015-03-14 18:28:48 UTC, "updated_at"=>2015-03-14 18:28:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('55047a284e6569818c040000')}} runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Completed 200 OK in 51ms (Views: 38.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:48 -0400 Started GET "/forums/55047a1f4e6569818c010000" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:28:48 UTC, "current_viewed_at"=>2015-03-14 18:28:50 UTC, "updated_at"=>2015-03-14 18:28:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('55047a284e6569818c040000')}} runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Completed 200 OK in 49ms (Views: 38.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:28:50 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:12:56 UTC, "current_viewed_at"=>2015-03-14 18:28:50 UTC, "updated_at"=>2015-03-14 18:28:50 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.7600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (26.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 200 OK in 71ms (Views: 58.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:28:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:28:51 -0400 Started GET "/" for 127.0.0.1 at 2015-03-14 14:29:06 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1240ms Rendered partials/_nav.haml (3.0ms) Completed 200 OK in 64ms (Views: 63.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:06 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:06 -0400 Started GET "/users/sign_out" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Redirected to http://localhost:3000/ Completed 302 Found in 21ms Started GET "/" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 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 30ms (Views: 29.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:08 -0400 Started GET "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:29:09 -0400 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.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 (9.9ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 49ms (Views: 47.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:09 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:09 -0400 Started GET "/users/sign_up" for 127.0.0.1 at 2015-03-14 14:29:11 -0400 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 (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (22.8ms) Rendered partials/_nav.haml (0.7ms) Completed 200 OK in 64ms (Views: 62.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:11 -0400 Started POST "/users" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zL9gOXKWl76xLSsa6B5eTyloeRY6ueuKYDqrD3/pGcLKLQlof23hPIhQi7z8BtR++YLaIwYt/2HBcYja2bj+Yw==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"email"=>"nick@sarkis.pro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 8.1520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=users documents=[{"_id"=>BSON::ObjectId('55047e004e6569818c090000'), "email"=>"nick@sarkis.pro", "encrypted_password"=>"$2a$10$aJKfv1vXV3g.twaGvHvyLutLoGyPUld0H5g9f/JS1pqODlCNy4QQC", "sign_in_count"=>0}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"last_sign_in_at"=>2015-03-14 18:29:20 UTC, "current_sign_in_at"=>2015-03-14 18:29:20 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1720ms Redirected to http://localhost:3000/ Completed 302 Found in 102ms Started GET "/" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered partials/_nav.haml (1.8ms) Completed 200 OK in 25ms (Views: 25.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:20 -0400 Started GET "/" for 127.0.0.1 at 2015-03-14 14:29:27 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered partials/_nav.haml (2.2ms) Completed 200 OK in 34ms (Views: 33.7ms) Started GET "/forums/" for 127.0.0.1 at 2015-03-14 14:29:27 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms Completed 200 OK in 59ms (Views: 55.5ms) Started GET "/forums/55047a1f4e6569818c010000" for 127.0.0.1 at 2015-03-14 14:29:29 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('55047e094e6569818c0a0000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-03-14 18:29:29 UTC, "created_at"=>2015-03-14 18:29:29 UTC, "current_viewed_at"=>2015-03-14 18:29:29 UTC, "past_viewed_at"=>2015-03-14 18:29:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e094e6569818c0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e094e6569818c0a0000')} update={"$set"=>{"current_viewed_at"=>2015-03-14 18:29:29 UTC, "updated_at"=>2015-03-14 18:29:29 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 79ms (Views: 68.0ms) Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:31 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-03-14 18:29:31 UTC, "created_at"=>2015-03-14 18:29:31 UTC, "current_viewed_at"=>2015-03-14 18:29:31 UTC, "past_viewed_at"=>2015-03-14 18:29:31 UTC}] 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_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"current_viewed_at"=>2015-03-14 18:29:31 UTC, "updated_at"=>2015-03-14 18:29:31 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('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Completed 200 OK in 50ms (Views: 36.0ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for 127.0.0.1 at 2015-03-14 14:29:33 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"CJ+BULFcnSq4y+cZ8bVhKYxIllGQtAil8+q6GxjS68MODegBvKfrqIG2R7/lresYXKI1ZKwgHE5SoZnOvoMMYg==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 6ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:33 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:31 UTC, "current_viewed_at"=>2015-03-14 18:29:33 UTC, "updated_at"=>2015-03-14 18:29:33 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('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 53ms (Views: 38.2ms) Started GET "/forums/topics/55047a284e6569818c040000/posts/new?reply_to_id=55047a284e6569818c050000" for 127.0.0.1 at 2015-03-14 14:29:35 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"55047a284e6569818c050000", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (10.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8580ms Completed 200 OK in 49ms (Views: 44.1ms) Started POST "/forums/topics/55047a284e6569818c040000/posts" for 127.0.0.1 at 2015-03-14 14:29:38 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4D0e8yawfj/YttkPHpy/MNvqD8PmmI5l5zsISbKBkWDmr3eiK0sIveHLeakKhDUBCwCs9toMmo5GcCucFNB2wQ==", "post"=>{"text"=>"sdfsdfsdf", "reply_to_id"=>"55047a284e6569818c050000"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 5ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:38 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:33 UTC, "current_viewed_at"=>2015-03-14 18:29:38 UTC, "updated_at"=>2015-03-14 18:29:38 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7010ms Completed 200 OK in 49ms (Views: 37.4ms) Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} 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('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:38 UTC, "current_viewed_at"=>2015-03-14 18:29:40 UTC, "updated_at"=>2015-03-14 18:29:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "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: 37.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:40 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:41 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:40 UTC, "current_viewed_at"=>2015-03-14 18:29:41 UTC, "updated_at"=>2015-03-14 18:29:41 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('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Completed 200 OK in 62ms (Views: 47.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:41 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new?reply_to_id=55047a284e6569818c050000" for 127.0.0.1 at 2015-03-14 14:29:42 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"55047a284e6569818c050000", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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('55047a284e6569818c050000')} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 51ms (Views: 30.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:42 -0400 Started POST "/forums/topics/55047a284e6569818c040000/posts" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"uCnUjevpVzZtt3T6ixBlpwTxMWq/MNsR6rk/RtEGb62+u73c5hIhtFTK1FyfCO+W1BuSX4Okz/pL8hyTd1eIDA==", "post"=>{"text"=>"sfsdfsdf", "reply_to_id"=>"55047a284e6569818c050000"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7930ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 6ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:41 UTC, "current_viewed_at"=>2015-03-14 18:29:45 UTC, "updated_at"=>2015-03-14 18:29:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 52ms (Views: 40.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:45 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:29:46 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:45 UTC, "current_viewed_at"=>2015-03-14 18:29:46 UTC, "updated_at"=>2015-03-14 18:29:46 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 51ms (Views: 37.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:46 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for 127.0.0.1 at 2015-03-14 14:29:59 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 38ms (Views: 32.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:29:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:29:59 -0400 Started POST "/forums/topics/55047a284e6569818c040000/posts" for 127.0.0.1 at 2015-03-14 14:30:01 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yMcypxfI427Ph2RbJkZu4AR1furRCZ6Q/dP6Clsg1v3OVVv2GjOV7Pb6xP0yXuTR1J/d3+2dintcmNnf/XExXA==", "post"=>{"text"=>"sfsdf"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('55047e294e6569818c110000'), "text"=>"sfsdf", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-03-14 18:30:01 UTC, "created_at"=>2015-03-14 18:30:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('55047e294e6569818c120000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "mongoid_forums_topic_replier"=>"nick@sarkis.pro", "mongoid_forums_topic_post_id"=>BSON::ObjectId('55047e294e6569818c110000'), "read"=>false, "updated_at"=>2015-03-14 18:30:01 UTC, "created_at"=>2015-03-14 18:30:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 12.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Completed 500 Internal Server Error in 39ms NoMethodError (undefined method `attr_accessible' for MongoidForums::ModeratorGroup:Class): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/moderator_group.rb:8:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/moderator_group.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/moderator_group.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190:in `block in simple' activesupport (4.2.0) lib/active_support/callbacks.rb:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190:in `block in simple' activesupport (4.2.0) lib/active_support/callbacks.rb:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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/updatable.rb:113:in `prepare_update' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:138:in `update_document' mongoid (4.0.0) lib/mongoid/persistable/savable.rb:25:in `save' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:42:in `increment_posts_count' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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:169:in `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: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.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 (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.5ms) Started POST "/forums/topics/55047a284e6569818c040000/posts" for 127.0.0.1 at 2015-03-14 14:30:41 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yMcypxfI427Ph2RbJkZu4AR1furRCZ6Q/dP6Clsg1v3OVVv2GjOV7Pb6xP0yXuTR1J/d3+2dintcmNnf/XExXA==", "post"=>{"text"=>"sfsdf"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('55047e514e6569818c130000'), "text"=>"sfsdf", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-03-14 18:30:41 UTC, "created_at"=>2015-03-14 18:30:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$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=mongoid_forums_alerts selector={"_id"=>BSON::ObjectId('55047e294e6569818c120000')} update={"$set"=>{"updated_at"=>2015-03-14 18:30:41 UTC, "mongoid_forums_topic_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8190ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 93ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:30:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} 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('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:46 UTC, "current_viewed_at"=>2015-03-14 18:30:42 UTC, "updated_at"=>2015-03-14 18:30:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Completed 200 OK in 57ms (Views: 41.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:42 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047e294e6569818c110000" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"sxu2aUlf4nUpS3eM9TYWk2A289aQXUHqSK5TpXhr9d21id84RKSU9xA21yrhLpyisNxQ46zJVQHp5XBw3joSfA==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047e294e6569818c110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e294e6569818c110000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('55047e294e6569818c110000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55047e294e6569818c110000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.5460ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 16ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:30:42 UTC, "current_viewed_at"=>2015-03-14 18:30:47 UTC, "updated_at"=>2015-03-14 18:30:47 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms Completed 200 OK in 57ms (Views: 42.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:47 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:30:50 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:30:47 UTC, "current_viewed_at"=>2015-03-14 18:30:50 UTC, "updated_at"=>2015-03-14 18:30:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "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: 37.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:50 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:30:50 UTC, "current_viewed_at"=>2015-03-14 18:30:54 UTC, "updated_at"=>2015-03-14 18:30:54 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 49ms (Views: 37.3ms) Started GET "/" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 68ms (Views: 67.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:54 -0400 Started GET "/users/sign_out" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 26ms (Views: 26.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:30:59 -0400 Started GET "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:00 -0400 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.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 (11.0ms) Rendered partials/_nav.haml (0.6ms) Completed 200 OK in 43ms (Views: 41.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:00 -0400 Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:06 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e6w2fO0cvt1gm9k2uoRi+y8ZyyiuC1KZA+VYRdWO0W5V+iG1hKy5tT3/UEOemRFA4nV1F+rhu/yXkYQwqOadcA==", "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.6030ms Completed 401 Unauthorized in 78ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e6w2fO0cvt1gm9k2uoRi+y8ZyyiuC1KZA+VYRdWO0W5V+iG1hKy5tT3/UEOemRFA4nV1F+rhu/yXkYQwqOadcA==", "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.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 (9.3ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 106ms (Views: 37.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:06 -0400 Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:08 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ek/EuTvio570WyYDF8iKUYF6z7gXQUYcAG73B7ry6XxUGdNwUlKk9qk/r3Yz1fnqTBZxh1Orr3mUGityx5qlYg==", "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.5500ms Completed 401 Unauthorized in 98ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ek/EuTvio570WyYDF8iKUYF6z7gXQUYcAG73B7ry6XxUGdNwUlKk9qk/r3Yz1fnqTBZxh1Orr3mUGityx5qlYg==", "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 (4.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 (10.1ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 119ms (Views: 37.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:09 -0400 Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:10 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V+NKQ7wSDgI5jYpxBMSbM8kYsxnAbu+b8uq+QFc6T4t5tV2K1aIJamTpAwQg2eiIBHQNJoSEBv5mnmI1KlIDlQ==", "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.6830ms Completed 401 Unauthorized in 82ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V+NKQ7wSDgI5jYpxBMSbM8kYsxnAbu+b8uq+QFc6T4t5tV2K1aIJamTpAwQg2eiIBHQNJoSEBv5mnmI1KlIDlQ==", "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.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 (11.2ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 115ms (Views: 40.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:11 -0400 Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:14 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aydRMh21P1wH0KRh3sdi03jl0mw1dp5c54zKXwJMXHlFcUb7dAU4NFq0LRT62hFotYlsU3Gcdzlz+BYqfyQQZw==", "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.5710ms Completed 401 Unauthorized in 89ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aydRMh21P1wH0KRh3sdi03jl0mw1dp5c54zKXwJMXHlFcUb7dAU4NFq0LRT62hFotYlsU3Gcdzlz+BYqfyQQZw==", "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 (4.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 (11.6ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 111ms (Views: 36.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:15 -0400 Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:21 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AjR6abfDZWHIma2DKGUqlO0UWOtxGBgYJ4W+fxakWcEsYm2g3nNiCZX9JPYMeFkvIHjm1DXy8X2z8WIKa8wV3w==", "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.5680ms Completed 401 Unauthorized in 73ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AjR6abfDZWHIma2DKGUqlO0UWOtxGBgYJ4W+fxakWcEsYm2g3nNiCZX9JPYMeFkvIHjm1DXy8X2z8WIKa8wV3w==", "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.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 (10.0ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 109ms (Views: 38.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:21 -0400 Started POST "/users/sign_in" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"O6rvJia6xmaqvmp9a2CyEg7aCQRa1DdrwAVQp0TsNxYV/PjvTwrBDvfa4whPfcGpw7a3Ox4+3g5UcYzSOYR7CA==", "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.0640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-03-14 18:11:54 UTC, "current_sign_in_at"=>2015-03-14 18:31:24 UTC, "last_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0190ms Redirected to http://localhost:3000/ Completed 302 Found in 89ms Started GET "/" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms Rendered partials/_nav.haml (1.8ms) Completed 200 OK in 22ms (Views: 21.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 127.0.0.1 at 2015-03-14 14:31:24 -0400 Started GET "/" for 127.0.0.1 at 2015-03-14 14:31:27 -0400 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.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered partials/_nav.haml (2.2ms) Completed 200 OK in 24ms (Views: 24.3ms) Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:31:27 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:28:50 UTC, "current_viewed_at"=>2015-03-14 18:31:27 UTC, "updated_at"=>2015-03-14 18:31:27 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "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: 30.5ms) Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for 127.0.0.1 at 2015-03-14 14:31:31 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 32ms (Views: 26.2ms) Started POST "/forums/topics/55047a284e6569818c040000/posts" for 127.0.0.1 at 2015-03-14 14:31:33 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wnnpYX5IL2htG6JMwqr9kTWZdH9C7zkZp0EsquxWZYc1v1h9okJOHQ72Sf8Tu05c52ueA3VpoNZHdsdL7o+eRQ==", "post"=>{"text"=>"sfddsf"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 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('55047e854e6569818c150000'), "text"=>"sfddsf", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-03-14 18:31:33 UTC, "created_at"=>2015-03-14 18:31:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 31ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:31:33 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:31:27 UTC, "current_viewed_at"=>2015-03-14 18:31:33 UTC, "updated_at"=>2015-03-14 18:31:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 57ms (Views: 45.7ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047e514e6569818c130000" for 127.0.0.1 at 2015-03-14 14:31:35 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"+BJnq61TsZtx1ZPqjIVGKpujvK1VuC3ROhOsuEvrOWIP1Na3cVnQ7hI4eFldlPXnSVFW0WI+tB7aJEdZSTLCoA==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047e514e6569818c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e514e6569818c130000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('55047e514e6569818c130000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55047e514e6569818c130000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4530ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 8ms Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:31:35 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:31:33 UTC, "current_viewed_at"=>2015-03-14 18:31:35 UTC, "updated_at"=>2015-03-14 18:31:35 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Completed 200 OK in 51ms (Views: 39.7ms) Started GET "/forums/topics/55047a284e6569818c040000" for 127.0.0.1 at 2015-03-14 14:31:37 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:31:35 UTC, "current_viewed_at"=>2015-03-14 18:31:37 UTC, "updated_at"=>2015-03-14 18:31:37 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 50ms (Views: 37.5ms) Started GET "/" for 127.0.0.1 at 2015-03-15 11:35:42 -0400 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: 7.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 13.9940ms Rendered partials/_nav.haml (33.4ms) Completed 200 OK in 92ms (Views: 91.6ms) Started GET "/" for 127.0.0.1 at 2015-03-15 20:43:30 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (2.3ms) Rendered partials/_nav.haml (5.2ms) Completed 200 OK in 181ms (Views: 179.4ms) Started GET "/" for 127.0.0.1 at 2015-03-15 20:43:31 -0400 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 42ms (Views: 42.0ms) Started GET "/apple-touch-icon-precomposed.png" for ::1 at 2015-03-15 20:43:31 -0400 ActionController::RoutingError (No route matches [GET] "/apple-touch-icon-precomposed.png"): 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 (4.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 (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 (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.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 (160.7ms) Started GET "/apple-touch-icon.png" for ::1 at 2015-03-15 20:43:31 -0400 ActionController::RoutingError (No route matches [GET] "/apple-touch-icon.png"): 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.7ms) 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 (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.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 (55.0ms) Started GET "/" for ::1 at 2015-04-03 16:02:17 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.9ms) Rendered partials/_nav.haml (8.1ms) Completed 200 OK in 84ms (Views: 84.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:02:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:02:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:02:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:02:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:02:18 -0400 Started GET "/users/sign_in" for ::1 at 2015-04-03 16:02:20 -0400 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 (13.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 (56.4ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 135ms (Views: 130.5ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 16:02:29 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KESS1oNhVQqxZUOamdZg/oaXsmDK3JKktYvDRMmHleAxi2xloVuSxATmalq8n9pVav0SZEfIXrijJGz6mG4xeg==", "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: 2.9580ms 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: 26.9760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-03-14 18:31:24 UTC, "current_sign_in_at"=>2015-04-03 20:02:29 UTC, "current_sign_in_ip"=>"::1", "sign_in_count"=>4}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.4110ms Redirected to http://localhost:3000/ Completed 302 Found in 131ms Started GET "/" for ::1 at 2015-04-03 16:02:29 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8080ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 29ms (Views: 28.6ms) Started GET "/" for ::1 at 2015-04-03 16:02:50 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3480ms Rendered partials/_nav.haml (4.9ms) Completed 200 OK in 44ms (Views: 44.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:02:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:02:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:02:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:02:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:02:51 -0400 Started GET "/" for ::1 at 2015-04-03 16:02:53 -0400 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.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered partials/_nav.haml (2.3ms) Completed 200 OK in 27ms (Views: 26.9ms) Started GET "/" for ::1 at 2015-04-03 16:02:53 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0020ms Rendered partials/_nav.haml (2.4ms) Completed 200 OK in 31ms (Views: 31.3ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 16:02:54 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7190ms Completed 404 Not Found in 46ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (12.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.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.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 (44.6ms) Started GET "/forums/" for ::1 at 2015-04-03 16:02:54 -0400 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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: 2.0950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.8140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.2910ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3780ms Completed 200 OK in 104ms (Views: 101.3ms) Started GET "/forums/admin" for ::1 at 2015-04-03 16:02:55 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-04-03 16:02:55 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8630ms 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.9760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 10.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 8.6110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.8640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.8770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (103.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Completed 200 OK in 169ms (Views: 166.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:02:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:02:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:02:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:02:55 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:02:55 -0400 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9260ms 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.4500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"mongoid_admin"=>true}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9360ms Started GET "/forums/admin/categories" for ::1 at 2015-04-03 16:03:47 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 60ms (Views: 39.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 16:04:15 -0400 Processing by MongoidForums::Admin::CategoriesController#index 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (28.0ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined local variable or method `new_admin_group_path' for #<#:0x007fbeac75e7a8>): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "New Group", new_admin_group_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__2639383818261216964_70228492816980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.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 (24.8ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 16:04:51 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0950ms Completed 200 OK in 40ms (Views: 36.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:04:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:04:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:04:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:04:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:04:51 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:04:53 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.html.erb 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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Completed 200 OK in 58ms (Views: 44.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:04:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:04:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:04:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:04:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:04:53 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:06:03 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.html.erb within layouts/mongoid_forums/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms Completed 200 OK in 33ms (Views: 29.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:06:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:06:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:06:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:06:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:06:03 -0400 Started GET "/forums/admin/groups/index" for ::1 at 2015-04-03 16:06:07 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 6.3400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms Completed 200 OK in 40ms (Views: 37.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:06:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:06:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:06:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:06:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:06:07 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-03 16:07:31 -0400 Processing by MongoidForums::Admin::CategoriesController#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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms Completed 200 OK in 39ms (Views: 35.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:07:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:07:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:07:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:07:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:07:32 -0400 Started GET "/forums/admin/groups/index" for ::1 at 2015-04-03 16:07:33 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7460ms Completed 200 OK in 42ms (Views: 39.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:07:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:07:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:07:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:07:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:07:33 -0400 Started GET "/forums/admin/groups/index" for ::1 at 2015-04-03 16:08:22 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (23.1ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined local variable or method `admin_group_new_path' for #<#:0x007fbeaaf602f0>): 1: %h1 Manage groups 2: 3: %h2 Create a new group 4: = link_to "New group", admin_group_new_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:4:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml__991554052061578995_70228444366960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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 (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 (23.3ms) Started GET "/forums/admin/groups/index" for ::1 at 2015-04-03 16:08:33 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6640ms Completed 200 OK in 36ms (Views: 32.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:08:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:08:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:08:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:08:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:08:34 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:09:00 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8390ms Completed 200 OK in 92ms (Views: 54.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:09:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:09:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:09:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:09:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:09:01 -0400 Started GET "/forums/admin/groups/index" for ::1 at 2015-04-03 16:09:02 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Completed 200 OK in 76ms (Views: 73.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:09:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:09:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:09:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:09:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:09:03 -0400 Started GET "/forums/admin/groups/index" for ::1 at 2015-04-03 16:09:04 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 24ms (Views: 22.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:09:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:09:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:09:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:09:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:09:04 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:09:05 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8350ms Completed 200 OK in 42ms (Views: 40.2ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:09:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:09:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:09:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:09:05 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:09:05 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:10:51 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (76.5ms) Completed 500 Internal Server Error in 85ms ActionView::Template::Error (undefined method `groups_path' for #<#:0x007ff932551878>): 1: // create a new mod group OR create a new group 2: = simple_form_for @group do |f| 3: = f.input :name 4: = f.button :submit 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' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354134031740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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 (21.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/template_error.html.erb within rescues/layout (40.5ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:11:01 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (18.3ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `groups_path' for #<#:0x007ff936a5fca8>): 1: // create a new mod group OR create a new group 2: = simple_form_for @group do |f| 3: = f.input :name 4: = f.button :submit 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' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354170212420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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 (32.1ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:11:38 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (12.6ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `groups_path' for #<#:0x007ff931085ed0>): 1: // create a new mod group OR create a new group 2: - simple_form_for @group do |f| 3: = f.input :name 4: = f.button :submit 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' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354157033240' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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 (24.9ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:13:49 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (2.6ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: // create a new mod group OR create a new group 2: = form_for @post do |f| 3: = f.text_field :title 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354129395740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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 (32.0ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:13:57 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (2.6ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: // create a new mod group OR create a new group 2: = form_for @grop do |f| 3: = f.text_field :title 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354170735480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.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 (24.4ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:14:00 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (2.5ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: // create a new mod group OR create a new group 2: = form_for @gruop do |f| 3: = f.text_field :title 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354129335080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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 (22.8ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:14:03 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: // create a new mod group OR create a new group 2: = form_for @gruop do |f| 3: = f.text_field :title 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354129335080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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 (21.4ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:14:08 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (14.2ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `groups_path' for #<#:0x007ff930b44278>): 1: // create a new mod group OR create a new group 2: = form_for @group do |f| 3: = f.text_field :title 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354120322280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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.3ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:14:32 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (13.6ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `admin_groups_path' for #<#:0x007ff93169e1f0>): 1: // create a new mod group OR create a new group 2: - simple_form_for [:admin, @group] do |f| 3: = f.input :name 4: = f.button :submit 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' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354126299520' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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.3ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:14:55 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (2.4ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `model_name' for :new:Symbol): 1: // create a new mod group OR create a new group 2: - simple_form_for [:admin, @group, :new] do |f| 3: = f.input :name 4: = f.button :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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:62:in `simple_form_css_class' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:22:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354174056780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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 (29.5ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:15:24 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (20.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined method `admin_groups_path' for #<#:0x007ff932387b50>): 1: // create a new mod group OR create a new group 2: - form_for [:admin, @group] do |f| 3: = f.textfield :name 4: = f.button :submit 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354133067480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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 (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/admin/groups/new" for ::1 at 2015-04-03 16:16:16 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (18.1ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (undefined method `textfield' for #): 1: // create a new mod group OR create a new group 2: - form_for(@group, url: admin_groups_new_path) do |f| 3: = f.textfield :name 4: = f.button :submit /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:3:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354131194480' 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml___1249068762484633723_70354131194480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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 (25.6ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:08 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (7.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3230ms Completed 200 OK in 40ms (Views: 35.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:17:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:17:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:17:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:17:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:17:08 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:09 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 41ms (Views: 37.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:17:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:17:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:17:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:17:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:17:10 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:12 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1300ms Completed 200 OK in 34ms (Views: 32.2ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:12 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Completed 200 OK in 34ms (Views: 31.9ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:12 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Completed 200 OK in 51ms (Views: 48.4ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:12 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Completed 200 OK in 33ms (Views: 30.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:17:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:17:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:17:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:17:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:17:13 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:13 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.2230ms Completed 200 OK in 75ms (Views: 72.6ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:13 -0400 Processing by MongoidForums::Admin::GroupsController#new 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 49ms (Views: 46.2ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:13 -0400 Processing by MongoidForums::Admin::GroupsController#new 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms Completed 200 OK in 67ms (Views: 63.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:17:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:17:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:17:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:17:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:17:14 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:17 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms Completed 200 OK in 41ms (Views: 37.6ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:17:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:17:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:17:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:17:17 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:17:17 -0400 Started POST "/forums/admin/groups/new" for ::1 at 2015-04-03 16:17:21 -0400 ActionController::RoutingError (No route matches [POST] "/forums/admin/groups/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 (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms) 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.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 (75.3ms) Started POST "/forums/admin/groups/new" for ::1 at 2015-04-03 16:18:37 -0400 ActionController::RoutingError (No route matches [POST] "/forums/admin/groups/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.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.3ms) 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 (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 (10.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 (72.1ms) Started POST "/forums/admin/groups/new" for ::1 at 2015-04-03 16:18:40 -0400 ActionController::RoutingError (No route matches [POST] "/forums/admin/groups/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.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/_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 (49.2ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:18:43 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (20.1ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error (undefined local variable or method `admin_groups_new_path' for #<#:0x007fad90d99ac8>): 1: // create a new mod group OR create a new group 2: = form_for(@group, url: admin_groups_new_path) do |f| 3: = f.text_field :name 4: = f.submit :submit /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_new_haml__2558191788110401798_70191718145420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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.4ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:19:10 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms Completed 200 OK in 83ms (Views: 65.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:19:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:19:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:19:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:19:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:19:10 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:19:12 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NcmSBSRO1VduN8Z6n4oVH1mtEKOpU8hf43furFD2osFw6mbXmOPty4mZQoOVrvnKg4BaYyyBWKdc9BUM1DuqAA==", "group"=>{"name"=>"sdfsdfsdfsdf"}, "commit"=>"submit"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Completed 500 Internal Server Error in 27ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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.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.9ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:21:32 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NcmSBSRO1VduN8Z6n4oVH1mtEKOpU8hf43furFD2osFw6mbXmOPty4mZQoOVrvnKg4BaYyyBWKdc9BUM1DuqAA==", "group"=>{"name"=>"sdfsdfsdfsdf"}, "commit"=>"submit"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Completed 500 Internal Server Error in 9ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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 (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.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 (112.0ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:21:38 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (72.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 200 OK in 105ms (Views: 102.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:21:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:21:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:21:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:21:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:21:38 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:21:47 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jwvdsxv5th258MbsUoQps6uh5Q8hTMWRIVBt8ny4OGzKKClhp1SOgV5eQhVYoMVmcYyvz6SeVWme05ZS+HUwrQ==", "group"=>{"name"=>"allah is great"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms Completed 500 Internal Server Error in 7ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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.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 (28.2ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:22:35 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jwvdsxv5th258MbsUoQps6uh5Q8hTMWRIVBt8ny4OGzKKClhp1SOgV5eQhVYoMVmcYyvz6SeVWme05ZS+HUwrQ==", "group"=>{"name"=>"allah is great"}, "commit"=>"Create Category"} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Completed 500 Internal Server Error in 31ms 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/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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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 (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 (23.0ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:22:40 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jwvdsxv5th258MbsUoQps6uh5Q8hTMWRIVBt8ny4OGzKKClhp1SOgV5eQhVYoMVmcYyvz6SeVWme05ZS+HUwrQ==", "group"=>{"name"=>"allah is great"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Completed 500 Internal Server Error in 33ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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.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 (28.8ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:22:42 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jwvdsxv5th258MbsUoQps6uh5Q8hTMWRIVBt8ny4OGzKKClhp1SOgV5eQhVYoMVmcYyvz6SeVWme05ZS+HUwrQ==", "group"=>{"name"=>"allah is great"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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.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 (23.2ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:22:46 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Completed 200 OK in 48ms (Views: 39.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:22:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:22:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:22:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:22:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:22:46 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:22:48 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"A00S5ZMSRSPTYbhGWw+yy0rD5xDpCeFdV/ev3fLwhZVGbuY3L799vzTPPL9RK14ekO6t0GzbcaXodFR9dj2NVA==", "group"=>{"name"=>"dfsdf"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_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: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: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: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 (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 (26.5ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:22:58 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"A00S5ZMSRSPTYbhGWw+yy0rD5xDpCeFdV/ev3fLwhZVGbuY3L799vzTPPL9RK14ekO6t0GzbcaXodFR9dj2NVA==", "group"=>{"name"=>"dfsdf"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "order"=>0, "name"=>"dfsdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5790ms Redirected to http://localhost:3000/forums/551ef6a24e6569e42b010000 Completed 302 Found in 67ms Started GET "/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 16:22:59 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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('551ef6a24e6569e42b010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.9170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551ef6a34e6569e42b020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 20:22:59 UTC, "created_at"=>2015-04-03 20:22:59 UTC, "current_viewed_at"=>2015-04-03 20:22:59 UTC, "past_viewed_at"=>2015-04-03 20:22:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6a34e6569e42b020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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('551ef6a34e6569e42b020000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 20:22:59 UTC, "updated_at"=>2015-04-03 20:22:59 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 71ms (Views: 41.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:22:59 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:22:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:22:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:22:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:22:59 -0400 Started GET "/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 16:23:02 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6a34e6569e42b020000')} 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('551ef6a24e6569e42b010000')} 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('551ef6a34e6569e42b020000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 20:22:59 UTC, "current_viewed_at"=>2015-04-03 20:23:02 UTC, "updated_at"=>2015-04-03 20:23:02 UTC}} flags=[] 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 43ms (Views: 27.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:23:03 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:23:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:23:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:23:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:23:03 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:23:44 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"A00S5ZMSRSPTYbhGWw+yy0rD5xDpCeFdV/ev3fLwhZVGbuY3L799vzTPPL9RK14ekO6t0GzbcaXodFR9dj2NVA==", "group"=>{"name"=>"dfsdf"}, "commit"=>"Create Group"} 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('54c407ca4e65694706000000')}, "$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_forums documents=[{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "order"=>0, "name"=>"dfsdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7360ms Redirected to http://localhost:3000/forums/551ef6d04e6569e42b030000 Completed 302 Found in 6ms Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 16:23:44 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 20:23:44 UTC, "created_at"=>2015-04-03 20:23:44 UTC, "current_viewed_at"=>2015-04-03 20:23:44 UTC, "past_viewed_at"=>2015-04-03 20:23:44 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 20:23:44 UTC, "updated_at"=>2015-04-03 20:23:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 4.1480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 85ms (Views: 60.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:23:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:23:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:23:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:23:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:23:44 -0400 Started GET "/forums/" for ::1 at 2015-04-03 16:24:30 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('54c407ca4e65694706000000')}, "$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"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.3180ms Completed 200 OK in 59ms (Views: 56.0ms) Started GET "/forums/" for ::1 at 2015-04-03 16:24:30 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms 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.8880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 1.2700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.8540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (83.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Completed 200 OK in 157ms (Views: 150.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:24:30 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:24:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:24:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:24:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:24:30 -0400 Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 16:24:33 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:28:50 UTC, "current_viewed_at"=>2015-04-03 20:24:33 UTC, "updated_at"=>2015-04-03 20:24:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 57ms (Views: 37.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:24:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:24:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:24:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:24:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:24:33 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 16:24:34 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:31:37 UTC, "current_viewed_at"=>2015-04-03 20:24:34 UTC, "updated_at"=>2015-04-03 20:24:34 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.8380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Completed 200 OK in 99ms (Views: 79.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:24:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:24:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:24:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:24:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:24:35 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047e854e6569818c150000/edit" for ::1 at 2015-04-03 16:24:36 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047e854e6569818c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('55047e854e6569818c150000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (14.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 60ms (Views: 51.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:24:36 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:24:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:24:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:24:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:24:36 -0400 Started PATCH "/forums/topics/55047a284e6569818c040000/posts/55047e854e6569818c150000" for ::1 at 2015-04-03 16:24:38 -0400 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SjgUsLuNZoZC4UXu83YizEm7ajzbb6+8zn2b4vpDmnoPG+BiByBeGqVPwRf5Us4Zk5Yg/F69P0Rx/mBCfo6Suw==", "post"=>{"text"=>"sfddsf"}, "commit"=>"Update post", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047e854e6569818c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('55047e854e6569818c150000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$set"=>{"last_post_at"=>2015-03-14 18:31:33 UTC, "updated_at"=>2015-04-03 20:24:38 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8600ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 13ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 16:24:38 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 20:24:34 UTC, "current_viewed_at"=>2015-04-03 20:24:38 UTC, "updated_at"=>2015-04-03 20:24:38 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 200 OK in 58ms (Views: 45.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:24:38 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:24:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:24:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:24:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:24:38 -0400 Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 16:24:44 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} 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('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 404 Not Found in 9ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (22.1ms) Started GET "/forums/" for ::1 at 2015-04-03 16:24:46 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a1f4e6569818c010000')}} runtime: 0.7030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 59ms (Views: 57.2ms) Started GET "/forums/admin" for ::1 at 2015-04-03 16:24:46 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (55.7ms) Completed 500 Internal Server Error in 67ms ActionView::Template::Error (undefined local variable or method `admin_groups_index_path' for #<#:0x007fad8bd54450>): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "Manage Groups", admin_groups_index_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__1803622781657726231_70191676014040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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 (6.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.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 (30.8ms) Started GET "/forums/admin" for ::1 at 2015-04-03 16:25:06 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (20.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined local variable or method `admin_groups_index_path' for #<#:0x007fad8cc41c10>): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "Manage Groups", admin_groups_index_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__1803622781657726231_70191676014040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.8ms) 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.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.5ms) Started GET "/forums/admin" for ::1 at 2015-04-03 16:25:37 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (21.2ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined local variable or method `admin_groups_index_path' for #<#:0x007fad90df8ca8>): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "Manage Groups", admin_groups_index_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__1803622781657726231_70191676014040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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 (27.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.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 (47.3ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:25:59 -0400 Processing by MongoidForums::Admin::GroupsController#new 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (6.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 49ms (Views: 38.4ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:26:03 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 40ms (Views: 38.0ms) Started GET "/forums/admin/groups/" for ::1 at 2015-04-03 16:26:03 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9530ms Completed 200 OK in 57ms (Views: 54.6ms) Started GET "/forums/admin/groups/" for ::1 at 2015-04-03 16:26:06 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 31ms (Views: 29.1ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:26:06 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 45ms (Views: 42.5ms) Started GET "/forums/admin/" for ::1 at 2015-04-03 16:26:07 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (25.7ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined local variable or method `admin_groups_index_path' for #<#:0x007fad90053828>): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "Manage Groups", admin_groups_index_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__1803622781657726231_70191676014040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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 (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.7ms) Started GET "/forums/admin/" for ::1 at 2015-04-03 16:26:27 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (23.5ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined local variable or method `index_admin_group_path' for #<#:0x007fad909d6b98>): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "Manage Groups", index_admin_group_path /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__1803622781657726231_70191716147720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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/admin/" for ::1 at 2015-04-03 16:26:42 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (3.4ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"show", :controller=>"mongoid_forums/admin/groups"} missing required keys: [:id]): 2: 3: =link_to "New Forum", new_admin_forum_path 4: =link_to "New Category", new_admin_category_path 5: =link_to "Manage Groups", admin_group_path 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__1803622781657726231_70191716744660' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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 (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 (26.2ms) Started GET "/forums/admin/" for ::1 at 2015-04-03 16:26:54 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 58ms (Views: 55.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:26:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:26:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:26:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:26:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:26:54 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:26:56 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 32ms (Views: 30.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:26:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:26:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:26:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:26:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:26:56 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:26:57 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Completed 200 OK in 33ms (Views: 30.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:26:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:26:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:26:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:26:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:26:58 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:27:07 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+wv1ZGz8VfBZz3xnuLYGMlyHyShpgeFD013+46/Cfyy+KAG20FFtbL5h+J6ykurnhqqD6OxTcbts3gVDKw937Q==", "group"=>{"name"=>"AllahIsGreatMyNasheedIsGood"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('551ef79b4e6569e42b050000'), "order"=>0, "name"=>"AllahIsGreatMyNasheedIsGood"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7660ms Redirected to http://localhost:3000/forums/551ef79b4e6569e42b050000 Completed 302 Found in 6ms Started GET "/forums/551ef79b4e6569e42b050000" for ::1 at 2015-04-03 16:27:07 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef79b4e6569e42b050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef79b4e6569e42b050000')} 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={"_id"=>BSON::ObjectId('551ef79b4e6569e42b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef79b4e6569e42b050000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551ef79b4e6569e42b060000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('551ef79b4e6569e42b050000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 20:27:07 UTC, "created_at"=>2015-04-03 20:27:07 UTC, "current_viewed_at"=>2015-04-03 20:27:07 UTC, "past_viewed_at"=>2015-04-03 20:27:07 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef79b4e6569e42b060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef79b4e6569e42b050000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef79b4e6569e42b060000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 20:27:07 UTC, "updated_at"=>2015-04-03 20:27:07 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef79b4e6569e42b050000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 200 OK in 55ms (Views: 31.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:27:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:27:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:27:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:27:08 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:27:08 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:28:05 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms Completed 200 OK in 114ms (Views: 72.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:28:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:28:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:28:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:28:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:28:06 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:28:06 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms Completed 200 OK in 39ms (Views: 35.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:28:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:28:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:28:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:28:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:28:07 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:28:08 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9630ms Completed 200 OK in 46ms (Views: 43.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:28:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:28:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:28:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:28:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:28:08 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:28:12 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wvilbFP//zfAAPBgxWjsMrjL4mVkLUYrZzeZ9N/ykjGH21G+71LHqyeudJnPTADnYuaopeH/1tPYtGJUWz+a8A==", "group"=>{"name"=>"Al-Queda"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000'), "members"=>[], "name"=>"Al-Queda"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 21.5970ms Redirected to Completed 500 Internal Server Error in 46ms NoMethodError (undefined method `group_url' for #): actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionpack (4.2.0) lib/action_dispatch/routing/url_for.rb:167:in `url_for' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:75: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:19: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: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: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: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 (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 (29.6ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:30:54 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wvilbFP//zfAAPBgxWjsMrjL4mVkLUYrZzeZ9N/ykjGH21G+71LHqyeudJnPTADnYuaopeH/1tPYtGJUWz+a8A==", "group"=>{"name"=>"Al-Queda"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551ef87f4e6569e42b080000'), "members"=>[], "name"=>"Al-Queda"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6430ms Redirected to http://localhost:3000/forums/admin/groups/551ef87f4e6569e42b080000 Completed 302 Found in 30ms Started GET "/forums/admin/groups/551ef87f4e6569e42b080000" for ::1 at 2015-04-03 16:30:55 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef87f4e6569e42b080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (24.8ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:30:59 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 200 OK in 39ms (Views: 36.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:30:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:30:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:30:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:30:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:30:59 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:31:00 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3Vxsbpq2rYJQ7ZQY9qe/yQ6zIYllQ0SGWXX4LdDFxOaYf5i8JhuVHrdDEOH8g1Mc1J5rSeCR1H7m9gONVAjMJw==", "group"=>{"name"=>"Al-Queda"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551ef8844e6569e42b090000'), "members"=>[], "name"=>"Al-Queda"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4490ms Redirected to http://localhost:3000/forums/admin/groups/551ef8844e6569e42b090000 Completed 302 Found in 3ms Started GET "/forums/admin/groups/551ef8844e6569e42b090000" for ::1 at 2015-04-03 16:31:00 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef8844e6569e42b090000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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 (24.0ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:31:04 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 43ms (Views: 39.9ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:31:05 -0400 Processing by MongoidForums::Admin::GroupsController#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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8020ms Completed 200 OK in 51ms (Views: 48.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:31:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:31:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:31:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:31:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:31:05 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:31:32 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Completed 200 OK in 35ms (Views: 32.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:31:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:31:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:31:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:31:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:31:32 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:32:22 -0400 Processing by MongoidForums::Admin::GroupsController#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('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 29ms (Views: 25.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:32:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:32:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:32:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:32:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:32:23 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:32:29 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 200 OK in 34ms (Views: 32.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:32:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:32:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:32:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:32:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:32:29 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:32:46 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "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: 33.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:32:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:32:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:32:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:32:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:32:46 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:32:51 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 50ms (Views: 48.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:32:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:32:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:32:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:32:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:32:52 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:32:55 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "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: 32.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:32:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:32:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:32:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:32:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:32:55 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:32:59 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (Invalid filter name ":".): 2: %h2 Listing all groups 3: - @groups.each_with_index do |group, i| 4: = i 5: : 6: = group.name 7: %br 8: %h2 Create a new group /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:5 haml (4.0.6) lib/haml/parser.rb:435:in `filter' haml (4.0.6) lib/haml/parser.rb:226: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: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: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.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.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 (25.7ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:33:10 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (Illegal element: classes and ids must have values.): 2: %h2 Listing all groups 3: - @groups.each_with_index do |group, i| 4: = i 5: . 6: = group.name 7: %br 8: %h2 Create a new group /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:5 haml (4.0.6) lib/haml/parser.rb:525:in `parse_tag' haml (4.0.6) lib/haml/parser.rb:332:in `tag' haml (4.0.6) lib/haml/parser.rb:411:in `div' haml (4.0.6) lib/haml/parser.rb:209: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: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: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 (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.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.3ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:33:14 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 31ms (Views: 28.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:33:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:33:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:33:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:33:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:33:14 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:33:27 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 30ms (Views: 27.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:33:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:33:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:33:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:33:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:33:27 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 16:33:29 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Completed 200 OK in 31ms (Views: 28.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:33:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:33:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:33:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:33:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:33:30 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 16:33:36 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aHzQCO0/BY5mTxUuDegFFkUFWktsP2Kjm6OToM1PUtwtXyTaUZI9EoHhkdcHzOnDnygQi+nt8lskIGgASYJaHQ==", "group"=>{"name"=>"NickIsBitch"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000'), "members"=>[], "name"=>"NickIsBitch"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Redirected to http://localhost:3000/forums/admin/groups/551ef9204e6569e42b0a0000 Completed 302 Found in 3ms Started GET "/forums/admin/groups/551ef9204e6569e42b0a0000" for ::1 at 2015-04-03 16:33:36 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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 (29.3ms) Started GET "/forums/admin/groups/551ef9204e6569e42b0a0000" for ::1 at 2015-04-03 16:35:15 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef9204e6569e42b0a0000"} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.4ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:35:22 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 33ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:35:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:35:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:35:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:35:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:35:22 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:35:23 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 31ms (Views: 28.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:35:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:35:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:35:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:35:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:35:23 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:35:24 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 35ms (Views: 32.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:35:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:35:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:35:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:35:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:35:24 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:35:46 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (23.1ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined method `group_path' for #<#:0x007fad90891e18>): 3: - @groups.each_with_index do |group, i| 4: = i 5: \. 6: = link_to group.name, group 7: %br 8: %h2 Create a new group 9: = link_to "New group", new_admin_group_path 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:6:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___4321653095408197468_70191715471540' 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:3:in `each_with_index' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___4321653095408197468_70191715471540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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 (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 (23.0ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:36:01 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 34ms (Views: 31.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:36:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:36:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:36:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:36:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:36:01 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:36:03 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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 (31.4ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:36:41 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 500 Internal Server Error in 25ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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/diagnostics.html.erb within rescues/layout (31.2ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:36:44 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (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.9ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:36:54 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 500 Internal Server Error in 30ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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 (26.0ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:37:26 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Completed 500 Internal Server Error in 20ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (24.3ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:37:28 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (23.9ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:37:28 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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 (30.4ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:37:29 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9970ms Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (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.1ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:37:36 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 500 Internal Server Error in 23ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (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.0ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:38:28 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Completed 500 Internal Server Error in 41ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (57.3ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:39:28 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 500 Internal Server Error in 22ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.3ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:40:56 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2760ms Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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.5ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:41:05 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 500 Internal Server Error in 20ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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.9ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:41:25 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 500 Internal Server Error in 66ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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 (22.1ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:41:33 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8270ms Completed 500 Internal Server Error in 21ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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.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.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 (26.2ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:41:38 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 500 Internal Server Error in 18ms NoMethodError (undefined method `set_group' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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 (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.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/diagnostics.html.erb within rescues/layout (25.9ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:42:14 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 56ms (Views: 37.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:42:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:42:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:42:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:42:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:42:14 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:42:33 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 53ms (Views: 32.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:42:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:42:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:42:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:42:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:42:34 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:43:17 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (0.7ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h3 and nested within it.): 1: %h2 2: = @group.name 3: %h3 Members 4: = @group.members.each do |member| 5: = member.name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:4 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:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.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 (28.2ms) Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:43:22 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1730ms Completed 200 OK in 56ms (Views: 52.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:43:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:43:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:43:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:43:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:43:23 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:43:30 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3920ms Completed 200 OK in 165ms (Views: 152.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:43:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:43:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:43:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:43:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:43:32 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:43:44 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3550ms Completed 200 OK in 168ms (Views: 156.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:43:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:43:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:43:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:43:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:43:46 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:44:03 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3900ms Completed 200 OK in 157ms (Views: 147.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:44:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:44:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:44:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:44:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:44:04 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 16:44:07 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 6.8770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (23.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 4.0130ms Completed 200 OK in 170ms (Views: 163.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:44:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:44:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:44:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:44:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:44:08 -0400 Started GET "/forums/admin/groups/551ef7dc4e6569e42b070000" for ::1 at 2015-04-03 16:44:09 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef7dc4e6569e42b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef7dc4e6569e42b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.6190ms Completed 200 OK in 158ms (Views: 147.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 16:44:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 16:44:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 16:44:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 16:44:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 16:44:10 -0400 Started GET "/" for ::1 at 2015-04-03 18:32:45 -0400 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: 1.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Rendered partials/_nav.haml (6.2ms) Completed 200 OK in 69ms (Views: 68.7ms) Started GET "/" for ::1 at 2015-04-03 18:32:48 -0400 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.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 20ms (Views: 19.5ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 18:32:49 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 404 Not Found in 44ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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 (25.2ms) Started GET "/forums/" for ::1 at 2015-04-03 18:32:51 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms 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.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (42.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms Completed 200 OK in 69ms (Views: 67.6ms) Started GET "/forums/admin" for ::1 at 2015-04-03 18:32:51 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 200 OK in 49ms (Views: 46.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:32:53 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Completed 200 OK in 42ms (Views: 31.6ms) Started GET "/forums/admin/groups/551ef9204e6569e42b0a0000" for ::1 at 2015-04-03 18:32:55 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 42ms (Views: 38.6ms) Started POST "/forums/admin/groups/551ef9204e6569e42b0a0000/add_user" for ::1 at 2015-04-03 18:32:58 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RY8AIEjGNzjwSMbIhY+hXaVB53Plx37V1eexeq5GcNoArPTy9GsPpBfmQjGPq02If2yts2AV7i1qZEraKot4Gw==", "user"=>{"id"=>"55047e004e6569818c090000"}, "group_id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} update={"$set"=>{"members"=>[BSON::ObjectId('55047e004e6569818c090000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8640ms Redirected to http://localhost:3000/forums/admin/groups/551ef9204e6569e42b0a0000 Completed 302 Found in 14ms Started GET "/forums/admin/groups/551ef9204e6569e42b0a0000" for ::1 at 2015-04-03 18:32:58 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 38ms (Views: 32.5ms) Started POST "/forums/admin/groups/551ef9204e6569e42b0a0000/add_user" for ::1 at 2015-04-03 18:33:01 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lBJzCklzw8Yk+eq6CsjVOuq3ALFyZCFKk8Hjqfk9ByvRMYfY9d77WsNXbkMA7DnvMJpKcfe2sbIsQhgJffAP6g==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} update={"$set"=>{"members"=>[BSON::ObjectId('55047e004e6569818c090000'), BSON::ObjectId('54c407ca4e65694706000000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms Redirected to http://localhost:3000/forums/admin/groups/551ef9204e6569e42b0a0000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551ef9204e6569e42b0a0000" for ::1 at 2015-04-03 18:33:01 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Completed 200 OK in 32ms (Views: 28.2ms) Started GET "/forums/admin/groups/551ef9204e6569e42b0a0000" for ::1 at 2015-04-03 18:33:02 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551ef9204e6569e42b0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef9204e6569e42b0a0000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Completed 200 OK in 37ms (Views: 32.3ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:33:09 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 38ms (Views: 35.9ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:34:27 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 30ms (Views: 27.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:34:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:34:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:34:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:34:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:34:27 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:34:29 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 89ms (Views: 87.0ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:34:30 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:34:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:34:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:34:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:34:30 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:34:39 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hh492bAp0XoxrG6fSJWD6hw8qxbQWJ+NA2dJ3T8kHqjDPckLDITp5tYC6mZCsW8/xhHh1lWKD3W85LJ9u+kWaQ==", "group"=>{"name"=>"TestModGroup", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f157f4e6569e891000000'), "members"=>[], "name"=>"TestModGroup", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms Redirected to http://localhost:3000/forums/admin/groups/551f157f4e6569e891000000 Completed 302 Found in 4ms Started GET "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:34:39 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 43ms (Views: 40.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:34:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:34:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:34:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:34:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:34:39 -0400 Started POST "/forums/admin/groups/551f157f4e6569e891000000/add_user" for ::1 at 2015-04-03 18:34:48 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hdSIv7H/dnxZG9Pb6Rq3y55KuB1TXj3fSfov+/wTZg3A93xtDVJO4L61VyLjPlseRGfy3daMrSf2edRbeN5uzA==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} update={"$set"=>{"members"=>[BSON::ObjectId('54c407ca4e65694706000000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms Redirected to http://localhost:3000/forums/admin/groups/551f157f4e6569e891000000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:34:48 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 200 OK in 38ms (Views: 35.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:34:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:34:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:34:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:34:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:34:48 -0400 Started GET "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:38:12 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f157f4e6569e891000000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Completed 200 OK in 37ms (Views: 32.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:13 -0400 Started GET "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:38:18 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:18 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:38:20 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9100ms Completed 200 OK in 36ms (Views: 34.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:20 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:38:21 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 40ms (Views: 38.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:21 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:38:22 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (5.8ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/admin/groups"} missing required keys: [:id]): 26: %td 27: = link_to group.name, [:admin, group] 28: %td 29: = link_to "edit", edit_admin_group_path 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:29:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3073748015508955578_70112209606460' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:22:in `each_with_index' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:22:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3073748015508955578_70112209606460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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 (24.4ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:38:28 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (4.1ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/admin/groups"} missing required keys: [:id]): 26: %td 27: = link_to group.name, [:admin, group] 28: %td 29: = link_to "edit", edit_admin_group_path 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:29:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3073748015508955578_70112209606460' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:22:in `each_with_index' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:22:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3073748015508955578_70112209606460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.9ms) Started GET "/forums/admin" for ::1 at 2015-04-03 18:38:32 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 31ms (Views: 28.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:32 -0400 Started GET "/forums/admin" for ::1 at 2015-04-03 18:38:32 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 29ms (Views: 26.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:33 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:38:33 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (4.3ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/admin/groups"} missing required keys: [:id]): 26: %td 27: = link_to group.name, [:admin, group] 28: %td 29: = link_to "edit", edit_admin_group_path 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:29:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3073748015508955578_70112209606460' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:22:in `each_with_index' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:22:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3073748015508955578_70112209606460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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 (18.9ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:38:43 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "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: 29.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:43 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:38:56 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 34ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:56 -0400 Started GET "/forums/admin/groups/551f157f4e6569e891000000/edit" for ::1 at 2015-04-03 18:38:59 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.html.erb 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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms Completed 200 OK in 52ms (Views: 48.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:38:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:38:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:38:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:38:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:38:59 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:39:26 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 200 OK in 28ms (Views: 26.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:39:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:39:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:39:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:39:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:39:27 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:39:30 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 30ms (Views: 28.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:39:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:39:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:39:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:39:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:39:30 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:39:36 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 35ms (Views: 32.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:39:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:39:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:39:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:39:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:39:37 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:40:13 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 40ms (Views: 36.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:40:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:40:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:40:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:40:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:40:13 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:40:17 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 40ms (Views: 37.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:40:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:40:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:40:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:40:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:40:17 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:40:24 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "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: 43.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:40:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:40:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:40:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:40:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:40:25 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:43:10 -0400 Processing by MongoidForums::Admin::GroupsController#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('54c407ca4e65694706000000')}, "$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_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Completed 200 OK in 36ms (Views: 32.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:43:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:43:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:43:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:43:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:43:10 -0400 Started GET "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:43:11 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 38ms (Views: 31.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:43:11 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:43:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:43:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:43:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:43:11 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:43:27 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 29ms (Views: 27.2ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:43:27 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:43:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:43:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:43:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:43:28 -0400 Started GET "/forums/admin/groups/551f157f4e6569e891000000.551f157f4e6569e891000000" for ::1 at 2015-04-03 18:43:29 -0400 Processing by MongoidForums::Admin::GroupsController#show as Parameters: {"id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Completed 200 OK in 44ms (Views: 39.6ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:43:29 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:43:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:43:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:43:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:43:29 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:44:35 -0400 Processing by MongoidForums::Admin::GroupsController#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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Completed 200 OK in 38ms (Views: 34.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:44:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:44:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:44:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:44:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:44:35 -0400 Started DELETE "/forums/admin/groups/551f157f4e6569e891000000.551f157f4e6569e891000000" for ::1 at 2015-04-03 18:44:37 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as Parameters: {"authenticity_token"=>"qacUkOEqDpJcyIb04Nxe/3MXIpI3aTgCdfQnx0GAZebshOBCXYc2DrtmAg3q+LIqqTpoUrK7qPrKd9xnxU1tJw==", "id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms Completed 500 Internal Server Error in 2ms NoMethodError (undefined method `destroy' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:40:in `destroy' 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: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.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 (20.7ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:44:47 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 30ms (Views: 28.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:44:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:44:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:44:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:44:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:44:47 -0400 Started DELETE "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:44:48 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"l0/CAYu72Ni3X4GDR8aFOjt8Zpkm9PW/eDAViODR41vSbDbTNxbgRFDxBXpN4mnv4VEsWaMmZUfHs+4oZBzrmg==", "id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 500 Internal Server Error in 2ms NoMethodError (undefined method `destroy' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:40:in `destroy' 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: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 (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.1ms) Started DELETE "/forums/admin/groups/551f157f4e6569e891000000" for ::1 at 2015-04-03 18:45:16 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"l0/CAYu72Ni3X4GDR8aFOjt8Zpkm9PW/eDAViODR41vSbDbTNxbgRFDxBXpN4mnv4VEsWaMmZUfHs+4oZBzrmg==", "id"=>"551f157f4e6569e891000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f157f4e6569e891000000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4480ms Completed 500 Internal Server Error in 26ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/groups/destroy, mongoid_forums/admin/base/destroy, mongoid_forums/application/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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:169:in `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: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.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 (0.8ms) 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 (17.1ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:45:22 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 51ms (Views: 48.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:23 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:45:24 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7390ms Completed 200 OK in 34ms (Views: 32.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:24 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:45:24 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 38ms (Views: 34.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:25 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:45:28 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"C03X6Ad9mKcFjhsaTRYSC8G979Jvo9MYzWr1DSec9mFObiM6u9CgO+Ign+NHMv7eG5ClEupxQ+By6Q6to1H+oA==", "group"=>{"name"=>"Test", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f18084e6569e891010000'), "members"=>[], "name"=>"Test", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5510ms Redirected to http://localhost:3000/forums/admin/groups/551f18084e6569e891010000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f18084e6569e891010000" for ::1 at 2015-04-03 18:45:28 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18084e6569e891010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18084e6569e891010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8860ms Completed 200 OK in 37ms (Views: 32.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:28 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:45:31 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 40ms (Views: 37.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:31 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:45:32 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 43ms (Views: 39.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:32 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:45:33 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 34ms (Views: 31.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:45:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:45:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:45:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:45:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:45:33 -0400 Started DELETE "/forums/admin/groups/551f18084e6569e891010000" for ::1 at 2015-04-03 18:45:34 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"aIysS4pLDvuqmVejnGmknnBtTz1hPEuK7cH7AagjFCUtr1iZNuY2Z00301qWTUhLqkAF/eTu23JSQgChLO4c5A==", "id"=>"551f18084e6569e891010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18084e6569e891010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18084e6569e891010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6230ms Completed 500 Internal Server Error in 9ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/groups/destroy, mongoid_forums/admin/base/destroy, mongoid_forums/application/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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:169:in `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: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.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/missing_template.html.erb within rescues/layout (16.0ms) Started DELETE "/forums/admin/groups/551f18084e6569e891010000" for ::1 at 2015-04-03 18:46:48 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"aIysS4pLDvuqmVejnGmknnBtTz1hPEuK7cH7AagjFCUtr1iZNuY2Z00301qWTUhLqkAF/eTu23JSQgChLO4c5A==", "id"=>"551f18084e6569e891010000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f18084e6569e891010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Completed 404 Not Found in 20ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f18084e6569e891010000. Summary: When calling MongoidForums::Group.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): 551f18084e6569e891010000 ... (1 total) and the following ids were not found: 551f18084e6569e891010000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:40:in `destroy' 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: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 (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.0ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:46:53 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Completed 200 OK in 37ms (Views: 35.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:46:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:46:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:46:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:46:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:46:53 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:46:54 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 57ms (Views: 54.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:46:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:46:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:46:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:46:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:46:54 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:46:57 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"g3fIGemfDsJTav4y3aof/HGN4g5d1tRC4uP2QdHWtArGVDzLVTI2XrTEesvXjvMpq6CoztgERLpdYA3hVRu8yw==", "group"=>{"name"=>"sfdsd", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f18614e6569e891020000'), "members"=>[], "name"=>"sfdsd", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8190ms Redirected to http://localhost:3000/forums/admin/groups/551f18614e6569e891020000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f18614e6569e891020000" for ::1 at 2015-04-03 18:46:57 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 34ms (Views: 30.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:46:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:46:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:46:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:46:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:46:57 -0400 Started POST "/forums/admin/groups/551f18614e6569e891020000/add_user" for ::1 at 2015-04-03 18:47:00 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tWawb0ABjZ+Ziscvr+gOHsyBWdQXKvTUe+4qNUPFWm/wRUS9/Ky1A34kQ9alzOLLFqwTFJL4ZCzEbdGVxwhSrg==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} update={"$set"=>{"members"=>[BSON::ObjectId('54c407ca4e65694706000000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms Redirected to http://localhost:3000/forums/admin/groups/551f18614e6569e891020000 Completed 302 Found in 7ms Started GET "/forums/admin/groups/551f18614e6569e891020000" for ::1 at 2015-04-03 18:47:00 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 31ms (Views: 27.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:00 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:03 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Completed 200 OK in 40ms (Views: 37.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:03 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:47:05 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Completed 200 OK in 39ms (Views: 36.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:05 -0400 Started GET "/forums/admin/groups/551f18614e6569e891020000/edit" for ::1 at 2015-04-03 18:47:07 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.html.erb 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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6380ms Completed 200 OK in 36ms (Views: 32.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:07 -0400 Started DELETE "/forums/admin/groups/551f18614e6569e891020000" for ::1 at 2015-04-03 18:47:09 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"x5/BFZvXDB8oqhMvGPb/MD8UHS9nI3C//Uo2/hbemKGCvDXHJ3o0g88El9YS0hPl5TlX7+Lx4EdCyc1ekhOQYA==", "id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms Redirected to http://localhost:3000/forums/admin/groups/551f18614e6569e891020000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f18614e6569e891020000" for ::1 at 2015-04-03 18:47:09 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f18614e6569e891020000. Summary: When calling MongoidForums::Group.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): 551f18614e6569e891020000 ... (1 total) and the following ids were not found: 551f18614e6569e891020000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:34: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.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 (15.4ms) Started GET "/forums/admin/groups/551f18614e6569e891020000" for ::1 at 2015-04-03 18:47:32 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18614e6569e891020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18614e6569e891020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Completed 404 Not Found in 31ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f18614e6569e891020000. Summary: When calling MongoidForums::Group.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): 551f18614e6569e891020000 ... (1 total) and the following ids were not found: 551f18614e6569e891020000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:34: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.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.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.4ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:47:33 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML 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('54c407ca4e65694706000000')}, "$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_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "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: 39.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:33 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:35 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms Completed 200 OK in 43ms (Views: 39.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:35 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:47:37 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TZ8nOtHykSxACZi14BCCI1GfXw6QLlpa8gTyOJIEKWsIvNPobV+psKenHEzqNG72i7IVzhX8yqJNhwmYFskhqg==", "group"=>{"name"=>"sdfsdfsdfsdf", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f18894e6569e891030000'), "members"=>[], "name"=>"sdfsdfsdfsdf", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9150ms Redirected to http://localhost:3000/forums/admin/groups/551f18894e6569e891030000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f18894e6569e891030000" for ::1 at 2015-04-03 18:47:37 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18894e6569e891030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18894e6569e891030000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 83ms (Views: 79.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:38 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:39 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 42ms (Views: 38.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:39 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:40 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 46ms (Views: 43.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:40 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:40 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:41 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 43ms (Views: 40.0ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:41 -0400 Processing by MongoidForums::Admin::GroupsController#new 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 37ms (Views: 34.3ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:42 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 200 OK in 43ms (Views: 40.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:42 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:47:43 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 38ms (Views: 35.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:43 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:47:44 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8080ms Completed 200 OK in 55ms (Views: 52.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:47:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:47:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:47:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:47:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:47:44 -0400 Started DELETE "/forums/admin/groups/551f18894e6569e891030000" for ::1 at 2015-04-03 18:47:45 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"hDmLjHoZqCf8VEY/oDKSnJpy2IVGEyQ1ECnD0ZHcR57BGn9exrSQuxv6wsaqFn5JQF+SRcPBtM2vqjhxFRFPXw==", "id"=>"551f18894e6569e891030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18894e6569e891030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18894e6569e891030000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0050ms Redirected to http://localhost:3000/forums/admin/groups/551f18894e6569e891030000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f18894e6569e891030000" for ::1 at 2015-04-03 18:47:45 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18894e6569e891030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18894e6569e891030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f18894e6569e891030000. Summary: When calling MongoidForums::Group.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): 551f18894e6569e891030000 ... (1 total) and the following ids were not found: 551f18894e6569e891030000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:34: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.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 (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.7ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:48:30 -0400 Processing by MongoidForums::Admin::GroupsController#index 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('54c407ca4e65694706000000')}, "$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_groups 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 45ms (Views: 24.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:31 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:48:31 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 44ms (Views: 42.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:32 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:48:34 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zIR+cULLnQQkgeIcX+XG9WeadRyCxsh2r2SchhLKeO2EeUreaYW6Pc8g3F7W3vOD7MjFPfZi9llPmnSnIYhIg==", "group"=>{"name"=>"sfsdf", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f18c24e6569e891040000'), "members"=>[], "name"=>"sfsdf", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6710ms Redirected to http://localhost:3000/forums/admin/groups/551f18c24e6569e891040000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f18c24e6569e891040000" for ::1 at 2015-04-03 18:48:34 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18c24e6569e891040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18c24e6569e891040000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8770ms Completed 200 OK in 35ms (Views: 32.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:34 -0400 Started POST "/forums/admin/groups/551f18c24e6569e891040000/add_user" for ::1 at 2015-04-03 18:48:39 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TXWu7nbR6k+ajIIGSWJQkOVjRmjY0yMfY8w7hK2nKeQIVlo8ynzS030iBv9DRrxFP04MqF0Bs+fcT8AkKWohJQ==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551f18c24e6569e891040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18c24e6569e891040000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18c24e6569e891040000')} update={"$set"=>{"members"=>[BSON::ObjectId('54c407ca4e65694706000000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8700ms Redirected to http://localhost:3000/forums/admin/groups/551f18c24e6569e891040000 Completed 302 Found in 9ms Started GET "/forums/admin/groups/551f18c24e6569e891040000" for ::1 at 2015-04-03 18:48:39 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18c24e6569e891040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18c24e6569e891040000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 39ms (Views: 33.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:39 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:48:42 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 46ms (Views: 43.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:43 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:48:44 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 39ms (Views: 37.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:44 -0400 Started DELETE "/forums/admin/groups/551f18c24e6569e891040000" for ::1 at 2015-04-03 18:48:45 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"Ecpv0QKmarvP86eoxVd3Ut7zLDGaJZvK6zPvkLFa5aVU6ZsDvgtSJyhdI1HPc5uHBN5m8R/3CzJUsBQwNZftZA==", "id"=>"551f18c24e6569e891040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18c24e6569e891040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18c24e6569e891040000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5020ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 6ms Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:48:45 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} 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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8580ms Completed 200 OK in 34ms (Views: 31.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:45 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:48:47 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8180ms Completed 200 OK in 38ms (Views: 35.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:47 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:47 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:48:55 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "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: 36.7ms) Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:55 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:55 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:48:57 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vLCvKVk84NuU2pKgZYD3Q59tXIhS+COkfW4z2XIfUDD5k1v75ZHYR3N0FllvpBuWRUAWSNcqs1zC7ch59tJY8Q==", "group"=>{"name"=>"sdfsdfsdfsdf", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f18d94e6569e891050000'), "members"=>[], "name"=>"sdfsdfsdfsdf", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7290ms Redirected to http://localhost:3000/forums/admin/groups/551f18d94e6569e891050000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:48:57 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms Completed 200 OK in 38ms (Views: 35.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:58 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:48:58 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Completed 200 OK in 33ms (Views: 29.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:48:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:48:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:48:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:48:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:48:59 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:49:00 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5710ms Completed 200 OK in 44ms (Views: 42.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:49:00 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:49:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:49:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:49:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:49:00 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:49:01 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7650ms Completed 200 OK in 50ms (Views: 46.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:49:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:49:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:49:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:49:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:49:01 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:49:01 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 39ms (Views: 36.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:49:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:49:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:49:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:49:02 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:49:02 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:49:13 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Completed 200 OK in 38ms (Views: 34.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:49:13 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:49:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:49:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:49:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:49:13 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:49:20 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 35ms (Views: 32.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:49:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:49:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:49:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:49:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:49:20 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:50:35 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms Completed 200 OK in 90ms (Views: 56.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:50:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:50:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:50:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:50:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:50:35 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:50:37 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.haml within layouts/mongoid_forums/application (116.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6880ms Completed 200 OK in 149ms (Views: 145.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:50:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:50:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:50:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:50:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:50:37 -0400 Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:50:41 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZHKjROXvoeSzEn/uE5aBJVjsFjyJoIvAFOG/TF1yjfchUVeWWUKZeFS8+xcZsm3wgsFc/AxyGzirYkTs2b+FNg==", "group"=>{"name"=>"sdfsdfsdfsdf", "moderator"=>"false"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Completed 500 Internal Server Error in 9ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/groups/update, mongoid_forums/admin/base/update, mongoid_forums/application/update, application/update with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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:169:in `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: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.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.2ms) Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:52:16 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZHKjROXvoeSzEn/uE5aBJVjsFjyJoIvAFOG/TF1yjfchUVeWWUKZeFS8+xcZsm3wgsFc/AxyGzirYkTs2b+FNg==", "group"=>{"name"=>"sdfsdfsdfsdf", "moderator"=>"false"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Completed 500 Internal Server Error in 22ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:30: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: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: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.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.5ms) Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:52:34 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZHKjROXvoeSzEn/uE5aBJVjsFjyJoIvAFOG/TF1yjfchUVeWWUKZeFS8+xcZsm3wgsFc/AxyGzirYkTs2b+FNg==", "group"=>{"name"=>"sdfsdfsdfsdf", "moderator"=>"false"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 500 Internal Server Error in 15ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:30: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: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: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 (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/diagnostics.html.erb within rescues/layout (20.6ms) Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:52:37 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 44ms (Views: 35.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:52:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:52:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:52:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:52:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:52:37 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:52:39 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 40ms (Views: 36.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:52:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:52:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:52:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:52:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:52:39 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:52:40 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 200 OK in 36ms (Views: 33.5ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:52:40 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:52:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:52:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:52:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:52:40 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:52:41 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 43ms (Views: 40.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:52:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:52:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:52:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:52:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:52:41 -0400 Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:52:44 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HgySrCpXEmmArNPAAtbhlhCnfYFAWIVSgzScvW6OF+1bL2Z+lvoq9WcCVzkI8g1Dyoo3QcWKFao8t2cd6kMfLA==", "group"=>{"name"=>"asdfsfdfs", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Completed 500 Internal Server Error in 9ms NameError (undefined local variable or method `group_params' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:30: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: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: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 (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 (21.1ms) Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:52:55 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 200 OK in 55ms (Views: 35.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:52:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:52:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:52:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:52:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:52:55 -0400 Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:52:57 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xaPYElS/nhnnwttXSlKEDiiWxbiUaVz0nHOudK+mHL2AgCzA6BKmhQBsX65Admjb8ruPeBG7zAwj8FXUK2sUfA==", "group"=>{"name"=>"asdfsfdfs", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9780ms Unpermitted parameter: moderator Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `update_attributes' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:30: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: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: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.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 (17.1ms) Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:53:09 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xaPYElS/nhnnwttXSlKEDiiWxbiUaVz0nHOudK+mHL2AgCzA6BKmhQBsX65Admjb8ruPeBG7zAwj8FXUK2sUfA==", "group"=>{"name"=>"asdfsfdfs", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Unpermitted parameter: moderator MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} update={"$set"=>{"name"=>"asdfsfdfs"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5510ms Redirected to Completed 500 Internal Server Error in 30ms NoMethodError (undefined method `group_url' for #): actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionpack (4.2.0) lib/action_dispatch/routing/url_for.rb:167:in `url_for' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:75: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:33: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: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: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.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.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 (31.9ms) Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:53:24 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xaPYElS/nhnnwttXSlKEDiiWxbiUaVz0nHOudK+mHL2AgCzA6BKmhQBsX65Admjb8ruPeBG7zAwj8FXUK2sUfA==", "group"=>{"name"=>"asdfsfdfs", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Unpermitted parameter: moderator Redirected to http://localhost:3000/forums/admin/groups/551f18d94e6569e891050000 Completed 302 Found in 38ms Started GET "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:53:25 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (14.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 55ms (Views: 51.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:25 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:53:30 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5970ms Completed 200 OK in 46ms (Views: 43.0ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:53:31 -0400 Processing by MongoidForums::Admin::GroupsController#index 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('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 34ms (Views: 30.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:31 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:53:33 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 43ms (Views: 39.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:33 -0400 Started PATCH "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:53:35 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cf0IregmGwFcWbSdRYyglGyGTYPZxOUlhmfenJRdgIM03vx/VIsjnbv3MGRPqExBtqsHQ1wWdd055CU8EJCIQg==", "group"=>{"name"=>"dff", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6470ms Unpermitted parameter: moderator MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} update={"$set"=>{"name"=>"dff"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Redirected to http://localhost:3000/forums/admin/groups/551f18d94e6569e891050000 Completed 302 Found in 7ms Started GET "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:53:35 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Completed 200 OK in 38ms (Views: 34.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:35 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:53:37 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 44ms (Views: 39.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:37 -0400 Started GET "/forums/admin/groups/551f18d94e6569e891050000/edit" for ::1 at 2015-04-03 18:53:38 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 67ms (Views: 63.9ms) Started DELETE "/forums/admin/groups/551f18d94e6569e891050000" for ::1 at 2015-04-03 18:53:45 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"nVnoHJe4u2FCHUqpSZGQtjiVu8wuhm9UQFXzJ3ShbFTYehzOKxWD/aWzzlBDtXxj4rjxDKtU/6z/1giH8GxklQ==", "id"=>"551f18d94e6569e891050000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f18d94e6569e891050000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6060ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 7ms Started GET "/forums/admin/groups" for ::1 at 2015-04-03 18:53:45 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Completed 200 OK in 36ms (Views: 33.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:45 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 18:53:47 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 47ms (Views: 45.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:48 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-03 18:53:51 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oGMXN8ynaOw5ELGh+dRHMNNKnUbzBcoY/7N1IUv63B3lQOPlcApQcN6+NVjz8KvlCWfXhnbXWuBAMI6BzzfU3A==", "group"=>{"name"=>"Test", "moderator"=>"true"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000'), "members"=>[], "name"=>"Test", "moderator"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9310ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:53:51 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8390ms Completed 200 OK in 35ms (Views: 32.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:51 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/add_user" for ::1 at 2015-04-03 18:53:54 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wIzDP5nzI/VTX0UFlY6IAMdeWCoTC49jhTQ/WjqfqY+FrzftJV4babTxwfyfqmTVHXMS6pbZH5s6t8T6vlKhTg==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"members"=>[BSON::ObjectId('54c407ca4e65694706000000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6440ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 8ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:53:54 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 41ms (Views: 36.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:53:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:53:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:53:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:53:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:53:55 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:57:47 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined method `members' for nil:NilClass): 6: %th 7: Name 8: 9: - @groups.members.each do |member| 10: %tr 11: %td 12: member.forum_display_name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268833393980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.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.6ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:57:56 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (19.8ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined local variable or method `group' for #<#:0x007fd17d9b1120>): 11: %td 12: member.forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(group), method: :delete, data: { confirm: 'Are you certain you want to delete this?' } 15: 16: = form_tag admin_group_add_user_path(@group), :method => :post do 17: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:14:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268866074840' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268866074840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.3ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:58:04 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (6.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 39ms (Views: 34.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:58:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:58:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:58:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:58:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:58:04 -0400 Started DELETE "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 18:58:06 -0400 ActionController::RoutingError (No route matches [DELETE] "/forums/admin/groups/54c407ca4e65694706000000/rem_user"): 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.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.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.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.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 (64.4ms) Started DELETE "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 18:58:15 -0400 ActionController::RoutingError (No route matches [DELETE] "/forums/admin/groups/54c407ca4e65694706000000/rem_user"): 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 (19.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.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 (57.7ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:58:17 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 34ms (Views: 29.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:58:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:58:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:58:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:58:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:58:17 -0400 Started POST "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 18:58:18 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"JQdwubE4ZmD36G1BQc7JFUbJFuSGv/p34BSNclt8YVxgJIRrDZVe/BBG6bhL6iXAnORcJANtao9fl3bS37FpnQ==", "group_id"=>"54c407ca4e65694706000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 54c407ca4e65694706000000. Summary: When calling MongoidForums::Group.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): 54c407ca4e65694706000000 ... (1 total) and the following ids were not found: 54c407ca4e65694706000000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:70:in `remove_member' 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: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 (15.0ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:58:33 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (5.0ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `forum_display_name' for BSON::ObjectId('54c407ca4e65694706000000'):BSON::ObjectId): 9: - @group.members.each do |member| 10: %tr 11: %td 12: = member.forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(member), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 15: /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:12:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268867709700' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268867709700' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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 (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 (21.3ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:59:18 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 31ms (Views: 26.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 18:59:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 18:59:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 18:59:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 18:59:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 18:59:18 -0400 Started POST "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 18:59:20 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"28LJqceF+0lLCrxiYMelMkx8QiQHY6u3EbmFrqCXCLGe4T17eyjD1aykOJtq40nnllEI5IKxO0+uOn4OJFoAcA==", "group_id"=>"54c407ca4e65694706000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 54c407ca4e65694706000000. Summary: When calling MongoidForums::Group.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): 54c407ca4e65694706000000 ... (1 total) and the following ids were not found: 54c407ca4e65694706000000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:70:in `remove_member' 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: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 (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 (19.3ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 18:59:29 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (20.0ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined local variable or method `group' for #<#:0x007fd17a37e620>): 11: %td 12: = MongoidForums.user_class.find(member).forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(group, member), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 15: 16: = form_tag admin_group_add_user_path(@group), :method => :post do 17: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:14:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268837684320' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268837684320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.4ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:02:06 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (17.1ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined local variable or method `group' for #<#:0x007fd17ae2c5b8>): 11: %td 12: = MongoidForums.user_class.find(member).forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(group_id: group.id, user: member), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 15: 16: = form_tag admin_group_add_user_path(@group), :method => :post do 17: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:14:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268843255620' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268843255620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.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.1ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:02:08 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (22.4ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined local variable or method `group' for #<#:0x007fd17dc1b780>): 11: %td 12: = MongoidForums.user_class.find(member).forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(group_id: group.id, user: member), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 15: 16: = form_tag admin_group_add_user_path(@group), :method => :post do 17: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:14:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268843255620' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268843255620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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 (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 (22.7ms) Started POST "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 19:02:09 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"28LJqceF+0lLCrxiYMelMkx8QiQHY6u3EbmFrqCXCLGe4T17eyjD1aykOJtq40nnllEI5IKxO0+uOn4OJFoAcA==", "group_id"=>"54c407ca4e65694706000000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 54c407ca4e65694706000000. Summary: When calling MongoidForums::Group.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): 54c407ca4e65694706000000 ... (1 total) and the following ids were not found: 54c407ca4e65694706000000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:70:in `remove_member' 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: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 (19.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.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 (34.7ms) Started GET "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 19:02:33 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/groups/54c407ca4e65694706000000/rem_user"): 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.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.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.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.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 (50.0ms) Started GET "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 19:02:39 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/groups/54c407ca4e65694706000000/rem_user"): 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 (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 (3.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.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.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 (52.3ms) Started GET "/forums/admin/groups/54c407ca4e65694706000000/rem_user" for ::1 at 2015-04-03 19:02:42 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/groups/54c407ca4e65694706000000/rem_user"): 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.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.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.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.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 (58.2ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:02:43 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (21.0ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (undefined local variable or method `group' for #<#:0x007fd17dfba198>): 11: %td 12: = MongoidForums.user_class.find(member).forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(group_id: group.id), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 15: 16: = form_tag admin_group_add_user_path(@group), :method => :post do 17: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:14:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268869238260' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268869238260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.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.4ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:02:46 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (22.1ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined local variable or method `group' for #<#:0x007fd17f90a2d8>): 11: %td 12: = MongoidForums.user_class.find(member).forum_display_name 13: %td 14: = button_to "Remove", admin_group_rem_user_path(group_id: group.id), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 15: 16: = form_tag admin_group_add_user_path(@group), :method => :post do 17: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:14:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268869238260' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `each' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml:9:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_show_haml__4296589758692417744_70268869238260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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.8ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:02:58 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 37ms (Views: 33.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:02:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:02:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:02:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:02:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:02:58 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/rem_user" for ::1 at 2015-04-03 19:02:59 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"hU0c1CWfoSx9rCDoDTMuQFrVJTmWFCUhL5Vpkad3KEjAbugGmTKZsJoCpBEHF8KVgPhv+RPGtdmQFpIxI7ogiQ==", "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:71:in `remove_member' 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: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 (15.2ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:06 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Completed 200 OK in 31ms (Views: 27.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:06 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/rem_user?user=54c407ca4e65694706000000" for ::1 at 2015-04-03 19:03:07 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"JZRafIhzahhqAeVdWpGEa3M3WK7yFKNdIS5zxx+0RMVgt66uNN5ShI2vYaRQtWi+qRoSbnfGM6WerYhnm3lMBA==", "user"=>"54c407ca4e65694706000000", "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Completed 500 Internal Server Error in 5ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:71:in `[]' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:71:in `remove_member' 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: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.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 (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 POST "/forums/admin/groups/551f19ff4e6569e8f9000000/rem_user?user=54c407ca4e65694706000000" for ::1 at 2015-04-03 19:03:29 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"JZRafIhzahhqAeVdWpGEa3M3WK7yFKNdIS5zxx+0RMVgt66uNN5ShI2vYaRQtWi+qRoSbnfGM6WerYhnm3lMBA==", "user"=>"54c407ca4e65694706000000", "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Completed 500 Internal Server Error in 3ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:71:in `[]' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/groups_controller.rb:71:in `remove_member' 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: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 (17.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 (37.9ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:33 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 200 OK in 37ms (Views: 33.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:33 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/rem_user?user%5Bid%5D=54c407ca4e65694706000000" for ::1 at 2015-04-03 19:03:33 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"fHzWfg+Ie76V4fHK7AhtpRgkQJD+ftFejN2iQHNgyR05XyKssyVDInJPdTPmLIFwwgkKUHusQaYzXlng963B3A==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"members"=>[]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7100ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:34 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Completed 200 OK in 33ms (Views: 30.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:34 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:34 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:35 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Completed 200 OK in 37ms (Views: 33.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:35 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/add_user" for ::1 at 2015-04-03 19:03:37 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FyPlTxvfhaAFlRhXKexlgAbipTP0JFgS7UD3yPbsAc1SABGdp3K9POI7nK4jyIlV3M/v83H2yOpSwwxociEJDA==", "user"=>{"id"=>"55047e004e6569818c090000"}, "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"members"=>[BSON::ObjectId('55047e004e6569818c090000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6130ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:37 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 28ms (Views: 25.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:37 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:38 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 37ms (Views: 31.3ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:38 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:38 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/rem_user?user%5Bid%5D=55047e004e6569818c090000" for ::1 at 2015-04-03 19:03:39 -0400 Processing by MongoidForums::Admin::GroupsController#remove_member as HTML Parameters: {"authenticity_token"=>"f2MdWBSn+d+zpUTgmZZFHiBMIg6njCHl4gQRkq0+aOU6QOmKqArBQ1QLwBmTsqnL+mFoziJesR1dh+oyKfNgJA==", "user"=>{"id"=>"55047e004e6569818c090000"}, "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"members"=>[]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 21ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:39 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 30ms (Views: 27.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:40 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Completed 200 OK in 41ms (Views: 36.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:40 -0400 Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/add_user" for ::1 at 2015-04-03 19:03:42 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+Uy6Ovma/V8dYyuAO+4maRZs+WJ5UzDi2qq7nd1Rghi8b07oRTfFw/rNr3kxysq8zEGzovyBoBplKUA9WZyK2Q==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"members"=>[BSON::ObjectId('54c407ca4e65694706000000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5130ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:42 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 32ms (Views: 28.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:42 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:43 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Completed 200 OK in 31ms (Views: 26.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:43 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:44 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 31ms (Views: 26.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:44 -0400 Started GET "/forums/admin/groups/" for ::1 at 2015-04-03 19:03:54 -0400 Processing by MongoidForums::Admin::GroupsController#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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 45ms (Views: 42.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:03:55 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 28ms (Views: 26.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:03:55 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Completed 200 OK in 53ms (Views: 49.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:55 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:03:57 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 39ms (Views: 35.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:58 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:03:59 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 36ms (Views: 32.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:03:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:03:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:03:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:03:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:03:59 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-03 19:03:59 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 40ms (Views: 36.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:04:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:04:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:04:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:04:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:04:00 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:09:36 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} 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('54c407ca4e65694706000000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6980ms Completed 200 OK in 37ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:09:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:09:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:09:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:09:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:09:36 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:10:04 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 19:10:04 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms 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.9180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (54.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms Completed 200 OK in 84ms (Views: 81.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:04 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:04 -0400 Started GET "/forums/" for ::1 at 2015-04-03 19:10:05 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms 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('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 50ms (Views: 47.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:05 -0400 Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:10:07 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 20:24:33 UTC, "current_viewed_at"=>2015-04-03 23:10:07 UTC, "updated_at"=>2015-04-03 23:10:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 67ms (Views: 44.0ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:07 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:07 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:10:08 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 20:24:38 UTC, "current_viewed_at"=>2015-04-03 23:10:09 UTC, "updated_at"=>2015-04-03 23:10:09 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (32.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 82ms (Views: 65.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:09 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:10:12 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"5qPJ3yUT6+jM27SRFQ1z/yaUT1PEqMs2ZOd9BTf3ce2jgD0Nmb7TdCt1MGgfKZ8q/LkFk0F6W87bZIalszp5LA==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 7ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:10:12 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:10:09 UTC, "current_viewed_at"=>2015-04-03 23:10:12 UTC, "updated_at"=>2015-04-03 23:10:12 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 55ms (Views: 40.0ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:12 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:12 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:10:19 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:10:12 UTC, "current_viewed_at"=>2015-04-03 23:10:19 UTC, "updated_at"=>2015-04-03 23:10:19 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('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('55047a284e6569818c040000')}} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 48ms (Views: 37.3ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:10:21 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (18.7ms) Started GET "/" for ::1 at 2015-04-03 19:10:21 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4890ms Rendered partials/_nav.haml (5.6ms) Completed 200 OK in 80ms (Views: 78.7ms) Started GET "/" for ::1 at 2015-04-03 19:10:21 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 37ms (Views: 36.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:22 -0400 Started GET "/users/sign_out" for ::1 at 2015-04-03 19:10:23 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms Redirected to http://localhost:3000/ Completed 302 Found in 7ms Started GET "/" for ::1 at 2015-04-03 19:10:23 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (3.5ms) Completed 200 OK in 31ms (Views: 31.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:23 -0400 Started GET "/users/sign_in" for ::1 at 2015-04-03 19:10:24 -0400 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 (10.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 (41.2ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 71ms (Views: 68.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:25 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:25 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-03 19:10:32 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qaz0j93VXNhtro8GipOSCRLeSruDfaBhTZf9P5/wh96rdAzXpAiDNVtzRCJtOx0UMVSC9qmEz0tf9K8GkVjqVA==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Completed 401 Unauthorized in 87ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qaz0j93VXNhtro8GipOSCRLeSruDfaBhTZf9P5/wh96rdAzXpAiDNVtzRCJtOx0UMVSC9qmEz0tf9K8GkVjqVA==", "user"=>{"email"=>"nick@sarkis.pro", "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 (4.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 (9.4ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 114ms (Views: 38.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:32 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-03 19:10:37 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8De0xkBG0Y5R3QZQrc6sdYx8Ykx10PI8CkHfrBIxNmfy70yeOZsOY2cAzXRKZiNor/aqAV8pnRYYIo2VHJlb7Q==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 401 Unauthorized in 82ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8De0xkBG0Y5R3QZQrc6sdYx8Ykx10PI8CkHfrBIxNmfy70yeOZsOY2cAzXRKZiNor/aqAV8pnRYYIo2VHJlb7Q==", "user"=>{"email"=>"nick@sarkis.pro", "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.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 (8.5ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 119ms (Views: 36.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:37 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-03 19:10:48 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aCDyZQziAXQlmo0OxduLo0eR7lfw/TcK0KV6X96A45Bq+Ao9dT/emRNHRioicwS+ZBsmGtoEWCDCxihm0CiOGg==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"current_sign_in_at"=>2015-04-03 23:10:48 UTC, "current_sign_in_ip"=>"::1", "sign_in_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6100ms Redirected to http://localhost:3000/ Completed 302 Found in 93ms Started GET "/" for ::1 at 2015-04-03 19:10:48 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 32ms (Views: 32.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:10:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:10:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:10:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:10:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:10:48 -0400 Started GET "/" for ::1 at 2015-04-03 19:10:51 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 20ms (Views: 20.0ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:10:51 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Completed 404 Not Found in 8ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (21.8ms) Started GET "/admin/groups" for ::1 at 2015-04-03 19:10:54 -0400 ActionController::RoutingError (No route matches [GET] "/admin/groups"): 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 (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.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/routing_error.html.erb within rescues/layout (43.2ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:10:54 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Completed 404 Not Found in 9ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (16.9ms) Started GET "/forums/" for ::1 at 2015-04-03 19:10:55 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$query"=>{}, "$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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 36ms (Views: 33.4ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 19:10:55 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 19:10:55 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>{}, "$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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a1f4e6569818c010000')}} runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 39ms (Views: 36.5ms) Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:10:58 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e094e6569818c0a0000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e094e6569818c0a0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:29:29 UTC, "current_viewed_at"=>2015-04-03 23:10:58 UTC, "updated_at"=>2015-04-03 23:10:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Completed 200 OK in 59ms (Views: 37.5ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:10:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-03-14 18:30:54 UTC, "current_viewed_at"=>2015-04-03 23:10:59 UTC, "updated_at"=>2015-04-03 23:10:59 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "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('55047a284e6569818c040000')}} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "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: 34.6ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047e854e6569818c150000" for ::1 at 2015-04-03 19:11:01 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"bH70yQ/3h4GAtLU7tTIxo0RowQXb+zc35W9veKnxPeEcbw7d/2dDFfU8YuiQEf17k8zpdf4N44vUF74SlajWuQ==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047e854e6569818c150000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047e854e6569818c150000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('55047e854e6569818c150000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7510ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55047e854e6569818c150000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8450ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 11ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:11:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:10:59 UTC, "current_viewed_at"=>2015-04-03 23:11:01 UTC, "updated_at"=>2015-04-03 23:11:01 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 45ms (Views: 32.9ms) Started GET "/forums/topics/55047a284e6569818c040000/posts/new?reply_to_id=55047a284e6569818c050000" for ::1 at 2015-04-03 19:11:04 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"55047a284e6569818c050000", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$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={"topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 62ms (Views: 52.0ms) Started POST "/forums/topics/55047a284e6569818c040000/posts" for ::1 at 2015-04-03 19:11:06 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9n2zgKstpD5vwbziIGSIG2eiqGXpu8Hr4G4GcjvVWTiGbEmUW71gqhpJazEFR0TDsAaAFcxNFVfRFtcYB4yyYA==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"55047a284e6569818c050000"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 12ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:11:06 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:11:01 UTC, "current_viewed_at"=>2015-04-03 23:11:06 UTC, "updated_at"=>2015-04-03 23:11:06 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Completed 200 OK in 49ms (Views: 35.4ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:11:07 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} flags=[] limit=0 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_topics selector={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:11:06 UTC, "current_viewed_at"=>2015-04-03 23:11:07 UTC, "updated_at"=>2015-04-03 23:11:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 68ms (Views: 52.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:11:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:11:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:11:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:11:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:11:07 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:11:08 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"ApPo8HPpHerRXsVWXFMFoydgfv7M+0oB7xsd+vutsRByghLkg3nZfqTWEoV5cMl78MRWjukNnr3eY8yQx/RaSA==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 7ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:11:08 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:11:07 UTC, "current_viewed_at"=>2015-04-03 23:11:08 UTC, "updated_at"=>2015-04-03 23:11:08 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$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=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7040ms Completed 200 OK in 46ms (Views: 33.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:11:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:11:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:11:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:11:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:11:09 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for ::1 at 2015-04-03 19:11:10 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8020ms Completed 200 OK in 43ms (Views: 33.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:11:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:11:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:11:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:11:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:11:11 -0400 Started POST "/forums/topics/55047a284e6569818c040000/posts" for ::1 at 2015-04-03 19:11:13 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jUSD22GfkCwlnzjl/okBWx/DNpTV5qDk93sCKVnkGIj9VXnPkQ9UuFAX7zbbqs2DyGce5PAQdFjGA9NDZb3z0A==", "post"=>{"text"=>"sdfsdfs"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$set"=>{"last_post_at"=>nil, "updated_at"=>2015-04-03 23:11:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000'), "text"=>"sdfsdfs", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-03 23:11:13 UTC, "created_at"=>2015-04-03 23:11:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.9160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('551f1e114e6569e8f9050000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "mongoid_forums_topic_replier"=>"nick@sarkis.pro", "mongoid_forums_topic_post_id"=>BSON::ObjectId('551f1e114e6569e8f9040000'), "read"=>false, "updated_at"=>2015-04-03 23:11:13 UTC, "created_at"=>2015-04-03 23:11:13 UTC}] 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_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>4}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4720ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 35ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:11:13 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:11:08 UTC, "current_viewed_at"=>2015-04-03 23:11:13 UTC, "updated_at"=>2015-04-03 23:11:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Completed 200 OK in 51ms (Views: 37.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:11:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:11:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:11:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:11:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:11:13 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:19:22 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:11:13 UTC, "current_viewed_at"=>2015-04-03 23:19:23 UTC, "updated_at"=>2015-04-03 23:19:23 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.9120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 111ms (Views: 51.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:19:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:19:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:19:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:19:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:19:23 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:19:31 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:19:23 UTC, "current_viewed_at"=>2015-04-03 23:19:31 UTC, "updated_at"=>2015-04-03 23:19:31 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 141ms (Views: 53.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:19:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:19:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:19:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:19:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:19:31 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for ::1 at 2015-04-03 19:19:32 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 49ms (Views: 36.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:19:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:19:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:19:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:19:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:19:33 -0400 Started POST "/forums/topics/55047a284e6569818c040000/posts" for ::1 at 2015-04-03 19:19:35 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B3/RXWnR7MlGKTOfatnA6fIwAse18D+OEYUQsbkM0M93bitJmUEoXTOh5ExP+gwxJZQqt5AG6zIg/cHbhVU7lw==", "post"=>{"text"=>"sfsdf"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('551f20074e6569e8f9070000'), "text"=>"sfsdf", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-03 23:19:35 UTC, "created_at"=>2015-04-03 23:19:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"_id"=>BSON::ObjectId('551f1e114e6569e8f9050000')} update={"$set"=>{"updated_at"=>2015-04-03 23:19:35 UTC, "mongoid_forums_topic_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>5}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7810ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 27ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:19:35 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:19:31 UTC, "current_viewed_at"=>2015-04-03 23:19:35 UTC, "updated_at"=>2015-04-03 23:19:35 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 116ms (Views: 103.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:19:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:19:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:19:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:19:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:19:35 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for ::1 at 2015-04-03 19:19:36 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 200 OK in 34ms (Views: 27.2ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:19:36 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:19:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:19:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:19:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:19:36 -0400 Started POST "/forums/topics/55047a284e6569818c040000/posts" for ::1 at 2015-04-03 19:19:37 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"z2CiAgZ4s8bN8hh9ruW+y9utkqK6cBdRWeN8OGUE14S/cVgW9uh3Urh6z66LxnITDAm60p+Gw+1om61SWV083A==", "post"=>{"text"=>"sfsdfsd"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('551f20094e6569e8f9090000'), "text"=>"sfsdfsd", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-03 23:19:37 UTC, "created_at"=>2015-04-03 23:19:37 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_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"_id"=>BSON::ObjectId('551f1e114e6569e8f9050000')} update={"$set"=>{"updated_at"=>2015-04-03 23:19:37 UTC, "mongoid_forums_topic_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>6}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4800ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 20ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:19:37 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:19:35 UTC, "current_viewed_at"=>2015-04-03 23:19:37 UTC, "updated_at"=>2015-04-03 23:19:37 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 61ms (Views: 47.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:19:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:19:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:19:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:19:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:19:38 -0400 Started GET "/" for ::1 at 2015-04-03 19:19:43 -0400 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.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 32ms (Views: 32.1ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 19:19:44 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1230ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-04-03 19:19:44 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 29ms (Views: 28.6ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 19:19:46 -0400 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.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.8ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 50ms (Views: 48.7ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 19:19:56 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qdledXsyBdy+z/qCqjh5RpXd28Rcfku9Uejtyly+dWITiYy8O9ShYozY4ddAI7PEEDVFH8+ANgSZvTtdsqpzaQ==", "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.6490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-03 20:02:29 UTC, "current_sign_in_at"=>2015-04-03 23:19:56 UTC, "last_sign_in_ip"=>"::1", "sign_in_count"=>5}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6420ms Redirected to http://localhost:3000/ Completed 302 Found in 80ms Started GET "/" for ::1 at 2015-04-03 19:19:56 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 25ms (Views: 24.5ms) Started GET "/" for ::1 at 2015-04-03 19:20:00 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 21ms (Views: 21.1ms) Started GET "/" for ::1 at 2015-04-03 19:20:01 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 23ms (Views: 22.4ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:20:02 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (15.6ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:20:02 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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 GET "/forums/" for ::1 at 2015-04-03 19:20:06 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms 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.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.5790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (100.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')} 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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Completed 200 OK in 168ms (Views: 164.3ms) Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:20:08 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:10:07 UTC, "current_viewed_at"=>2015-04-03 23:20:08 UTC, "updated_at"=>2015-04-03 23:20:08 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')} 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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c060000')}, "$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"=>{"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Completed 200 OK in 66ms (Views: 46.1ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:09 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:10:19 UTC, "current_viewed_at"=>2015-04-03 23:20:09 UTC, "updated_at"=>2015-04-03 23:20:09 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.9650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 68ms (Views: 46.4ms) Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for ::1 at 2015-04-03 19:20:11 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Completed 200 OK in 39ms (Views: 29.1ms) Started POST "/forums/topics/55047a284e6569818c040000/posts" for ::1 at 2015-04-03 19:20:12 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6YMRJMWHcZAeFKh6UmCGopbbN159JbNwWPe3NTpeEskmIfLD5v5Zk/R1KfLpCNXyIBrO4ygRQZ5aIa9TJl9qxg==", "post"=>{"text"=>"dfsfdsf"}, "commit"=>"Create Reply", "topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_posts documents=[{"_id"=>BSON::ObjectId('551f202c4e6569e8f90b0000'), "text"=>"dfsfdsf", "topic_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-03 23:20:12 UTC, "created_at"=>2015-04-03 23:20:12 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55047a284e6569818c060000'), "read"=>false}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$set"=>{"posts_count"=>7}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6080ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 20ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:12 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:09 UTC, "current_viewed_at"=>2015-04-03 23:20:12 UTC, "updated_at"=>2015-04-03 23:20:12 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (32.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 75ms (Views: 61.1ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/551f20094e6569e8f9090000" for ::1 at 2015-04-03 19:20:15 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"YOD+eYaIT3089I3qjcCqxtDMuE8MTPnZxfYcsAvywd6vQh2epfFnftaVDGI2qPmWZg1B8ll4CzfHIATWF/O50Q==", "topic_id"=>"55047a284e6569818c040000", "id"=>"551f20094e6569e8f9090000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('551f20094e6569e8f9090000')} 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('55047a284e6569818c040000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Redirected to Completed 500 Internal Server Error in 23ms NoMethodError (undefined method `forum_topic_url' for #): 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:114:in `polymorphic_url' actionpack (4.2.0) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:75: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:83:in `destroy' 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: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: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.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/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:19 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:12 UTC, "current_viewed_at"=>2015-04-03 23:20:19 UTC, "updated_at"=>2015-04-03 23:20:19 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Completed 200 OK in 53ms (Views: 42.7ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/551f1e114e6569e8f9040000" for ::1 at 2015-04-03 19:20:22 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"HMXXfiUEWf/o10R0Ra+43a/hpH+z2PPo5EUSu5mVSL3TZzSZBn1x/AK2xfz+x+uNGSBdwubsAQbmkwrdhZQwsg==", "topic_id"=>"55047a284e6569818c040000", "id"=>"551f1e114e6569e8f9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms Redirected to Completed 500 Internal Server Error in 44ms NoMethodError (undefined method `forum_topic_url' for #): 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:114:in `polymorphic_url' actionpack (4.2.0) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:75: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:83:in `destroy' 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: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: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 (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 (26.3ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/551f1e114e6569e8f9040000" for ::1 at 2015-04-03 19:20:27 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"HMXXfiUEWf/o10R0Ra+43a/hpH+z2PPo5EUSu5mVSL3TZzSZBn1x/AK2xfz+x+uNGSBdwubsAQbmkwrdhZQwsg==", "topic_id"=>"55047a284e6569818c040000", "id"=>"551f1e114e6569e8f9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Redirected to Completed 500 Internal Server Error in 25ms NoMethodError (undefined method `forum_topic_url' for #): 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:114:in `polymorphic_url' actionpack (4.2.0) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:75: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:83:in `destroy' 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: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: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.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 (21.0ms) Started DELETE "/forums/topics/55047a284e6569818c040000/posts/551f1e114e6569e8f9040000" for ::1 at 2015-04-03 19:20:49 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"HMXXfiUEWf/o10R0Ra+43a/hpH+z2PPo5EUSu5mVSL3TZzSZBn1x/AK2xfz+x+uNGSBdwubsAQbmkwrdhZQwsg==", "topic_id"=>"55047a284e6569818c040000", "id"=>"551f1e114e6569e8f9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 52ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:49 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c070000')} 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('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:19 UTC, "current_viewed_at"=>2015-04-03 23:20:49 UTC, "updated_at"=>2015-04-03 23:20:49 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 81ms (Views: 60.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:20:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:20:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:20:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:20:49 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:20:49 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:53 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:49 UTC, "current_viewed_at"=>2015-04-03 23:20:53 UTC, "updated_at"=>2015-04-03 23:20:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (37.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 83ms (Views: 68.5ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:20:53 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:20:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:20:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:20:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:20:53 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/551f1e114e6569e8f9040000" for ::1 at 2015-04-03 19:20:56 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"kvrh0De94WU2IrJRMbmlSzeLmUYbPFjQYzYEuGsws69dWAI3FMTJZtxDM9mK0fYbgUpg+04Iqj5h4BzedzHLoA==", "topic_id"=>"55047a284e6569818c040000", "id"=>"551f1e114e6569e8f9040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('551f1e114e6569e8f9040000')} 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('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 11ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:56 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:53 UTC, "current_viewed_at"=>2015-04-03 23:20:56 UTC, "updated_at"=>2015-04-03 23:20:56 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 53ms (Views: 42.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:20:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:20:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:20:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:20:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:20:56 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/551f202c4e6569e8f90b0000" for ::1 at 2015-04-03 19:20:58 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"l+YRhVZsbFoTaA3JE5dU61OSB6ePnpf9wjrs0aF/GntYRPJidRVEWfkJjEGo/we75VP+GtqqZRPA7PS3vX5idA==", "topic_id"=>"55047a284e6569818c040000", "id"=>"551f202c4e6569e8f90b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('551f202c4e6569e8f90b0000')} 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('55047a284e6569818c040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('551f202c4e6569e8f90b0000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('551f202c4e6569e8f90b0000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 12ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:20:58 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:56 UTC, "current_viewed_at"=>2015-04-03 23:20:58 UTC, "updated_at"=>2015-04-03 23:20:58 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6650ms Completed 200 OK in 50ms (Views: 37.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:20:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:20:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:20:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:20:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:20:58 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:21:32 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:58 UTC, "current_viewed_at"=>2015-04-03 23:21:32 UTC, "updated_at"=>2015-04-03 23:21:32 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8210ms Completed 200 OK in 57ms (Views: 42.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:21:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:21:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:21:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:21:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:21:32 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000/edit" for ::1 at 2015-04-03 19:21:36 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 75ms (Views: 68.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:21:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:21:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:21:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:21:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:21:37 -0400 Started GET "/" for ::1 at 2015-04-03 19:21:42 -0400 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.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 25ms (Views: 24.5ms) Started GET "/" for ::1 at 2015-04-03 19:21:42 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0190ms Rendered partials/_nav.haml (2.9ms) Completed 200 OK in 48ms (Views: 47.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:21:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:21:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:21:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:21:42 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:21:42 -0400 Started GET "/users/sign_out" for ::1 at 2015-04-03 19:21:43 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms Redirected to http://localhost:3000/ Completed 302 Found in 4ms Started GET "/" for ::1 at 2015-04-03 19:21:43 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.8ms) Completed 200 OK in 25ms (Views: 25.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:21:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:21:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:21:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:21:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:21:44 -0400 Started GET "/users/sign_in" for ::1 at 2015-04-03 19:21:45 -0400 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.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 (12.2ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 44ms (Views: 42.7ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:21:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:21:45 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:21:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:21:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:21:45 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-03 19:21:53 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bh7KhLxN9rxeKDQseJnP3Yse4EgLotxnC93npGo7F/qHGim4dBbnHG8y7vm839z6ocUPjRt/7/sRuiCJ896c/g==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"last_sign_in_at"=>2015-04-03 23:10:48 UTC, "current_sign_in_at"=>2015-04-03 23:21:53 UTC, "last_sign_in_ip"=>"::1", "sign_in_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6860ms Redirected to http://localhost:3000/ Completed 302 Found in 96ms Started GET "/" for ::1 at 2015-04-03 19:21:53 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 47ms (Views: 46.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:21:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:21:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:21:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:21:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:21:54 -0400 Started GET "/" for ::1 at 2015-04-03 19:21:57 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 21ms (Views: 20.4ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:21:57 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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.8ms) Started GET "/forums/" for ::1 at 2015-04-03 19:22:01 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('55047a284e6569818c040000')}, "$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=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.7540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms Completed 200 OK in 128ms (Views: 100.2ms) Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:22:02 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e094e6569818c0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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('55047e094e6569818c0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:10:58 UTC, "current_viewed_at"=>2015-04-03 23:22:02 UTC, "updated_at"=>2015-04-03 23:22:02 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('55047a1f4e6569818c010000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 1.1990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 65ms (Views: 46.4ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:22:03 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:19:37 UTC, "current_viewed_at"=>2015-04-03 23:22:03 UTC, "updated_at"=>2015-04-03 23:22:03 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "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('55047a284e6569818c040000')}} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Completed 200 OK in 67ms (Views: 50.8ms) Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000/edit" for ::1 at 2015-04-03 19:22:04 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a284e6569818c050000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Completed 200 OK in 42ms (Views: 35.6ms) Started PATCH "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:22:06 -0400 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YYP5gg54zNCRVe709dtmMUZS1KGeZfzy+HtPCvnfIz9LbqK9+VjUu0i5WXtCHclK+DmyoOkTwTx7Hc9ksraKTQ==", "post"=>{"text"=>"topic heref"}, "commit"=>"Update post", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c050000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$set"=>{"last_post_at"=>2015-03-14 18:12:56 UTC, "updated_at"=>2015-04-03 23:22:06 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} update={"$set"=>{"text"=>"topic heref", "updated_at"=>2015-04-03 23:22:06 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 14ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:22:07 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:22:03 UTC, "current_viewed_at"=>2015-04-03 23:22:07 UTC, "updated_at"=>2015-04-03 23:22:07 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 58ms (Views: 44.9ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:25:17 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:22:07 UTC, "current_viewed_at"=>2015-04-03 23:25:17 UTC, "updated_at"=>2015-04-03 23:25:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "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('55047a284e6569818c040000')}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 200 OK in 114ms (Views: 53.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:25:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:25:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:25:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:25:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:25:17 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000/edit" for ::1 at 2015-04-03 19:25:18 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a284e6569818c050000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 44ms (Views: 37.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:25:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:25:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:25:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:25:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:25:19 -0400 Started PATCH "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:25:20 -0400 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"R5t9NCGkgFL7d9RpQ54r+SL/K+gL326zkBg5yyMafPdtdiYL1oSYOSKbY+b0WISCnJRN6XypU30TfrmlaHPVhQ==", "post"=>{"text"=>"topic herefdf"}, "commit"=>"Update post", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 500 Internal Server Error in 13ms NameError (undefined local variable or method `forem_user' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:62: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: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: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 (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 (25.2ms) Started PATCH "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:25:34 -0400 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"R5t9NCGkgFL7d9RpQ54r+SL/K+gL326zkBg5yyMafPdtdiYL1oSYOSKbY+b0WISCnJRN6XypU30TfrmlaHPVhQ==", "post"=>{"text"=>"topic herefdfsdfsfdsf"}, "commit"=>"Update post", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms Completed 200 OK in 129ms (Views: 66.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:25:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:25:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:25:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:25:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:25:35 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for ::1 at 2015-04-03 19:26:07 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} 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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Completed 200 OK in 42ms (Views: 31.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:26:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:26:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:26:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:26:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:26:07 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:27:51 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_topics selector={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:25:17 UTC, "current_viewed_at"=>2015-04-03 23:27:51 UTC, "updated_at"=>2015-04-03 23:27:51 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.6000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.3ms) Completed 500 Internal Server Error in 84ms ActionView::Template::Error (undefined method `can_be_replied_to?' for #): 1: %h1 Viewing Topic "#{@topic.name}" 2: - if @topic.can_be_replied_to? && can?(:reply, @topic) 3: = link_to "Reply to topic", new_topic_post_path(@topic) 4: 5: = link_to "Edit topic", edit_topic_post_path(@topic, @topic.posts.first.id) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4258806586701661902_70268830094800' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:28:34 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} 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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:27:51 UTC, "current_viewed_at"=>2015-04-03 23:28:34 UTC, "updated_at"=>2015-04-03 23:28:34 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Completed 200 OK in 107ms (Views: 51.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:28:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:28:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:28:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:28:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:28:34 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/new" for ::1 at 2015-04-03 19:28:36 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 49ms (Views: 39.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:28:36 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:28:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:28:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:28:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:28:36 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:28:52 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"rZUubdE6fROIJWgWNqKecRmjrmFnTVbgeRkdNuZevkSHeHVSJhpleFHJ35mBZDEKp8jIYBA7ay76f51YrTcXNg==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 40ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:28:52 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} 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('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:28:34 UTC, "current_viewed_at"=>2015-04-03 23:28:52 UTC, "updated_at"=>2015-04-03 23:28:52 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms Completed 200 OK in 80ms (Views: 55.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:28:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:28:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:28:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:28:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:28:52 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:30:07 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047e0b4e6569818c0b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:28:52 UTC, "current_viewed_at"=>2015-04-03 23:30:07 UTC, "updated_at"=>2015-04-03 23:30:07 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 65ms (Views: 50.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:30:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:30:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:30:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:30:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:30:08 -0400 Started GET "/" for ::1 at 2015-04-03 19:30:15 -0400 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.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 59ms (Views: 59.3ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 19:30:17 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-04-03 19:30:17 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (1.0ms) Completed 200 OK in 28ms (Views: 27.8ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 19:30:18 -0400 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.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 (13.9ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 51ms (Views: 49.3ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 19:30:24 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wiMMLHwAQUhHuVYJXSS3wUgLGx+x+W2qheM5RxdInoP37mupigiozvrX0jNeFiYE37Lf8y4epTLZOC6DCz+bhg==", "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.6110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-03 23:19:56 UTC, "current_sign_in_at"=>2015-04-03 23:30:24 UTC, "sign_in_count"=>6}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5130ms Redirected to http://localhost:3000/ Completed 302 Found in 84ms Started GET "/" for ::1 at 2015-04-03 19:30:24 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 23ms (Views: 23.3ms) Started GET "/" for ::1 at 2015-04-03 19:30:28 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 27ms (Views: 26.8ms) Started GET "/" for ::1 at 2015-04-03 19:30:28 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 20ms (Views: 20.3ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:30:29 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Completed 404 Not Found in 8ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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 (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 (27.5ms) Started GET "/forums/" for ::1 at 2015-04-03 19:30:34 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms 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.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.0730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 1.6510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.7790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (67.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 182ms (Views: 179.1ms) Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:30:37 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:20:08 UTC, "current_viewed_at"=>2015-04-03 23:30:37 UTC, "updated_at"=>2015-04-03 23:30:37 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.5430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 200 OK in 91ms (Views: 73.7ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:30:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:21:32 UTC, "current_viewed_at"=>2015-04-03 23:30:40 UTC, "updated_at"=>2015-04-03 23:30:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (32.0ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined method `forum_topic_path' for #<#:0x007fd17fa64480>): 2: - if @topic.can_be_replied_to? && can?(:reply, @topic) 3: = link_to "Reply to topic", new_topic_post_path(@topic) 4: - if @topic.user == mongoid_forums_user || mongoid_forums_admin? 5: = link_to t(".delete"), forum_topic_path(@forum, @topic), :method => :delete, data: { :confirm => t("are_you_sure") }, :class => "btn btn-danger" 6: = link_to "Edit topic", edit_topic_post_path(@topic, @topic.posts.first.id) 7: - if mongoid_forums_user && @topic.subscriber?(mongoid_forums_user.id) 8: = link_to "Unsubscribe", unsubscribe_topic_path(@topic) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4258806586701661902_70268883154440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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.5ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:31:02 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:30:40 UTC, "current_viewed_at"=>2015-04-03 23:31:02 UTC, "updated_at"=>2015-04-03 23:31:02 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 62ms (Views: 47.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:31:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:31:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:31:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:31:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:31:02 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:31:14 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:31:02 UTC, "current_viewed_at"=>2015-04-03 23:31:14 UTC, "updated_at"=>2015-04-03 23:31:14 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 67ms (Views: 53.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:31:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:31:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:31:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:31:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:31:15 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:31:25 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:31:14 UTC, "current_viewed_at"=>2015-04-03 23:31:25 UTC, "updated_at"=>2015-04-03 23:31:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms Completed 200 OK in 94ms (Views: 80.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:31:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:31:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:31:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:31:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:31:25 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:31:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:31:25 UTC, "current_viewed_at"=>2015-04-03 23:31:30 UTC, "updated_at"=>2015-04-03 23:31:30 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 61ms (Views: 49.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:31:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:31:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:31:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:31:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:31:30 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:31:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:31:30 UTC, "current_viewed_at"=>2015-04-03 23:31:45 UTC, "updated_at"=>2015-04-03 23:31:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 57ms (Views: 45.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:31:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:31:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:31:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:31:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:31:45 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:31:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:31:45 UTC, "current_viewed_at"=>2015-04-03 23:31:54 UTC, "updated_at"=>2015-04-03 23:31:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Completed 200 OK in 56ms (Views: 44.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:31:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:31:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:31:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:31:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:31:55 -0400 Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:32:16 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:31:54 UTC, "current_viewed_at"=>2015-04-03 23:32:16 UTC, "updated_at"=>2015-04-03 23:32:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 61ms (Views: 47.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:16 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:32:17 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:16 UTC, "current_viewed_at"=>2015-04-03 23:32:17 UTC, "updated_at"=>2015-04-03 23:32:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 200 OK in 71ms (Views: 54.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:17 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:32:18 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:17 UTC, "current_viewed_at"=>2015-04-03 23:32:18 UTC, "updated_at"=>2015-04-03 23:32:18 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.6100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 73ms (Views: 54.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:18 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:32:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:18 UTC, "current_viewed_at"=>2015-04-03 23:32:30 UTC, "updated_at"=>2015-04-03 23:32:30 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 92ms (Views: 79.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:31 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:32:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:30 UTC, "current_viewed_at"=>2015-04-03 23:32:40 UTC, "updated_at"=>2015-04-03 23:32:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (1.6ms) Completed 500 Internal Server Error in 16ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:6: syntax error, unexpected ';', expecting ')' ));}\n", 0, false);end;_hamlout.... ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7: syntax error, unexpected ')', expecting tSTRING_DEND ));}\n", 0, false); if mongoid... ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:9: syntax error, unexpected ')', expecting tSTRING_DEND ));}\n", 0, false);elsif mongoid_forums_user ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11: syntax error, unexpected ')', expecting tSTRING_DEND ));}\n", 0, false);end;_hamlout.push_text("
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11: syntax error, unexpected $undefined ));}\n", 0, false);end;_hamlout.push_text("
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:13: syntax error, unexpected '}', expecting tSTRING_DEND ));}\n
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:13: syntax error, unexpected $undefined ));}\n
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:15: syntax error, unexpected '}', expecting tSTRING_DEND ));}\n", 0, false);::Haml::Util.h... ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:15: unterminated string meets end of file /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:15: syntax error, unexpected end-of-input, expecting tSTRING_DEND): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:6: syntax error, unexpected ';', expecting ')' ));}\n", 0, false);end;_hamlout.... ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7: syntax error, unexpected ')', expecting tSTRING_DEND ));}\n", 0, false); if mongoid... ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:9: syntax error, unexpected ')', expecting tSTRING_DEND ));}\n", 0, false);elsif mongoid_forums_user ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11: syntax error, unexpected ')', expecting tSTRING_DEND ));}\n", 0, false);end;_hamlout.push_text("
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11: syntax error, unexpected $undefined ));}\n", 0, false);end;_hamlout.push_text("
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:13: syntax error, unexpected '}', expecting tSTRING_DEND ));}\n
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:13: syntax error, unexpected $undefined ));}\n
\n#{ ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:15: syntax error, unexpected '}', expecting tSTRING_DEND ));}\n", 0, false);::Haml::Util.h... ^ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:15: unterminated string meets end of file /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:15: 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: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: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.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 (19.0ms) Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:32:44 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:40 UTC, "current_viewed_at"=>2015-04-03 23:32:44 UTC, "updated_at"=>2015-04-03 23:32:44 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 91ms (Views: 79.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:44 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:32:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:44 UTC, "current_viewed_at"=>2015-04-03 23:32:54 UTC, "updated_at"=>2015-04-03 23:32:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 53ms (Views: 39.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:54 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000/edit" for ::1 at 2015-04-03 19:32:56 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c050000')} 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('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 46ms (Views: 39.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:32:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:32:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:32:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:32:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:32:56 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:34:03 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.1530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:32:54 UTC, "current_viewed_at"=>2015-04-03 23:34:03 UTC, "updated_at"=>2015-04-03 23:34:03 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('55047a284e6569818c040000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7370ms Completed 200 OK in 77ms (Views: 53.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:34:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:34:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:34:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:34:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:34:03 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000/edit" for ::1 at 2015-04-03 19:34:04 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c050000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 34ms (Views: 29.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:34:04 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:34:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:34:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:34:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:34:04 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:36:09 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:34:03 UTC, "current_viewed_at"=>2015-04-03 23:36:09 UTC, "updated_at"=>2015-04-03 23:36:09 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (36.3ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (undefined local variable or method `forem_user' for #<#:0x007fd17f9bf840>): 8: ago 9: 10: = link_to 'Quote', new_topic_post_path(post.topic_id, :reply_to_id => post.id) 11: - if post.owner_or_admin?(forem_user) 12: - if can?(:edit_post, post.topic.forum) 13: = link_to t('edit', :scope => 'forem.post'), forem.edit_forum_topic_post_path(post.forum, post.topic, post) 14: = link_to "Edit", edit_topic_post_path(post.topic_id, post) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:11:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_posts__post_haml___2681486094746472938_70268875439640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4258806586701661902_70268882903740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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 (19.3ms) Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:36:20 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:36:09 UTC, "current_viewed_at"=>2015-04-03 23:36:20 UTC, "updated_at"=>2015-04-03 23:36:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (30.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (41.2ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined local variable or method `forem' for #<#:0x007fd17def05f0>): 10: = link_to 'Quote', new_topic_post_path(post.topic_id, :reply_to_id => post.id) 11: - if post.owner_or_admin?(mongoid_forums_user) 12: - if can?(:edit_post, post.topic.forum) 13: = link_to t('edit', :scope => 'forem.post'), forem.edit_forum_topic_post_path(post.forum, post.topic, post) 14: = link_to "Edit", edit_topic_post_path(post.topic_id, post) 15: = button_to "Delete", topic_post_path(post.topic_id, post), :method => :delete, data: { :confirm => "Are you sure?" }, :class => "btn btn-danger" 16: /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:13:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_posts__post_haml___2681486094746472938_70268874189060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4258806586701661902_70268882903740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.5ms) Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:36:28 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:36:20 UTC, "current_viewed_at"=>2015-04-03 23:36:28 UTC, "updated_at"=>2015-04-03 23:36:28 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.1ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined method `forum' for #): 10: = link_to 'Quote', new_topic_post_path(post.topic_id, :reply_to_id => post.id) 11: - if post.owner_or_admin?(mongoid_forums_user) 12: - if can?(:edit_post, post.topic.forum) 13: = link_to t('edit', :scope => 'forem.post'), edit_forum_topic_post_path(post.forum, post.topic, post) 14: = link_to "Edit", edit_topic_post_path(post.topic_id, post) 15: = button_to "Delete", topic_post_path(post.topic_id, post), :method => :delete, data: { :confirm => "Are you sure?" }, :class => "btn btn-danger" 16: /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:13:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_posts__post_haml___2681486094746472938_70268830247300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:11:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4258806586701661902_70268882903740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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 (41.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.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 (58.9ms) Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:36:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:36:28 UTC, "current_viewed_at"=>2015-04-03 23:36:47 UTC, "updated_at"=>2015-04-03 23:36:47 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Completed 200 OK in 74ms (Views: 59.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:36:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:36:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:36:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:36:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:36:47 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000/edit" for ::1 at 2015-04-03 19:36:49 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (6.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 38ms (Views: 31.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:36:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:36:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:36:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:36:49 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:36:49 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:37:28 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:36:47 UTC, "current_viewed_at"=>2015-04-03 23:37:28 UTC, "updated_at"=>2015-04-03 23:37:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 56ms (Views: 44.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:37:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:37:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:37:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:37:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:37:28 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:37:34 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:37:28 UTC, "current_viewed_at"=>2015-04-03 23:37:34 UTC, "updated_at"=>2015-04-03 23:37:34 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (55.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (66.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Completed 200 OK in 108ms (Views: 92.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:37:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:37:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:37:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:37:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:37:34 -0400 Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:37:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:37:34 UTC, "current_viewed_at"=>2015-04-03 23:37:40 UTC, "updated_at"=>2015-04-03 23:37:40 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 59ms (Views: 46.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:37:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:37:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:37:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:37:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:37:40 -0400 Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:37:41 -0400 Processing by MongoidForums::PostsController#show as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Completed 500 Internal Server Error in 9ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (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 (0.9ms) 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.3ms) Started GET "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:37:43 -0400 Processing by MongoidForums::PostsController#show as HTML Parameters: {"topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Completed 500 Internal Server Error in 7ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (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 (0.9ms) 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 (19.2ms) Started GET "/forums/topics/55047a284e6569818c040000?data%5Bconfirm%5D=%3Cspan+class%3D%22translation_missing%22+title%3D%22translation+missing%3A+en.are_you_sure%22%3EAre+You+Sure%3C%2Fspan%3E&method=delete" for ::1 at 2015-04-03 19:37:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"data"=>{"confirm"=>"Are You Sure"}, "method"=>"delete", "id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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={"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a284e6569818c070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:37:40 UTC, "current_viewed_at"=>2015-04-03 23:37:45 UTC, "updated_at"=>2015-04-03 23:37:45 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Completed 200 OK in 65ms (Views: 53.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:37:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:37:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:37:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:37:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:37:46 -0400 Started DELETE "/forums/topics/55047a284e6569818c040000/posts/55047a284e6569818c050000" for ::1 at 2015-04-03 19:37:47 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"zr/umWKCjo6wDTRjgvhX7XgQJ7yU1rNM0r2QTr6z2eStejmMSv0tPCRczVadsl/y1dTACXkEKUSvKE0TctMO3w==", "topic_id"=>"55047a284e6569818c040000", "id"=>"55047a284e6569818c050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_posts selector={"_id"=>BSON::ObjectId('55047a284e6569818c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Redirected to http://localhost:3000/forums/topics/55047a284e6569818c040000 Completed 302 Found in 8ms Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 19:37:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000'), "_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c070000')} 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_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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('55047a284e6569818c070000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:37:45 UTC, "current_viewed_at"=>2015-04-03 23:37:47 UTC, "updated_at"=>2015-04-03 23:37:47 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047e004e6569818c090000')}, "$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('55047e004e6569818c090000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 200 OK in 56ms (Views: 44.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:37:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:37:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:37:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:37:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:37:47 -0400 Started GET "/forums/" for ::1 at 2015-04-03 19:39:01 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('54c407ca4e65694706000000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 63ms (Views: 60.3ms) Started GET "/forums/" for ::1 at 2015-04-03 19:39:01 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9450ms 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.9140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.6590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 1.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.9850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (70.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6650ms Completed 200 OK in 168ms (Views: 162.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:39:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:39:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:39:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:39:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:39:01 -0400 Started GET "/forums/" for ::1 at 2015-04-03 19:39:02 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 42ms (Views: 39.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:39:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:39:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:39:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:39:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:39:02 -0400 Started GET "/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:39:03 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c020000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:30:37 UTC, "current_viewed_at"=>2015-04-03 23:39:03 UTC, "updated_at"=>2015-04-03 23:39:03 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a284e6569818c040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}} runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 49ms (Views: 34.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:39:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:39:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:39:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:39:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:39:03 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:39:43 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 19:39:43 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms 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.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 66ms (Views: 64.4ms) Started GET "/forums/admin" for ::1 at 2015-04-03 19:39:44 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 19:39:44 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms 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.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 33ms (Views: 31.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:40:30 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('54c407ca4e65694706000000')}, "$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 :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 19:40:30 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms 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('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 42ms (Views: 40.1ms) Started GET "/forums/admin" for ::1 at 2015-04-03 19:40:30 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 19:40:30 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms 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.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 33ms (Views: 31.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:40:45 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 19:40:45 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms 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.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 34ms (Views: 32.5ms) Started GET "/forums/" for ::1 at 2015-04-03 19:40:46 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms 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.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$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('55047a1f4e6569818c010000')}} runtime: 0.3650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6020ms Completed 200 OK in 73ms (Views: 71.2ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:40:47 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (21.1ms) Started GET "/" for ::1 at 2015-04-03 19:40:48 -0400 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.9060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered partials/_nav.haml (4.8ms) Completed 200 OK in 130ms (Views: 129.4ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 19:40:50 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-04-03 19:40:50 -0400 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 26ms (Views: 25.6ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 19:40:52 -0400 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.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 (15.6ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 42ms (Views: 40.4ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 19:40:57 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sxPzbQ1CMPgyVrJbIReSzziqYf7BLHc4q7gpP7n/OlTxGnqgndUOUyWHbafA3dfGOv72SVFcyQJ3IhsEIfUNWA==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"current_sign_in_at"=>2015-04-03 23:40:57 UTC, "current_sign_in_ip"=>"::1", "sign_in_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7210ms Redirected to http://localhost:3000/ Completed 302 Found in 85ms Started GET "/" for ::1 at 2015-04-03 19:40:57 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8630ms Rendered partials/_nav.haml (2.2ms) Completed 200 OK in 32ms (Views: 31.8ms) Started GET "/" for ::1 at 2015-04-03 19:41:00 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 25ms (Views: 25.3ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:41:00 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:41:03 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Completed 200 OK in 34ms (Views: 32.8ms) Started GET "/forums/admin" for ::1 at 2015-04-03 19:41:04 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 27ms (Views: 25.5ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:41:25 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 77ms (Views: 32.2ms) Started GET "/forums/admin" for ::1 at 2015-04-03 19:42:34 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 200 OK in 30ms (Views: 26.9ms) Started GET "/forums/admin" for ::1 at 2015-04-03 19:44:31 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 50ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:44:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:44:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:44:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:44:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:44:32 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:44:32 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Completed 200 OK in 49ms (Views: 35.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:44:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:44:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:44:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:44:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:44:33 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:44:35 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Completed 200 OK in 33ms (Views: 31.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:44:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:44:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:44:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:44:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:44:35 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:44:39 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 200 OK in 33ms (Views: 31.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:44:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:44:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:44:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:44:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:44:39 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-03 19:45:45 -0400 Processing by MongoidForums::Admin::CategoriesController#index 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 28ms (Views: 25.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:45:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:45:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:45:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:45:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:45:45 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:45:48 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 69ms (Views: 67.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:45:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:45:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:45:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:45:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:45:48 -0400 Started GET "/forums/admin/forums/55047a1f4e6569818c010000/edit" for ::1 at 2015-04-03 19:45:50 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.html.erb 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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7000ms Completed 200 OK in 46ms (Views: 43.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:45:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:45:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:45:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:45:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:45:50 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:46:18 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 32ms (Views: 30.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:46:18 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:46:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:46:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:46:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:46:18 -0400 Started GET "/forums/admin/forums/55047a1f4e6569818c010000/edit" for ::1 at 2015-04-03 19:46:19 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (2.7ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `model_name' for nil:NilClass): 1: = simple_form_for [:admin, @forum] do |f| 2: = f.input :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:62:in `simple_form_css_class' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:22:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268868402600' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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/admin/forums/55047a1f4e6569818c010000/edit" for ::1 at 2015-04-03 19:46:39 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 500 Internal Server Error in 54ms 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `set_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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 (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.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.4ms) Started GET "/forums/admin/forums/55047a1f4e6569818c010000/edit" for ::1 at 2015-04-03 19:46:42 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Completed 500 Internal Server Error in 2ms 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `set_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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.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/diagnostics.html.erb within rescues/layout (22.4ms) Started GET "/forums/admin/forums/551ef6a24e6569e42b010000/edit" for ::1 at 2015-04-03 19:46:43 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Completed 500 Internal Server Error in 3ms 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `set_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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 (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 (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.9ms) Started GET "/forums/admin/forums/551ef6a24e6569e42b010000/edit" for ::1 at 2015-04-03 19:47:13 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Completed 200 OK in 69ms (Views: 40.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:47:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:47:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:47:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:47:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:47:14 -0400 Started PATCH "/forums/admin/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:47:17 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WR3LR8oH6mN0fYuePPgLR3by+loG8pVaI88rc8yEr27xJpEQmJnSfzMgMmHAuUxc7h+J/jNNFse6dwBoz/Hl0Q==", "forum"=>{"name"=>"dfsdfdfdf", "category"=>"55047a144e6569818c000000"}, "commit"=>"Update Forum", "id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Completed 500 Internal Server Error in 8ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/update, mongoid_forums/admin/base/update, mongoid_forums/application/update, application/update with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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: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.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.9ms) 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.9ms) Started PATCH "/forums/admin/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:48:33 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WR3LR8oH6mN0fYuePPgLR3by+loG8pVaI88rc8yEr27xJpEQmJnSfzMgMmHAuUxc7h+J/jNNFse6dwBoz/Hl0Q==", "forum"=>{"name"=>"dfsdfdfdf", "category"=>"55047a144e6569818c000000"}, "commit"=>"Update Forum", "id"=>"551ef6a24e6569e42b010000"} 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('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} update={"$set"=>{"name"=>"dfsdfdfdf", "category_id"=>BSON::ObjectId('55047a144e6569818c000000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7400ms Redirected to http://localhost:3000/forums/551ef6a24e6569e42b010000 Completed 302 Found in 46ms Started GET "/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:48:33 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6a24e6569e42b010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551f26d14e6569e8f90e0000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 23:48:33 UTC, "created_at"=>2015-04-03 23:48:33 UTC, "current_viewed_at"=>2015-04-03 23:48:33 UTC, "past_viewed_at"=>2015-04-03 23:48:33 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('551f26d14e6569e8f90e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f26d14e6569e8f90e0000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:48:33 UTC, "updated_at"=>2015-04-03 23:48:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Completed 200 OK in 55ms (Views: 33.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:48:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:48:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:48:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:48:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:48:33 -0400 Started PATCH "/forums/admin/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:48:39 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WR3LR8oH6mN0fYuePPgLR3by+loG8pVaI88rc8yEr27xJpEQmJnSfzMgMmHAuUxc7h+J/jNNFse6dwBoz/Hl0Q==", "forum"=>{"name"=>"ddd", "category"=>"55047a144e6569818c000000"}, "commit"=>"Update Forum", "id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6a24e6569e42b010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} update={"$set"=>{"name"=>"ddd"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6930ms Redirected to http://localhost:3000/forums/551ef6a24e6569e42b010000 Completed 302 Found in 10ms Started GET "/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:48:39 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6a24e6569e42b010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6a24e6569e42b010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f26d14e6569e8f90e0000')} 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('551ef6a24e6569e42b010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f26d14e6569e8f90e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:48:33 UTC, "current_viewed_at"=>2015-04-03 23:48:39 UTC, "updated_at"=>2015-04-03 23:48:39 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 43ms (Views: 25.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:48:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:48:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:48:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:48:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:48:39 -0400 Started GET "/forums/admin/forums/551ef6a24e6569e42b010000/edit" for ::1 at 2015-04-03 19:48:43 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 92ms (Views: 89.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:48:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:48:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:48:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:48:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:48:43 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:48:45 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0690ms Completed 200 OK in 39ms (Views: 36.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:48:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:48:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:48:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:48:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:48:45 -0400 Started DELETE "/forums/admin/forums/551ef79b4e6569e42b050000" for ::1 at 2015-04-03 19:48:47 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"2hu2n1MpsWZf7aGGFSf87NdTu3cYJA1AnAF/p4Pvx5tyIOzIAbeJehiwGHnpZrv3T77I0y2bjt0FuVS8gJqNJA==", "id"=>"551ef79b4e6569e42b050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 500 Internal Server Error in 7ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/destroy, mongoid_forums/admin/base/destroy, mongoid_forums/application/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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: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.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/missing_template.html.erb within rescues/layout (20.0ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:49:23 -0400 Processing by MongoidForums::Admin::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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 138ms (Views: 115.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:49:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:49:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:49:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:49:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:49:23 -0400 Started DELETE "/forums/admin/forums/551ef79b4e6569e42b050000" for ::1 at 2015-04-03 19:49:24 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"gO7rwW9PCd/oiwUwbK2k3MiigTF7v/jHMG8UQ15NQEoo1bGWPdExw6/WvM+Q7OPHUE/ylU4Ae1qp1z9YXTgK9Q==", "id"=>"551ef79b4e6569e42b050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef79b4e6569e42b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef79b4e6569e42b050000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4390ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-04-03 19:49:24 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('55047a284e6569818c040000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$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('551ef6a24e6569e42b010000')}} runtime: 0.3740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (64.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 90ms (Views: 87.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:49:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:49:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:49:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:49:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:49:24 -0400 Started GET "/forums/" for ::1 at 2015-04-03 19:49:43 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55047a284e6569818c040000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55047a1f4e6569818c010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6a24e6569e42b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}} runtime: 0.7900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6a24e6569e42b010000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (63.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 107ms (Views: 88.8ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:49:45 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML 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('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 36ms (Views: 31.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:49:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:49:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:49:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:49:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:49:45 -0400 Started DELETE "/forums/admin/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:49:47 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"Dic274NR4TFEcAi2IWvRD+tghtAP0SXKbcms27QHE/emHGy40c/ZLQMtsUndKpYUc431dDpuplf0cYfAt3JZSA==", "id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6a24e6569e42b010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (1.3ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `each' for nil:NilClass): 9: %th 10: Name 11: 12: - @forums.each do |forum| 13: %tr 14: %td 15: = link_to forum.name, [:admin, forum] /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml:12:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_index_haml__3431439029783646355_70268833431180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:45:in `destroy' 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: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: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 (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.3ms) Started DELETE "/forums/admin/forums/551ef6a24e6569e42b010000" for ::1 at 2015-04-03 19:50:12 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"Dic274NR4TFEcAi2IWvRD+tghtAP0SXKbcms27QHE/emHGy40c/ZLQMtsUndKpYUc431dDpuplf0cYfAt3JZSA==", "id"=>"551ef6a24e6569e42b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6a24e6569e42b010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Completed 404 Not Found in 124ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 551ef6a24e6569e42b010000. 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): 551ef6a24e6569e42b010000 ... (1 total) and the following ids were not found: 551ef6a24e6569e42b010000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:42:in `destroy' 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: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: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 (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.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.8ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:50:16 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 32ms (Views: 30.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:50:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:50:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:50:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:50:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:50:16 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:50:18 -0400 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('55047e004e6569818c090000')}, "$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.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 37ms (Views: 34.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:50:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:50:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:50:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:50:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:50:18 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-03 19:50:20 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2A2cdo1qVmDgftFup4dvbeBeHJ8mnfDjT482DiKM/k5wNsYh3/RufKcjaJFbxih2eLNvOxMic37WNx0VIfm08Q==", "forum"=>{"name"=>"sdfsdf", "category"=>"55047a144e6569818c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('551f273c4e6569e8f90f0000'), "order"=>0, "name"=>"sdfsdf", "category_id"=>BSON::ObjectId('55047a144e6569818c000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5850ms Redirected to http://localhost:3000/forums/551f273c4e6569e8f90f0000 Completed 302 Found in 35ms Started GET "/forums/551f273c4e6569e8f90f0000" for ::1 at 2015-04-03 19:50:20 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f273c4e6569e8f90f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f273c4e6569e8f90f0000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f273c4e6569e8f90f0000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f273c4e6569e8f90f0000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('551f273c4e6569e8f9100000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551f273c4e6569e8f90f0000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 23:50:20 UTC, "created_at"=>2015-04-03 23:50:20 UTC, "current_viewed_at"=>2015-04-03 23:50:20 UTC, "past_viewed_at"=>2015-04-03 23:50:20 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f273c4e6569e8f9100000')} 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('551f273c4e6569e8f90f0000')} 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('551f273c4e6569e8f9100000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:50:20 UTC, "updated_at"=>2015-04-03 23:50:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f273c4e6569e8f90f0000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 39ms (Views: 22.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:50:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:50:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:50:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:50:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:50:21 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:50:22 -0400 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('55047e004e6569818c090000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 35ms (Views: 33.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:50:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:50:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:50:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:50:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:50:22 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:50:23 -0400 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('55047e004e6569818c090000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Completed 200 OK in 44ms (Views: 42.4ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:50:24 -0400 Processing by MongoidForums::Admin::ForumsController#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('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 119ms (Views: 116.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:50:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:50:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:50:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:50:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:50:24 -0400 Started DELETE "/forums/admin/forums/551f273c4e6569e8f90f0000" for ::1 at 2015-04-03 19:50:26 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"w6N9s7l8h4mQqX51WQtVtwhdpViGBI89XKt0/RQGeUNrmCfk6+K/ldf0x4qlShKskLDW/LO7DKDFE1/mF3Mz/A==", "id"=>"551f273c4e6569e8f90f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f273c4e6569e8f90f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f273c4e6569e8f90f0000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5450ms Redirected to Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `to_model' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:253:in `handle_model' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:267:in `handle_model_call' actionpack (4.2.0) lib/action_dispatch/routing/url_for.rb:167:in `url_for' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:75: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:45:in `destroy' 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: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: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.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 "/forums/admin/forums" for ::1 at 2015-04-03 19:50:29 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 31ms (Views: 29.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:50:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:50:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:50:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:50:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:50:29 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:10 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML 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('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms Completed 200 OK in 64ms (Views: 36.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:10 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:51:11 -0400 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('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 36ms (Views: 34.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:12 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-03 19:51:15 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"n7usuFy926qWgUUwkJ24tCQiDX0CAtGZtb/xoytCJg83gPbvDiPjttHc/M9s3P+vvM9+2Te9UgQsB9q4KDdssA==", "forum"=>{"name"=>"sdfsdf", "category"=>"55047a144e6569818c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('551f27734e6569e8f9110000'), "order"=>0, "name"=>"sdfsdf", "category_id"=>BSON::ObjectId('55047a144e6569818c000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5970ms Redirected to http://localhost:3000/forums/551f27734e6569e8f9110000 Completed 302 Found in 123ms Started GET "/forums/551f27734e6569e8f9110000" for ::1 at 2015-04-03 19:51:15 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27734e6569e8f9110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27734e6569e8f9110000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27734e6569e8f9110000')} 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('551f27734e6569e8f9110000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551f27734e6569e8f9120000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551f27734e6569e8f9110000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 23:51:15 UTC, "created_at"=>2015-04-03 23:51:15 UTC, "current_viewed_at"=>2015-04-03 23:51:15 UTC, "past_viewed_at"=>2015-04-03 23:51:15 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27734e6569e8f9120000')} 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('551f27734e6569e8f9110000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27734e6569e8f9120000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:51:15 UTC, "updated_at"=>2015-04-03 23:51:15 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('551f27734e6569e8f9110000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms Completed 200 OK in 46ms (Views: 29.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:15 -0400 Started GET "/forums/551f27734e6569e8f9110000" for ::1 at 2015-04-03 19:51:16 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27734e6569e8f9110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27734e6569e8f9110000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27734e6569e8f9110000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27734e6569e8f9110000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27734e6569e8f9120000')} update={"$inc"=>{"count"=>1}} 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_forums selector={"_id"=>BSON::ObjectId('551f27734e6569e8f9110000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27734e6569e8f9120000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:51:15 UTC, "current_viewed_at"=>2015-04-03 23:51:16 UTC, "updated_at"=>2015-04-03 23:51:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27734e6569e8f9110000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Completed 200 OK in 42ms (Views: 25.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:16 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:51:17 -0400 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('55047e004e6569818c090000')}, "$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.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms Completed 200 OK in 36ms (Views: 33.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:17 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:19 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 26ms (Views: 22.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:19 -0400 Started DELETE "/forums/admin/forums/551f27734e6569e8f9110000" for ::1 at 2015-04-03 19:51:20 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"BKv42no0/bCqKaMeCHROuI80JqVJpm9DY7GHSR97ryyskKKNKKrFrO10GuH0NQmjF9lVAXwZ7N76CaxSHA7lkw==", "id"=>"551f27734e6569e8f9110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27734e6569e8f9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27734e6569e8f9110000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5180ms Redirected to http://localhost:3000/forums/admin/forums Completed 302 Found in 4ms Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:20 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 30ms (Views: 27.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:20 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:21 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 33ms (Views: 31.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:21 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:23 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 34ms (Views: 31.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:23 -0400 Started PATCH "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:26 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"JMsWBIcPainyjmzkK8dyT3Dm9XVIHxO0/tJzPgGKzBqM8ExT1ZFSNbXT1RvXhjVU6AuG0X2gkClnalglAv+GpQ==", "forum"=>{"name"=>"dfff", "category"=>""}, "commit"=>"Update Forum", "id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$set"=>{"name"=>"dfff"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6230ms Redirected to http://localhost:3000/forums/551ef6d04e6569e42b030000 Completed 302 Found in 8ms Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:26 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 23:51:26 UTC, "created_at"=>2015-04-03 23:51:26 UTC, "current_viewed_at"=>2015-04-03 23:51:26 UTC, "past_viewed_at"=>2015-04-03 23:51:26 UTC}] 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('551f277e4e6569e8f9130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:51:26 UTC, "updated_at"=>2015-04-03 23:51:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 200 OK in 48ms (Views: 27.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:26 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:28 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 38ms (Views: 35.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:28 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:29 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7070ms Completed 200 OK in 34ms (Views: 31.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:29 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:30 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 84ms (Views: 81.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:30 -0400 Started PATCH "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:32 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"l/xX8doWILLjHQWRyLeEGunw1At8bNnQlbNvuoluk8M/xw2miIgYrqRAvG409sMBcR2nr0nTWk0MC0ShihvZfA==", "forum"=>{"name"=>"dfff", "category"=>"55047a144e6569818c000000"}, "commit"=>"Update Forum", "id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$set"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7440ms Redirected to http://localhost:3000/forums/551ef6d04e6569e42b030000 Completed 302 Found in 8ms Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:32 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f277e4e6569e8f9130000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:51:26 UTC, "current_viewed_at"=>2015-04-03 23:51:32 UTC, "updated_at"=>2015-04-03 23:51:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 38ms (Views: 24.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:32 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:34 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 41ms (Views: 37.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:34 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:35 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (10.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 39ms (Views: 36.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:35 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:36 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Completed 200 OK in 42ms (Views: 38.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:36 -0400 Started GET "/forums/admin/forums/55047a1f4e6569818c010000/edit" for ::1 at 2015-04-03 19:51:38 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a1f4e6569818c010000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 42ms (Views: 39.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:38 -0400 Started PATCH "/forums/admin/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:51:39 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jen6EIbzmsPlJw7Cr9Ja+ZomXzYqkUYsf0cSPrQtnKeN0qBH1G2i36J6tz1Tkx3iAssskh8uxbHm/zklt1jWGA==", "forum"=>{"name"=>"TestFor", "category"=>""}, "commit"=>"Update Forum", "id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:32: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: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: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.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 (24.9ms) Started GET "/forums/admin/forums/55047a1f4e6569818c010000/edit" for ::1 at 2015-04-03 19:51:42 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} 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_categories selector={} 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('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 41ms (Views: 38.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:42 -0400 Started DELETE "/forums/admin/forums/55047a1f4e6569818c010000" for ::1 at 2015-04-03 19:51:44 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"2cjSm4Z2CjLYmwzLeKtqcFQIKeqDVrM08WcdFp1b79Fx84jM1OgyLp/GtTSE6i1rzOVaTrbpMKlo3zYNni6lbg==", "id"=>"55047a1f4e6569818c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a1f4e6569818c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4710ms Redirected to http://localhost:3000/forums/admin/forums Completed 302 Found in 4ms Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:44 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Completed 200 OK in 39ms (Views: 29.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:44 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:45 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 27ms (Views: 24.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:45 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:47 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Completed 200 OK in 42ms (Views: 38.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:47 -0400 Started PATCH "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:48 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"c2pf5ea5vtof2CEIjEmELp/i/fN/S+t3owPJ4UU7m8jbUQWytCeGxliFmPdwCMM1Bw+OV0r0aOo6u+L6Rk7Rdw==", "forum"=>{"name"=>"dfff", "category"=>""}, "commit"=>"Update Forum", "id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:32: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: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: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.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 (16.3ms) Started PATCH "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:52 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"c2pf5ea5vtof2CEIjEmELp/i/fN/S+t3owPJ4UU7m8jbUQWytCeGxliFmPdwCMM1Bw+OV0r0aOo6u+L6Rk7Rdw==", "forum"=>{"name"=>"dfff", "category"=>"55047a144e6569818c000000"}, "commit"=>"Update Forum", "id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Redirected to http://localhost:3000/forums/551ef6d04e6569e42b030000 Completed 302 Found in 8ms Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:52 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')} 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('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:51:32 UTC, "current_viewed_at"=>2015-04-03 23:51:52 UTC, "updated_at"=>2015-04-03 23:51:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Completed 200 OK in 41ms (Views: 25.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:52 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:51:53 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} 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('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:51:52 UTC, "current_viewed_at"=>2015-04-03 23:51:53 UTC, "updated_at"=>2015-04-03 23:51:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 39ms (Views: 21.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:53 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:51:55 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 42ms (Views: 38.6ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:51:57 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML 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('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 31ms (Views: 27.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:57 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:51:58 -0400 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('55047e004e6569818c090000')}, "$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.6460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (20.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 50ms (Views: 47.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:51:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:51:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:51:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:51:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:51:58 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-03 19:52:01 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kc1Eq8vZ7FqvDBp0bxkt6LVTBJp/5s4G1+E/MEH89/g59h78mUfURuhRo4uTWGrzLb53PkpZTZtOWRQrQom9Rw==", "forum"=>{"name"=>"sdfsdfs", "category"=>"55047a144e6569818c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "order"=>0, "name"=>"sdfsdfs", "category_id"=>BSON::ObjectId('55047a144e6569818c000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7520ms Redirected to http://localhost:3000/forums/551f27a14e6569e8f9140000 Completed 302 Found in 8ms Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:52:01 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9150000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 23:52:01 UTC, "created_at"=>2015-04-03 23:52:01 UTC, "current_viewed_at"=>2015-04-03 23:52:01 UTC, "past_viewed_at"=>2015-04-03 23:52:01 UTC}] 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_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:52:01 UTC, "updated_at"=>2015-04-03 23:52:01 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Completed 200 OK in 41ms (Views: 26.0ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:52:01 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:52:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:52:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:52:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:52:01 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:52:03 -0400 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('55047e004e6569818c090000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (10.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 42ms (Views: 38.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:52:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:52:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:52:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:52:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:52:03 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-03 19:52:04 -0400 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('55047e004e6569818c090000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Completed 200 OK in 32ms (Views: 29.3ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:52:04 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:52:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:52:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:52:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:52:04 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-03 19:52:05 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 33ms (Views: 30.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:52:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:52:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:52:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:52:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:52:05 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:52:09 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (12.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Completed 200 OK in 43ms (Views: 39.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:52:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:52:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:52:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:52:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:52:10 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:52:52 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} 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('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (11.5ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (uninitialized constant MongoidForums::ModeratorGroup): 1: = simple_form_for [:admin, @forum] do |f| 2: = f.input :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.input :moderator_groups, collection: MongoidForums::ModeratorGroup.all 5: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:4:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268834813360' 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268834813360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 19:53:04 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_groups", :query=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (18.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 47ms (Views: 43.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:53:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:53:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:53:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:53:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:53:04 -0400 Started PATCH "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 19:53:07 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cjj28pbwakkrKhhz/wAZo6HRE7F1TbkiPJYmI3n2gMPaA6ylxG5SVWx3oYwDQV64OTxgFUDyOr+lLg04eoPKfA==", "forum"=>{"name"=>"dfff", "category"=>"", "moderator_groups"=>"551f19ff4e6569e8f9000000"}, "commit"=>"Update Forum", "id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Unpermitted parameter: moderator_groups MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:32: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: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: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.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.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/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 19:53:11 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_groups", :query=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 50ms (Views: 46.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:53:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:53:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:53:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:53:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:53:12 -0400 Started PATCH "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:53:16 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4w84DmRChpA3PLbzi4MarC8n2gazh6HxI0FFQ8R/VZVLNGJZNty+jHBhDwx3wl23t8qpooY4Imy6+W5YxwofKg==", "forum"=>{"name"=>"sdfsdfs", "category"=>"55047a144e6569818c000000", "moderator_groups"=>"551f19ff4e6569e8f9000000"}, "commit"=>"Update Forum", "id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7040ms Unpermitted parameter: moderator_groups MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Redirected to http://localhost:3000/forums/551f27a14e6569e8f9140000 Completed 302 Found in 26ms Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:53:16 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:52:01 UTC, "current_viewed_at"=>2015-04-03 23:53:16 UTC, "updated_at"=>2015-04-03 23:53:16 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Completed 200 OK in 37ms (Views: 22.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:53:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:53:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:53:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:53:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:53:16 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 19:53:21 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_groups", :query=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (65.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 93ms (Views: 90.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:53:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:53:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:53:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:53:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:53:21 -0400 Started PATCH "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:53:38 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KgP5RqLIoV1laZjTeyplPVmmszLegaFlFbGEzG15DLWCOKMR8FaZQSI0ISyHayImwUvAlus+IviMCa/XbgxGCg==", "forum"=>{"name"=>"ModGroup: Test is a group for this.", "category"=>"55047a144e6569818c000000", "moderator_groups"=>"551f19ff4e6569e8f9000000"}, "commit"=>"Update Forum", "id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Unpermitted parameter: moderator_groups MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$set"=>{"name"=>"ModGroup: Test is a group for this."}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6830ms Redirected to http://localhost:3000/forums/551f27a14e6569e8f9140000 Completed 302 Found in 11ms Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:53:38 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.4660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:53:16 UTC, "current_viewed_at"=>2015-04-03 23:53:38 UTC, "updated_at"=>2015-04-03 23:53:38 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 45ms (Views: 24.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:53:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:53:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:53:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:53:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:53:38 -0400 Started GET "/" for ::1 at 2015-04-03 19:53:54 -0400 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.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered partials/_nav.haml (2.5ms) Completed 200 OK in 28ms (Views: 27.3ms) Started GET "/" for ::1 at 2015-04-03 19:53:57 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 21ms (Views: 20.8ms) Started GET "/" for ::1 at 2015-04-03 19:54:01 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 20ms (Views: 19.5ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:54:02 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (16.3ms) Started GET "/forum/admin" for ::1 at 2015-04-03 19:54:03 -0400 ActionController::RoutingError (No route matches [GET] "/forum/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 (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 (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.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 (50.4ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:54:08 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 35ms (Views: 31.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:54:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:54:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:54:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:54:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:54:08 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 19:54:09 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Completed 200 OK in 37ms (Views: 32.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:54:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:54:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:54:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:54:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:54:09 -0400 Started GET "/" for ::1 at 2015-04-03 19:54:16 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 72ms (Views: 71.6ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 19:54:17 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-04-03 19:54:17 -0400 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 22ms (Views: 21.8ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 19:54:18 -0400 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.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 (16.1ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 56ms (Views: 54.3ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 19:54:23 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xusVrCpa4r7qqGdhMHP0Ag5/2RqJMGvS6jQLRg3vCl78jRPZzMCCpplA5EHFC7JDLSkHRB5uIInfrGR39+bV6Q==", "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.6720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-03 23:30:24 UTC, "current_sign_in_at"=>2015-04-03 23:54:23 UTC, "sign_in_count"=>7}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5950ms Redirected to http://localhost:3000/ Completed 302 Found in 89ms Started GET "/" for ::1 at 2015-04-03 19:54:23 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 20ms (Views: 20.3ms) Started GET "/" for ::1 at 2015-04-03 19:54:25 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered partials/_nav.haml (1.2ms) Completed 200 OK in 21ms (Views: 21.1ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:54:25 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (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/" for ::1 at 2015-04-03 19:54:29 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9730ms 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.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 1.2480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (81.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Completed 200 OK in 145ms (Views: 140.9ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:54:31 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551f28374e6569e8f9160000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-03 23:54:31 UTC, "created_at"=>2015-04-03 23:54:31 UTC, "current_viewed_at"=>2015-04-03 23:54:31 UTC, "past_viewed_at"=>2015-04-03 23:54:31 UTC}] 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_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} 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('551f27a14e6569e8f9140000')} 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('551f28374e6569e8f9160000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:54:31 UTC, "updated_at"=>2015-04-03 23:54:31 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms Completed 200 OK in 51ms (Views: 30.7ms) Started GET "/forums/551f27a14e6569e8f9140000/new" for ::1 at 2015-04-03 19:54:37 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "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.0ms) Started POST "/forums/551f27a14e6569e8f9140000/create" for ::1 at 2015-04-03 19:54:43 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"M1dTou6lhRbyJFlalBo5I0VsEW0wCes5JuAsiRXl7SCK2ilFQfL+oKQhQmxYoaBaEx3CuBX6RiAZO6ZND+7PAw==", "topic"=>{"name"=>"sdffs", "posts"=>{"text"=>"dsfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdffs", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "updated_at"=>2015-04-03 23:54:43 UTC, "created_at"=>2015-04-03 23:54:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('551f28434e6569e8f91a0000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-03 23:54:43 UTC, "created_at"=>2015-04-03 23:54:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9190000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"dsfsdf", "topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "updated_at"=>2015-04-03 23:54:43 UTC, "created_at"=>2015-04-03 23:54:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms Redirected to http://localhost:3000/forums/topics/551f28434e6569e8f9180000 Completed 302 Found in 49ms Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:54:43 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551f28434e6569e8f91b0000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-03 23:54:43 UTC, "created_at"=>2015-04-03 23:54:43 UTC, "current_viewed_at"=>2015-04-03 23:54:43 UTC, "past_viewed_at"=>2015-04-03 23:54:43 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('551f28434e6569e8f91b0000')} 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('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28434e6569e8f91b0000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:54:43 UTC, "updated_at"=>2015-04-03 23:54:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 104ms (Views: 90.2ms) Started GET "/forums/topics/551f28434e6569e8f9180000/posts/new" for ::1 at 2015-04-03 19:54:45 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 39ms (Views: 29.9ms) Started POST "/forums/topics/551f28434e6569e8f9180000/posts" for ::1 at 2015-04-03 19:54:46 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"d9XDMX6IUkZQSsHK6pMX07cfvD7ZGOqPLlN/6uOrAAPOWLnW0d8p8AZP2vwmKI6q4W5v6/zrR5YRiPUu+aAiIA==", "post"=>{"text"=>"sfdsdfsd"}, "commit"=>"Create Reply", "topic_id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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_posts documents=[{"_id"=>BSON::ObjectId('551f28464e6569e8f91d0000'), "text"=>"sfdsdfsd", "topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-03 23:54:46 UTC, "created_at"=>2015-04-03 23:54:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "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('551f28434e6569e8f91a0000'), "read"=>false}, "$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"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4810ms Redirected to http://localhost:3000/forums/topics/551f28434e6569e8f9180000 Completed 302 Found in 20ms Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:54:46 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f91b0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f91b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:54:43 UTC, "current_viewed_at"=>2015-04-03 23:54:46 UTC, "updated_at"=>2015-04-03 23:54:46 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.7890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('54c407ca4e65694706000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 58ms (Views: 43.6ms) Started GET "/" for ::1 at 2015-04-03 19:54:52 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 25ms (Views: 24.4ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 19:54:55 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-04-03 19:54:55 -0400 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 27ms (Views: 27.0ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 19:54:57 -0400 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.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 (15.0ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 43ms (Views: 41.5ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 19:55:01 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jngdh61LLraT82FAe9mp/QQasc0uBVxrbSxUfjeRYxSlRzOQCUwU6+bLXRq7CYo+HgeSCMdlo0WKoPSBUn2Unw==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"last_sign_in_at"=>2015-04-03 23:40:57 UTC, "current_sign_in_at"=>2015-04-03 23:55:01 UTC, "last_sign_in_ip"=>"::1", "sign_in_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5500ms Redirected to http://localhost:3000/ Completed 302 Found in 89ms Started GET "/" for ::1 at 2015-04-03 19:55:01 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 26ms (Views: 25.6ms) Started GET "/" for ::1 at 2015-04-03 19:55:03 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 26ms (Views: 25.5ms) Started GET "/" for ::1 at 2015-04-03 19:55:04 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 20ms (Views: 19.4ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 19:55:06 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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 (28.1ms) Started GET "/forums/" for ::1 at 2015-04-03 19:55:06 -0400 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('55047e004e6569818c090000')}, "$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.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 87ms (Views: 84.3ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:55:07 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 200 OK in 23ms (Views: 21.0ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 19:55:08 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 29ms (Views: 27.1ms) Started GET "/forums/" for ::1 at 2015-04-03 19:55:09 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (113.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 200 OK in 166ms (Views: 162.8ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 19:55:10 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} 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('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:53:38 UTC, "current_viewed_at"=>2015-04-03 23:55:10 UTC, "updated_at"=>2015-04-03 23:55:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Completed 200 OK in 58ms (Views: 36.2ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:55:14 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-03 23:55:14 UTC, "created_at"=>2015-04-03 23:55:14 UTC, "current_viewed_at"=>2015-04-03 23:55:14 UTC, "past_viewed_at"=>2015-04-03 23:55:14 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} 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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28624e6569e8f91e0000')} update={"$set"=>{"current_viewed_at"=>2015-04-03 23:55:14 UTC, "updated_at"=>2015-04-03 23:55:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 60ms (Views: 44.1ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:55:27 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:55:14 UTC, "current_viewed_at"=>2015-04-03 23:55:27 UTC, "updated_at"=>2015-04-03 23:55:27 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Completed 200 OK in 48ms (Views: 35.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:55:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:55:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:55:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:55:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:55:27 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:55:29 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:55:27 UTC, "current_viewed_at"=>2015-04-03 23:55:29 UTC, "updated_at"=>2015-04-03 23:55:29 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.8470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 200 OK in 56ms (Views: 40.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:55:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:55:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:55:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:55:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:55:29 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:55:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:55:29 UTC, "current_viewed_at"=>2015-04-03 23:55:30 UTC, "updated_at"=>2015-04-03 23:55:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Completed 200 OK in 53ms (Views: 38.3ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:55:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} 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('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:55:30 UTC, "current_viewed_at"=>2015-04-03 23:55:30 UTC, "updated_at"=>2015-04-03 23:55:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "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('551f28434e6569e8f9180000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 45ms (Views: 34.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:55:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:55:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:55:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:55:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:55:30 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:56:58 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28624e6569e8f91e0000')} 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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:55:30 UTC, "current_viewed_at"=>2015-04-03 23:56:58 UTC, "updated_at"=>2015-04-03 23:56:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3320ms Completed 500 Internal Server Error in 51ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, expecting keyword_end): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_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: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: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.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 (23.2ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:57:13 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:56:58 UTC, "current_viewed_at"=>2015-04-03 23:57:13 UTC, "updated_at"=>2015-04-03 23:57:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4140ms Completed 500 Internal Server Error in 51ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, expecting keyword_end): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_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: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: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.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.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.6ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:57:23 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:57:13 UTC, "current_viewed_at"=>2015-04-03 23:57:24 UTC, "updated_at"=>2015-04-03 23:57:24 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3520ms Completed 500 Internal Server Error in 49ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, expecting keyword_end): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_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: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: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.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 (17.9ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:57:37 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:57:24 UTC, "current_viewed_at"=>2015-04-03 23:57:37 UTC, "updated_at"=>2015-04-03 23:57:37 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Completed 500 Internal Server Error in 106ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, expecting ')' ...pic.forum.moderator? other_user) ... ^): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected tIDENTIFIER, expecting ')' ...pic.forum.moderator? other_user) ... ^ 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_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: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: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.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/diagnostics.html.erb within rescues/layout (19.1ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:57:48 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} 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('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:57:37 UTC, "current_viewed_at"=>2015-04-03 23:57:48 UTC, "updated_at"=>2015-04-03 23:57:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms Completed 500 Internal Server Error in 49ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected ( arg, expecting ')' ...in? || topic.forum.moderator? (other_user)) ... ^): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:32: syntax error, unexpected ( arg, expecting ')' ...in? || topic.forum.moderator? (other_user)) ... ^ 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_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: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: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.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 (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/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:57:52 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:57:48 UTC, "current_viewed_at"=>2015-04-03 23:57:52 UTC, "updated_at"=>2015-04-03 23:57:52 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('54c407ca4e65694706000000')}, "$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"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (33.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 109ms (Views: 56.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:57:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:57:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:57:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:57:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:57:53 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:57:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:57:52 UTC, "current_viewed_at"=>2015-04-03 23:57:59 UTC, "updated_at"=>2015-04-03 23:57:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Completed 500 Internal Server Error in 45ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:33: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:39: syntax error, unexpected keyword_end, expecting ')'): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:33: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:39: 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/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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_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: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: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.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 (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.6ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 19:58:03 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28624e6569e8f91e0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:57:59 UTC, "current_viewed_at"=>2015-04-03 23:58:04 UTC, "updated_at"=>2015-04-03 23:58:04 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (34.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 117ms (Views: 61.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 19:58:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 19:58:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 19:58:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 19:58:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 19:58:04 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 20:18:17 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} 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('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:58:04 UTC, "current_viewed_at"=>2015-04-04 00:18:18 UTC, "updated_at"=>2015-04-04 00:18:18 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms Completed 200 OK in 140ms (Views: 73.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:18:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:18:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:18:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:18:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:18:18 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:19:26 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:55:10 UTC, "current_viewed_at"=>2015-04-04 00:19:26 UTC, "updated_at"=>2015-04-04 00:19:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 126ms (Views: 62.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:19:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:19:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:19:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:19:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:19:27 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:19:29 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:19:26 UTC, "current_viewed_at"=>2015-04-04 00:19:29 UTC, "updated_at"=>2015-04-04 00:19:29 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f28434e6569e8f9180000')}} runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Completed 200 OK in 50ms (Views: 34.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:19:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:19:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:19:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:19:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:19:29 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 20:19:44 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:18:18 UTC, "current_viewed_at"=>2015-04-04 00:19:44 UTC, "updated_at"=>2015-04-04 00:19:44 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 143ms (Views: 129.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:19:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:19:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:19:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:19:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:19:45 -0400 Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 20:20:08 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} 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('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (17.1ms) Started GET "/" for ::1 at 2015-04-03 20:20:09 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 27ms (Views: 26.6ms) Started GET "/" for ::1 at 2015-04-03 20:20:09 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 37ms (Views: 36.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:20:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:20:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:20:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:20:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:20:09 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-03 20:20:11 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:19:44 UTC, "current_viewed_at"=>2015-04-04 00:20:11 UTC, "updated_at"=>2015-04-04 00:20:11 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 1.4980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 64ms (Views: 49.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:20:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:20:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:20:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:20:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:20:12 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 20:20:17 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 20:20:17 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (79.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 4.7350ms Completed 200 OK in 116ms (Views: 113.8ms) Started GET "/forums/admin" for ::1 at 2015-04-03 20:20:17 -0400 Processing by MongoidForums::Admin::BaseController#index 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 20:20:17 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 36ms (Views: 33.7ms) Started GET "/forums/" for ::1 at 2015-04-03 20:21:22 -0400 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 39ms (Views: 36.9ms) Started GET "/forums/admin" for ::1 at 2015-04-03 20:21:23 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 20:21:23 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 37ms (Views: 35.6ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:24:57 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"count"=>1}} 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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:19:29 UTC, "current_viewed_at"=>2015-04-04 00:24:57 UTC, "updated_at"=>2015-04-04 00:24:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 54ms (Views: 38.4ms) Started GET "/forums/" for ::1 at 2015-04-03 20:26:48 -0400 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.5930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Completed 200 OK in 45ms (Views: 42.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:26:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:26:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:26:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:26:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:26:48 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 20:26:57 -0400 Processing by MongoidForums::Admin::GroupsController#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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 20:26:57 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 200 OK in 42ms (Views: 40.3ms) Started GET "/forums/admin" for ::1 at 2015-04-03 20:26:57 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 20:26:57 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 101ms (Views: 36.5ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-03 20:27:27 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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 :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 20:27:27 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 39ms (Views: 36.3ms) Started GET "/forums/admin" for ::1 at 2015-04-03 20:27:28 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 20:27:28 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>1}} 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"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Completed 200 OK in 44ms (Views: 41.7ms) Started GET "/" for ::1 at 2015-04-03 20:27:44 -0400 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.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered partials/_nav.haml (3.2ms) Completed 200 OK in 51ms (Views: 51.3ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 20:27:46 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-04-03 20:27:46 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 32ms (Views: 31.7ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 20:27:47 -0400 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.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 (10.9ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 50ms (Views: 48.9ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 20:28:02 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/MZHyjuECjGcJnjZmxW7EG29w0DdqNfO/PPYQM2gQ/n5OH2yE25HCt0eqXqiQZYlUD7xQB/Nr8fZ6UcZjb2S2w==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"current_sign_in_at"=>2015-04-04 00:28:02 UTC, "current_sign_in_ip"=>"::1", "sign_in_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6170ms Redirected to http://localhost:3000/ Completed 302 Found in 91ms Started GET "/" for ::1 at 2015-04-03 20:28:02 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 27ms (Views: 26.7ms) Started GET "/" for ::1 at 2015-04-03 20:28:15 -0400 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.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 25ms (Views: 24.6ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 20:28:15 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.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.0ms) Started GET "/forums/" for ::1 at 2015-04-03 20:28:16 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 46ms (Views: 43.3ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:28:20 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} 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('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:24:57 UTC, "current_viewed_at"=>2015-04-04 00:28:20 UTC, "updated_at"=>2015-04-04 00:28:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 62ms (Views: 39.2ms) Started GET "/forums/551f27a14e6569e8f9140000/new" for ::1 at 2015-04-03 20:28:22 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 43ms (Views: 36.5ms) Started POST "/forums/551f27a14e6569e8f9140000/create" for ::1 at 2015-04-03 20:28:27 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z+xpqUAJar6fGQcFXVMRfwhJVtA1X/l8BIzzvqaXyXo9yo8TIPx5mJbGLA1Y4hHBm4EIJFrLLafNy+1l69ip1Q==", "topic"=>{"name"=>"fsdfsdf", "posts"=>{"text"=>"sdfsdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047e004e6569818c090000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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_topics documents=[{"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"fsdfsdf", "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "updated_at"=>2015-04-04 00:28:27 UTC, "created_at"=>2015-04-04 00:28:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>true}, "$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_subscriptions documents=[{"_id"=>BSON::ObjectId('551f302b4e6569e8f9220000'), "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 00:28:27 UTC, "created_at"=>2015-04-04 00:28:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('551f302b4e6569e8f9210000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "text"=>"sdfsdfsdf", "topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "updated_at"=>2015-04-04 00:28:27 UTC, "created_at"=>2015-04-04 00:28:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Redirected to http://localhost:3000/forums/topics/551f302b4e6569e8f9200000 Completed 302 Found in 24ms Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-03 20:28:27 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 00:28:27 UTC, "created_at"=>2015-04-04 00:28:27 UTC, "current_viewed_at"=>2015-04-04 00:28:27 UTC, "past_viewed_at"=>2015-04-04 00:28:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.7180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 00:28:27 UTC, "updated_at"=>2015-04-04 00:28:27 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Completed 200 OK in 66ms (Views: 41.2ms) Started GET "/forums/topics/551f302b4e6569e8f9200000/posts/new" for ::1 at 2015-04-03 20:28:29 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6860ms Completed 200 OK in 38ms (Views: 29.9ms) Started POST "/forums/topics/551f302b4e6569e8f9200000/posts" for ::1 at 2015-04-03 20:28:32 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"epwunNUAdQXbH+XdRJMwK4a6t7ihAKnTu2uD9ghKVeogusgmtfVmI9LAztVBIjCVFXLpTM6UfQhyLJ0tRQU1RQ==", "post"=>{"text"=>"sdfdsfsdff"}, "commit"=>"Create Reply", "topic_id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('551f30304e6569e8f9250000'), "text"=>"sdfdsfsdff", "topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-04 00:28:32 UTC, "created_at"=>2015-04-04 00:28:32 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('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('551f302b4e6569e8f9220000'), "read"=>false}, "$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('551f302b4e6569e8f9200000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$set"=>{"posts_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6490ms Redirected to http://localhost:3000/forums/topics/551f302b4e6569e8f9200000 Completed 302 Found in 21ms Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-03 20:28:32 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:28:27 UTC, "current_viewed_at"=>2015-04-04 00:28:32 UTC, "updated_at"=>2015-04-04 00:28:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Completed 200 OK in 61ms (Views: 45.6ms) Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-03 20:28:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} 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_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f302b4e6569e8f9230000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:28:32 UTC, "current_viewed_at"=>2015-04-04 00:28:42 UTC, "updated_at"=>2015-04-04 00:28:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Completed 200 OK in 47ms (Views: 37.8ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-03 20:28:43 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('55047a284e6569818c040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `topics' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:62:in `find_topic' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:8: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: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: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.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 (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/admin/categories" for ::1 at 2015-04-03 20:28:45 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 20:28:45 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>1}} 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"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Completed 200 OK in 107ms (Views: 105.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 20:28:48 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 20:28:48 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Completed 200 OK in 40ms (Views: 38.3ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 20:28:49 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-03 20:28:49 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$query"=>{}, "$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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 37ms (Views: 35.5ms) Started GET "/forums/admin" for ::1 at 2015-04-03 20:28:50 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-03 20:28:50 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.3170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 37ms (Views: 35.5ms) Started GET "/" for ::1 at 2015-04-03 20:29:54 -0400 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: 1.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms Rendered partials/_nav.haml (4.2ms) Completed 200 OK in 40ms (Views: 39.7ms) Started GET "/" for ::1 at 2015-04-03 20:29:54 -0400 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.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Rendered partials/_nav.haml (5.6ms) Completed 200 OK in 64ms (Views: 64.1ms) Started GET "/users/sign_out" for ::1 at 2015-04-03 20:29:56 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Redirected to http://localhost:3000/ Completed 302 Found in 2ms Started GET "/" for ::1 at 2015-04-03 20:29:56 -0400 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 26ms (Views: 25.9ms) Started GET "/users/sign_in" for ::1 at 2015-04-03 20:29:57 -0400 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.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 (10.7ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 41ms (Views: 39.7ms) Started POST "/users/sign_in" for ::1 at 2015-04-03 20:30:04 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/DE8KJ1iQWvSHdpilMDE7HL+PytOZu3/KhT6mNjmNciufZE39xK4m0IP9/2+8X7ywr8d6K5FtVUxFneTxSMebw==", "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.7180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-03 23:54:23 UTC, "current_sign_in_at"=>2015-04-04 00:30:04 UTC, "sign_in_count"=>8}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5400ms Redirected to http://localhost:3000/ Completed 302 Found in 81ms Started GET "/" for ::1 at 2015-04-03 20:30:04 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 91ms (Views: 90.9ms) Started GET "/" for ::1 at 2015-04-03 20:30:07 -0400 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.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 21ms (Views: 21.1ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-03 20:30:08 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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 (19.2ms) Started GET "/forums/" for ::1 at 2015-04-03 20:30:08 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms 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.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 41ms (Views: 38.9ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:30:10 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:54:31 UTC, "current_viewed_at"=>2015-04-04 00:30:10 UTC, "updated_at"=>2015-04-04 00:30:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f28434e6569e8f9180000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.5220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 56ms (Views: 42.6ms) Started GET "/forums/" for ::1 at 2015-04-03 20:30:24 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms 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.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 101ms (Views: 98.6ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-03 20:30:25 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 30ms (Views: 28.5ms) Started GET "/forums/admin" for ::1 at 2015-04-03 20:30:25 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 29ms (Views: 26.7ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 20:30:28 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms 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.4990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 35ms (Views: 33.0ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 20:30:30 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups 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_groups selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_groups", :query=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 42ms (Views: 39.1ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-03 20:30:33 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms 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.5270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 30ms (Views: 28.4ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:30:34 -0400 AbstractController::ActionNotFound (The action 'show' could not be found for MongoidForums::Admin::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.9ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:30:37 -0400 AbstractController::ActionNotFound (The action 'show' could not be found for MongoidForums::Admin::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/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 20:30:40 -0400 AbstractController::ActionNotFound (The action 'show' could not be found for MongoidForums::Admin::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 (1.0ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:30:48 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups selector={} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_groups", :query=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (17.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7540ms Completed 200 OK in 48ms (Views: 44.8ms) Started PATCH "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:30:52 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rmWlS9MHg1L4qwQJrqPESkWgH5KkkFZ091LTYXfJRx1mBjmA1VomxvRl+Q8vokpLtNQbdSc49IkCW5BcTU8a3A==", "forum"=>{"name"=>"ModGroup: Test is a group for this.", "category"=>"55047a144e6569818c000000", "moderator_groups"=>"551f19ff4e6569e8f9000000"}, "commit"=>"Update Forum", "id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Unpermitted parameter: moderator_groups MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Redirected to http://localhost:3000/forums/551f27a14e6569e8f9140000 Completed 302 Found in 10ms Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:30:52 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:30:10 UTC, "current_viewed_at"=>2015-04-04 00:30:52 UTC, "updated_at"=>2015-04-04 00:30:52 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (24.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 200 OK in 64ms (Views: 49.2ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:30:53 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:30:52 UTC, "current_viewed_at"=>2015-04-04 00:30:53 UTC, "updated_at"=>2015-04-04 00:30:53 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.4280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Completed 200 OK in 70ms (Views: 47.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:30:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:30:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:30:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:30:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:30:53 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:31:55 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:30:53 UTC, "current_viewed_at"=>2015-04-04 00:31:55 UTC, "updated_at"=>2015-04-04 00:31:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 62ms (Views: 45.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:31:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:31:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:31:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:31:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:31:55 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-03 20:42:06 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28374e6569e8f9160000')} 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('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 69.1070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:31:55 UTC, "current_viewed_at"=>2015-04-04 00:42:06 UTC, "updated_at"=>2015-04-04 00:42:06 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 132ms (Views: 44.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:42:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:42:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:42:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:42:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:42:06 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:43:15 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups selector={} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_groups", :query=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (19.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 76ms (Views: 46.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:43:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:43:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:43:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:43:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:43:15 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:43:40 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 47ms (Views: 42.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:43:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:43:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:43:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:43:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:43:40 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:43:41 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Completed 200 OK in 52ms (Views: 48.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:43:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:43:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:43:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:43:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:43:41 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:54:12 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (57.3ms) Completed 500 Internal Server Error in 145ms ActionView::Template::Error (undefined method `simple_form_for' for #): 1: = simple_form_for [:admin, @forum] do |f| 2: = f.input :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.simple_form_for :moderator_groups do |builder| 5: = builder.label :content, "Group" 6: = builder.collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 7: /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:4:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884909940' 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884909940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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.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 (30.9ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:54:17 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (13.9ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `merge' for :email:Symbol): 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.fields_for :moderator_groups do |builder| 5: = builder.label :content, "Group" 6: = builder.collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 7: 8: 9: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1869:in `objectify_options' actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:789:in `collection_select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:6:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268868336760' 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' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:4:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268868336760' 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268868336760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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.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 (31.0ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:54:22 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (13.7ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `map' for nil:NilClass): 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.fields_for :moderator_groups do |builder| 5: = builder.label :content, "Group" 6: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 7: 8: 9: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:394:in `options_from_collection_for_select' actionview (4.2.0) lib/action_view/helpers/tags/collection_select.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:202:in `collection_select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:6:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268837624000' 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' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:4:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268837624000' 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268837624000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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.0ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:55:29 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (39.8ms) Completed 500 Internal Server Error in 48ms ActionView::Template::Error (undefined method `input' for #): 1: = form_for [:admin, @forum] do |f| 2: = f.input :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.fields_for :moderator_groups do |builder| 5: = builder.label :content, "Group" /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:2:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268901800800' 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268901800800' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.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 (33.9ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:55:51 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (166.9ms) Completed 500 Internal Server Error in 175ms ActionView::Template::Error (undefined method `f' for #): 1: = form_for [:admin, @forum] do |f| 2: = f.f.text_field :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.fields_for :moderator_groups do |builder| 5: = builder.label :content, "Group" /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:2:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268844004560' 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268844004560' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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.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 (22.4ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:55:56 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (144.8ms) Completed 500 Internal Server Error in 152ms ActionView::Template::Error (undefined method `input' for #): 1: = form_for [:admin, @forum] do |f| 2: = f.text_field :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.fields_for :moderator_groups do |builder| 5: = builder.label :content, "Group" 6: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:3:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884152820' 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884152820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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.8ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:56:02 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (11.8ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `map' for nil:NilClass): 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.fields_for :moderator_groups do |builder| 5: = builder.label :content, "Group" 6: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 7: 8: 9: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:394:in `options_from_collection_for_select' actionview (4.2.0) lib/action_view/helpers/tags/collection_select.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:202:in `collection_select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:6:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884037660' 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' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:4:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884037660' 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268884037660' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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 (25.1ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-03 20:56:07 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 37ms (Views: 33.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:07 -0400 Started GET "/forums/admin" for ::1 at 2015-04-03 20:56:40 -0400 Processing by MongoidForums::Admin::BaseController#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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6340ms Completed 200 OK in 44ms (Views: 40.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:41 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 20:56:43 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Completed 200 OK in 39ms (Views: 36.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:43 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-03 20:56:44 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0430ms Completed 200 OK in 39ms (Views: 35.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:45 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 20:56:47 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7970ms Completed 200 OK in 35ms (Views: 32.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:47 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-03 20:56:47 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 54ms (Views: 50.7ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:48 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:48 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-03 20:56:53 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Completed 200 OK in 119ms (Views: 114.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:56:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:56:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:56:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:56:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:56:53 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-03 20:58:48 -0400 Processing by MongoidForums::Admin::GroupsController#index 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('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 42ms (Views: 39.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 20:58:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 20:58:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 20:58:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 20:58:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 20:58:48 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 20:58:52 -0400 AbstractController::ActionNotFound (The action 'show' could not be found for MongoidForums::Admin::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.5ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 20:58:55 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (40.0ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined method `admin_forum_add_user_path' for #<#:0x007fd181c7ff60>): 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." 5: 6: = form_tag admin_forum_add_user_path(@forum), :method => :post do 7: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 8: %button 9: Add /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:6:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268901111640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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 (26.7ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 20:59:41 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (11.8ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error (undefined method `map' for nil:NilClass): 4: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." 5: 6: = form_tag admin_forum_add_user_path(@forum), :method => :post do 7: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 8: %button 9: Add actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:394:in `options_from_collection_for_select' actionview (4.2.0) lib/action_view/helpers/tags/collection_select.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:202:in `collection_select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:7:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268901111640' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:118:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:118:in `block (2 levels) in form_tag_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:118:in `block in form_tag_with_haml' haml (4.0.6) lib/haml/helpers.rb:631:in `call' haml (4.0.6) lib/haml/helpers.rb:631:in `block in haml_bind_proc' 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_tag_helper.rb:70:in `form_tag' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:121:in `form_tag_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:18:in `form_tag_with_haml_xss' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:6:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268901111640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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 (27.0ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 20:59:53 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (16.2ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `map' for nil:NilClass): 4: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." 5: 6: = form_tag admin_forum_add_user_path(@forum), :method => :post do 7: = collection_select(:user, :id, @users, :id, :email, {:prompt => true}) 8: %button 9: Add actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:394:in `options_from_collection_for_select' actionview (4.2.0) lib/action_view/helpers/tags/collection_select.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/form_options_helper.rb:202:in `collection_select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:7:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268833164840' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:118:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:118:in `block (2 levels) in form_tag_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:118:in `block in form_tag_with_haml' haml (4.0.6) lib/haml/helpers.rb:631:in `call' haml (4.0.6) lib/haml/helpers.rb:631:in `block in haml_bind_proc' 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_tag_helper.rb:70:in `form_tag' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:121:in `form_tag_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:18:in `form_tag_with_haml_xss' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml:6:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_edit_haml__3921619545728105511_70268833164840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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.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 (28.4ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 21:01:13 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 87ms (Views: 46.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 21:01:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 21:01:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 21:01:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 21:01:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 21:01:14 -0400 Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:01:17 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"q72TE3Ug+xnS0XYJZKPhdL1VAwan1raMNYoZxm4HNpBj3g/Yc31ejd4fiw/lom91TCEH4SR+FHHAg1r7VIFrUQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Completed 400 Bad Request in 4ms ActionController::ParameterMissing (param is missing or the value is empty: group_id): actionpack (4.2.0) lib/action_controller/metal/strong_parameters.rb:249:in `require' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:55:in `add_group' 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: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: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.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.0ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:02:51 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"q72TE3Ug+xnS0XYJZKPhdL1VAwan1raMNYoZxm4HNpBj3g/Yc31ejd4fiw/lom91TCEH4SR+FHHAg1r7VIFrUQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Completed 500 Internal Server Error in 38ms TypeError (nil is not a symbol): mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `respond_to?' mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `bind_inverse' mongoid (4.0.0) lib/mongoid/relations/binding.rb:174:in `bind_from_relational_parent' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:21:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:20:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:328:in `append' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:34:in `<<' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `add_group' 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: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: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.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.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/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 21:02:56 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 61ms (Views: 56.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 21:02:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 21:02:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 21:02:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 21:02:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 21:02:57 -0400 Started PATCH "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-03 21:02:57 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RpddnXfSblzGnj1EztMRmNtlPavM7VL4VIYyPJi7TKmO9MFWcY/LyMpQwEJP0p+ZKhE5TE9F8AWhj3EBoj0RaA==", "forum"=>{"name"=>"dfff", "category"=>""}, "commit"=>"Update Forum", "id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:33: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: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: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 (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 (18.4ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:03:05 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jpqiivYQAvyYFC/S/rRiWR0QqowQkCOQsYFOds3GD/BG+T5B8E2naJTa0tR/texY7GSua5M4gW1EiA1L90BSMQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Completed 500 Internal Server Error in 5ms TypeError (nil is not a symbol): mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `respond_to?' mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `bind_inverse' mongoid (4.0.0) lib/mongoid/relations/binding.rb:174:in `bind_from_relational_parent' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:21:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:20:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:328:in `append' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:34:in `<<' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `add_group' 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: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: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.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.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 (25.0ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:51:56 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jpqiivYQAvyYFC/S/rRiWR0QqowQkCOQsYFOds3GD/BG+T5B8E2naJTa0tR/texY7GSua5M4gW1EiA1L90BSMQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 500 Internal Server Error in 110ms TypeError (nil is not a symbol): mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `respond_to?' mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `bind_inverse' mongoid (4.0.0) lib/mongoid/relations/binding.rb:174:in `bind_from_relational_parent' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:21:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:20:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:328:in `append' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:34:in `<<' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `add_group' 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: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: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.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 (19.0ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-03 21:52:00 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Completed 200 OK in 55ms (Views: 50.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-03 21:52:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-03 21:52:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-03 21:52:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-03 21:52:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-03 21:52:01 -0400 Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:52:04 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCieoBrPtX3ZlAZ4N/K4dWaQprPzUMCcwQ9oTzWpqPlIz6xhjabQfuorR9h3kTgJO5GfUxl4f+GDX6cBlD7Yg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Completed 500 Internal Server Error in 4ms TypeError (nil is not a symbol): mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `respond_to?' mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `bind_inverse' mongoid (4.0.0) lib/mongoid/relations/binding.rb:174:in `bind_from_relational_parent' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:21:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:20:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:328:in `append' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:34:in `<<' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `add_group' 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: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: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.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 (87.9ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:52:36 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCieoBrPtX3ZlAZ4N/K4dWaQprPzUMCcwQ9oTzWpqPlIz6xhjabQfuorR9h3kTgJO5GfUxl4f+GDX6cBlD7Yg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6580ms Completed 500 Internal Server Error in 38ms NoMethodError (undefined method `id' for {"id"=>"551f19ff4e6569e8f9000000"}:ActionController::Parameters): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:55:in `add_group' 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: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: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 (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.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.0ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:52:50 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCieoBrPtX3ZlAZ4N/K4dWaQprPzUMCcwQ9oTzWpqPlIz6xhjabQfuorR9h3kTgJO5GfUxl4f+GDX6cBlD7Yg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>{"id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 404 Not Found in 36ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) {"id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')}. Summary: When calling MongoidForums::Group.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): {"id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} ... (1 total) and the following ids were not found: {"id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')}. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:55:in `add_group' 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: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: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 (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 POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:53:03 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCieoBrPtX3ZlAZ4N/K4dWaQprPzUMCcwQ9oTzWpqPlIz6xhjabQfuorR9h3kTgJO5GfUxl4f+GDX6cBlD7Yg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 500 Internal Server Error in 34ms TypeError (nil is not a symbol): mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `respond_to?' mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `bind_inverse' mongoid (4.0.0) lib/mongoid/relations/binding.rb:174:in `bind_from_relational_parent' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:21:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:20:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:328:in `append' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:34:in `<<' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:56:in `add_group' 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: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: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 (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 (18.7ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-03 21:55:04 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCieoBrPtX3ZlAZ4N/K4dWaQprPzUMCcwQ9oTzWpqPlIz6xhjabQfuorR9h3kTgJO5GfUxl4f+GDX6cBlD7Yg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 500 Internal Server Error in 41ms TypeError (nil is not a symbol): mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `respond_to?' mongoid (4.0.0) lib/mongoid/relations/binding.rb:155:in `bind_inverse' mongoid (4.0.0) lib/mongoid/relations/binding.rb:174:in `bind_from_relational_parent' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:21:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/many.rb:20:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:328:in `append' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:34:in `<<' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:59:in `add_group' 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: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: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.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.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.0ms) Started POST "/forums/admin/forums/551ef6d04e6569e42b030000/add_group" for ::1 at 2015-04-04 11:05:31 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCieoBrPtX3ZlAZ4N/K4dWaQprPzUMCcwQ9oTzWpqPlIz6xhjabQfuorR9h3kTgJO5GfUxl4f+GDX6cBlD7Yg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7770ms Redirected to http://localhost:3000/forums/admin/forums/551ef6d04e6569e42b030000 Completed 302 Found in 80ms Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:05:32 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5710ms Completed 500 Internal Server Error in 22ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/show, mongoid_forums/admin/base/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (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.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/missing_template.html.erb within rescues/layout (23.3ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:06:20 -0400 Processing by MongoidForums::Admin::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('54c407ca4e65694706000000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.6470ms Completed 200 OK in 80ms (Views: 77.1ms) Started GET "/forums/admin/" for ::1 at 2015-04-04 11:06:20 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 5.0830ms Completed 200 OK in 174ms (Views: 160.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:06:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:06:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:06:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:06:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:06:21 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:06:25 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms Completed 500 Internal Server Error in 9ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/show, mongoid_forums/admin/base/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (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.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/missing_template.html.erb within rescues/layout (23.1ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-04 11:07:13 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (77.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 102ms (Views: 98.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:07:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:07:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:07:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:07:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:07:14 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/edit" for ::1 at 2015-04-04 11:07:25 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 36ms (Views: 33.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:07:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:07:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:07:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:07:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:07:25 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:07:42 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3800ms Completed 500 Internal Server Error in 11ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/show, mongoid_forums/admin/base/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (47.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.7ms) 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 (61.1ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:07:56 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4500ms Completed 500 Internal Server Error in 10ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/show, mongoid_forums/admin/base/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (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.8ms) 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 (16.9ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000/edit" for ::1 at 2015-04-04 11:07:58 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Completed 200 OK in 37ms (Views: 34.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:07:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:07:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:07:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:07:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:07:59 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:12:14 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3920ms Completed 500 Internal Server Error in 9ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/forums/show, mongoid_forums/admin/base/show, mongoid_forums/application/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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 (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 (0.9ms) 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.3ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:15:36 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 104ms (Views: 63.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:15:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:15:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:15:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:15:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:15:36 -0400 Started GET "/forums/admin/" for ::1 at 2015-04-04 11:15:47 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 26ms (Views: 23.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:15:47 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Completed 200 OK in 31ms (Views: 28.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:15:47 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-04 11:15:49 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.haml within layouts/mongoid_forums/application (38.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms Completed 200 OK in 65ms (Views: 62.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:15:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:15:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:15:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:15:49 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:15:49 -0400 Started PATCH "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:15:53 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"x9CSYmk1R6csH7I397hhhFGCSHfBgf8ZDJJbSlNuwz0Psw6pb2jiMyDRTzF2ue+FoPZMkEIpXeT5mxh3aeie/A==", "group"=>{"name"=>"TestModGroup", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Unpermitted parameter: moderator MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"name"=>"TestModGroup"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4800ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:15:53 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 47ms (Views: 43.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:15:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:15:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:15:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:15:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:15:53 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:15:56 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Completed 200 OK in 24ms (Views: 21.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:15:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:15:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:15:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:15:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:15:56 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:16:01 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 35ms (Views: 30.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:16:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:16:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:16:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:16:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:16:01 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:16:05 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 49ms (Views: 44.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:16:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:16:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:16:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:16:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:16:05 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:16:07 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 200 OK in 29ms (Views: 24.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:16:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:16:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:16:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:16:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:16:07 -0400 Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/add_group" for ::1 at 2015-04-04 11:16:09 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZBEgdHNS9PCAB01mTuITqZLz9sSrDjZwUXdafIQiP3iscry/dQ9RZIzJsGDP452oY4fyIyimlI2kfhlBvqRiuQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5460ms Redirected to http://localhost:3000/forums/admin/forums/551f27a14e6569e8f9140000 Completed 302 Found in 22ms Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:16:10 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 36ms (Views: 29.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:16:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:16:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:16:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:16:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:16:10 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:19:02 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Completed 200 OK in 35ms (Views: 29.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:19:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:19:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:19:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:19:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:19:02 -0400 Started GET "/forums/admin/forums/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:19:04 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 551f19ff4e6569e8f9000000. 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): 551f19ff4e6569e8f9000000 ... (1 total) and the following ids were not found: 551f19ff4e6569e8f9000000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:27: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: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 (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 (13.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 (33.2ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:19:18 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8330ms Completed 200 OK in 35ms (Views: 29.5ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:19:18 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:19:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:19:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:19:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:19:18 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:19:20 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 31ms (Views: 27.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:19:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:19:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:19:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:19:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:19:20 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:20:25 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (5.6ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 13: %td 14: = link_to "Edit", edit_admin_group_path(group) 15: %td 16: = button_to "Remove", admin_forum_remove_group_path(group_id: @group.id, user: {id: member}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_forum_add_user_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314301201480' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:7:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314301201480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (20.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 (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 (36.5ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:20:34 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (17.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined local variable or method `member' for #<#:0x007fe6a8e23dd0>): 13: %td 14: = link_to "Edit", edit_admin_group_path(group) 15: %td 16: = button_to "Remove", admin_forum_remove_group_path(group_id: group.id, user: {id: member}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_forum_add_user_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314326298800' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:7:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314326298800' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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 (18.9ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:20:41 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (16.3ms) Completed 500 Internal Server Error in 27ms ActionView::Template::Error (undefined method `admin_forum_remove_group_path' for #<#:0x007fe6a520d968>): 13: %td 14: = link_to "Edit", edit_admin_group_path(group) 15: %td 16: = button_to "Remove", admin_forum_remove_group_path(group_id: group.id, user: {id: 66}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_forum_add_user_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314294784860' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:7:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314294784860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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/template_error.html.erb within rescues/layout (18.8ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:21:25 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.9ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (No route matches {:action=>"remove_group", :controller=>"mongoid_forums/admin/forums", :group_id=>BSON::ObjectId('551f19ff4e6569e8f9000000'), :id=>"551f27a14e6569e8f9140000", :user=>{:id=>66}} missing required keys: [:forum_id]): 13: %td 14: = link_to "Edit", edit_admin_group_path(group) 15: %td 16: = button_to "Remove", admin_forum_rem_group_path(group_id: group.id, user: {id: 66}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_forum_add_user_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314296681960' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:7:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314296681960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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.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.0ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:22:09 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (20.3ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (undefined method `admin_forum_add_user_path' for #<#:0x007fe6a9148cb8>): 15: %td 16: = button_to "Remove", admin_forum_rem_group_path(forum_id: @forum.id, group: {id: params[:id]}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_forum_add_user_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 20: %button 21: Add /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:18:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314324331860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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 (17.7ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:22:20 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 33ms (Views: 28.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:22:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:22:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:22:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:22:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:22:20 -0400 Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:22:23 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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 (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.9ms) Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:22:27 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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 (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 (22.0ms) Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:23:40 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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 (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 (18.0ms) Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:23:42 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Completed 404 Not Found in 5ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (13.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 (32.9ms) Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:23:54 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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.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.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 (23.5ms) Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:25:36 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Completed 404 Not Found in 5ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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 (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/diagnostics.html.erb within rescues/layout (21.6ms) Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:25:39 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"OLIhvJwYELoMhSja3cZLYtemwT+0+ZCYvsWejBW2JCvw0b13mkW1LgBL1dxcx8VjJtLF2DdRMmVLzN2xLzB56g==", "group"=>{"id"=>"551f27a14e6569e8f9140000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Group with id(s) 551f27a14e6569e8f9140000. Summary: When calling MongoidForums::Group.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): 551f27a14e6569e8f9140000 ... (1 total) and the following ids were not found: 551f27a14e6569e8f9140000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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.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.3ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:25:41 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (6.1ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (No route matches {:action=>"remove_group", :controller=>"mongoid_forums/admin/forums", :id=>"551f27a14e6569e8f9140000"} missing required keys: [:forum_id]): 13: %td 14: = link_to "Edit", edit_admin_group_path(group) 15: %td 16: = button_to "Remove", admin_forum_rem_group_path(), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_forum_add_group_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314294124820' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml:7:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_forums_show_haml__3088333285144123335_70314294124820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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 (22.6ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:26:13 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 42ms (Views: 34.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:26:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:26:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:26:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:26:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:26:13 -0400 Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group" for ::1 at 2015-04-04 11:26:15 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"U0y/iJbTDSApqGix3ymYEgQNpeyNSdUHvmBRTVcNH4SbLyNDkI6otCVmlbdeKBYT9XmhCw7hd/pLaRJwbYtCRQ==", "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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.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 (18.7ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group" for ::1 at 2015-04-04 11:26:19 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group"): 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 (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.3ms) 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.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.6ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group" for ::1 at 2015-04-04 11:26:20 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group"): 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.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.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/_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 (45.2ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:26:22 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7090ms Completed 200 OK in 54ms (Views: 47.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:26:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:26:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:26:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:26:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:26:22 -0400 Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group" for ::1 at 2015-04-04 11:26:24 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"KvopE6VxXctP/LcSPOb+XUNqx/7zrH3yfmwJimtl4TLimbXYoyz4X0MyShS953Bcsh7DGXAE3w+LZUq3UeO88w==", "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:67:in `remove_group' 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: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: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 (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 (17.6ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:26:57 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (6.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Completed 200 OK in 44ms (Views: 37.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:26:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:26:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:26:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:26:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:26:57 -0400 Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/rem_group?group%5Bid%5D=551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:26:58 -0400 Processing by MongoidForums::Admin::ForumsController#remove_group as HTML Parameters: {"authenticity_token"=>"TYNQ4gqOL8JWgpY9e94Bm4kGYweZP5YHAsLhvhhvyBGF4MwpDNOKVlpMazv634+aeHJn4BqXNPr3y6KDIumV0A==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$pull"=>{"moderator_group_ids"=>BSON::ObjectId('551f19ff4e6569e8f9000000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.4390ms Redirected to http://localhost:3000/forums/admin/forums/551f27a14e6569e8f9140000 Completed 302 Found in 35ms Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:26:58 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 40ms (Views: 33.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:26:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:26:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:26:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:26:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:26:58 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:26:59 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 38ms (Views: 33.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:26:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:26:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:26:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:26:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:26:59 -0400 Started POST "/forums/admin/forums/551f27a14e6569e8f9140000/add_group" for ::1 at 2015-04-04 11:27:01 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"uPxZs3jNxySq4R0VKYK3nfZLXihtcUmXS5kvCtj0c/pwn8V4fpBisKYv4BOogzmcBz9az+7Z62q+kGw34nIuOw==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Redirected to http://localhost:3000/forums/admin/forums/551f27a14e6569e8f9140000 Completed 302 Found in 5ms Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:01 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 33ms (Views: 27.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:02 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 38ms (Views: 33.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:27:02 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:10 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h2 and nested within it.): 1: %h2 Listing all moderator groups for 2: =@forum.name 3: %table{:border => "1"} 4: %tr 5: %th /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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: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 (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 (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 (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.8ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:14 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Completed 200 OK in 34ms (Views: 28.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:27:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:27:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:27:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:27:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:27:14 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:23 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h2 and nested within it.): 1: %h2 Listing all moderator groups for 2: %small 3: = @forum.name 4: %table{:border => "1"} 5: %tr /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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: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 (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.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 (13.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 (32.9ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:25 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h2 and nested within it.): 1: %h2 Listing all moderator groups for 2: %small 3: = @forum.name 4: %table{:border => "1"} 5: %tr /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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: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 (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.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 (25.1ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:29 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h2 and nested within it.): 1: %h2 Listing all moderator groups for 2: %small= @forum.name 3: %table{:border => "1"} 4: %tr 5: %th /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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: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 (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 (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.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.5ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:34 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 39ms (Views: 35.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:27:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:27:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:27:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:27:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:27:34 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:49 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 41ms (Views: 35.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:27:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:27:49 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:27:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:27:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:27:49 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:27:54 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 46ms (Views: 39.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:27:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:27:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:27:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:27:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:27:54 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:28:08 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 42ms (Views: 36.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:09 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:28:10 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 200 OK in 42ms (Views: 35.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:10 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-04 11:28:12 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6870ms Completed 200 OK in 43ms (Views: 40.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:12 -0400 Started PATCH "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:28:16 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YNOFulVt+ynhvlC/vMBavDkQNPjXD9HL2/FUuLHLeyyosBlxUzBeve1wrbk9wdS9yGQwH1SnczYu+BeFi00m7Q==", "group"=>{"name"=>"TestModGroup2", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Unpermitted parameter: moderator MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"name"=>"TestModGroup2"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 6ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:28:16 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 35ms (Views: 30.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:16 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:16 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-04 11:28:20 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms Completed 200 OK in 41ms (Views: 37.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:20 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:28:22 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6960ms Completed 200 OK in 54ms (Views: 47.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:22 -0400 Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:28:28 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 40ms (Views: 32.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:28 -0400 Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:28:44 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} 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('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Completed 200 OK in 28ms (Views: 23.4ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:28:46 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 29ms (Views: 26.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:28:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:28:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:28:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:28:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:28:46 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:29:17 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML 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('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (5.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `modeator' for #): 16: %td 17: = link_to group.name, [:admin, group] 18: %td 19: = group.modeator 20: %td 21: = link_to "Edit", edit_admin_group_path(group) 22: %td /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:19:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3334535354860142739_70314325968760' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:14:in `each_with_index' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml:14:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_groups_index_haml___3334535354860142739_70314325968760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `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.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/template_error.html.erb within rescues/layout (18.1ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:29:22 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Completed 200 OK in 33ms (Views: 31.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:22 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:29:25 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 200 OK in 37ms (Views: 33.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:26 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-04 11:29:28 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "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: 36.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:29 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-04 11:29:42 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xz7zUjRiw8SAuCC9AxaRtwWNlqZu/eg1e1CKRSAJ/sgPXW+ZMj9mUIx23buCFx+29PmSQe1VSsiOWcl4Go+jCQ==", "group"=>{"name"=>"Cool badge group", "moderator"=>"false"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('552003664e6569eff4000000'), "members"=>[], "name"=>"Cool badge group", "moderator"=>false}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5120ms Redirected to http://localhost:3000/forums/admin/groups/552003664e6569eff4000000 Completed 302 Found in 4ms Started GET "/forums/admin/groups/552003664e6569eff4000000" for ::1 at 2015-04-04 11:29:42 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"552003664e6569eff4000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9100ms Completed 200 OK in 32ms (Views: 28.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:42 -0400 Started POST "/forums/admin/groups/552003664e6569eff4000000/add_user" for ::1 at 2015-04-04 11:29:46 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"m/lbHuq0NvgNp7lOvEILIBStYng5uSXw6tUhTXUG09NTmsfV7OmTbAFpREg9Q4Uh5dlmn7oRhw0f3GJwT4COEg==", "user"=>{"id"=>"55047e004e6569818c090000"}, "group_id"=>"552003664e6569eff4000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} update={"$set"=>{"members"=>[BSON::ObjectId('55047e004e6569818c090000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7370ms Redirected to http://localhost:3000/forums/admin/groups/552003664e6569eff4000000 Completed 302 Found in 7ms Started GET "/forums/admin/groups/552003664e6569eff4000000" for ::1 at 2015-04-04 11:29:46 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"552003664e6569eff4000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7440ms Completed 200 OK in 48ms (Views: 45.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:47 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-04 11:29:52 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6850ms Completed 200 OK in 44ms (Views: 41.3ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:29:53 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML 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('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 35ms (Views: 31.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:53 -0400 Started GET "/forums/admin/groups/552003664e6569eff4000000/edit" for ::1 at 2015-04-04 11:29:56 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"552003664e6569eff4000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 39ms (Views: 36.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:56 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:29:59 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 37ms (Views: 32.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:29:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:29:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:29:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:29:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:29:59 -0400 Started GET "/forums/" for ::1 at 2015-04-04 11:30:03 -0400 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 68ms (Views: 65.6ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-04 11:30:04 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (18.8ms) Started GET "/" for ::1 at 2015-04-04 11:30:04 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Rendered partials/_nav.haml (3.5ms) Completed 200 OK in 107ms (Views: 106.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:04 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:30:11 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 34ms (Views: 29.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:11 -0400 Started GET "/forums/admin/" for ::1 at 2015-04-04 11:30:16 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 24ms (Views: 22.3ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:30:16 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms Completed 200 OK in 33ms (Views: 31.4ms) Started GET "/forums/" for ::1 at 2015-04-04 11:30:17 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms Completed 200 OK in 103ms (Views: 101.1ms) Started GET "/forums/" for ::1 at 2015-04-04 11:30:17 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1290ms 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.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.6760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.4500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 200 OK in 68ms (Views: 64.6ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:17 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:17 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:30:19 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:42:06 UTC, "current_viewed_at"=>2015-04-04 15:30:19 UTC, "updated_at"=>2015-04-04 15:30:19 UTC}} flags=[] 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551f27a14e6569e8f9140000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Completed 200 OK in 70ms (Views: 50.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:19 -0400 Started GET "/forums/" for ::1 at 2015-04-04 11:30:21 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms 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.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.8320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.6490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Completed 200 OK in 65ms (Views: 62.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:30:21 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 20:23:44 UTC, "current_viewed_at"=>2015-04-04 15:30:21 UTC, "updated_at"=>2015-04-04 15:30:21 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Completed 200 OK in 44ms (Views: 28.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:21 -0400 Started GET "/forums/" for ::1 at 2015-04-04 11:30:37 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms 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={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}} runtime: 0.5820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 200 OK in 44ms (Views: 41.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:37 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:30:38 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 12.9300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:21 UTC, "current_viewed_at"=>2015-04-04 15:30:38 UTC, "updated_at"=>2015-04-04 15:30:38 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 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={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7210ms Completed 200 OK in 59ms (Views: 29.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:38 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:30:40 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:38 UTC, "current_viewed_at"=>2015-04-04 15:30:40 UTC, "updated_at"=>2015-04-04 15:30:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6150ms Completed 200 OK in 62ms (Views: 37.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/forums/" for ::1 at 2015-04-04 11:30:40 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('54c407ca4e65694706000000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms Completed 200 OK in 50ms (Views: 46.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:40 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:30:42 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:40 UTC, "current_viewed_at"=>2015-04-04 15:30:42 UTC, "updated_at"=>2015-04-04 15:30:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 42ms (Views: 26.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:42 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:30:43 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:19 UTC, "current_viewed_at"=>2015-04-04 15:30:43 UTC, "updated_at"=>2015-04-04 15:30:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}} runtime: 0.3040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.2860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 72ms (Views: 50.2ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:44 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:44 -0400 Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:30:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('552003a54e6569eff4010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 15:30:45 UTC, "created_at"=>2015-04-04 15:30:45 UTC, "current_viewed_at"=>2015-04-04 15:30:45 UTC, "past_viewed_at"=>2015-04-04 15:30:45 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('552003a54e6569eff4010000')} 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_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 15:30:45 UTC, "updated_at"=>2015-04-04 15:30:45 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 1.7110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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"=>{"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (29.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (54.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 118ms (Views: 103.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:30:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:30:46 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:30:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:30:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:30:46 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:30:51 -0400 Processing by MongoidForums::Admin::CategoriesController#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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-04-04 11:30:51 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms 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.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Completed 200 OK in 46ms (Views: 44.0ms) Started GET "/forums/admin" for ::1 at 2015-04-04 11:30:52 -0400 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('54c407ca4e65694706000000')}, "$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 :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-04 11:30:52 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 39ms (Views: 37.2ms) Started GET "/forums/" for ::1 at 2015-04-04 11:31:24 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('54c407ca4e65694706000000')}, "$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"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Completed 200 OK in 46ms (Views: 42.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:24 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:31:25 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:42 UTC, "current_viewed_at"=>2015-04-04 15:31:25 UTC, "updated_at"=>2015-04-04 15:31:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 46ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:25 -0400 Started GET "/forums/551ef6d04e6569e42b030000/new" for ::1 at 2015-04-04 11:31:27 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 58ms (Views: 51.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:28 -0400 Started POST "/forums/551ef6d04e6569e42b030000/create" for ::1 at 2015-04-04 11:31:30 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"PFb2RxYSqHPlg0J7SfxNQf1qfksZFzQvJEKw6Bd3b9T0NWqMEE8N5+lNv33I/cNADB56rJq/ltLRS/PVLfEyFQ==", "topic"=>{"name"=>"tsdfsdf", "posts"=>{"text"=>"sfdsfsd"}}, "commit"=>"Create Topic", "forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"tsdfsdf", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "updated_at"=>2015-04-04 15:31:30 UTC, "created_at"=>2015-04-04 15:31:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('552003d24e6569eff4050000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 15:31:30 UTC, "created_at"=>2015-04-04 15:31:30 UTC}] flags=[] 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('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"sfdsfsd", "topic_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "updated_at"=>2015-04-04 15:31:30 UTC, "created_at"=>2015-04-04 15:31:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4070ms Redirected to http://localhost:3000/forums/topics/552003d24e6569eff4030000 Completed 302 Found in 19ms Started GET "/forums/topics/552003d24e6569eff4030000" for ::1 at 2015-04-04 11:31:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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={"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "_id"=>BSON::ObjectId('552003d24e6569eff4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('552003d24e6569eff4060000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 15:31:30 UTC, "created_at"=>2015-04-04 15:31:30 UTC, "current_viewed_at"=>2015-04-04 15:31:30 UTC, "past_viewed_at"=>2015-04-04 15:31:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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('552003d24e6569eff4060000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 15:31:30 UTC, "updated_at"=>2015-04-04 15:31:30 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 62ms (Views: 46.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:30 -0400 Started GET "/forums/topics/552003d24e6569eff4030000" for ::1 at 2015-04-04 11:31:31 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} 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('552003d24e6569eff4030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:30 UTC, "current_viewed_at"=>2015-04-04 15:31:31 UTC, "updated_at"=>2015-04-04 15:31:31 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.7180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 55ms (Views: 42.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:31 -0400 Started GET "/forums/topics/552003d24e6569eff4030000/posts/new" for ::1 at 2015-04-04 11:31:33 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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('551ef6d04e6569e42b030000')}, "$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('55047a144e6569818c000000')}, "$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('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2010ms Completed 200 OK in 51ms (Views: 43.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:33 -0400 Started POST "/forums/topics/552003d24e6569eff4030000/posts" for ::1 at 2015-04-04 11:31:34 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"DLouvrh2CJ6lr7W3/klwM3LAEVho3piWVck/viOZ2NbE2bJ1viutCqlhSLF/SP4yg7QVv+t2OmugwHyDGR+FFw==", "post"=>{"text"=>"dfsdff"}, "commit"=>"Create Reply", "topic_id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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('551ef6d04e6569e42b030000')}, "$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('55047a144e6569818c000000')}, "$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_posts documents=[{"_id"=>BSON::ObjectId('552003d64e6569eff4080000'), "text"=>"dfsdff", "topic_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-04 15:31:34 UTC, "created_at"=>2015-04-04 15:31:34 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('552003d24e6569eff4050000'), "read"=>false}, "$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('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6850ms Redirected to http://localhost:3000/forums/topics/552003d24e6569eff4030000 Completed 302 Found in 20ms Started GET "/forums/topics/552003d24e6569eff4030000" for ::1 at 2015-04-04 11:31:34 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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={"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "_id"=>BSON::ObjectId('552003d24e6569eff4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:31 UTC, "current_viewed_at"=>2015-04-04 15:31:34 UTC, "updated_at"=>2015-04-04 15:31:34 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 200 OK in 60ms (Views: 47.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:34 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:34 -0400 Started GET "/forums/topics/552003d24e6569eff4030000/posts/new" for ::1 at 2015-04-04 11:31:38 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('55047a144e6569818c000000')}, "$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('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9520ms Completed 200 OK in 61ms (Views: 51.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:38 -0400 Started GET "/forums/551ef6d04e6569e42b030000/new" for ::1 at 2015-04-04 11:31:40 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms Completed 200 OK in 46ms (Views: 38.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:40 -0400 Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:31:41 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:25 UTC, "current_viewed_at"=>2015-04-04 15:31:41 UTC, "updated_at"=>2015-04-04 15:31:41 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 66ms (Views: 43.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:41 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:31:43 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} 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('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:43 UTC, "current_viewed_at"=>2015-04-04 15:31:43 UTC, "updated_at"=>2015-04-04 15:31:43 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0070ms Completed 200 OK in 65ms (Views: 50.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:43 -0400 Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:31:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} 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_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('552003a54e6569eff4010000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:30:45 UTC, "current_viewed_at"=>2015-04-04 15:31:47 UTC, "updated_at"=>2015-04-04 15:31:47 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.9510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 200 OK in 76ms (Views: 55.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:47 -0400 Started GET "/forums/topics/551f302b4e6569e8f9200000/posts/551f30304e6569e8f9250000/edit" for ::1 at 2015-04-04 11:31:50 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"551f302b4e6569e8f9200000", "id"=>"551f30304e6569e8f9250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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={"_id"=>BSON::ObjectId('551f30304e6569e8f9250000')} 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('551f27a14e6569e8f9140000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 50ms (Views: 44.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:50 -0400 Started PATCH "/forums/topics/551f302b4e6569e8f9200000/posts/551f30304e6569e8f9250000" for ::1 at 2015-04-04 11:31:53 -0400 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1qiwokkGnyxlXKUJpV+xvkXj6azZjYcVT2dHpFe3MIkeyyxpT1s6uGmSWA8kXj+/tJftS1olJei6bgSZbTFtSA==", "post"=>{"text"=>"sdfdsfsdffdd"}, "commit"=>"Update post", "topic_id"=>"551f302b4e6569e8f9200000", "id"=>"551f30304e6569e8f9250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f30304e6569e8f9250000')} 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$set"=>{"last_post_at"=>2015-04-04 00:28:32 UTC, "updated_at"=>2015-04-04 15:31:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('551f30304e6569e8f9250000')} update={"$set"=>{"text"=>"sdfdsfsdffdd", "updated_at"=>2015-04-04 15:31:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4620ms Redirected to http://localhost:3000/forums/topics/551f302b4e6569e8f9200000 Completed 302 Found in 14ms Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:31:53 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} 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_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('552003a54e6569eff4010000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:47 UTC, "current_viewed_at"=>2015-04-04 15:31:53 UTC, "updated_at"=>2015-04-04 15:31:53 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 62ms (Views: 47.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:53 -0400 Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:31:56 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('552003a54e6569eff4010000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:53 UTC, "current_viewed_at"=>2015-04-04 15:31:56 UTC, "updated_at"=>2015-04-04 15:31:56 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Completed 200 OK in 62ms (Views: 45.3ms) Started GET "/forums/topics/55047a284e6569818c040000" for ::1 at 2015-04-04 11:31:58 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55047a284e6569818c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55047a284e6569818c040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55047a1f4e6569818c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `topics' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:62:in `find_topic' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:8: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: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: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.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 (20.0ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-04 11:31:58 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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/diagnostics.html.erb within rescues/layout (24.0ms) Started GET "/" for ::1 at 2015-04-04 11:31:59 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Rendered partials/_nav.haml (2.4ms) Completed 200 OK in 84ms (Views: 83.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:31:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:31:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:31:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:31:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:31:59 -0400 Started GET "/users/sign_out" for ::1 at 2015-04-04 11:32:00 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-04-04 11:32:00 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (5.0ms) Completed 200 OK in 31ms (Views: 30.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:32:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:32:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:32:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:32:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:32:00 -0400 Started GET "/users/sign_in" for ::1 at 2015-04-04 11:32:01 -0400 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 (10.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 (25.4ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 61ms (Views: 57.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:32:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:32:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:32:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:32:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:32:01 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-04 11:32:10 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"axQO5UnjAuT9RmQBsp0w1mRmfa0RH/Scezqlm3iNntDpWWZZDmguwCKIdElNsV93nRV9ksNwoQUIaB/0DAffRA==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8390ms Completed 401 Unauthorized in 81ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"axQO5UnjAuT9RmQBsp0w1mRmfa0RH/Scezqlm3iNntDpWWZZDmguwCKIdElNsV93nRV9ksNwoQUIaB/0DAffRA==", "user"=>{"email"=>"nick@sarkis.pro", "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 (4.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 (10.6ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 113ms (Views: 37.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:32:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:32:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:32:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:32:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:32:10 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-04 11:32:14 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xXPJd6B6ANehSfggD0TKMJhAcaq1GP1SXD2zuKZ09yVHPqHL5/Es836H6GjwaKWRYTNxlWd3qMsvbwnX0v62sQ==", "user"=>{"email"=>"nick@sarkis.pro", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"nick@sarkis.pro"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"last_sign_in_at"=>2015-04-04 00:28:02 UTC, "current_sign_in_at"=>2015-04-04 15:32:14 UTC, "last_sign_in_ip"=>"::1", "sign_in_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6130ms Redirected to http://localhost:3000/ Completed 302 Found in 83ms Started GET "/" for ::1 at 2015-04-04 11:32:14 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms Rendered partials/_nav.haml (2.3ms) Completed 200 OK in 24ms (Views: 23.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:32:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:32:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:32:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:32:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:32:14 -0400 Started GET "/" for ::1 at 2015-04-04 11:32:19 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 24ms (Views: 24.0ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-04 11:32:20 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Completed 404 Not Found in 13ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (18.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.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 (33.4ms) Started GET "/forums/" for ::1 at 2015-04-04 11:32:21 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"$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('55047a144e6569818c000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 50ms (Views: 47.7ms) Started GET "/forums/admin" for ::1 at 2015-04-04 11:32:23 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-04 11:32:23 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}, "$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('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 46ms (Views: 44.0ms) Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:32:25 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} 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('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f277e4e6569e8f9130000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:51:53 UTC, "current_viewed_at"=>2015-04-04 15:32:25 UTC, "updated_at"=>2015-04-04 15:32:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552003d24e6569eff4030000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 49ms (Views: 33.6ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:32:27 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9150000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:28:20 UTC, "current_viewed_at"=>2015-04-04 15:32:27 UTC, "updated_at"=>2015-04-04 15:32:27 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f302b4e6569e8f9200000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6240ms Completed 200 OK in 63ms (Views: 48.3ms) Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:32:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:28:42 UTC, "current_viewed_at"=>2015-04-04 15:32:30 UTC, "updated_at"=>2015-04-04 15:32:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Completed 200 OK in 60ms (Views: 49.0ms) Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:32:32 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9150000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:27 UTC, "current_viewed_at"=>2015-04-04 15:32:32 UTC, "updated_at"=>2015-04-04 15:32:32 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f302b4e6569e8f9200000')}} runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Completed 200 OK in 87ms (Views: 69.2ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:32:32 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 00:20:11 UTC, "current_viewed_at"=>2015-04-04 15:32:32 UTC, "updated_at"=>2015-04-04 15:32:32 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 68ms (Views: 57.1ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:32:38 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:32 UTC, "current_viewed_at"=>2015-04-04 15:32:38 UTC, "updated_at"=>2015-04-04 15:32:38 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('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7900ms Completed 200 OK in 64ms (Views: 51.5ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:32:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} 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_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:38 UTC, "current_viewed_at"=>2015-04-04 15:32:42 UTC, "updated_at"=>2015-04-04 15:32:42 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 61ms (Views: 47.9ms) Started GET "/forums/topics/551f28434e6569e8f9180000/posts/new" for ::1 at 2015-04-04 11:32:45 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7190ms Completed 200 OK in 33ms (Views: 25.3ms) Started POST "/forums/topics/551f28434e6569e8f9180000/posts" for ::1 at 2015-04-04 11:32:49 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"x6fhjuAIOWhp040fTuOuVYrdAHHSV9o/7Vamk58O9/zAEstCWivt9zBtcURNz04ibeFy8fcJX9z9Y9Rxt4FAKQ==", "post"=>{"text"=>"hello"}, "commit"=>"Create Reply", "topic_id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('552004214e6569eff40c0000'), "text"=>"hello", "topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-04 15:32:49 UTC, "created_at"=>2015-04-04 15:32:49 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('551f28434e6569e8f91a0000'), "read"=>false}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$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_alerts documents=[{"_id"=>BSON::ObjectId('552004214e6569eff40d0000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('551f28434e6569e8f91a0000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "mongoid_forums_topic_replier"=>"nick@sarkis.pro", "mongoid_forums_topic_post_id"=>BSON::ObjectId('552004214e6569eff40c0000'), "read"=>false, "updated_at"=>2015-04-04 15:32:49 UTC, "created_at"=>2015-04-04 15:32:49 UTC}] 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('551f27a14e6569e8f9140000')} update={"$set"=>{"posts_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Redirected to http://localhost:3000/forums/topics/551f28434e6569e8f9180000 Completed 302 Found in 22ms Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:32:49 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:42 UTC, "current_viewed_at"=>2015-04-04 15:32:49 UTC, "updated_at"=>2015-04-04 15:32:49 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.3240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Completed 200 OK in 68ms (Views: 54.7ms) Started GET "/forums/topics/551f28434e6569e8f9180000/posts/new" for ::1 at 2015-04-04 11:32:50 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 36ms (Views: 28.4ms) Started POST "/forums/topics/551f28434e6569e8f9180000/posts" for ::1 at 2015-04-04 11:32:53 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZALnfpy0Vf1QQiMV5F/2qvSaUrXDwIIgc9isKJZXn6Rjt82yJpeBYgn8307ncxbdE6YgNeaeB8Nj7d7KvtgocQ==", "post"=>{"text"=>"sdfsdfd"}, "commit"=>"Create Reply", "topic_id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('552004254e6569eff40f0000'), "text"=>"sdfsdfd", "topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-04 15:32:53 UTC, "created_at"=>2015-04-04 15:32:53 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('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('551f28434e6569e8f91a0000'), "read"=>false}, "$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_alerts selector={"_id"=>BSON::ObjectId('552004214e6569eff40d0000')} update={"$set"=>{"updated_at"=>2015-04-04 15:32:53 UTC, "mongoid_forums_topic_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('551f27a14e6569e8f9140000')} update={"$set"=>{"posts_count"=>4}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4730ms Redirected to http://localhost:3000/forums/topics/551f28434e6569e8f9180000 Completed 302 Found in 14ms Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:32:53 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:49 UTC, "current_viewed_at"=>2015-04-04 15:32:53 UTC, "updated_at"=>2015-04-04 15:32:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (36.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 76ms (Views: 63.4ms) Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:32:58 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28624e6569e8f91e0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:53 UTC, "current_viewed_at"=>2015-04-04 15:32:58 UTC, "updated_at"=>2015-04-04 15:32:58 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "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('551f28434e6569e8f9180000')}} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (24.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (36.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 200 OK in 83ms (Views: 67.0ms) Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:33:03 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9230000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:32:30 UTC, "current_viewed_at"=>2015-04-04 15:33:03 UTC, "updated_at"=>2015-04-04 15:33:03 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Completed 200 OK in 63ms (Views: 50.0ms) Started GET "/forums/551f27a14e6569e8f9140000/new" for ::1 at 2015-04-04 11:33:06 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Completed 200 OK in 35ms (Views: 28.5ms) Started POST "/forums/551f27a14e6569e8f9140000/create" for ::1 at 2015-04-04 11:33:10 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MfW/aIB706lGBpgszpDjujLWHueMnH6ZG2jNMqWQFlI2QJWkOlgHNh+4ZHfNvAPN1epsZ6nC+3oLXb/QjR+hhw==", "topic"=>{"name"=>"another topic", "posts"=>{"text"=>"dsfdsf"}}, "commit"=>"Create Topic", "forum_id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('55047e004e6569818c090000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"another topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "updated_at"=>2015-04-04 15:33:10 UTC, "created_at"=>2015-04-04 15:33:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('552004364e6569eff4130000'), "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 15:33:10 UTC, "created_at"=>2015-04-04 15:33:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('552004364e6569eff4120000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "text"=>"dsfdsf", "topic_id"=>BSON::ObjectId('552004364e6569eff4110000'), "updated_at"=>2015-04-04 15:33:10 UTC, "created_at"=>2015-04-04 15:33:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms Redirected to http://localhost:3000/forums/topics/552004364e6569eff4110000 Completed 302 Found in 18ms Started GET "/forums/topics/552004364e6569eff4110000" for ::1 at 2015-04-04 11:33:10 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('552004364e6569eff4110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('552004364e6569eff4140000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 15:33:10 UTC, "created_at"=>2015-04-04 15:33:10 UTC, "current_viewed_at"=>2015-04-04 15:33:10 UTC, "past_viewed_at"=>2015-04-04 15:33:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552004364e6569eff4140000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552004364e6569eff4140000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 15:33:10 UTC, "updated_at"=>2015-04-04 15:33:10 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.5280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Completed 200 OK in 75ms (Views: 59.4ms) Started GET "/forums/topics/552004364e6569eff4110000/posts/new" for ::1 at 2015-04-04 11:33:12 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('552004364e6569eff4110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 44ms (Views: 36.2ms) Started POST "/forums/topics/552004364e6569eff4110000/posts" for ::1 at 2015-04-04 11:33:14 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"otQsJc/Ek4DIjMFR0tDvt4XOfT4zP6/M8e3O3Soq7zClYQbpdedHH5EyPQrR/A/AYvIPvhZhKi/h2Lw/AqVY5Q==", "post"=>{"text"=>"sfsdf"}, "commit"=>"Create Reply", "topic_id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5520043a4e6569eff4160000'), "text"=>"sfsdf", "topic_id"=>BSON::ObjectId('552004364e6569eff4110000'), "user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "updated_at"=>2015-04-04 15:33:14 UTC, "created_at"=>2015-04-04 15:33:14 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('552004364e6569eff4130000'), "read"=>false}, "$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('552004364e6569eff4110000')}, "$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('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$set"=>{"posts_count"=>5}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.0320ms Redirected to http://localhost:3000/forums/topics/552004364e6569eff4110000 Completed 302 Found in 19ms Started GET "/forums/topics/552004364e6569eff4110000" for ::1 at 2015-04-04 11:33:14 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552004364e6569eff4140000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552004364e6569eff4140000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:33:10 UTC, "current_viewed_at"=>2015-04-04 15:33:14 UTC, "updated_at"=>2015-04-04 15:33:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('55047e004e6569818c090000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('55047e004e6569818c090000'), "unsubscribed"=>false}} runtime: 0.4690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('55047e004e6569818c090000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 200 OK in 60ms (Views: 45.6ms) Started GET "/" for ::1 at 2015-04-04 11:33:18 -0400 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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Rendered partials/_nav.haml (3.5ms) Completed 200 OK in 42ms (Views: 41.4ms) Started GET "/users/sign_out" for ::1 at 2015-04-04 11:33:19 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-04-04 11:33:19 -0400 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 26ms (Views: 25.3ms) Started GET "/users/sign_in" for ::1 at 2015-04-04 11:33:21 -0400 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.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 (12.2ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 44ms (Views: 42.6ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 11:33:27 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VHD14gunuK2QaRPGlkP7FuxFdbCMpLjOmJlI94XAQpq1xVJxD8/AKA9mcPMbReXVuuvHU7CSS7s+MxuEMFbi5w==", "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.5830ms Completed 401 Unauthorized in 80ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VHD14gunuK2QaRPGlkP7FuxFdbCMpLjOmJlI94XAQpq1xVJxD8/AKA9mcPMbReXVuuvHU7CSS7s+MxuEMFbi5w==", "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.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 (11.1ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 129ms (Views: 49.6ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 11:33:31 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"igZK4k48UPftL2bL2SZCswNW2dXyTSKEE6Zmils8Im1rs+1xSlQocnIgBf5UIFxwVfhrNs570fG1DDX57qqCEA==", "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.6870ms Completed 401 Unauthorized in 87ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"igZK4k48UPftL2bL2SZCswNW2dXyTSKEE6Zmils8Im1rs+1xSlQocnIgBf5UIFxwVfhrNs570fG1DDX57qqCEA==", "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.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 (8.3ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 113ms (Views: 35.3ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 11:33:34 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kKgPGiU044yXpcoMU0QoqEBSD8Ti0VvdLAcFkqHzu2VxHaiJIVybCQiqqTneQjZrFvy9J97nqKiKrVbhFGUbGA==", "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.8140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-04 00:30:04 UTC, "current_sign_in_at"=>2015-04-04 15:33:34 UTC, "sign_in_count"=>9}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5140ms Redirected to http://localhost:3000/ Completed 302 Found in 95ms Started GET "/" for ::1 at 2015-04-04 11:33:34 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 21ms (Views: 20.9ms) Started GET "/" for ::1 at 2015-04-04 11:33:36 -0400 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.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 27ms (Views: 27.2ms) Started GET "/forums/54c77e3e4e65693ac9010000" for ::1 at 2015-04-04 11:33:37 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54c77e3e4e65693ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54c77e3e4e65693ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54c77e3e4e65693ac9010000. 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): 54c77e3e4e65693ac9010000 ... (1 total) and the following ids were not found: 54c77e3e4e65693ac9010000. 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (19.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/diagnostics.html.erb within rescues/layout (38.6ms) Started GET "/forums/" for ::1 at 2015-04-04 11:33:40 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms 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.8430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 16.8360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 1.3270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (76.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('552004214e6569eff40c0000')} 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('551f28434e6569e8f9180000')}, "$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_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f91a0000')}, "$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"=>{"_id"=>BSON::ObjectId('552004214e6569eff40c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 169ms (Views: 165.9ms) Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:33:43 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')} 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('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} 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_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:41 UTC, "current_viewed_at"=>2015-04-04 15:33:43 UTC, "updated_at"=>2015-04-04 15:33:43 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('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552003d24e6569eff4030000')}} runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 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('552004214e6569eff40c0000')} 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"=>{"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f91a0000')}, "$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"=>{"_id"=>BSON::ObjectId('552004214e6569eff40c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 57ms (Views: 40.7ms) Started GET "/forums/topics/552003d24e6569eff4030000" for ::1 at 2015-04-04 11:33:44 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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={"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:34 UTC, "current_viewed_at"=>2015-04-04 15:33:44 UTC, "updated_at"=>2015-04-04 15:33:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.0300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 68ms (Views: 45.9ms) Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:33:48 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:33:43 UTC, "current_viewed_at"=>2015-04-04 15:33:48 UTC, "updated_at"=>2015-04-04 15:33:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.6210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8810ms Completed 200 OK in 67ms (Views: 46.9ms) Started GET "/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:33:50 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:33:48 UTC, "current_viewed_at"=>2015-04-04 15:33:50 UTC, "updated_at"=>2015-04-04 15:33:50 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('551ef6d04e6569e42b030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}} runtime: 0.9390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 58ms (Views: 37.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:33:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:33:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:33:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:33:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:33:50 -0400 Started GET "/forums/topics/552003d24e6569eff4030000" for ::1 at 2015-04-04 11:33:51 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552003d24e6569eff4030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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={"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "_id"=>BSON::ObjectId('552003d24e6569eff4030000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003d24e6569eff4060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:33:44 UTC, "current_viewed_at"=>2015-04-04 15:33:51 UTC, "updated_at"=>2015-04-04 15:33:51 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552003d24e6569eff4030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('552003d24e6569eff4030000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552003d24e6569eff4030000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (40.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 84ms (Views: 70.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:33:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:33:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:33:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:33:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:33:51 -0400 Started GET "/forums/" for ::1 at 2015-04-04 11:33:58 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551ef6d04e6569e42b030000')}, "$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=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-1}} 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"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.7360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (29.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 62ms (Views: 59.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:33:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:33:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:33:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:33:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:33:58 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:33:59 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:43 UTC, "current_viewed_at"=>2015-04-04 15:33:59 UTC, "updated_at"=>2015-04-04 15:33:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.2960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.2650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 71ms (Views: 54.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:33:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:33:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:33:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:33:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:33:59 -0400 Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:34:04 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.5880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:31:56 UTC, "current_viewed_at"=>2015-04-04 15:34:04 UTC, "updated_at"=>2015-04-04 15:34:04 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 68ms (Views: 45.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:04 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:34:07 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} 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('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:33:59 UTC, "current_viewed_at"=>2015-04-04 15:34:07 UTC, "updated_at"=>2015-04-04 15:34:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f302b4e6569e8f9200000')}} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.8700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.2860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.2950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (35.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 200 OK in 95ms (Views: 73.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:07 -0400 Started GET "/forums/topics/551f28434e6569e8f9180000" for ::1 at 2015-04-04 11:34:08 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f28434e6569e8f9180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28434e6569e8f91b0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} 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('551f28434e6569e8f91b0000')} update={"$set"=>{"past_viewed_at"=>2015-04-03 23:54:46 UTC, "current_viewed_at"=>2015-04-04 15:34:08 UTC, "updated_at"=>2015-04-04 15:34:08 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8970ms Completed 200 OK in 71ms (Views: 57.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:08 -0400 Started GET "/" for ::1 at 2015-04-04 11:34:15 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7280ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 47ms (Views: 46.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:15 -0400 Started GET "/forums/topics/552004364e6569eff4110000" for ::1 at 2015-04-04 11:34:20 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('5520047c4e6569eff4170000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 15:34:20 UTC, "created_at"=>2015-04-04 15:34:20 UTC, "current_viewed_at"=>2015-04-04 15:34:20 UTC, "past_viewed_at"=>2015-04-04 15:34:20 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520047c4e6569eff4170000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5520047c4e6569eff4170000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 15:34:20 UTC, "updated_at"=>2015-04-04 15:34:20 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('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Completed 200 OK in 63ms (Views: 48.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:21 -0400 Started DELETE "/forums/topics/552004364e6569eff4110000/posts/5520043a4e6569eff4160000" for ::1 at 2015-04-04 11:34:22 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"N//ZZCTXMaDhXndSOXkIbyMKUnTtrr0uSrizKyZ9EBGY/j3NlJFg/rh7Jp5veeEV8RV9/7EBSzUv35BjQjfo3A==", "topic_id"=>"552004364e6569eff4110000", "id"=>"5520043a4e6569eff4160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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={"_id"=>BSON::ObjectId('5520043a4e6569eff4160000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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_posts selector={"reply_to_id"=>BSON::ObjectId('5520043a4e6569eff4160000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5520043a4e6569eff4160000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4160ms Redirected to http://localhost:3000/forums/topics/552004364e6569eff4110000 Completed 302 Found in 14ms Started GET "/forums/topics/552004364e6569eff4110000" for ::1 at 2015-04-04 11:34:22 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5520047c4e6569eff4170000')} 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('552004364e6569eff4110000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5520047c4e6569eff4170000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:34:20 UTC, "current_viewed_at"=>2015-04-04 15:34:22 UTC, "updated_at"=>2015-04-04 15:34:22 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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"=>{"_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 56ms (Views: 43.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:22 -0400 Started GET "/forums/topics/552004364e6569eff4110000" for ::1 at 2015-04-04 11:34:24 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552004364e6569eff4110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('552004364e6569eff4110000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520047c4e6569eff4170000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520047c4e6569eff4170000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:34:22 UTC, "current_viewed_at"=>2015-04-04 15:34:24 UTC, "updated_at"=>2015-04-04 15:34:24 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Completed 200 OK in 61ms (Views: 47.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:24 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:34:55 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} 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('54c407ca4e65694706000000')}, "$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('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:34:07 UTC, "current_viewed_at"=>2015-04-04 15:34:55 UTC, "updated_at"=>2015-04-04 15:34:55 UTC}} flags=[] 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('551f28434e6569e8f9180000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552004364e6569eff4110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552004364e6569eff4110000')}} runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 74ms (Views: 57.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:34:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:34:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:34:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:34:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:34:55 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:35:00 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:34:55 UTC, "current_viewed_at"=>2015-04-04 15:35:00 UTC, "updated_at"=>2015-04-04 15:35:00 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$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('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552004364e6569eff4110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.6300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 78ms (Views: 62.3ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:35:00 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:35:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:35:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:35:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:35:00 -0400 Started GET "/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:35:07 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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('55047a144e6569818c000000')}, "$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('551f27a14e6569e8f9140000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28374e6569e8f9160000')} 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('551f27a14e6569e8f9140000')} 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('551f28374e6569e8f9160000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:35:00 UTC, "current_viewed_at"=>2015-04-04 15:35:07 UTC, "updated_at"=>2015-04-04 15:35:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f302b4e6569e8f9200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f28434e6569e8f9180000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('551f28434e6569e8f9180000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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('55047e004e6569818c090000')}, "$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('552004364e6569eff4110000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552004364e6569eff4110000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552004364e6569eff4110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552004364e6569eff4110000')}} runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (31.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 88ms (Views: 73.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:35:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:35:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:35:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:35:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:35:07 -0400 Started GET "/forums/topics/551f302b4e6569e8f9200000" for ::1 at 2015-04-04 11:35:10 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"551f302b4e6569e8f9200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} 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('551f302b4e6569e8f9200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552003a54e6569eff4010000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 15:34:04 UTC, "current_viewed_at"=>2015-04-04 15:35:10 UTC, "updated_at"=>2015-04-04 15:35:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('551f302b4e6569e8f9200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}} runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55047e004e6569818c090000')}, "$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('551f302b4e6569e8f9200000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Completed 200 OK in 68ms (Views: 54.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:35:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:35:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:35:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:35:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:35:10 -0400 Started GET "/" for ::1 at 2015-04-04 11:35:22 -0400 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.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered partials/_nav.haml (3.0ms) Completed 200 OK in 29ms (Views: 28.9ms) Started GET "/users/sign_out" for ::1 at 2015-04-04 11:35:25 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Redirected to http://localhost:3000/ Completed 302 Found in 4ms Started GET "/" for ::1 at 2015-04-04 11:35:25 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 28ms (Views: 27.4ms) Started GET "/users/sign_in" for ::1 at 2015-04-04 11:35:26 -0400 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.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 (11.0ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 45ms (Views: 43.4ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 11:35:35 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BKiiEf4EHmiQVTBWVkst3mI6CAXS4eTliWhWGw05Ng9o+CBkgcGtueTLilDTBrMuu9TB1Me6uNhK2V/lFFNzKA==", "user"=>{"email"=>"admin@l.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@l.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BKiiEf4EHmiQVTBWVkst3mI6CAXS4eTliWhWGw05Ng9o+CBkgcGtueTLilDTBrMuu9TB1Me6uNhK2V/lFFNzKA==", "user"=>{"email"=>"admin@l.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 (2.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 (8.4ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 120ms (Views: 32.4ms) Started GET "/users/sign_up" for ::1 at 2015-04-04 11:35:37 -0400 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 (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (16.9ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 66ms (Views: 64.7ms) Started POST "/users" for ::1 at 2015-04-04 11:35:47 -0400 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3wPKHyIHowSdN+vabAxo8V6fg1/l4QXech2KERRVMIuzU0hqXcIQ1empUdzpQfYBh3FKjvC6WeOxrIPvDT91rA==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"email"=>"admin@a.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=users documents=[{"_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "email"=>"admin@a.com", "encrypted_password"=>"$2a$10$yqoAiz/9B7LzBBj87u5zkebbP0NR16u7oHgT73/5q2MBjowLZQd86", "sign_in_count"=>0}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"last_sign_in_at"=>2015-04-04 15:35:47 UTC, "current_sign_in_at"=>2015-04-04 15:35:47 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.5540ms Redirected to http://localhost:3000/ Completed 302 Found in 98ms Started GET "/" for ::1 at 2015-04-04 11:35:47 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 30ms (Views: 29.5ms) Started GET "/" for ::1 at 2015-04-04 11:36:32 -0400 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.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered partials/_nav.haml (2.3ms) Completed 200 OK in 27ms (Views: 27.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:36:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:36:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:36:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:36:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:36:33 -0400 Started GET "/" for ::1 at 2015-04-04 11:36:34 -0400 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.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered partials/_nav.haml (2.2ms) Completed 200 OK in 25ms (Views: 25.2ms) Started GET "/admin/groups" for ::1 at 2015-04-04 11:36:35 -0400 ActionController::RoutingError (No route matches [GET] "/admin/groups"): 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.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.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.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 (43.9ms) Started GET "/" for ::1 at 2015-04-04 11:36:36 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 24ms (Views: 23.9ms) Started GET "/forums/" for ::1 at 2015-04-04 11:36:36 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms 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.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55047a144e6569818c000000')}, "$orderby"=>{"order"=>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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}, "$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('551ef6d04e6569e42b030000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"topic_id"=>BSON::ObjectId('552003d24e6569eff4030000')}, "$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('552003d24e6569eff4030000')}, "$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('54c407ca4e65694706000000')}, "$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('551ef6d04e6569e42b030000')}} runtime: 0.5300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551ef6d04e6569e42b030000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}, "$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('551f27a14e6569e8f9140000')}, "$orderby"=>{:_id=>-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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('551f28434e6569e8f9180000')}, "$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('551f28434e6569e8f9180000')}, "$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('55047e004e6569818c090000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('551f27a14e6569e8f9140000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')}} runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Completed 200 OK in 63ms (Views: 60.9ms) Started GET "/forums/admin" for ::1 at 2015-04-04 11:36:37 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 24ms (Views: 22.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:36:38 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 200 OK in 33ms (Views: 31.1ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 11:36:40 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 8.8790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 46ms (Views: 33.3ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 11:36:42 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 31ms (Views: 27.9ms) Started GET "/forums/admin/groups/552003664e6569eff4000000" for ::1 at 2015-04-04 11:36:43 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"552003664e6569eff4000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={"_id"=>BSON::ObjectId('55047e004e6569818c090000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 32ms (Views: 28.5ms) Started GET "/forums/admin" for ::1 at 2015-04-04 11:36:46 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 36ms (Views: 33.9ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:36:47 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms 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.4980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 48ms (Views: 45.2ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:36:48 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7100ms Completed 200 OK in 36ms (Views: 31.7ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:36:51 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms 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 Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 37ms (Views: 35.0ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:36:52 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Completed 200 OK in 42ms (Views: 34.8ms) Started GET "/forums/admin/forums/551f27a14e6569e8f9140000" for ::1 at 2015-04-04 11:36:55 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551f27a14e6569e8f9140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 200 OK in 42ms (Views: 35.9ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:37:01 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6020ms Completed 200 OK in 27ms (Views: 24.2ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:42:35 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms 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.5920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 114ms (Views: 74.0ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 11:42:37 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (24.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 61ms (Views: 50.4ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:42:39 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 200 OK in 34ms (Views: 31.6ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:43:31 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms 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.4110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Completed 200 OK in 50ms (Views: 28.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:32 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:43:34 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms 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: 1.0570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6660ms Completed 200 OK in 39ms (Views: 37.4ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:43:35 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 28ms (Views: 25.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:35 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:43:36 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 29ms (Views: 26.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:36 -0400 Started GET "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:43:37 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6340ms Completed 200 OK in 36ms (Views: 34.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:37 -0400 Started GET "/forums/admin/categories/55047a144e6569818c000000/edit" for ::1 at 2015-04-04 11:43:39 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.html.erb within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 200 OK in 36ms (Views: 34.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:40 -0400 Started GET "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:43:42 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 23ms (Views: 21.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:42 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:43:51 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms 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.5190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 32ms (Views: 29.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:43:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:43:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:43:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:43:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:43:51 -0400 Started DELETE "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:44:05 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"oU2QvBP/A4LlK8x4jEcAu6zqaZ8hj0w/eO46iNRChcvNHRLJbDqwU5G1dn4JCp5LdQSgTjTUEAK7XzN2zSjA7A==", "id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 500 Internal Server Error in 7ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/categories/destroy, mongoid_forums/admin/base/destroy, mongoid_forums/application/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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:169:in `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: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.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/missing_template.html.erb within rescues/layout (26.7ms) Started GET "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:44:08 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 25ms (Views: 22.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:44:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:44:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:44:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:44:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:44:08 -0400 Started GET "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:44:08 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Completed 200 OK in 31ms (Views: 29.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:44:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:44:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:44:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:44:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:44:09 -0400 Started GET "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:44:09 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8110ms Completed 200 OK in 29ms (Views: 27.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:44:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:44:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:44:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:44:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:44:10 -0400 Started GET "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:44:12 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms Completed 200 OK in 36ms (Views: 34.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:44:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:44:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:44:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:44:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:44:12 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:44:13 -0400 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('552004d34e6569eff4180000')}, "$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.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6850ms Completed 200 OK in 26ms (Views: 24.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:44:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:44:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:44:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:44:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:44:13 -0400 Started DELETE "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:44:14 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"LVM9lKfyV584TRcSkTY2kBIKcflHi0lLvt4jSoiIQfJBA7/h2DfkTkzTrRQUe6hgy+S4KFLQFXZ9byq0keIE1Q==", "id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 500 Internal Server Error in 6ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/categories/destroy, mongoid_forums/admin/base/destroy, mongoid_forums/application/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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:169:in `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: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.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/missing_template.html.erb within rescues/layout (15.7ms) Started DELETE "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:46:17 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"LVM9lKfyV584TRcSkTY2kBIKcflHi0lLvt4jSoiIQfJBA7/h2DfkTkzTrRQUe6hgy+S4KFLQFXZ9byq0keIE1Q==", "id"=>"55047a144e6569818c000000"} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Completed 500 Internal Server Error in 22ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/categories/destroy, mongoid_forums/admin/base/destroy, mongoid_forums/application/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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:169:in `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: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 (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/missing_template.html.erb within rescues/layout (22.1ms) Started DELETE "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:46:41 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"LVM9lKfyV584TRcSkTY2kBIKcflHi0lLvt4jSoiIQfJBA7/h2DfkTkzTrRQUe6hgy+S4KFLQFXZ9byq0keIE1Q==", "id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55047a144e6569818c000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Completed 500 Internal Server Error in 14ms NoMethodError (undefined method `destroy' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:33:in `destroy' 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: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 (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.9ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:47:18 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 56ms (Views: 27.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:47:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:47:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:47:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:47:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:47:19 -0400 Started DELETE "/forums/admin/categories/55047a144e6569818c000000" for ::1 at 2015-04-04 11:47:20 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"mVkHCFdCZFUEw9ukz+NLErvLf25nYqGDouPn7KZfJQj1CYV9KIfXhHBdYaJKrtXiYiW2v3I5/b5hUu4SvzVgLw==", "id"=>"55047a144e6569818c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55047a144e6569818c000000')} 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_forums selector={"category_id"=>BSON::ObjectId('55047a144e6569818c000000')} 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('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552003d24e6569eff4030000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f28434e6569e8f9180000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('551f302b4e6569e8f9200000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552004364e6569eff4110000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551f27a14e6569e8f9140000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55047a144e6569818c000000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 20ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:47:20 -0400 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('552004d34e6569eff4180000')}, "$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.3600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms Completed 200 OK in 31ms (Views: 29.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:47:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:47:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:47:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:47:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:47:20 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:47:21 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 42ms (Views: 40.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:47:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:47:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:47:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:47:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:47:21 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:47:25 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Completed 200 OK in 32ms (Views: 29.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:47:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:47:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:47:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:47:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:47:25 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:47:26 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.4020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 31ms (Views: 29.2ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 11:47:27 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms 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.3560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 30ms (Views: 27.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:47:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:47:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:47:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:47:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:47:27 -0400 Started GET "/forums/admin" for ::1 at 2015-04-04 11:54:03 -0400 Processing by MongoidForums::Admin::BaseController#index 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 60ms (Views: 28.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:03 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:54:04 -0400 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('552004d34e6569eff4180000')}, "$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.4100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 41ms (Views: 28.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:04 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 11:54:06 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (51.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 91ms (Views: 88.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:06 -0400 Started POST "/forums/admin/categories" for ::1 at 2015-04-04 11:54:08 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tnCBy2Ap8+RYgo/3jjuJKJ9dV5oIbBgD3EkJe0FFZoDaIAO+H+xANSwcNfELdhfYRrOeSx03RD4f+ACFWC8jpw==", "category"=>{"name"=>"sdfsdf"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('552009204e6569f13c000000'), "order"=>0, "name"=>"sdfsdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7810ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-04-04 11:54:08 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms 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.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 40ms (Views: 36.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:08 -0400 Started GET "/forums/" for ::1 at 2015-04-04 11:54:09 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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: 1.0240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7480ms Completed 200 OK in 49ms (Views: 46.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:09 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 11:54:10 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 28ms (Views: 26.2ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:10 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:10 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 11:54:11 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7160ms Completed 200 OK in 38ms (Views: 36.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:12 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:54:12 -0400 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('552004d34e6569eff4180000')}, "$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.4320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms Completed 200 OK in 36ms (Views: 34.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:13 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000/edit" for ::1 at 2015-04-04 11:54:14 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.html.erb within layouts/mongoid_forums/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 28ms (Views: 26.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:14 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:54:16 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `moderator_groups' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15:in `select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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: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 (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 (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.2ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:54:31 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5710ms Completed 500 Internal Server Error in 25ms NoMethodError (undefined method `moderator_groups' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15:in `select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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: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 (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 (15.7ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:54:45 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 500 Internal Server Error in 29ms NoMethodError (undefined method `moderator_groups' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15:in `select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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: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 (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 (39.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 (57.8ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:54:47 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 61ms (Views: 49.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:47 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 11:54:48 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Completed 200 OK in 35ms (Views: 32.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:54:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:54:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:54:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:54:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:54:48 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:54:49 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `moderator_groups' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15:in `select' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:15: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: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 (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.7ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:55:02 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (3.1ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (No route matches {:action=>"add_group", :category_id=>nil, :controller=>"mongoid_forums/admin/forums", :format=>nil, :id=>"552009204e6569f13c000000"} missing required keys: [:category_id]): 15: %td 16: = button_to "Remove", admin_category_rem_group_path(category_id: params[:id], group: {id: group.id}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_category_add_group_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 20: %button 21: Add 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml:18:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_show_haml___896277985436468614_70241862620840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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.4ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:55:28 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (1.8ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (No route matches {:action=>"add_group", :category_id=>nil, :controller=>"mongoid_forums/admin/forums", :format=>nil, :id=>"552009204e6569f13c000000"} missing required keys: [:category_id]): 15: %td 16: = button_to "Remove", admin_category_rem_group_path(category_id: params[:id], group: {id: group.id}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_category_add_group_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 20: %button 21: Add 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml:18:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_show_haml___896277985436468614_70241862620840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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 (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 (20.9ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:56:07 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} 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('552004d34e6569eff4180000')}, "$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_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (No route matches {:action=>"add_group", :category_id=>nil, :controller=>"mongoid_forums/admin/forums", :format=>nil, :id=>"552009204e6569f13c000000"} missing required keys: [:category_id]): 15: %td 16: = button_to "Remove", admin_category_rem_group_path(category_id: params[:id], group: {id: group.id}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_category_add_group_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 20: %button 21: Add 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml:18:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_show_haml___896277985436468614_70241862620840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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.4ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:56:09 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (1.3ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"add_group", :category_id=>nil, :controller=>"mongoid_forums/admin/forums", :format=>nil, :id=>"552009204e6569f13c000000"} missing required keys: [:category_id]): 15: %td 16: = button_to "Remove", admin_category_rem_group_path(category_id: params[:id], group: {id: group.id}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_category_add_group_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 20: %button 21: Add 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml:18:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_show_haml___896277985436468614_70241862620840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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.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.2ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:56:10 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (1.5ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"add_group", :category_id=>nil, :controller=>"mongoid_forums/admin/forums", :format=>nil, :id=>"552009204e6569f13c000000"} missing required keys: [:category_id]): 15: %td 16: = button_to "Remove", admin_category_rem_group_path(category_id: params[:id], group: {id: group.id}), method: :post, data: { confirm: 'Are you certain you want to delete this?' } 17: 18: = form_tag admin_category_add_group_path(@forum), :method => :post do 19: = collection_select(:group, :id, @groups, :id, :name, {:prompt => true}) 20: %button 21: Add 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml:18:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_show_haml___896277985436468614_70241862620840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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.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 (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.8ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:56:52 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 58ms (Views: 35.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:56:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:56:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:56:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:56:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:56:52 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:56:56 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 200 OK in 33ms (Views: 28.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:56:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:56:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:56:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:56:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:56:56 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:56:57 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 27ms (Views: 22.4ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:56:57 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:56:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:56:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:56:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:56:57 -0400 Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 11:56:59 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FV4YM8RhnM25TYjZ5LpKVDFHPqco3l7Fro7nOVsAQax5DppGu6QvHM3TMt9h99Sk6Kn3dj2FAvhtP+7HQmoEiw==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms Completed 500 Internal Server Error in 13ms 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:82:in `set_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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.2ms) Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 11:59:34 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FV4YM8RhnM25TYjZ5LpKVDFHPqco3l7Fro7nOVsAQax5DppGu6QvHM3TMt9h99Sk6Kn3dj2FAvhtP+7HQmoEiw==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Completed 500 Internal Server Error in 23ms 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:82:in `set_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (20.6ms) Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 11:59:38 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 51ms (Views: 38.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 11:59:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 11:59:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 11:59:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 11:59:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 11:59:38 -0400 Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 11:59:44 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wY5i4R4oL22+gyb3wJBYJllC2me4D5XJIDH1e04aFV+t3uCUYe2cvModnPFF3cbWgKwTtq1UyfTjgPyFV3BQeA==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms Completed 500 Internal Server Error in 4ms 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:82:in `set_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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 (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 (20.9ms) Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 12:00:26 -0400 Processing by MongoidForums::Admin::CategoriesController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wY5i4R4oL22+gyb3wJBYJllC2me4D5XJIDH1e04aFV+t3uCUYe2cvModnPFF3cbWgKwTtq1UyfTjgPyFV3BQeA==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Completed 500 Internal Server Error in 19ms NoMethodError (undefined method `set_forum' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (21.9ms) Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 12:00:32 -0400 Processing by MongoidForums::Admin::CategoriesController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wY5i4R4oL22+gyb3wJBYJllC2me4D5XJIDH1e04aFV+t3uCUYe2cvModnPFF3cbWgKwTtq1UyfTjgPyFV3BQeA==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `set_forum' 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:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (20.5ms) Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 12:00:50 -0400 Processing by MongoidForums::Admin::CategoriesController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wY5i4R4oL22+gyb3wJBYJllC2me4D5XJIDH1e04aFV+t3uCUYe2cvModnPFF3cbWgKwTtq1UyfTjgPyFV3BQeA==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5230ms Redirected to http://localhost:3000/forums/admin/categories/552009204e6569f13c000000 Completed 302 Found in 53ms Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 12:00:51 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "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: 33.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:00:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:00:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:00:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:00:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:00:51 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 12:00:53 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 34ms (Views: 28.5ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:00:53 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:00:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:00:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:00:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:00:53 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:00:54 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Completed 200 OK in 34ms (Views: 29.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:00:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:00:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:00:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:00:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:00:54 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-04 12:00:56 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.haml within layouts/mongoid_forums/application (38.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Completed 200 OK in 70ms (Views: 67.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:00:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:00:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:00:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:00:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:00:56 -0400 Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 12:00:59 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 54ms (Views: 48.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:00:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:00:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:00:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:00:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:00:59 -0400 Started POST "/forums/admin/categories/552009204e6569f13c000000/rem_group?group%5Bid%5D=551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:01:02 -0400 Processing by MongoidForums::Admin::CategoriesController#remove_group as HTML Parameters: {"authenticity_token"=>"ye+goaHZ0byL5aZIRVUtjLzCTFmGWabR/G98PnD2upqlvyLU3hxibf97HE7AGLN8ZSyFiJMC+uw/3nXAaZz/vQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} update={"$pull"=>{"moderator_group_ids"=>BSON::ObjectId('551f19ff4e6569e8f9000000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3930ms Redirected to http://localhost:3000/forums/admin/categories/552009204e6569f13c000000 Completed 302 Found in 6ms Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 12:01:02 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 31ms (Views: 25.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:01:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:01:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:01:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:01:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:01:02 -0400 Started POST "/forums/admin/categories/552009204e6569f13c000000/add_group" for ::1 at 2015-04-04 12:01:05 -0400 Processing by MongoidForums::Admin::CategoriesController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xeFTJw6cgszGmF3sI5e9/rmatAlQEQA4bZdsLSxcLl6psdFScVkxHbIG5+qm2iMOYHR92EVKXAWuJmXTNTZreQ==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4470ms Redirected to http://localhost:3000/forums/admin/categories/552009204e6569f13c000000 Completed 302 Found in 7ms Started GET "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 12:01:05 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 200 OK in 38ms (Views: 33.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:01:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:01:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:01:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:01:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:01:05 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:01:20 -0400 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('552004d34e6569eff4180000')}, "$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.4900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9060ms Completed 200 OK in 55ms (Views: 52.4ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:01:20 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML 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('552004d34e6569eff4180000')}, "$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_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms Completed 200 OK in 31ms (Views: 28.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:01:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:01:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:01:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:01:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:01:21 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:01:22 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8820ms Completed 200 OK in 38ms (Views: 34.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:01:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:01:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:01:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:01:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:01:22 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:01:32 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HbhuPRLd2Ov7SPM5egojBDmik0qP7VaQtx//KRHIHGlx6OxIbRhrOo/WST//R7304Exam5q2Cq10rvbXCKJZTg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Completed 500 Internal Server Error in 38ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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 (22.6ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:02:17 -0400 Processing by MongoidForums::Admin::ForumsController#new 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('552004d34e6569eff4180000')}, "$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.5630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Completed 200 OK in 41ms (Views: 38.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:02:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:02:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:02:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:02:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:02:17 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:02:19 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Completed 500 Internal Server Error in 10ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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 (28.6ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:04:15 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms Completed 500 Internal Server Error in 66ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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 (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 (26.6ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:04:46 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} 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('552004d34e6569eff4180000')}, "$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"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 500 Internal Server Error in 39ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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 (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.0ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:04:48 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 500 Internal Server Error in 12ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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 (21.8ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:04:52 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Completed 500 Internal Server Error in 30ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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.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 (43.7ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:04:58 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"A forum", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "order"=>0, "name"=>"A forum", "category_id"=>BSON::ObjectId('552009204e6569f13c000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6190ms Redirected to http://localhost:3000/forums/55200baa4e6569f174060000 Completed 302 Found in 48ms Started GET "/forums/55200baa4e6569f174060000" for ::1 at 2015-04-04 12:04:59 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200baa4e6569f174060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} flags=[] limit=0 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('552009204e6569f13c000000')}, "$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=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200bab4e6569f174070000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:04:59 UTC, "created_at"=>2015-04-04 16:04:59 UTC, "current_viewed_at"=>2015-04-04 16:04:59 UTC, "past_viewed_at"=>2015-04-04 16:04:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200bab4e6569f174070000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200bab4e6569f174070000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:04:59 UTC, "updated_at"=>2015-04-04 16:04:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 51ms (Views: 28.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:04:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:04:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:04:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:04:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:04:59 -0400 Started GET "/forums/55200baa4e6569f174060000" for ::1 at 2015-04-04 12:05:04 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200baa4e6569f174060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200bab4e6569f174070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200bab4e6569f174070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:04:59 UTC, "current_viewed_at"=>2015-04-04 16:05:04 UTC, "updated_at"=>2015-04-04 16:05:04 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6620ms Completed 200 OK in 50ms (Views: 28.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:05:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:05:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:05:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:05:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:05:04 -0400 Started GET "/forums/55200baa4e6569f174060000/new" for ::1 at 2015-04-04 12:05:19 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200baa4e6569f174060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9600ms Completed 200 OK in 95ms (Views: 51.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:05:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:05:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:05:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:05:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:05:19 -0400 Started POST "/forums/55200baa4e6569f174060000/create" for ::1 at 2015-04-04 12:05:24 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"GVPThb1t/LKJ1RwCGDGfnn1+K758oXCo6vn3MwmcKEB1A1HwwqhPY/1LpgSdfAFupJDib2n6LJUpSP7NEPZtZw==", "topic"=>{"name"=>"A topic", "posts"=>{"text"=>"topic"}}, "commit"=>"Create Topic", "forum_id"=>"55200baa4e6569f174060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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('552004d34e6569eff4180000')}, "$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('55200baa4e6569f174060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Completed 500 Internal Server Error in 10ms SyntaxError (/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:10: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' belongs_to :user, :class_name => MongoidForums.user_class.to_s ^): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/post.rb:10: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' belongs_to :user, :class_name => MongoidForums.user_class.to_s ^ 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:40: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:151:in `block in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:151: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: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: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 (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 (21.0ms) Started POST "/forums/55200baa4e6569f174060000/create" for ::1 at 2015-04-04 12:05:52 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"GVPThb1t/LKJ1RwCGDGfnn1+K758oXCo6vn3MwmcKEB1A1HwwqhPY/1LpgSdfAFupJDib2n6LJUpSP7NEPZtZw==", "topic"=>{"name"=>"A topic", "posts"=>{"text"=>"topic"}}, "commit"=>"Create Topic", "forum_id"=>"55200baa4e6569f174060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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('552004d34e6569eff4180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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('552004d34e6569eff4180000')}, "$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('55200be04e6569f1740a0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"A topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "forum_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "updated_at"=>2015-04-04 16:05:52 UTC, "created_at"=>2015-04-04 16:05:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "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('55200be04e6569f1740c0000'), "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 16:05:52 UTC, "created_at"=>2015-04-04 16:05:52 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_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000')}, "$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('55200be04e6569f1740b0000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "text"=>"topic", "topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "updated_at"=>2015-04-04 16:05:52 UTC, "created_at"=>2015-04-04 16:05:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms Redirected to http://localhost:3000/forums/topics/55200be04e6569f1740a0000 Completed 302 Found in 69ms Started GET "/forums/topics/55200be04e6569f1740a0000" for ::1 at 2015-04-04 12:05:53 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55200be04e6569f1740a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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={"forum_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55200be14e6569f1740d0000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 16:05:53 UTC, "created_at"=>2015-04-04 16:05:53 UTC, "current_viewed_at"=>2015-04-04 16:05:53 UTC, "past_viewed_at"=>2015-04-04 16:05:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200be14e6569f1740d0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} update={"$inc"=>{"views_count"=>1}} 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('55200be14e6569f1740d0000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:05:53 UTC, "updated_at"=>2015-04-04 16:05:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000')}} runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 61ms (Views: 44.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:05:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:05:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:05:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:05:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:05:53 -0400 Started GET "/forums/topics/55200be04e6569f1740a0000/posts/new" for ::1 at 2015-04-04 12:05:55 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55200be04e6569f1740a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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('55200be04e6569f1740a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6780ms Completed 200 OK in 50ms (Views: 41.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:05:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:05:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:05:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:05:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:05:56 -0400 Started POST "/forums/topics/55200be04e6569f1740a0000/posts" for ::1 at 2015-04-04 12:05:57 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6WZW+/BcOBNWCFblAERb7l6QPlUm4kZTLtUy9ymJGwmFNtSOj5mLwiKW7OOFCcUeh373hDO5Gm7tZDsJMONeLg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"55200be04e6569f1740a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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('55200baa4e6569f174060000')}, "$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('552009204e6569f13c000000')}, "$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('55200be54e6569f1740f0000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "updated_at"=>2015-04-04 16:05:57 UTC, "created_at"=>2015-04-04 16:05:57 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_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55200be04e6569f1740c0000'), "read"=>false}, "$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('55200be04e6569f1740a0000')}, "$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('55200be04e6569f1740a0000')}, "$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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6910ms Redirected to http://localhost:3000/forums/topics/55200be04e6569f1740a0000 Completed 302 Found in 22ms Started GET "/forums/topics/55200be04e6569f1740a0000" for ::1 at 2015-04-04 12:05:57 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55200be04e6569f1740a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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={"forum_id"=>BSON::ObjectId('55200baa4e6569f174060000'), "_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200be14e6569f1740d0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200be14e6569f1740d0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:05:53 UTC, "current_viewed_at"=>2015-04-04 16:05:57 UTC, "updated_at"=>2015-04-04 16:05:57 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('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200be04e6569f1740a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000')}} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200be04e6569f1740a0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('55200be04e6569f1740a0000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200be04e6569f1740a0000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 85ms (Views: 41.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:05:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:05:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:05:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:05:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:05:57 -0400 Started GET "/forums/topics/55200be04e6569f1740a0000/posts/new" for ::1 at 2015-04-04 12:06:00 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55200be04e6569f1740a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} 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"=>{"_id"=>BSON::ObjectId('55200baa4e6569f174060000')}, "$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"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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('55200be04e6569f1740a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Completed 200 OK in 43ms (Views: 33.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:06:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:06:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:06:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:06:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:06:00 -0400 Started GET "/forums/55200baa4e6569f174060000/new" for ::1 at 2015-04-04 12:06:02 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200baa4e6569f174060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$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('55200baa4e6569f174060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6240ms Completed 200 OK in 46ms (Views: 39.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:06:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:06:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:06:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:06:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:06:02 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:06:07 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6980ms 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.5150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0220ms Completed 200 OK in 42ms (Views: 39.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:06:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:06:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:06:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:06:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:06:08 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:06:09 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms 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.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6810ms Completed 200 OK in 35ms (Views: 32.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:06:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:06:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:06:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:06:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:06:09 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:06:10 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 30ms (Views: 27.9ms) Started DELETE "/forums/admin/categories/552009204e6569f13c000000" for ::1 at 2015-04-04 12:06:12 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"OAFQ+DwqE1MySsAvpC8F40rHuCcDu542omNx2vSa4wRUUdKNQ++ggkbUeikhYpsTkylx9hbgwgth0ngk7fCmIw==", "id"=>"552009204e6569f13c000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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_forums selector={"category_id"=>BSON::ObjectId('552009204e6569f13c000000')} 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('55200baa4e6569f174060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200be04e6569f1740a0000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200baa4e6569f174060000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('552009204e6569f13c000000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3810ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 9ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:06:12 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 36ms (Views: 33.4ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:07:21 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.3550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 58ms (Views: 30.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:22 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 12:07:24 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 64ms (Views: 61.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:25 -0400 Started POST "/forums/admin/categories" for ::1 at 2015-04-04 12:07:27 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QrclWT2kHCtWu0H2CVCdntmcw5g6fbIzaj0iswBMFhou56csQmGv+iIl+/CMHQNuAHIKSS8m7g6pjCtNGSZTPQ==", "category"=>{"name"=>"f"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000'), "order"=>0, "name"=>"f"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5880ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 11ms Started GET "/forums/" for ::1 at 2015-04-04 12:07:27 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms 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.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 40ms (Views: 37.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:27 -0400 Started GET "/forums/" for ::1 at 2015-04-04 12:07:29 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1020ms Completed 200 OK in 45ms (Views: 42.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:29 -0400 Started GET "/forums/" for ::1 at 2015-04-04 12:07:30 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms 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.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 35ms (Views: 32.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:30 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 12:07:31 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8670ms Completed 200 OK in 61ms (Views: 58.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:31 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:07:34 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms 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.5340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms Completed 200 OK in 36ms (Views: 33.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:07:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:07:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:07:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:07:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:07:35 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:07:39 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"ff", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Completed 500 Internal Server Error in 21ms Mongoid::Errors::InvalidOptions ( Problem: Invalid option :dependant provided to relation :posts. Summary: Mongoid checks the options that are passed to the relation macros to ensure that no ill side effects occur by letting something slip by. Resolution: Valid options are: after_add, after_remove, as, autosave, before_add, before_remove, dependent, foreign_key, order, primary_key, class_name, counter_cache, extend, inverse_class_name, inverse_of, name, relation, validate, make sure these are the ones you are using.): mongoid (4.0.0) lib/mongoid/relations/options.rb:38:in `block in validate!' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `each' mongoid (4.0.0) lib/mongoid/relations/options.rb:36:in `validate!' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:359:in `initialize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `new' mongoid (4.0.0) lib/mongoid/relations/macros.rb:242:in `characterize' mongoid (4.0.0) lib/mongoid/relations/macros.rb:165:in `has_many' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:11:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.rb:2:in `' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/topic.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:190:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:190: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' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:148: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_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: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: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.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.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.2ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:08:04 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UzcZDxl0Azy/YrZxI8MpRfuoBYOTk6KFwt1JE5Dzkw0/Z5t6ZrGw7cv8DHemjre1IkbMUobI/rgBbEDtiZnWKg==", "forum"=>{"name"=>"ff", "category"=>"552009204e6569f13c000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('552009204e6569f13c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55200c644e6569f174130000'), "order"=>0, "name"=>"ff"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5470ms Redirected to http://localhost:3000/forums/55200c644e6569f174130000 Completed 302 Found in 45ms Started GET "/forums/55200c644e6569f174130000" for ::1 at 2015-04-04 12:08:05 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200c644e6569f174130000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55200c654e6569f174140000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200c644e6569f174130000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:08:05 UTC, "created_at"=>2015-04-04 16:08:05 UTC, "current_viewed_at"=>2015-04-04 16:08:05 UTC, "past_viewed_at"=>2015-04-04 16:08:05 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_views selector={"_id"=>BSON::ObjectId('55200c654e6569f174140000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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('55200c654e6569f174140000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:08:05 UTC, "updated_at"=>2015-04-04 16:08:05 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms Completed 200 OK in 58ms (Views: 34.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:05 -0400 Started GET "/forums/55200c644e6569f174130000" for ::1 at 2015-04-04 12:08:07 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200c644e6569f174130000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_views selector={"_id"=>BSON::ObjectId('55200c654e6569f174140000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.9760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200c654e6569f174140000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:08:05 UTC, "current_viewed_at"=>2015-04-04 16:08:07 UTC, "updated_at"=>2015-04-04 16:08:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Completed 200 OK in 59ms (Views: 34.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:07 -0400 Started GET "/forums/55200c644e6569f174130000/new" for ::1 at 2015-04-04 12:08:08 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (1.3ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: %h3 2: New Topic in 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1394430591344787616_70241863029620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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.3ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:08:14 -0400 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('552004d34e6569eff4180000')}, "$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.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Completed 200 OK in 122ms (Views: 120.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:14 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:08:16 -0400 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('552004d34e6569eff4180000')}, "$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.4550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Completed 200 OK in 39ms (Views: 36.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:16 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:08:17 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms 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.7580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 32ms (Views: 29.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:17 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:17 -0400 Started GET "/forums/admin/forums/55200c644e6569f174130000/edit" for ::1 at 2015-04-04 12:08:18 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0170ms Completed 200 OK in 37ms (Views: 34.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:19 -0400 Started PATCH "/forums/admin/forums/55200c644e6569f174130000" for ::1 at 2015-04-04 12:08:21 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fssSzXqILVzZf05auyHd4rcHBn78YPnPCjrAh1lft3kSm5C4BU2eja3h9Fw+bEMSbunPr+k7pfLJi8l5QDXyXg==", "forum"=>{"name"=>"ff", "category"=>"55200c3f4e6569f174120000"}, "commit"=>"Update Forum", "id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} update={"$set"=>{"category_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms Redirected to http://localhost:3000/forums/55200c644e6569f174130000 Completed 302 Found in 7ms Started GET "/forums/55200c644e6569f174130000" for ::1 at 2015-04-04 12:08:21 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200c644e6569f174130000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200c654e6569f174140000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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('55200c654e6569f174140000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:08:07 UTC, "current_viewed_at"=>2015-04-04 16:08:21 UTC, "updated_at"=>2015-04-04 16:08:21 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 200 OK in 45ms (Views: 29.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:21 -0400 Started GET "/forums/55200c644e6569f174130000/new" for ::1 at 2015-04-04 12:08:22 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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('55200c644e6569f174130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Completed 200 OK in 77ms (Views: 69.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:23 -0400 Started POST "/forums/55200c644e6569f174130000/create" for ::1 at 2015-04-04 12:08:25 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0/YWobyU/A5o8Pv039tW192v+PprZWxkIiC2YPixqlW/ppTUw1FP3xxuQfJalsgnBEExK34+MFnhkb+e4dvvcg==", "topic"=>{"name"=>"sdfdsf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"55200c644e6569f174130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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('552004d34e6569eff4180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('55200c794e6569f174170000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdfdsf", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "forum_id"=>BSON::ObjectId('55200c644e6569f174130000'), "updated_at"=>2015-04-04 16:08:25 UTC, "created_at"=>2015-04-04 16:08:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('55200c794e6569f174190000'), "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 16:08:25 UTC, "created_at"=>2015-04-04 16:08:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200c794e6569f174170000')}, "$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('55200c794e6569f174180000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('55200c794e6569f174170000'), "updated_at"=>2015-04-04 16:08:25 UTC, "created_at"=>2015-04-04 16:08:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5190ms Redirected to http://localhost:3000/forums/topics/55200c794e6569f174170000 Completed 302 Found in 31ms Started GET "/forums/topics/55200c794e6569f174170000" for ::1 at 2015-04-04 12:08:25 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55200c794e6569f174170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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={"forum_id"=>BSON::ObjectId('55200c644e6569f174130000'), "_id"=>BSON::ObjectId('55200c794e6569f174170000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55200c794e6569f1741a0000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 16:08:25 UTC, "created_at"=>2015-04-04 16:08:25 UTC, "current_viewed_at"=>2015-04-04 16:08:25 UTC, "past_viewed_at"=>2015-04-04 16:08:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200c794e6569f1741a0000')} 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('55200c794e6569f174170000')} 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('55200c794e6569f1741a0000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:08:25 UTC, "updated_at"=>2015-04-04 16:08:25 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55200c794e6569f174170000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200c794e6569f174170000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('55200c794e6569f174170000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 57ms (Views: 39.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:25 -0400 Started GET "/forums/topics/55200c794e6569f174170000/posts/new" for ::1 at 2015-04-04 12:08:27 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55200c794e6569f174170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} 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('55200c644e6569f174130000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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('55200c794e6569f174170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Completed 200 OK in 50ms (Views: 41.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:27 -0400 Started POST "/forums/topics/55200c794e6569f174170000/posts" for ::1 at 2015-04-04 12:08:28 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fZTl/3qCAzW9aQgOBu/RwYbMOIca7bZHY7BHQhhe9QMRxGeKBUew5Mn3sgiDok8xXyLxVg+26nqgAU68ATSwJA==", "post"=>{"text"=>"sdfsfdf"}, "commit"=>"Create Reply", "topic_id"=>"55200c794e6569f174170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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_posts documents=[{"_id"=>BSON::ObjectId('55200c7c4e6569f1741c0000'), "text"=>"sdfsfdf", "topic_id"=>BSON::ObjectId('55200c794e6569f174170000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "updated_at"=>2015-04-04 16:08:28 UTC, "created_at"=>2015-04-04 16:08:28 UTC}] flags=[] 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_subscriptions selector={"subscribable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('55200c794e6569f174190000'), "read"=>false}, "$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('55200c794e6569f174170000')}, "$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('55200c794e6569f174170000')}, "$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('552004d34e6569eff4180000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6840ms Redirected to http://localhost:3000/forums/topics/55200c794e6569f174170000 Completed 302 Found in 19ms Started GET "/forums/topics/55200c794e6569f174170000" for ::1 at 2015-04-04 12:08:28 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55200c794e6569f174170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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={"forum_id"=>BSON::ObjectId('55200c644e6569f174130000'), "_id"=>BSON::ObjectId('55200c794e6569f174170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200c794e6569f1741a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200c794e6569f1741a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:08:25 UTC, "current_viewed_at"=>2015-04-04 16:08:28 UTC, "updated_at"=>2015-04-04 16:08:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200c794e6569f174170000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55200c794e6569f174170000')}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200c794e6569f174170000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('55200c794e6569f174170000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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('552004d34e6569eff4180000')}, "$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('55200c794e6569f174170000')}, "$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('55200c644e6569f174130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8760ms Completed 200 OK in 65ms (Views: 50.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:29 -0400 Started GET "/forums/topics/55200c794e6569f174170000/posts/new" for ::1 at 2015-04-04 12:08:30 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55200c794e6569f174170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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('55200c794e6569f174170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6610ms Completed 200 OK in 45ms (Views: 35.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:08:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:08:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:08:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:08:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:08:30 -0400 Started GET "/forums/topics/55200c794e6569f174170000/posts/new" for ::1 at 2015-04-04 12:08:32 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"55200c794e6569f174170000"} 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('552004d34e6569eff4180000')}, "$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('55200c794e6569f174170000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200c644e6569f174130000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')}, "$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('55200c794e6569f174170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 32ms (Views: 25.3ms) Started GET "/forums/topics/54bd3ce04e65695661210000/posts/new?reply_to_id=54bd3ce04e65695661220000" for ::1 at 2015-04-04 12:08:34 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54bd3ce04e65695661220000", "topic_id"=>"54bd3ce04e65695661210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54bd3ce04e65695661210000')} 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::Topic with id(s) 54bd3ce04e65695661210000. 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): 54bd3ce04e65695661210000 ... (1 total) and the following ids were not found: 54bd3ce04e65695661210000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:113:in `find_topic' 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 (68.0ms) 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 (4.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 (127.5ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:08:34 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 65ms (Views: 61.5ms) Started GET "/forums/admin" for ::1 at 2015-04-04 12:08:35 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 31ms (Views: 29.2ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:08:37 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 26ms (Views: 24.4ms) Started DELETE "/forums/admin/categories/55200c3f4e6569f174120000" for ::1 at 2015-04-04 12:08:38 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"SIz6PrgseopX8ChGOZu4mGe+YpqaJXA9Yez7P+BYYTsk3HhLx+nJWyNukkC81iZovlCrS49+LACiXfLB+TIkHA==", "id"=>"55200c3f4e6569f174120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')} 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={"category_id"=>BSON::ObjectId('55200c3f4e6569f174120000')} 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('55200c644e6569f174130000')} 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('55200c794e6569f174170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('55200c794e6569f174180000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55200c794e6569f174180000')} flags=[:remove_first] 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_posts selector={"reply_to_id"=>BSON::ObjectId('55200c7c4e6569f1741c0000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55200c7c4e6569f1741c0000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200c794e6569f174170000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200c644e6569f174130000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200c3f4e6569f174120000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 12ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:08:38 -0400 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('552004d34e6569eff4180000')}, "$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.3320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8750ms Completed 200 OK in 31ms (Views: 29.0ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 12:09:06 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Completed 200 OK in 30ms (Views: 27.8ms) Started POST "/forums/admin/categories" for ::1 at 2015-04-04 12:09:10 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"I4uwTVOLVkiSpQP6MMuhaq1ypAkK5xGlmHpJyZPNwkpP2zI4LE7lmeY7ufy1hj+adJxt2B+8TZhby0A3iqeHbQ==", "category"=>{"name"=>"Category A"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000'), "order"=>0, "name"=>"Category A"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5030ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-04-04 12:09:10 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms 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={"$query"=>{"category_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 200 OK in 31ms (Views: 28.6ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 12:09:13 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 69ms (Views: 66.2ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:09:14 -0400 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('552004d34e6569eff4180000')}, "$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.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms Completed 200 OK in 35ms (Views: 32.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:14 -0400 Started GET "/forums/admin/categories/55200ca64e6569f1741f0000" for ::1 at 2015-04-04 12:09:16 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200ca64e6569f1741f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 32ms (Views: 27.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:16 -0400 Started GET "/forums/admin/categories/55200ca64e6569f1741f0000" for ::1 at 2015-04-04 12:09:18 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200ca64e6569f1741f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6870ms Completed 200 OK in 33ms (Views: 27.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:18 -0400 Started GET "/forums/admin" for ::1 at 2015-04-04 12:09:24 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 33ms (Views: 30.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:25 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:09:25 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.4300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 28ms (Views: 25.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:26 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:09:27 -0400 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('552004d34e6569eff4180000')}, "$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.3940ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 37ms (Views: 34.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:27 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:09:33 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VvUZSGu8n64C6ySM3ix8EtznXKRjRRe4Knx/fyVhIys6pZs9FHksf3Z1nopbYeLiBQmVdXYeS4XpzXaBPAtmDA==", "forum"=>{"name"=>"Forum A ", "category"=>"55200ca64e6569f1741f0000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55200cbd4e6569f174200000'), "order"=>0, "name"=>"Forum A ", "category_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Redirected to http://localhost:3000/forums/55200cbd4e6569f174200000 Completed 302 Found in 5ms Started GET "/forums/55200cbd4e6569f174200000" for ::1 at 2015-04-04 12:09:33 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200cbd4e6569f174200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}, "$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={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200cbd4e6569f174200000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('55200cbd4e6569f174210000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200cbd4e6569f174200000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:09:33 UTC, "created_at"=>2015-04-04 16:09:33 UTC, "current_viewed_at"=>2015-04-04 16:09:33 UTC, "past_viewed_at"=>2015-04-04 16:09:33 UTC}] 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('55200cbd4e6569f174210000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174210000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:09:33 UTC, "updated_at"=>2015-04-04 16:09:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200cbd4e6569f174200000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Completed 200 OK in 55ms (Views: 30.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:33 -0400 Started GET "/forums/55200cbd4e6569f174200000/new" for ::1 at 2015-04-04 12:09:35 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200cbd4e6569f174200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}, "$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('55200cbd4e6569f174200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 200 OK in 35ms (Views: 30.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:35 -0400 Started POST "/forums/55200cbd4e6569f174200000/create" for ::1 at 2015-04-04 12:09:41 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LvkEGR2qdyljYhJ+qDyv21ihs2DIol4xR1Phtvcr2L1CqYZsYm/E+Bf8qHgtcTErgU96sd35AgyE4uhI7kGdmg==", "topic"=>{"name"=>"Topic A", "posts"=>{"text"=>"Post A"}}, "commit"=>"Create Topic", "forum_id"=>"55200cbd4e6569f174200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}, "$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('552004d34e6569eff4180000')}, "$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('55200cbd4e6569f174200000')}, "$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('552004d34e6569eff4180000')}, "$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_topics documents=[{"_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"Topic A", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "forum_id"=>BSON::ObjectId('55200cbd4e6569f174200000'), "updated_at"=>2015-04-04 16:09:41 UTC, "created_at"=>2015-04-04 16:09:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>true}, "$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_subscriptions documents=[{"_id"=>BSON::ObjectId('55200cc54e6569f174250000'), "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 16:09:41 UTC, "created_at"=>2015-04-04 16:09:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200cc54e6569f174230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('55200cc54e6569f174240000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "text"=>"Post A", "topic_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "updated_at"=>2015-04-04 16:09:41 UTC, "created_at"=>2015-04-04 16:09:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms Redirected to http://localhost:3000/forums/topics/55200cc54e6569f174230000 Completed 302 Found in 19ms Started GET "/forums/topics/55200cc54e6569f174230000" for ::1 at 2015-04-04 12:09:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55200cc54e6569f174230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200cc54e6569f174230000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')}, "$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={"forum_id"=>BSON::ObjectId('55200cbd4e6569f174200000'), "_id"=>BSON::ObjectId('55200cc54e6569f174230000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55200cc64e6569f174260000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 16:09:42 UTC, "created_at"=>2015-04-04 16:09:42 UTC, "current_viewed_at"=>2015-04-04 16:09:42 UTC, "past_viewed_at"=>2015-04-04 16:09:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200cc64e6569f174260000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('55200cc54e6569f174230000')} 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('55200cc64e6569f174260000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:09:42 UTC, "updated_at"=>2015-04-04 16:09:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')}, "$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('55200ca64e6569f1741f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('55200cc54e6569f174230000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('55200cc54e6569f174230000')}} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('55200cc54e6569f174230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('55200cc54e6569f174230000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8730ms Completed 200 OK in 60ms (Views: 44.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:09:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:09:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:09:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:09:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:09:42 -0400 Started GET "/forums/55200cbd4e6569f174200000/new" for ::1 at 2015-04-04 12:10:11 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200cbd4e6569f174200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (39.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7340ms Completed 200 OK in 75ms (Views: 67.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:10:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:10:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:10:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:10:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:10:11 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:10:15 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 28ms (Views: 24.7ms) Started GET "/forums/admin" for ::1 at 2015-04-04 12:10:15 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 28ms (Views: 25.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:10:16 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms Completed 200 OK in 27ms (Views: 25.3ms) Started DELETE "/forums/admin/categories/55200ca64e6569f1741f0000" for ::1 at 2015-04-04 12:10:18 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"LT4LgUL7ZFr2H7VpKYJ5442zAKrKotFL/5PBWatdyXxBbon0PT7Xi4KBD2+sz+cTVF3Je9/5jXY8IsinsjeMWw==", "id"=>"55200ca64e6569f1741f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')} 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_forums selector={"category_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')} 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('55200cbd4e6569f174200000')} 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={"topic_id"=>BSON::ObjectId('55200cc54e6569f174230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('55200cc54e6569f174240000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('55200cc54e6569f174240000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200cc54e6569f174230000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200cbd4e6569f174200000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8650ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200ca64e6569f1741f0000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4340ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 12ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:10:18 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 31ms (Views: 28.5ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:11:05 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Completed 200 OK in 76ms (Views: 46.8ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 12:11:07 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (40.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 112ms (Views: 109.7ms) Started POST "/forums/admin/categories" for ::1 at 2015-04-04 12:11:12 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KQ2MMC8jwTXImpryfr0nQgBaFlFSAvtDkurej1HO4ZFFXQ5FUOZy5LwEIPT78Lmy2bTfgEdZp35RW9dxSKSktg==", "category"=>{"name"=>"Category A"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55200d204e6569f299000000'), "order"=>0, "name"=>"Category A"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7870ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 11ms Started GET "/forums/" for ::1 at 2015-04-04 12:11:12 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms 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.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Completed 200 OK in 34ms (Views: 32.4ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 12:11:14 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Completed 200 OK in 32ms (Views: 29.2ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:11:55 -0400 Processing by MongoidForums::Admin::CategoriesController#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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "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: 26.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:11:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:11:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:11:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:11:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:11:55 -0400 Started POST "/forums/admin/categories" for ::1 at 2015-04-04 12:12:01 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XAHVutX3xda5nbWh5pvOYyVXhGnZ2D/Y5mb27MzDQTcwUVfPqjJ2B80DD6dj1lCT/LlNuMyDY+Ul1/8S1akEEA==", "category"=>{"name"=>"Category B"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55200d514e6569f299010000'), "order"=>0, "name"=>"Category B"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7350ms Redirected to http://localhost:3000/forums/admin/categories/55200d514e6569f299010000 Completed 302 Found in 9ms Started GET "/forums/admin/categories/55200d514e6569f299010000" for ::1 at 2015-04-04 12:12:01 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d514e6569f299010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d514e6569f299010000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Completed 200 OK in 37ms (Views: 32.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:01 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-04 12:12:13 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms Completed 200 OK in 50ms (Views: 46.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:13 -0400 Started DELETE "/forums/admin/groups/552003664e6569eff4000000" for ::1 at 2015-04-04 12:12:15 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"toODpKm+zk0Ng9w8pAlqxulHbrqANMqie/rgQhReTUba0wHR1nt9nHkdZjohRPQ2MKmna5Vvlp+4S+m8DTQIYQ==", "id"=>"552003664e6569eff4000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('552003664e6569eff4000000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 4ms Started GET "/forums/admin/groups" for ::1 at 2015-04-04 12:12:15 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Completed 200 OK in 34ms (Views: 32.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:15 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-04 12:12:16 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 41ms (Views: 38.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:16 -0400 Started PATCH "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:12:21 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lEF4ViiPIRRiwLMPBJHS4p0VzC/HDlvcWuMcOhYmPAv4EfojV0qSxRZeCQmB3EwSRPsF/tJVB+GZUhXED0x5LA==", "group"=>{"name"=>"Mod Group 1", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Unpermitted parameter: moderator MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"name"=>"Mod Group 1"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:12:21 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 34ms (Views: 29.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:21 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-04 12:12:25 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Completed 200 OK in 49ms (Views: 45.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:25 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-04 12:12:26 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 30ms (Views: 27.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:26 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:12:29 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms 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 Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 47ms (Views: 44.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:30 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:12:31 -0400 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('552004d34e6569eff4180000')}, "$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.4590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 34ms (Views: 31.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:31 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:12:35 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YAW/B1q2rD7azLIxuEzeF1QJzewOzMf4e+OpqL/jhwQMVT1yJXMf765SCDc9AUDnjecEPRuXm8W4UqBWponCIw==", "forum"=>{"name"=>"Forum A ", "category"=>"55200d204e6569f299000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55200d734e6569f299020000'), "order"=>0, "name"=>"Forum A ", "category_id"=>BSON::ObjectId('55200d204e6569f299000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6170ms Redirected to http://localhost:3000/forums/55200d734e6569f299020000 Completed 302 Found in 23ms Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:12:35 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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"=>BSON::ObjectId('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55200d734e6569f299030000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:12:35 UTC, "created_at"=>2015-04-04 16:12:35 UTC, "current_viewed_at"=>2015-04-04 16:12:35 UTC, "past_viewed_at"=>2015-04-04 16:12:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:12:35 UTC, "updated_at"=>2015-04-04 16:12:35 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('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms Completed 200 OK in 52ms (Views: 30.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:35 -0400 Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:12:57 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299030000')} 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_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:12:35 UTC, "current_viewed_at"=>2015-04-04 16:12:58 UTC, "updated_at"=>2015-04-04 16:12:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 96ms (Views: 45.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:58 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:12:59 -0400 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('552004d34e6569eff4180000')}, "$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.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (10.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 49ms (Views: 45.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:12:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:12:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:12:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:12:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:12:59 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:13:00 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "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: 40.2ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:13:01 -0400 Processing by MongoidForums::Admin::ForumsController#index 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 32ms (Views: 28.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:13:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:13:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:13:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:13:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:13:01 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:13:32 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML 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('552004d34e6569eff4180000')}, "$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={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 30ms (Views: 27.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:13:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:13:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:13:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:13:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:13:32 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:13:43 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 33ms (Views: 31.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:13:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:13:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:13:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:13:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:13:43 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:13:44 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0810ms Completed 200 OK in 49ms (Views: 43.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:13:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:13:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:13:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:13:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:13:44 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:13:47 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 27ms (Views: 22.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:13:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:13:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:13:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:13:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:13:47 -0400 Started GET "/forums/admin/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:13:52 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 34ms (Views: 29.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:13:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:13:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:13:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:13:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:13:52 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:14:07 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 35ms (Views: 33.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:07 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:14:11 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"D/r+esovpJ7/40VdLEWYYbI2HRNh0ei73LE3ZwjFVo1jqnwPteoXT4t9/1upCAaRa9jUwnSKtIYfAD6ZEa8Tqg==", "forum"=>{"name"=>"Forum B", "category"=>"55200d514e6569f299010000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums documents=[{"_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "order"=>0, "name"=>"Forum B", "category_id"=>BSON::ObjectId('55200d514e6569f299010000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4170ms Redirected to http://localhost:3000/forums/admin/forums/55200dd34e6569f299040000 Completed 302 Found in 5ms Started GET "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:14:12 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Completed 200 OK in 30ms (Views: 25.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:12 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:14:15 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 200 OK in 43ms (Views: 40.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:15 -0400 Started GET "/forums/admin" for ::1 at 2015-04-04 12:14:19 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Completed 200 OK in 52ms (Views: 49.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:19 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:14:19 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 28ms (Views: 25.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:20 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:14:21 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.html.erb 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('552004d34e6569eff4180000'), "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: 23.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:21 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:14:23 -0400 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('552004d34e6569eff4180000')}, "$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.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Completed 200 OK in 41ms (Views: 37.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:23 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:14:25 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.html.erb within layouts/mongoid_forums/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 24ms (Views: 21.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:14:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:14:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:14:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:14:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:14:25 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:19:02 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (5.6ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `model_name' for nil:NilClass): 1: = simple_form_for [:admin, @category] do |f| 2: = f.input :name 3: = f.input :category, collection: MongoidForums::Category.all 4: = f.submit "Update Forum", :class => "btn", :disable_with => "Updating..." 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:62:in `simple_form_css_class' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:22:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_edit_haml___1148892561521184369_70143265972440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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 (22.7ms) Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:19:17 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (2.4ms) Completed 500 Internal Server Error in 9ms 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 "Update Category", :class => "btn", :disable_with => "Updating..." 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:62:in `simple_form_css_class' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:22:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_edit_haml___1148892561521184369_70143304056780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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.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 (21.1ms) Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:19:49 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (1.9ms) Completed 500 Internal Server Error in 8ms 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 "Update Category", :class => "btn", :disable_with => "Updating..." 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:62:in `simple_form_css_class' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:22:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_edit_haml___1148892561521184369_70143317511140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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 (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 (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 (20.6ms) Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:20:03 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7030ms Completed 200 OK in 47ms (Views: 31.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:20:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:20:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:20:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:20:03 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:20:03 -0400 Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:20:06 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"CVJKwxHsb7LgnChJX05aEsH6icigK+9CY67l/sPjVi1lAsi2bincY5QCkk/aA8TiGBRAGbVws3+gH+wA2okTCg==", "category"=>{"name"=>"Category AB"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 500 Internal Server Error in 6ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/categories/update, mongoid_forums/admin/base/update, mongoid_forums/application/update, application/update with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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" ): 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: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: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.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 (0.8ms) 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 (24.2ms) Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:20:54 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"CVJKwxHsb7LgnChJX05aEsH6icigK+9CY67l/sPjVi1lAsi2bincY5QCkk/aA8TiGBRAGbVws3+gH+wA2okTCg==", "category"=>{"name"=>"Category AB"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} 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('552004d34e6569eff4180000')}, "$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_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} update={"$set"=>{"name"=>"Category AB"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms Redirected to http://localhost:3000/forums/categories/55200d204e6569f299000000 Completed 302 Found in 30ms Started GET "/forums/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:20:55 -0400 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.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/_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 (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.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 (78.3ms) Started GET "/forums/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:21:18 -0400 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.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.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.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 (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 (74.5ms) Started GET "/forums/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:21:42 -0400 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.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.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.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.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/routing_error.html.erb within rescues/layout (67.3ms) Started GET "/forums/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:21:44 -0400 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.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.3ms) 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 (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 (70.8ms) Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:21:45 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"CVJKwxHsb7LgnChJX05aEsH6icigK+9CY67l/sPjVi1lAsi2bincY5QCkk/aA8TiGBRAGbVws3+gH+wA2okTCg==", "category"=>{"name"=>"Category AB"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Redirected to http://localhost:3000/forums/admin/categories/55200d204e6569f299000000 Completed 302 Found in 32ms Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:21:45 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0300ms Completed 200 OK in 38ms (Views: 33.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:21:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:21:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:21:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:21:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:21:45 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:21:53 -0400 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('552004d34e6569eff4180000')}, "$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.3840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Completed 200 OK in 37ms (Views: 34.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:21:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:21:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:21:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:21:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:21:53 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:21:57 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5710ms Completed 200 OK in 38ms (Views: 34.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:21:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:21:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:21:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:21:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:21:57 -0400 Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:01 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9QtmYRQXSkS9jqeQYLvbUci8J4lwadoRu+fDGGVRD56ZW+QUa9L5lckQHZbl9kWhEVLuWGUyhix4VsrmfDtKuQ==", "category"=>{"name"=>"Category AB"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Redirected to http://localhost:3000/forums/admin/categories/55200d204e6569f299000000 Completed 302 Found in 4ms Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:01 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 31ms (Views: 26.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:01 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:05 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 20.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Completed 200 OK in 56ms (Views: 30.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:05 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:06 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Completed 200 OK in 47ms (Views: 39.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:06 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:22:07 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 31ms (Views: 28.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:07 -0400 Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:10 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZHa1U56+GMpHdww97Jy9OJR1syddSt5m+RixLRcy19MIJjcm4XurGzPptjtp0SPITZt69kgRgls6qbjTDliS9A==", "category"=>{"name"=>"Category AB"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms Redirected to http://localhost:3000/forums/admin/categories/55200d204e6569f299000000 Completed 302 Found in 4ms Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:10 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 31ms (Views: 26.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:10 -0400 Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:16 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZHa1U56+GMpHdww97Jy9OJR1syddSt5m+RixLRcy19MIJjcm4XurGzPptjtp0SPITZt69kgRgls6qbjTDliS9A==", "category"=>{"name"=>"Category A"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} update={"$set"=>{"name"=>"Category A"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6130ms Redirected to http://localhost:3000/forums/admin/categories/55200d204e6569f299000000 Completed 302 Found in 7ms Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:16 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 31ms (Views: 26.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:16 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:22:34 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "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: 28.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:34 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:22:35 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6930ms Completed 200 OK in 33ms (Views: 30.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:35 -0400 Started PATCH "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:36 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FIq477D1gR6yNU8LXmGh+FMCkWJNCvYLC8tL+0K0Tyt42jqazzAyz8ar9Q3bLD8IiuxYs1hRqjbIekIFW94KDA==", "category"=>{"name"=>"Category A"}, "commit"=>"Update Category", "id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 20ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:22:36 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 32ms (Views: 30.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:37 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000/edit" for ::1 at 2015-04-04 12:22:46 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Completed 200 OK in 34ms (Views: 31.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:46 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:48 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms Completed 200 OK in 52ms (Views: 46.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:48 -0400 Started POST "/forums/admin/categories/55200d204e6569f299000000/add_group" for ::1 at 2015-04-04 12:22:51 -0400 Processing by MongoidForums::Admin::CategoriesController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zX7YHZAbnqVI0tR1BFIwhBVUqQB64qvaha9j5a3n9SWhLlpo794tdDxMbnOBH650zLpg0W+59+dGHmobtI2wAg==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "category_id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9280ms Redirected to http://localhost:3000/forums/admin/categories/55200d204e6569f299000000 Completed 302 Found in 10ms Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:51 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 39ms (Views: 34.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:51 -0400 Started GET "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 12:22:55 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 38ms (Views: 33.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:55 -0400 Started GET "/forums/admin/categories/55200d514e6569f299010000/edit" for ::1 at 2015-04-04 12:22:58 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55200d514e6569f299010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d514e6569f299010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 30ms (Views: 27.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:22:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:22:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:22:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:22:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:22:59 -0400 Started GET "/forums/admin/categories/55200d514e6569f299010000" for ::1 at 2015-04-04 12:23:01 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"55200d514e6569f299010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d514e6569f299010000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 30ms (Views: 25.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:01 -0400 Started GET "/forums/admin/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:23:10 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 37ms (Views: 31.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:10 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:23:16 -0400 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('552004d34e6569eff4180000')}, "$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.5560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (23.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8350ms Completed 200 OK in 54ms (Views: 51.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:16 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:23:23 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"97zuH9m0o0e/O7UxRTxFo3+vaYvEmZjkC9g8K9ppP0Gb7GxqpnEQlsulDzfAcdtTpkGgWtHCxNnIaTXVwwN6Zg==", "forum"=>{"name"=>"Forum B", "category"=>"55200d204e6569f299000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "order"=>0, "name"=>"Forum B", "category_id"=>BSON::ObjectId('55200d204e6569f299000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5750ms Redirected to http://localhost:3000/forums/admin/forums/55200ffb4e6569f299050000 Completed 302 Found in 20ms Started GET "/forums/admin/forums/55200ffb4e6569f299050000" for ::1 at 2015-04-04 12:23:23 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 32ms (Views: 26.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:24 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:23:26 -0400 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('552004d34e6569eff4180000')}, "$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.7110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 200 OK in 43ms (Views: 40.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:26 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:23:27 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 45ms (Views: 43.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:27 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:23:28 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms 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.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d514e6569f299010000')}, "$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('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (10.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 200 OK in 43ms (Views: 40.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:28 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:23:30 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms 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.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (31.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 67ms (Views: 64.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:30 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000/edit" for ::1 at 2015-04-04 12:23:35 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (14.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 51ms (Views: 47.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:35 -0400 Started PATCH "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:23:42 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5PZ18vK/5Mgg9gnI7IndK5qAHiG7/iQ4XydsIcKobmSIpveHjXpXGVRos85pxEPbQ27X8K6leAWclmXf28IrQw==", "forum"=>{"name"=>"Forum BB", "category"=>"55200d514e6569f299010000"}, "commit"=>"Update Forum", "id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$set"=>{"name"=>"Forum BB"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4580ms Redirected to http://localhost:3000/forums/55200dd34e6569f299040000 Completed 302 Found in 8ms Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:23:42 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('5520100e4e6569f299060000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:23:42 UTC, "created_at"=>2015-04-04 16:23:42 UTC, "current_viewed_at"=>2015-04-04 16:23:42 UTC, "past_viewed_at"=>2015-04-04 16:23:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:23:42 UTC, "updated_at"=>2015-04-04 16:23:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 50ms (Views: 31.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:42 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000/edit" for ::1 at 2015-04-04 12:23:44 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 46ms (Views: 42.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:44 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000/edit" for ::1 at 2015-04-04 12:23:45 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 52ms (Views: 48.6ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:23:46 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML 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('552004d34e6569eff4180000')}, "$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={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d204e6569f299000000')}, "$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('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 67ms (Views: 64.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:46 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:46 -0400 Started GET "/forums/admin/forums/55200ffb4e6569f299050000/edit" for ::1 at 2015-04-04 12:23:50 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms Completed 200 OK in 51ms (Views: 47.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:51 -0400 Started PATCH "/forums/admin/forums/55200ffb4e6569f299050000" for ::1 at 2015-04-04 12:23:55 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"93FgxmE3UCNkl0ML/mfNGst4gMALmD6bMtImuZx9IAqbIeKzHvLj8hAJ+Q17KlPqEpZJER7DYqbxYy9HhRdlLQ==", "forum"=>{"name"=>"Forum AB", "category"=>"55200d204e6569f299000000"}, "commit"=>"Update Forum", "id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} update={"$set"=>{"name"=>"Forum AB"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Redirected to http://localhost:3000/forums/55200ffb4e6569f299050000 Completed 302 Found in 7ms Started GET "/forums/55200ffb4e6569f299050000" for ::1 at 2015-04-04 12:23:55 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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('55200ffb4e6569f299050000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('5520101b4e6569f299070000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:23:55 UTC, "created_at"=>2015-04-04 16:23:55 UTC, "current_viewed_at"=>2015-04-04 16:23:55 UTC, "past_viewed_at"=>2015-04-04 16:23:55 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520101b4e6569f299070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520101b4e6569f299070000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:23:55 UTC, "updated_at"=>2015-04-04 16:23:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 46ms (Views: 29.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:55 -0400 Started GET "/forums/admin/forums/55200ffb4e6569f299050000/edit" for ::1 at 2015-04-04 12:23:56 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 200 OK in 54ms (Views: 49.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:56 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:23:58 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms 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.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 37ms (Views: 35.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:23:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:23:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:23:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:23:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:23:58 -0400 Started GET "/forums/admin/forums/55200d734e6569f299020000/edit" for ::1 at 2015-04-04 12:24:06 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 57ms (Views: 54.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:06 -0400 Started PATCH "/forums/admin/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:24:11 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1osB2AMYsMaU45zCoVaGNRimGYXn47kXzKhLlS4myiS624OtfN0DF+B9JsQkGxjFwUjQVPK45SoPGUJrN0yPAw==", "forum"=>{"name"=>"Forum AA", "category"=>"55200d204e6569f299000000"}, "commit"=>"Update Forum", "id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$set"=>{"name"=>"Forum AA"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6600ms Redirected to http://localhost:3000/forums/55200d734e6569f299020000 Completed 302 Found in 9ms Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:24:11 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} 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('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:12:58 UTC, "current_viewed_at"=>2015-04-04 16:24:11 UTC, "updated_at"=>2015-04-04 16:24:11 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 42ms (Views: 26.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:11 -0400 Started GET "/forums/admin/forums/55200d734e6569f299020000/edit" for ::1 at 2015-04-04 12:24:12 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 43ms (Views: 40.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:12 -0400 Started GET "/forums/admin/forums/55200d734e6569f299020000/edit" for ::1 at 2015-04-04 12:24:13 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 39ms (Views: 35.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:13 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:24:14 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms 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.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0090ms Completed 200 OK in 50ms (Views: 47.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:14 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000/edit" for ::1 at 2015-04-04 12:24:23 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 58ms (Views: 54.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:24 -0400 Started PATCH "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:24:29 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sAJU+0H5tw44bk/aKOXzU9iBdi6EQ/g157WKte4ZxarcUtaOPjwE30zw9dytqG2jAW+//5EYpAgkBINL93OAjQ==", "forum"=>{"name"=>"Forum BA", "category"=>"55200d514e6569f299010000"}, "commit"=>"Update Forum", "id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$set"=>{"name"=>"Forum BA"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5740ms Redirected to http://localhost:3000/forums/55200dd34e6569f299040000 Completed 302 Found in 11ms Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:24:29 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:23:42 UTC, "current_viewed_at"=>2015-04-04 16:24:29 UTC, "updated_at"=>2015-04-04 16:24:29 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('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 41ms (Views: 24.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:29 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:29 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000/edit" for ::1 at 2015-04-04 12:24:30 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 42ms (Views: 38.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000/edit" for ::1 at 2015-04-04 12:24:31 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 36ms (Views: 32.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:31 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:24:32 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms Completed 200 OK in 42ms (Views: 39.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:33 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:24:35 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Completed 200 OK in 35ms (Views: 30.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:35 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:35 -0400 Started POST "/forums/admin/forums/55200dd34e6569f299040000/add_group" for ::1 at 2015-04-04 12:24:37 -0400 Processing by MongoidForums::Admin::ForumsController#add_group as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mBDfzwRc2bLLn2NvZ/a8GeFQpT+nGMCAFUBdy5LOoGT0QF26e5lqY78B2WniuyLpOL5s7rJDnL3W8VQ1i6TlQw==", "group"=>{"id"=>"551f19ff4e6569e8f9000000"}, "forum_id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$addToSet"=>{"moderator_group_ids"=>{"$each"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5310ms Redirected to http://localhost:3000/forums/admin/forums/55200dd34e6569f299040000 Completed 302 Found in 7ms Started GET "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:24:37 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Completed 200 OK in 32ms (Views: 27.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:37 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:37 -0400 Started GET "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:24:41 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 39ms (Views: 32.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:24:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:24:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:24:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:24:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:24:41 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:24:47 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('552004d34e6569eff4180000')}, "$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.3700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Completed 200 OK in 27ms (Views: 24.3ms) Started GET "/forums/" for ::1 at 2015-04-04 12:24:54 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms 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.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d204e6569f299000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$set"=>{"posts_count"=>0}} flags=[] 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "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: 54.8ms) Started GET "/forums/" for ::1 at 2015-04-04 12:25:00 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms 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('55200d514e6569f299010000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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('55200ffb4e6569f299050000')}, "$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('55200ffb4e6569f299050000')}} runtime: 0.4540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6590ms Completed 200 OK in 70ms (Views: 66.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:25:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:25:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:25:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:25:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:25:01 -0400 Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:25:04 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:24:29 UTC, "current_viewed_at"=>2015-04-04 16:25:04 UTC, "updated_at"=>2015-04-04 16:25:04 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "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: 24.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:25:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:25:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:25:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:25:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:25:04 -0400 Started GET "/forums/" for ::1 at 2015-04-04 12:25:06 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms 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.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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('55200ffb4e6569f299050000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 44ms (Views: 41.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:25:06 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:24:11 UTC, "current_viewed_at"=>2015-04-04 16:25:06 UTC, "updated_at"=>2015-04-04 16:25:06 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 43ms (Views: 28.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:25:06 -0400 Started GET "/forums/55200ffb4e6569f299050000" for ::1 at 2015-04-04 12:25:09 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520101b4e6569f299070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520101b4e6569f299070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:23:55 UTC, "current_viewed_at"=>2015-04-04 16:25:09 UTC, "updated_at"=>2015-04-04 16:25:09 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 48ms (Views: 33.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:25:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:25:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:25:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:25:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:25:09 -0400 Started GET "/forums/" for ::1 at 2015-04-04 12:25:15 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} 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('55200dd34e6569f299040000')}, "$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('55200dd34e6569f299040000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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('55200ffb4e6569f299050000')}, "$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('55200ffb4e6569f299050000')}} runtime: 0.3710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.2220ms Completed 200 OK in 71ms (Views: 69.4ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:25:18 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Completed 200 OK in 30ms (Views: 27.4ms) Started GET "/forums/admin" for ::1 at 2015-04-04 12:25:19 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 25ms (Views: 22.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 12:25:20 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms Completed 200 OK in 40ms (Views: 36.4ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:25:23 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 35ms (Views: 31.3ms) Started GET "/forums/" for ::1 at 2015-04-04 12:25:29 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms 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.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 200 OK in 37ms (Views: 35.7ms) Started GET "/" for ::1 at 2015-04-04 12:25:30 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Rendered partials/_nav.haml (3.9ms) Completed 200 OK in 158ms (Views: 157.3ms) Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:25:34 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Completed 200 OK in 31ms (Views: 27.9ms) Started POST "/forums/admin/groups/551f19ff4e6569e8f9000000/add_user" for ::1 at 2015-04-04 12:25:37 -0400 Processing by MongoidForums::Admin::GroupsController#add_member as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AjwolkK1tN1v7k/0X3vEx9ZDAAajQbbKCVj0N9S5y+tubKrjPXAHDBtw9fLaNlo3D63J17Ya6vfK6f3JzdOOzA==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "group_id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"members"=>[BSON::ObjectId('54c407ca4e65694706000000'), BSON::ObjectId('552004d34e6569eff4180000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6960ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 8ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-04 12:25:37 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 36ms (Views: 29.6ms) Started GET "/forums/admin/groups/" for ::1 at 2015-04-04 12:25:39 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 28ms (Views: 26.4ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:25:40 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Completed 200 OK in 28ms (Views: 26.0ms) Started GET "/forums/" for ::1 at 2015-04-04 12:25:41 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms 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.7900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} 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('55200dd34e6569f299040000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.6000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-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={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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('55200d734e6569f299020000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 1.1880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Completed 200 OK in 106ms (Views: 103.7ms) Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:25:43 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520100e4e6569f299060000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:25:04 UTC, "current_viewed_at"=>2015-04-04 16:25:43 UTC, "updated_at"=>2015-04-04 16:25:43 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 44ms (Views: 30.4ms) Started GET "/forums/" for ::1 at 2015-04-04 12:25:46 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms 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.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-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('55200ffb4e6569f299050000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 56ms (Views: 53.9ms) Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:25:48 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} 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_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:25:06 UTC, "current_viewed_at"=>2015-04-04 16:25:48 UTC, "updated_at"=>2015-04-04 16:25:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 44ms (Views: 30.3ms) Started GET "/forums/55200ffb4e6569f299050000" for ::1 at 2015-04-04 12:25:50 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200ffb4e6569f299050000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520101b4e6569f299070000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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('5520101b4e6569f299070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:25:09 UTC, "current_viewed_at"=>2015-04-04 16:25:50 UTC, "updated_at"=>2015-04-04 16:25:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "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: 27.5ms) Started GET "/forums/" for ::1 at 2015-04-04 12:26:46 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms 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.6000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.5ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `moderator?' for nil:NilClass): 4: %h2 5: = category.name 6: Category 7: - if @category.moderator?(mongoid_forums_user) 8: %b You are a moderator of this category 9: %table{:border => "1"} 10: %tr /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:7:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3564021120634737738_70143305917320' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3564021120634737738_70143305917320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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 (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 (22.6ms) Started GET "/forums/" for ::1 at 2015-04-04 12:27:07 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms 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.6020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `moderator?' for nil:NilClass): 4: %h2 5: = category.name 6: Category 7: - if @category.moderator?(mongoid_forums_user) 8: %b You are a moderator of this category 9: %table{:border => "1"} 10: %tr /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:7:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3564021120634737738_70143305917320' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3564021120634737738_70143305917320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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 (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.5ms) Started GET "/forums/" for ::1 at 2015-04-04 12:27:09 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.4260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (1.9ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `moderator?' for nil:NilClass): 4: %h2 5: = category.name 6: Category 7: - if @category.moderator?(mongoid_forums_user) 8: %b You are a moderator of this category 9: %table{:border => "1"} 10: %tr /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:7:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3564021120634737738_70143305917320' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3564021120634737738_70143305917320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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.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/" for ::1 at 2015-04-04 12:27:22 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms 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.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.5230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 88ms (Views: 72.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:27:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:27:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:27:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:27:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:27:23 -0400 Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:27:26 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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"=>BSON::ObjectId('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:25:48 UTC, "current_viewed_at"=>2015-04-04 16:27:26 UTC, "updated_at"=>2015-04-04 16:27:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Completed 200 OK in 55ms (Views: 31.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:27:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:27:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:27:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:27:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:27:26 -0400 Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:28:04 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} 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('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:27:26 UTC, "current_viewed_at"=>2015-04-04 16:28:05 UTC, "updated_at"=>2015-04-04 16:28:05 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 100ms (Views: 41.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:28:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:28:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:28:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:28:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:28:05 -0400 Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:28:10 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:28:05 UTC, "current_viewed_at"=>2015-04-04 16:28:10 UTC, "updated_at"=>2015-04-04 16:28:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7370ms Completed 200 OK in 66ms (Views: 42.9ms) Started GET "/forums/55200ffb4e6569f299050000" for ::1 at 2015-04-04 12:28:12 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200ffb4e6569f299050000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520101b4e6569f299070000')} 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_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520101b4e6569f299070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:25:50 UTC, "current_viewed_at"=>2015-04-04 16:28:12 UTC, "updated_at"=>2015-04-04 16:28:12 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55200ffb4e6569f299050000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 59ms (Views: 38.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:28:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:28:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:28:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:28:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:28:12 -0400 Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:28:14 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} 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('55200dd34e6569f299040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:25:43 UTC, "current_viewed_at"=>2015-04-04 16:28:14 UTC, "updated_at"=>2015-04-04 16:28:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 200 OK in 46ms (Views: 32.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 12:28:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 12:28:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 12:28:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 12:28:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 12:28:14 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:28:21 -0400 Processing by MongoidForums::Admin::CategoriesController#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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 28ms (Views: 25.4ms) Started GET "/forums/admin" for ::1 at 2015-04-04 12:28:22 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Completed 200 OK in 32ms (Views: 29.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-04 12:28:24 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 39ms (Views: 36.6ms) Started GET "/forums/admin" for ::1 at 2015-04-04 12:28:26 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 100ms (Views: 98.4ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:28:27 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms 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.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (10.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 46ms (Views: 43.7ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 12:28:29 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 39ms (Views: 36.9ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 12:28:38 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VLATwbMjx0ETcFmf9TU14cMuevHfGU8nVNAGnHlbOk444JG0zOZ0kGfu45lweKsRGsCzIMpCExqXYQ9iYDF/aQ==", "forum"=>{"name"=>"Forum AB", "category"=>"55200d204e6569f299000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('552011364e6569f299080000'), "order"=>0, "name"=>"Forum AB", "category_id"=>BSON::ObjectId('55200d204e6569f299000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7630ms Redirected to http://localhost:3000/forums/admin/forums/552011364e6569f299080000 Completed 302 Found in 9ms Started GET "/forums/admin/forums/552011364e6569f299080000" for ::1 at 2015-04-04 12:28:38 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"552011364e6569f299080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 35ms (Views: 29.8ms) Started GET "/forums/admin/forums/551ef6d04e6569e42b030000" for ::1 at 2015-04-04 12:28:43 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"551ef6d04e6569e42b030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('551ef6d04e6569e42b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 551ef6d04e6569e42b030000. 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): 551ef6d04e6569e42b030000 ... (1 total) and the following ids were not found: 551ef6d04e6569e42b030000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:27: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: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 (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/diagnostics.html.erb within rescues/layout (40.3ms) Started GET "/forums/admin/" for ::1 at 2015-04-04 12:28:44 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 23ms (Views: 21.6ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:28:45 -0400 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('552004d34e6569eff4180000')}, "$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.3600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 25ms (Views: 22.7ms) Started GET "/forums/" for ::1 at 2015-04-04 12:28:45 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms 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('55200d514e6569f299010000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.5220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$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('55200d734e6569f299020000')}} runtime: 0.5010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$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('55200ffb4e6569f299050000')}} runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} 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('552011364e6569f299080000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}, "$orderby"=>{:_id=>-1}} 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_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (104.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 149ms (Views: 146.2ms) Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:28:53 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:28:14 UTC, "current_viewed_at"=>2015-04-04 16:28:53 UTC, "updated_at"=>2015-04-04 16:28:53 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms Completed 200 OK in 54ms (Views: 35.2ms) Started GET "/forums/" for ::1 at 2015-04-04 12:28:55 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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('55200d734e6569f299020000')}, "$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('55200d734e6569f299020000')}} runtime: 0.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} 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('552011364e6569f299080000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.4420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.7960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Completed 200 OK in 61ms (Views: 58.1ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 12:29:03 -0400 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('552004d34e6569eff4180000')}, "$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.4270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Completed 200 OK in 31ms (Views: 28.9ms) Started GET "/forums/admin" for ::1 at 2015-04-04 12:29:04 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 52ms (Views: 50.0ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 12:29:05 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms 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.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 43ms (Views: 41.1ms) Started GET "/forums/admin/forums/552011364e6569f299080000/edit" for ::1 at 2015-04-04 12:29:08 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"552011364e6569f299080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 40ms (Views: 36.6ms) Started PATCH "/forums/admin/forums/552011364e6569f299080000" for ::1 at 2015-04-04 12:29:16 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"K1JqjiZAjLO44QYrZUhJWNQYUQrI2W08Hy79/SRW/V1HAuj7WYU/Ysx/vC3gBdeoDfaY292CMQHcn/QDPTy4eg==", "forum"=>{"name"=>"Forum BB", "category"=>"55200d514e6569f299010000"}, "commit"=>"Update Forum", "id"=>"552011364e6569f299080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} update={"$set"=>{"name"=>"Forum BB", "category_id"=>BSON::ObjectId('55200d514e6569f299010000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Redirected to http://localhost:3000/forums/552011364e6569f299080000 Completed 302 Found in 7ms Started GET "/forums/552011364e6569f299080000" for ::1 at 2015-04-04 12:29:16 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"552011364e6569f299080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('552011364e6569f299080000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520115c4e6569f299090000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 16:29:16 UTC, "created_at"=>2015-04-04 16:29:16 UTC, "current_viewed_at"=>2015-04-04 16:29:16 UTC, "past_viewed_at"=>2015-04-04 16:29:16 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.9970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520115c4e6569f299090000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520115c4e6569f299090000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 16:29:16 UTC, "updated_at"=>2015-04-04 16:29:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('552011364e6569f299080000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 54ms (Views: 31.0ms) Started GET "/forums/552011364e6569f299080000" for ::1 at 2015-04-04 12:29:19 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"552011364e6569f299080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520115c4e6569f299090000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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('5520115c4e6569f299090000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:29:16 UTC, "current_viewed_at"=>2015-04-04 16:29:19 UTC, "updated_at"=>2015-04-04 16:29:19 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('552011364e6569f299080000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 36ms (Views: 22.6ms) Started GET "/forums/" for ::1 at 2015-04-04 12:29:21 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms 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('55200d514e6569f299010000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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('552011364e6569f299080000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.4660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552011364e6569f299080000')}, "$orderby"=>{:_id=>-1}} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (125.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 200 OK in 171ms (Views: 167.3ms) Started GET "/forums/" for ::1 at 2015-04-04 12:29:21 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms 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.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('55200dd34e6569f299040000')}, "$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('55200dd34e6569f299040000')}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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('552011364e6569f299080000')}, "$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('552011364e6569f299080000')}} runtime: 0.4970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}, "$orderby"=>{:_id=>-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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d734e6569f299020000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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('55200ffb4e6569f299050000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (28.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 93ms (Views: 90.4ms) Started GET "/forums/552011364e6569f299080000" for ::1 at 2015-04-04 12:29:23 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"552011364e6569f299080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520115c4e6569f299090000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} 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('5520115c4e6569f299090000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:29:19 UTC, "current_viewed_at"=>2015-04-04 16:29:23 UTC, "updated_at"=>2015-04-04 16:29:23 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('552011364e6569f299080000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Completed 200 OK in 41ms (Views: 27.5ms) Started GET "/forums/" for ::1 at 2015-04-04 12:29:24 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('55200dd34e6569f299040000')}, "$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('55200dd34e6569f299040000')}} runtime: 0.4010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} 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('552011364e6569f299080000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552011364e6569f299080000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552011364e6569f299080000')}, "$orderby"=>{:_id=>-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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}, "$orderby"=>{:_id=>-1}} 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"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200ffb4e6569f299050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 53ms (Views: 51.2ms) Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 12:29:25 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520100e4e6569f299060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520100e4e6569f299060000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:28:53 UTC, "current_viewed_at"=>2015-04-04 16:29:25 UTC, "updated_at"=>2015-04-04 16:29:25 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 41ms (Views: 26.4ms) Started GET "/forums/55200d734e6569f299020000" for ::1 at 2015-04-04 12:29:29 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200d734e6569f299020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55200d734e6569f299020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('55200d734e6569f299030000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 16:28:10 UTC, "current_viewed_at"=>2015-04-04 16:29:29 UTC, "updated_at"=>2015-04-04 16:29:29 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_groups selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('551f19ff4e6569e8f9000000')]}}]} 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('55200d734e6569f299020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 43ms (Views: 26.9ms) Started GET "/forums" for ::1 at 2015-04-04 16:07:27 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.6770ms 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.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}, "$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('552011364e6569f299080000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('552011364e6569f299080000')}} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$orderby"=>{"order"=>1}} 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('55200d734e6569f299020000')}, "$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('55200d734e6569f299020000')}} runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')}} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')}} runtime: 0.5430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (44.2ms) Completed 200 OK in 119ms (Views: 98.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:07:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:07:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:07:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:07:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:07:28 -0400 Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 16:07:30 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 50ms (Views: 29.8ms) Started GET "/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 16:07:36 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.5ms) Completed 200 OK in 29ms (Views: 20.6ms) Started GET "/forums/55200dd34e6569f299040000/new" for ::1 at 2015-04-04 16:07:37 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200dd34e6569f299040000"} Redirected to http://localhost:3000/users/sign_in Filter chain halted as :authenticate_mongoid_forums_user rendered or redirected Completed 302 Found in 54ms Started GET "/users/sign_in" for ::1 at 2015-04-04 16:07:37 -0400 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.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 (41.9ms) Rendered partials/_nav.haml (1.8ms) Completed 200 OK in 75ms (Views: 73.1ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 16:07:42 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"v7zRGP5SWnWoZsnjydgFhpZ1alw8GrtI70GezhVMmHk1HVsGXlKAcj8bfAEbxPSk85Nc9GZga/MYSVzbH4v2Fw==", "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.7190ms Completed 401 Unauthorized in 87ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"v7zRGP5SWnWoZsnjydgFhpZ1alw8GrtI70GezhVMmHk1HVsGXlKAcj8bfAEbxPSk85Nc9GZga/MYSVzbH4v2Fw==", "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 (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.0ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 119ms (Views: 26.4ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 16:07:47 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"PYDP2QJs8eEPfbgihsAUU+EMpA83iIJsZ4MgUGvXvVW3IUXHomwr5pgADcBU3OVxhOqSp23yUteQi+JFYRDTOw==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@a.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms Completed 401 Unauthorized in 88ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"PYDP2QJs8eEPfbgihsAUU+EMpA83iIJsZ4MgUGvXvVW3IUXHomwr5pgADcBU3OVxhOqSp23yUteQi+JFYRDTOw==", "user"=>{"email"=>"admin@a.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 (2.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 (8.0ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 107ms (Views: 26.5ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 16:07:50 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"83QDMrLFOEeDt/Ka2lnrxdnmRL81hMZn9zpXLSAR0XB51YksEsXiQBTKR3gIRRrnvAByF2/+FtwAMpU4Kta/Hg==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@a.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 401 Unauthorized in 76ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"83QDMrLFOEeDt/Ka2lnrxdnmRL81hMZn9zpXLSAR0XB51YksEsXiQBTKR3gIRRrnvAByF2/+FtwAMpU4Kta/Hg==", "user"=>{"email"=>"admin@a.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 (2.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 (7.0ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 101ms (Views: 28.0ms) Started POST "/users/sign_in" for ::1 at 2015-04-04 16:07:53 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Eq+XPJEHLx9KwxtqHZL1qgLMpMQfztNsQ83+37H/BqKYDh0iMQf1GN2+rojPjgSIZyqSbEW0A9e0xTzKuzhozA==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@a.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"current_sign_in_at"=>2015-04-04 20:07:53 UTC, "sign_in_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5530ms Redirected to http://localhost:3000/forums/55200dd34e6569f299040000/new Completed 302 Found in 87ms Started GET "/forums/55200dd34e6569f299040000/new" for ::1 at 2015-04-04 16:07:53 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (55.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 89ms (Views: 74.9ms) Started POST "/forums/55200dd34e6569f299040000/create" for ::1 at 2015-04-04 16:07:59 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1koYowksPaEY1WsGx5twJcsbMniUEIoqXTEFWDHcSNMJHk/KV9lRTVhBoc26u1dynDeQtzWYZXY7IUHz2HWAcA==", "topic"=>{"name"=>"Some topic", "posts"=>{"text"=>"dfsiojsdf"}}, "commit"=>"Create Topic", "forum_id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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('552004d34e6569eff4180000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"Some topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "updated_at"=>2015-04-04 20:07:59 UTC, "created_at"=>2015-04-04 20:07:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.7290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('5520449f4e6569fcb8030000'), "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 20:07:59 UTC, "created_at"=>2015-04-04 20:07:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5520449f4e6569fcb8020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "text"=>"dfsiojsdf", "topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "updated_at"=>2015-04-04 20:07:59 UTC, "created_at"=>2015-04-04 20:07:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4250ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 57ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:07:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 20:07:59 UTC, "created_at"=>2015-04-04 20:07:59 UTC, "current_viewed_at"=>2015-04-04 20:07:59 UTC, "past_viewed_at"=>2015-04-04 20:07:59 UTC}] 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('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.6470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 20:07:59 UTC, "updated_at"=>2015-04-04 20:07:59 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (57.2ms) Completed 500 Internal Server Error in 81ms ActionView::Template::Error (undefined method `toggle_hide_admin_forum_topic_path' for #<#:0x007fd4480caae8>): 1: %h1 Viewing Topic "#{@topic.name}" 2: 3: = link_to t(".hide.#{@topic.hidden}"), toggle_hide_admin_forum_topic_path(@forum, @topic), :method => :put, :class => "btn" 4: 5: - if @topic.can_be_replied_to? && can?(:reply, @topic) 6: = link_to "Reply to topic", new_topic_post_path(@topic) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___536531619733529497_70274859288160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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.7ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:08:03 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:07:59 UTC, "current_viewed_at"=>2015-04-04 20:08:03 UTC, "updated_at"=>2015-04-04 20:08:03 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.8ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `toggle_hide_admin_forum_topic_path' for #<#:0x007fd445b47280>): 1: %h1 Viewing Topic "#{@topic.name}" 2: 3: = link_to t(".hide.#{@topic.hidden}"), toggle_hide_admin_forum_topic_path(@forum, @topic), :method => :put, :class => "btn" 4: 5: - if @topic.can_be_replied_to? && can?(:reply, @topic) 6: = link_to "Reply to topic", new_topic_post_path(@topic) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___536531619733529497_70274859288160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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.2ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:08:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:08:03 UTC, "current_viewed_at"=>2015-04-04 20:08:45 UTC, "updated_at"=>2015-04-04 20:08:45 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('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 64ms (Views: 50.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:08:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:08:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:08:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:08:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:08:45 -0400 Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:08:57 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:08:45 UTC, "current_viewed_at"=>2015-04-04 20:08:57 UTC, "updated_at"=>2015-04-04 20:08:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 52ms (Views: 37.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:08:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:08:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:08:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:08:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:08:57 -0400 Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:09:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:08:57 UTC, "current_viewed_at"=>2015-04-04 20:09:01 UTC, "updated_at"=>2015-04-04 20:09:01 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 61ms (Views: 48.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:09:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:09:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:09:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:09:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:09:01 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:09:02 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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 (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.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.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 (78.6ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:09:56 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.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 (49.7ms) Started GET "/" for ::1 at 2015-04-04 16:10:09 -0400 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.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered partials/_nav.haml (2.9ms) Completed 200 OK in 31ms (Views: 31.0ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:11:52 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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.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.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 (44.3ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:11:53 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.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.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 (54.7ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:11:54 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (7.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.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/routing_error.html.erb within rescues/layout (56.3ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:11:57 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')} 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('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:09:01 UTC, "current_viewed_at"=>2015-04-04 20:11:57 UTC, "updated_at"=>2015-04-04 20:11:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 58ms (Views: 43.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:11:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:11:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:11:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:11:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:11:57 -0400 Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:12:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:11:57 UTC, "current_viewed_at"=>2015-04-04 20:12:01 UTC, "updated_at"=>2015-04-04 20:12:01 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 71ms (Views: 59.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:12:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:12:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:12:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:12:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:12:01 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:12:02 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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 (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 (4.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.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 (57.2ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:13:14 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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 (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 (3.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.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 (65.2ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:16:05 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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 (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.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 (14.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 (75.3ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:16:11 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} 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('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:12:01 UTC, "current_viewed_at"=>2015-04-04 20:16:11 UTC, "updated_at"=>2015-04-04 20:16:11 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (81.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Completed 200 OK in 193ms (Views: 129.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:16:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:16:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:16:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:16:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:16:12 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:16:13 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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 (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.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/routing_error.html.erb within rescues/layout (51.7ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:16:41 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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.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.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.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.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 (52.4ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:00 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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 (3.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 (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 (57.4ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')} 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('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} 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('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:16:11 UTC, "current_viewed_at"=>2015-04-04 20:17:01 UTC, "updated_at"=>2015-04-04 20:17:01 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.8ms) Completed 500 Internal Server Error in 123ms ActionView::Template::Error (undefined method `toggle_hide_path' for #<#:0x007ff545d1a190>): 1: %h1 Viewing Topic "#{@topic.name}" 2: 3: = link_to t(".hide.#{@topic.hidden}"), toggle_hide_path(@forum, @topic), :method => :put, :class => "btn" 4: 5: - if @topic.can_be_replied_to? && can?(:reply, @topic) 6: = link_to "Reply to topic", new_topic_post_path(@topic) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___1797201149347795618_70345707724340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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.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 (16.5ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:07 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} 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_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:17:01 UTC, "current_viewed_at"=>2015-04-04 20:17:07 UTC, "updated_at"=>2015-04-04 20:17:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 55ms (Views: 43.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:17:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:17:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:17:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:17:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:17:07 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:09 -0400 ActionController::RoutingError (No route matches [GET] "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000"): 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.8ms) 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.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 (68.4ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:48 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} 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('552004d34e6569eff4180000')}, "$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('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Completed 404 Not Found in 26ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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.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.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.3ms) Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:50 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:17:07 UTC, "current_viewed_at"=>2015-04-04 20:17:50 UTC, "updated_at"=>2015-04-04 20:17:50 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.9180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 140ms (Views: 101.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:17:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:17:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:17:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:17:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:17:50 -0400 Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:51 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:17:50 UTC, "current_viewed_at"=>2015-04-04 20:17:51 UTC, "updated_at"=>2015-04-04 20:17:51 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 47ms (Views: 36.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:17:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:17:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:17:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:17:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:17:52 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:17:53 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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 (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/diagnostics.html.erb within rescues/layout (20.4ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:18:21 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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.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 (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.1ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:18:22 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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.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.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 GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:18:23 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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 (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 (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/diagnostics.html.erb within rescues/layout (26.8ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:18:24 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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 (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/diagnostics.html.erb within rescues/layout (28.5ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:18:32 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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.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 (16.8ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:18:38 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55200dd34e6569f299040000. 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): 55200dd34e6569f299040000 ... (1 total) and the following ids were not found: 55200dd34e6569f299040000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:44:in `find_topic' 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:169:in `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.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.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 (16.0ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:19:43 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Completed 500 Internal Server Error in 28ms NoMethodError (undefined method `toggle!' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/topics_controller.rb:25:in `toggle_hide' 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:169:in `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.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 (17.9ms) Started GET "/forums/topics/55202f514e6569f801020000/edit" for ::1 at 2015-04-04 16:20:23 -0400 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.7ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:40 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:20:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7880ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 61ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} 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('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:17:51 UTC, "current_viewed_at"=>2015-04-04 20:20:40 UTC, "updated_at"=>2015-04-04 20:20:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 76ms (Views: 52.5ms) Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:41 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:20:41 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4100ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 6ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:41 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:20:40 UTC, "current_viewed_at"=>2015-04-04 20:20:41 UTC, "updated_at"=>2015-04-04 20:20:41 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 81ms (Views: 70.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:20:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:20:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:20:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:20:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:20:41 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:43 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:20:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 7ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:43 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:20:41 UTC, "current_viewed_at"=>2015-04-04 20:20:43 UTC, "updated_at"=>2015-04-04 20:20:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "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('5520449f4e6569fcb8010000')}} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 56ms (Views: 44.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:20:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:20:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:20:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:20:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:20:44 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:44 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:20:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 5ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8040000')} 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('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:20:43 UTC, "current_viewed_at"=>2015-04-04 20:20:45 UTC, "updated_at"=>2015-04-04 20:20:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 60ms (Views: 50.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:45 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:20:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4790ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 6ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:20:45 UTC, "current_viewed_at"=>2015-04-04 20:20:45 UTC, "updated_at"=>2015-04-04 20:20:45 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "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('5520449f4e6569fcb8010000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 76ms (Views: 59.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:20:45 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:48 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:20:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6550ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 6ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:48 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:20:45 UTC, "current_viewed_at"=>2015-04-04 20:20:48 UTC, "updated_at"=>2015-04-04 20:20:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('5520449f4e6569fcb8010000')}, "$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"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Completed 200 OK in 67ms (Views: 44.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:20:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:20:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:20:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:20:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:20:48 -0400 Started GET "/forums/admin/topics/55200dd34e6569f299040000/toggle_hide.5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:48 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:20:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4880ms Redirected to http://localhost:3000/forums/topics/5520449f4e6569fcb8010000 Completed 302 Found in 7ms Started GET "/forums/topics/5520449f4e6569fcb8010000" for ::1 at 2015-04-04 16:20:48 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5520449f4e6569fcb8010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000'), "_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8040000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:20:48 UTC, "current_viewed_at"=>2015-04-04 20:20:48 UTC, "updated_at"=>2015-04-04 20:20:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5520449f4e6569fcb8010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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"=>{"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 68ms (Views: 45.6ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:20:49 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:20:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:20:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:20:49 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:20:49 -0400 Started GET "/" for ::1 at 2015-04-04 16:22:03 -0400 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.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms Rendered partials/_nav.haml (4.8ms) Completed 200 OK in 36ms (Views: 36.0ms) Started GET "/" for ::1 at 2015-04-04 16:22:06 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 20ms (Views: 20.0ms) Started GET "/forums/admin" for ::1 at 2015-04-04 16:22:06 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 50ms (Views: 32.0ms) Started GET "/forums/admin" for ::1 at 2015-04-04 16:22:10 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 41ms (Views: 39.0ms) Started GET "/forums/" for ::1 at 2015-04-04 16:22:10 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (67.7ms) Completed 500 Internal Server Error in 80ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 27: = link_to forum.name, forum 28: %td 29: - unless forum.topics.last.nil? 30: - last_post = forum.topics.select {|topic| !topic.hidden }.last.posts.last 31: = time_ago_in_words ( last_post.created_at ) 32: ago on 33: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:30:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___576316900539643887_70345709742620' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___576316900539643887_70345709742620' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___576316900539643887_70345709742620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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 (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/template_error.html.erb within rescues/layout (26.2ms) Started GET "/forums/admin" for ::1 at 2015-04-04 16:22:35 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 32ms (Views: 29.3ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 16:22:36 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms 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.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 40ms (Views: 37.1ms) Started DELETE "/forums/admin/forums/55200dd34e6569f299040000" for ::1 at 2015-04-04 16:22:39 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"hPA8Wu/1jBn0EXX32evmuW/HtNpkBOEvLSdQFscAnDNbpGszsQDg9bSFvzyky8HuOOsWFcWMDnNLNxS9LqlUkA==", "id"=>"55200dd34e6569f299040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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={"forum_id"=>BSON::ObjectId('55200dd34e6569f299040000')} 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_posts selector={"topic_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('5520449f4e6569fcb8020000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8020000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5520449f4e6569fcb8010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200dd34e6569f299040000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3550ms Redirected to http://localhost:3000/forums/admin/forums Completed 302 Found in 18ms Started GET "/forums/admin/forums" for ::1 at 2015-04-04 16:22:39 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms 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.7720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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('55200d204e6569f299000000')}, "$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"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 36ms (Views: 33.3ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 16:22:40 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms 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.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d204e6569f299000000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55200d514e6569f299010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (18.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Completed 200 OK in 56ms (Views: 52.7ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-04 16:22:42 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 59ms (Views: 56.7ms) Started DELETE "/forums/admin/categories/55200d514e6569f299010000" for ::1 at 2015-04-04 16:22:44 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"tNT3ThH59KPfl/wBl81QAaVlLJ8HdgYghxYmHkECWbJrgKAnTwyYT58DNsrq7XdW8kmOUKb+6XzhBmK1qKuREQ==", "id"=>"55200d514e6569f299010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d514e6569f299010000')} 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={"category_id"=>BSON::ObjectId('55200d514e6569f299010000')} 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('552011364e6569f299080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('552011364e6569f299080000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d514e6569f299010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3560ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 6ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 16:22:44 -0400 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('552004d34e6569eff4180000')}, "$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: 0.4820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "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: 35.4ms) Started DELETE "/forums/admin/categories/55200d204e6569f299000000" for ::1 at 2015-04-04 16:22:46 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"gydg0GW+1UCr3lpleHl0pOIlHIhOA8nBIY0LbVMrXe9ccze5O0u5rOtKkK4FWVPztQm+R++LJp1HnU/GuoKVTA==", "id"=>"55200d204e6569f299000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_forums selector={"category_id"=>BSON::ObjectId('55200d204e6569f299000000')} 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_topics selector={"forum_id"=>BSON::ObjectId('55200d734e6569f299020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200d734e6569f299020000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55200ffb4e6569f299050000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6830ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55200d204e6569f299000000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7420ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 13ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 16:22:46 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Completed 200 OK in 33ms (Views: 30.5ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 16:22:48 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (57.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5530ms Completed 200 OK in 103ms (Views: 100.7ms) Started POST "/forums/admin/categories" for ::1 at 2015-04-04 16:22:51 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fqcQvscNsBuEbzF8wSsMwKkRBNUMs0zhmv/zbLFFsr2h80fXmfjc98T7+7e8CyuX/j2mGq07o73877fHWOx6Hg==", "category"=>{"name"=>"category A"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000'), "order"=>0, "name"=>"category A"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0110ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 6ms Started GET "/forums/admin/categories" for ::1 at 2015-04-04 16:22:51 -0400 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('552004d34e6569eff4180000')}, "$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.4090ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 31ms (Views: 28.6ms) Started GET "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-04 16:22:52 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 11.3110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Completed 200 OK in 48ms (Views: 31.5ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-04 16:22:55 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6060ms Completed 200 OK in 59ms (Views: 56.7ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-04 16:23:01 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6850ms 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.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 200 OK in 26ms (Views: 23.1ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-04 16:23:02 -0400 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('552004d34e6569eff4180000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 200 OK in 49ms (Views: 47.1ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-04 16:23:06 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3wMvZeVKcaoHmziu0BWM4ygyWdCkNo/QDgc+KBpGda0AV3gMu78dRkcP8mWtNau0fx77HwW+YIxoF3qD8++9Dg==", "forum"=>{"name"=>"forum A ", "category"=>"5520481b4e6569fe0d000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "order"=>0, "name"=>"forum A ", "category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6480ms Redirected to http://localhost:3000/forums/admin/forums/5520482a4e6569fe0d010000 Completed 302 Found in 16ms Started GET "/forums/admin/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:23:06 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 42ms (Views: 37.2ms) Started GET "/forums" for ::1 at 2015-04-04 16:23:10 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.2470ms 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.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.6690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (71.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0340ms Completed 200 OK in 120ms (Views: 113.7ms) Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:23:12 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('552048304e6569fe0d020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-04 20:23:12 UTC, "created_at"=>2015-04-04 20:23:12 UTC, "current_viewed_at"=>2015-04-04 20:23:12 UTC, "past_viewed_at"=>2015-04-04 20:23:12 UTC}] 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('552048304e6569fe0d020000')} 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('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 20:23:12 UTC, "updated_at"=>2015-04-04 20:23:12 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Completed 200 OK in 49ms (Views: 32.9ms) Started GET "/forums/5520482a4e6569fe0d010000/new" for ::1 at 2015-04-04 16:23:12 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 71ms (Views: 64.4ms) Started POST "/forums/5520482a4e6569fe0d010000/create" for ::1 at 2015-04-04 16:23:15 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/alRmZh+pvhKjHCKzhUGCRh9ZzljK3hISB1x7cT5fjki/QbwxovKFAoYukGzNSFeT1HF9sKjlxQuDTVGLVC2mg==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552004d34e6569eff4180000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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_topics documents=[{"_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdfsdf", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "updated_at"=>2015-04-04 20:23:15 UTC, "created_at"=>2015-04-04 20:23:15 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('552048334e6569fe0d060000'), "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 20:23:15 UTC, "created_at"=>2015-04-04 20:23:15 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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d050000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "updated_at"=>2015-04-04 20:23:15 UTC, "created_at"=>2015-04-04 20:23:15 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4010ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 30ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:23:15 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('552048334e6569fe0d070000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-04 20:23:15 UTC, "created_at"=>2015-04-04 20:23:15 UTC, "current_viewed_at"=>2015-04-04 20:23:15 UTC, "past_viewed_at"=>2015-04-04 20:23:15 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.1500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"current_viewed_at"=>2015-04-04 20:23:15 UTC, "updated_at"=>2015-04-04 20:23:15 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Completed 200 OK in 68ms (Views: 43.7ms) Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:23:17 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:23:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6830ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 9ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:23:17 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 6.1120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:23:15 UTC, "current_viewed_at"=>2015-04-04 20:23:17 UTC, "updated_at"=>2015-04-04 20:23:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 58ms (Views: 37.0ms) Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:23:18 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:23:18 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7570ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 8ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:23:18 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:23:17 UTC, "current_viewed_at"=>2015-04-04 20:23:18 UTC, "updated_at"=>2015-04-04 20:23:18 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 67ms (Views: 51.3ms) Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:23:18 UTC, "current_viewed_at"=>2015-04-04 20:33:40 UTC, "updated_at"=>2015-04-04 20:33:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 79ms (Views: 64.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:40 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:41 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:40 UTC, "current_viewed_at"=>2015-04-04 20:33:41 UTC, "updated_at"=>2015-04-04 20:33:41 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.8360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 66ms (Views: 50.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:41 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:41 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:42 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:33:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7550ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:41 UTC, "current_viewed_at"=>2015-04-04 20:33:42 UTC, "updated_at"=>2015-04-04 20:33:42 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 52ms (Views: 41.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:42 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:43 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:33:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7130ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:44 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:42 UTC, "current_viewed_at"=>2015-04-04 20:33:44 UTC, "updated_at"=>2015-04-04 20:33:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Completed 200 OK in 66ms (Views: 52.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:44 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:44 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:55 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:44 UTC, "current_viewed_at"=>2015-04-04 20:33:55 UTC, "updated_at"=>2015-04-04 20:33:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (55.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 244ms (Views: 153.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:55 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:57 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:55 UTC, "current_viewed_at"=>2015-04-04 20:33:57 UTC, "updated_at"=>2015-04-04 20:33:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Completed 200 OK in 76ms (Views: 60.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:57 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:58 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:33:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:33:58 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:57 UTC, "current_viewed_at"=>2015-04-04 20:33:58 UTC, "updated_at"=>2015-04-04 20:33:58 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 200 OK in 52ms (Views: 41.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:33:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:33:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:33:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:33:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:33:58 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:26 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:33:58 UTC, "current_viewed_at"=>2015-04-04 20:34:27 UTC, "updated_at"=>2015-04-04 20:34:27 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.5ms) Completed 500 Internal Server Error in 86ms ActionView::Template::Error (can not load translations from /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/test/dummy/config/locales/mongoid_forums.en.yml: #): 1: %h1 Viewing Topic "#{@topic.name}" 2: 3: = link_to t(".hide.#{@topic.hidden}"), toggle_hide_admin_topic_path(@forum, @topic), :class => "btn" 4: 5: - if @topic.can_be_replied_to? && can?(:reply, @topic) 6: = link_to "Reply to topic", new_topic_post_path(@topic) i18n (0.7.0) lib/i18n/backend/base.rb:184:in `rescue in load_yml' i18n (0.7.0) lib/i18n/backend/base.rb:181:in `load_yml' i18n (0.7.0) lib/i18n/backend/base.rb:165:in `load_file' i18n (0.7.0) lib/i18n/backend/base.rb:15:in `block in load_translations' i18n (0.7.0) lib/i18n/backend/base.rb:15:in `each' i18n (0.7.0) lib/i18n/backend/base.rb:15:in `load_translations' i18n (0.7.0) lib/i18n/backend/simple.rb:57:in `init_translations' i18n (0.7.0) lib/i18n/backend/simple.rb:40:in `available_locales' i18n (0.7.0) lib/i18n/config.rb:43:in `available_locales' i18n (0.7.0) lib/i18n/config.rb:49:in `available_locales_set' i18n (0.7.0) lib/i18n.rb:278:in `locale_available?' i18n (0.7.0) lib/i18n.rb:284:in `enforce_available_locales!' i18n (0.7.0) lib/i18n.rb:151:in `translate' actionview (4.2.0) lib/action_view/helpers/translation_helper.rb:62:in `translate' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_topics_show_haml___244153708345113886_70358322625440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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: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.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 (26.3ms) Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:46 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:27 UTC, "current_viewed_at"=>2015-04-04 20:34:46 UTC, "updated_at"=>2015-04-04 20:34:46 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (42.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 228ms (Views: 130.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:34:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:34:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:34:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:34:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:34:47 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:46 UTC, "current_viewed_at"=>2015-04-04 20:34:47 UTC, "updated_at"=>2015-04-04 20:34:47 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Completed 200 OK in 62ms (Views: 48.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:48 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:34:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:48 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:47 UTC, "current_viewed_at"=>2015-04-04 20:34:48 UTC, "updated_at"=>2015-04-04 20:34:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Completed 200 OK in 53ms (Views: 39.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:34:48 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:50 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:34:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5350ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 7ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:50 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:48 UTC, "current_viewed_at"=>2015-04-04 20:34:50 UTC, "updated_at"=>2015-04-04 20:34:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 2.8130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 49ms (Views: 39.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:34:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:34:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:34:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:34:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:34:50 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:51 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:34:51 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3060ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 8ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:51 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:50 UTC, "current_viewed_at"=>2015-04-04 20:34:51 UTC, "updated_at"=>2015-04-04 20:34:51 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8260ms Completed 200 OK in 55ms (Views: 42.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:34:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:34:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:34:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:34:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:34:51 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:52 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:34:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5400ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:34:53 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:51 UTC, "current_viewed_at"=>2015-04-04 20:34:53 UTC, "updated_at"=>2015-04-04 20:34:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.8480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "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('552048334e6569fe0d040000')}} runtime: 0.8790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 70ms (Views: 48.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:34:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:34:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:34:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:34:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:34:53 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:36:48 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:34:53 UTC, "current_viewed_at"=>2015-04-04 20:36:48 UTC, "updated_at"=>2015-04-04 20:36:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Completed 200 OK in 110ms (Views: 47.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:36:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:36:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:36:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:36:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:36:48 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:36:52 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:36:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:36:52 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:36:48 UTC, "current_viewed_at"=>2015-04-04 20:36:52 UTC, "updated_at"=>2015-04-04 20:36:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 57ms (Views: 43.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:36:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:36:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:36:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:36:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:36:52 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:36:57 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:36:52 UTC, "current_viewed_at"=>2015-04-04 20:36:57 UTC, "updated_at"=>2015-04-04 20:36:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 54ms (Views: 40.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:36:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:36:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:36:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:36:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:36:57 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:36:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:36:57 UTC, "current_viewed_at"=>2015-04-04 20:36:59 UTC, "updated_at"=>2015-04-04 20:36:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8650ms Completed 200 OK in 51ms (Views: 39.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:36:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:36:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:36:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:36:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:36:59 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:18 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:36:59 UTC, "current_viewed_at"=>2015-04-04 20:37:18 UTC, "updated_at"=>2015-04-04 20:37:18 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "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: 49.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:37:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:37:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:37:19 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:37:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:37:19 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:20 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:37:18 UTC, "current_viewed_at"=>2015-04-04 20:37:20 UTC, "updated_at"=>2015-04-04 20:37:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 200 OK in 59ms (Views: 46.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:37:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:37:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:37:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:37:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:37:20 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:52 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:37:20 UTC, "current_viewed_at"=>2015-04-04 20:37:52 UTC, "updated_at"=>2015-04-04 20:37:52 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "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: 41.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:37:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:37:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:37:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:37:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:37:52 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:54 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:37:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6360ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:37:52 UTC, "current_viewed_at"=>2015-04-04 20:37:54 UTC, "updated_at"=>2015-04-04 20:37:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.7250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 56ms (Views: 43.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:37:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:37:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:37:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:37:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:37:54 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:55 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:37:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:37:55 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:37:54 UTC, "current_viewed_at"=>2015-04-04 20:37:55 UTC, "updated_at"=>2015-04-04 20:37:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.7190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 62ms (Views: 50.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:37:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:37:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:37:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:37:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:37:55 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:27 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:37:55 UTC, "current_viewed_at"=>2015-04-04 20:38:27 UTC, "updated_at"=>2015-04-04 20:38:27 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 66ms (Views: 52.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:38:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:38:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:38:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:38:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:38:27 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:28 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:38:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6470ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:28 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:38:27 UTC, "current_viewed_at"=>2015-04-04 20:38:28 UTC, "updated_at"=>2015-04-04 20:38:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 66ms (Views: 50.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:38:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:38:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:38:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:38:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:38:28 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:30 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:38:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5950ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.2870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:38:28 UTC, "current_viewed_at"=>2015-04-04 20:38:30 UTC, "updated_at"=>2015-04-04 20:38:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 64ms (Views: 41.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:38:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:38:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:38:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:38:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:38:30 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:32 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:38:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5040ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:32 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:38:30 UTC, "current_viewed_at"=>2015-04-04 20:38:32 UTC, "updated_at"=>2015-04-04 20:38:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.8240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 55ms (Views: 44.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:38:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:38:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:38:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:38:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:38:32 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:33 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:38:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5080ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:38:33 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:38:32 UTC, "current_viewed_at"=>2015-04-04 20:38:33 UTC, "updated_at"=>2015-04-04 20:38:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Completed 200 OK in 77ms (Views: 58.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:38:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:38:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:38:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:38:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:38:33 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:06 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:38:33 UTC, "current_viewed_at"=>2015-04-04 20:39:06 UTC, "updated_at"=>2015-04-04 20:39:06 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.7180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 122ms (Views: 67.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:06 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:15 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:39:15 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6710ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 7ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:15 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:06 UTC, "current_viewed_at"=>2015-04-04 20:39:15 UTC, "updated_at"=>2015-04-04 20:39:15 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "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('552048334e6569fe0d040000')}} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 58ms (Views: 41.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:15 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_lock.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:16 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_lock as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"locked"=>true, "updated_at"=>2015-04-04 20:39:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5610ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 7ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:16 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:15 UTC, "current_viewed_at"=>2015-04-04 20:39:16 UTC, "updated_at"=>2015-04-04 20:39:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.7740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Completed 200 OK in 65ms (Views: 49.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:16 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_pin.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:17 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_pin as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"pinned"=>true, "updated_at"=>2015-04-04 20:39:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5230ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:17 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:16 UTC, "current_viewed_at"=>2015-04-04 20:39:17 UTC, "updated_at"=>2015-04-04 20:39:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Completed 200 OK in 46ms (Views: 36.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:18 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:18 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:20 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:39:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6280ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 21ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:20 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:17 UTC, "current_viewed_at"=>2015-04-04 20:39:20 UTC, "updated_at"=>2015-04-04 20:39:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 1.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "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: 35.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:20 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:25 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:20 UTC, "current_viewed_at"=>2015-04-04 20:39:25 UTC, "updated_at"=>2015-04-04 20:39:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 43ms (Views: 32.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:25 -0400 Started GET "/forums/topics/55202f514e6569f801020000" for ::1 at 2015-04-04 16:39:26 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"55202f514e6569f801020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('55202f514e6569f801020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms Completed 404 Not Found in 3ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 55202f514e6569f801020000. 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): 55202f514e6569f801020000 ... (1 total) and the following ids were not found: 55202f514e6569f801020000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:57:in `find_forum' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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 (28.4ms) Started GET "/forums/topics/" for ::1 at 2015-04-04 16:39:27 -0400 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('552004d34e6569eff4180000')}, "$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"=>"topics"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 404 Not Found in 69ms 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' cancancan (1.10.1) lib/cancan/model_adapters/abstract_adapter.rb:20:in `find' cancancan (1.10.1) lib/cancan/controller_resource.rb:116:in `find_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:68:in `load_resource_instance' cancancan (1.10.1) lib/cancan/controller_resource.rb:32:in `load_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in `block in add_before_filter' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `instance_exec' activesupport (4.2.0) lib/active_support/callbacks.rb:443:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145: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: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.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/diagnostics.html.erb within rescues/layout (25.1ms) Started GET "/forums/" for ::1 at 2015-04-04 16:39:32 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2210ms 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.1220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 1.4820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1610ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (106.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Completed 200 OK in 221ms (Views: 217.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:33 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:33 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:39:37 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:23:12 UTC, "current_viewed_at"=>2015-04-04 20:39:37 UTC, "updated_at"=>2015-04-04 20:39:37 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552048334e6569fe0d040000')}} runtime: 0.5500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 65ms (Views: 48.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:38 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:47 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>true, "updated_at"=>2015-04-04 20:39:47 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 5ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:25 UTC, "current_viewed_at"=>2015-04-04 20:39:47 UTC, "updated_at"=>2015-04-04 20:39:47 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 57ms (Views: 46.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:47 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:47 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:39:50 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:47 UTC, "current_viewed_at"=>2015-04-04 20:39:50 UTC, "updated_at"=>2015-04-04 20:39:50 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Completed 200 OK in 58ms (Views: 44.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:50 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:50 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:39:51 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:37 UTC, "current_viewed_at"=>2015-04-04 20:39:51 UTC, "updated_at"=>2015-04-04 20:39:51 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 69ms (Views: 52.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:39:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:39:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:39:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:39:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:39:51 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:40:36 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms 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.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.4ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 27: = link_to forum.name, forum 28: %td 29: - unless forum.topics.last.nil? 30: - last_post = forum.topics.select {|topic| !topic.hidden }.last.posts.last 31: = time_ago_in_words ( last_post.created_at ) 32: ago on 33: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:30:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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.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.0ms) Started GET "/forums/" for ::1 at 2015-04-04 16:40:43 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms 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.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.1ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 27: = link_to forum.name, forum 28: %td 29: - unless forum.topics.last.nil? 30: - last_post = forum.topics.select {|topic| !topic.hidden }.last.posts.last 31: = time_ago_in_words ( last_post.created_at ) 32: ago on 33: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:30:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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.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 (28.2ms) Started GET "/forums/" for ::1 at 2015-04-04 16:40:46 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms 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={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.5ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 27: = link_to forum.name, forum 28: %td 29: - unless forum.topics.last.nil? 30: - last_post = forum.topics.select {|topic| !topic.hidden }.last.posts.last 31: = time_ago_in_words ( last_post.created_at ) 32: ago on 33: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:30:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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 (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/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:41:00 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:51 UTC, "current_viewed_at"=>2015-04-04 20:41:00 UTC, "updated_at"=>2015-04-04 20:41:00 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 2.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 57ms (Views: 40.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:41:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:41:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:41:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:41:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:41:00 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:41:01 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} 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('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:41:00 UTC, "current_viewed_at"=>2015-04-04 20:41:01 UTC, "updated_at"=>2015-04-04 20:41:01 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552048334e6569fe0d040000')}} runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 200 OK in 51ms (Views: 34.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:41:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:41:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:41:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:41:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:41:01 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:41:04 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6100ms 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.9870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (58.9ms) Completed 500 Internal Server Error in 68ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 27: = link_to forum.name, forum 28: %td 29: - unless forum.topics.last.nil? 30: - last_post = forum.topics.select {|topic| !topic.hidden }.last.posts.last 31: = time_ago_in_words ( last_post.created_at ) 32: ago on 33: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:30:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281975247740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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 (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/template_error.html.erb within rescues/layout (23.0ms) Started GET "/forums/" for ::1 at 2015-04-04 16:42:44 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.9ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined local variable or method `last_post' for #<#:0x007fd7982fd010>): 29: - unless forum.topics.last.nil? 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last 31: - last_topic.posts.last 32: = time_ago_in_words ( last_post.created_at ) 33: ago on 34: = link_to last_post.topic.name, last_post.topic 35: by /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:32:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281973955040' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281973955040' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281973955040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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 (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 (25.5ms) Started GET "/forums/" for ::1 at 2015-04-04 16:42:56 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms 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.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>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"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-1}} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7550ms Completed 200 OK in 77ms (Views: 74.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:42:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:42:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:42:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:42:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:42:56 -0400 Started GET "/" for ::1 at 2015-04-04 16:44:45 -0400 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.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.7930ms Rendered partials/_nav.haml (8.0ms) Completed 200 OK in 61ms (Views: 60.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:44:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:44:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:44:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:44:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:44:45 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:44:53 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms 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.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>-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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.6ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 28: %td 29: - unless forum.topics.last.nil? 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last 31: - last_post = last_topic.posts.last 32: = time_ago_in_words ( last_post.created_at ) 33: ago on 34: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:31:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281973808900' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281973808900' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2267533690642434509_70281973808900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb: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:151: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: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.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 (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 (29.9ms) Started GET "/forums/" for ::1 at 2015-04-04 16:45:49 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 42ms (Views: 38.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:45:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:45:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:45:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:45:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:45:50 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:45:52 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:41:01 UTC, "current_viewed_at"=>2015-04-04 20:45:52 UTC, "updated_at"=>2015-04-04 20:45:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552048334e6569fe0d040000')}} runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 70ms (Views: 53.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:45:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:45:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:45:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:45:52 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:45:52 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:45:57 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:45:52 UTC, "current_viewed_at"=>2015-04-04 20:45:57 UTC, "updated_at"=>2015-04-04 20:45:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552048334e6569fe0d040000')}} runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Completed 200 OK in 47ms (Views: 32.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:45:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:45:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:45:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:45:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:45:57 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:45:58 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:45:57 UTC, "current_viewed_at"=>2015-04-04 20:45:58 UTC, "updated_at"=>2015-04-04 20:45:58 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms Completed 200 OK in 59ms (Views: 43.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:45:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:45:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:45:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:45:58 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:45:58 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:45:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} 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('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:39:50 UTC, "current_viewed_at"=>2015-04-04 20:45:59 UTC, "updated_at"=>2015-04-04 20:45:59 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.6800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_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('552004d34e6569eff4180000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 94ms (Views: 80.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:45:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:45:59 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:45:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:45:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:45:59 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:50:38 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('552004d34e6569eff4180000')}, "$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.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (51.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 200 OK in 99ms (Views: 81.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:50:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:50:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:50:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:50:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:50:39 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:50:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-04-04 16:50:40 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms 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.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>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_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000')}} runtime: 0.4720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Completed 200 OK in 39ms (Views: 36.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:50:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:50:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:50:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:50:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:50:40 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:50:47 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.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.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000')}} runtime: 0.4630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Completed 200 OK in 39ms (Views: 36.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:50:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:50:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:50:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:50:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:50:48 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:50:49 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:45:58 UTC, "current_viewed_at"=>2015-04-04 20:50:49 UTC, "updated_at"=>2015-04-04 20:50:49 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (51.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 90ms (Views: 75.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:50:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:50:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:50:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:50:49 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:50:49 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:55:34 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} 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('552004d34e6569eff4180000')}, "$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('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} 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('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:50:49 UTC, "current_viewed_at"=>2015-04-04 20:55:34 UTC, "updated_at"=>2015-04-04 20:55:34 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Completed 200 OK in 118ms (Views: 60.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:55:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:55:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:55:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:55:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:55:34 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:56:07 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:55:34 UTC, "current_viewed_at"=>2015-04-04 20:56:07 UTC, "updated_at"=>2015-04-04 20:56:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 108ms (Views: 38.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:07 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:56:09 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:07 UTC, "current_viewed_at"=>2015-04-04 20:56:09 UTC, "updated_at"=>2015-04-04 20:56:09 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Completed 200 OK in 54ms (Views: 36.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:09 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:09 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:56:14 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms 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.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 38ms (Views: 35.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:14 -0400 Started GET "/forums/" for ::1 at 2015-04-04 16:56:24 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms 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.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 50ms (Views: 47.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:24 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:24 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:56:25 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:09 UTC, "current_viewed_at"=>2015-04-04 20:56:25 UTC, "updated_at"=>2015-04-04 20:56:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Completed 200 OK in 83ms (Views: 67.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:25 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:56:26 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:45:59 UTC, "current_viewed_at"=>2015-04-04 20:56:26 UTC, "updated_at"=>2015-04-04 20:56:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.8760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Completed 200 OK in 72ms (Views: 59.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:27 -0400 Started GET "/forums/admin/topics/5520482a4e6569fe0d010000/toggle_hide.552048334e6569fe0d040000" for ::1 at 2015-04-04 16:56:30 -0400 Processing by MongoidForums::Admin::TopicsController#toggle_hide as Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"hidden"=>false, "updated_at"=>2015-04-04 20:56:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 6ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:56:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:26 UTC, "current_viewed_at"=>2015-04-04 20:56:30 UTC, "updated_at"=>2015-04-04 20:56:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.7420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8170ms Completed 200 OK in 60ms (Views: 45.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:30 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:30 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:56:32 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:30 UTC, "current_viewed_at"=>2015-04-04 20:56:32 UTC, "updated_at"=>2015-04-04 20:56:32 UTC}} 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_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.7030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Completed 200 OK in 56ms (Views: 40.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:32 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-04 16:56:34 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048334e6569fe0d070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('552048334e6569fe0d070000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:32 UTC, "current_viewed_at"=>2015-04-04 20:56:34 UTC, "updated_at"=>2015-04-04 20:56:34 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"read"=>true}} flags=[:multi] 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('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "unsubscribed"=>false}} runtime: 0.7830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8370ms Completed 200 OK in 60ms (Views: 44.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:34 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-04 16:56:34 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:25 UTC, "current_viewed_at"=>2015-04-04 20:56:34 UTC, "updated_at"=>2015-04-04 20:56:34 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 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('552048334e6569fe0d040000')}} runtime: 0.8190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 79ms (Views: 58.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 16:56:35 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 16:56:35 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 16:56:35 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 16:56:35 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 16:56:35 -0400 Started GET "/" for ::1 at 2015-04-04 22:48:39 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.6ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.8090ms Rendered partials/_nav.haml (9.5ms) Completed 200 OK in 93ms (Views: 92.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-04 22:48:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-04 22:48:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-04 22:48:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-04 22:48:39 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-04 22:48:39 -0400 Started GET "/" for ::1 at 2015-04-04 22:48:43 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered partials/_nav.haml (1.7ms) Completed 200 OK in 26ms (Views: 25.4ms) Started GET "/admin/groups" for ::1 at 2015-04-04 22:48:44 -0400 ActionController::RoutingError (No route matches [GET] "/admin/groups"): actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (12.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (10.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (263.0ms) Started GET "/admin" for ::1 at 2015-04-04 22:48:44 -0400 ActionController::RoutingError (No route matches [GET] "/admin"): actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (44.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (98.6ms) Started GET "/admin" for ::1 at 2015-04-04 22:48:47 -0400 ActionController::RoutingError (No route matches [GET] "/admin"): actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (48.6ms) Started GET "/forums/admin" for ::1 at 2015-04-04 22:48:48 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6610ms Completed 200 OK in 38ms (Views: 23.7ms) Started GET "/forums/admin/users" for ::1 at 2015-04-04 22:48:50 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML 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('552004d34e6569eff4180000')}, "$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={"mongoid_admin"=>true} 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={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (23.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 53ms (Views: 49.2ms) Started GET "/forums" for ::1 at 2015-04-05 11:59:22 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6640ms 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.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5090ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (77.0ms) Completed 200 OK in 144ms (Views: 123.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 11:59:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 11:59:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 11:59:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 11:59:23 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 11:59:23 -0400 Started GET "/forums/" for ::1 at 2015-04-05 11:59:29 -0400 Processing by MongoidForums::ForumsController#index as HTML 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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>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_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.3ms) Completed 200 OK in 32ms (Views: 31.0ms) Started GET "/forums/" for ::1 at 2015-04-05 11:59:29 -0400 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: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.4ms) Completed 200 OK in 30ms (Views: 29.1ms) Started GET "/forums/admin" for ::1 at 2015-04-05 11:59:30 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 1ms Started GET "/forums/" for ::1 at 2015-04-05 11:59:30 -0400 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: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.2850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.5ms) Completed 200 OK in 27ms (Views: 26.2ms) Started GET "/forums" for ::1 at 2015-04-05 11:59:49 -0400 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: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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('5520482a4e6569fe0d010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('5520482a4e6569fe0d010000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 26ms (Views: 25.3ms) Started GET "/" for ::1 at 2015-04-05 11:59:50 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.7ms) Rendered partials/_nav.haml (3.9ms) Completed 200 OK in 79ms (Views: 78.9ms) Started GET "/users/sign_in" for ::1 at 2015-04-05 11:59:51 -0400 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.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 (21.4ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 52ms (Views: 48.9ms) Started POST "/users/sign_in" for ::1 at 2015-04-05 11:59:56 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pT2xaGHVt+mrYnnLXJynMcqCuPn3Gji00kyiifHXAzb4HRAvT62SEjdsEJf+XLnm0g+TYiQ7wUzmgPIshMZgFA==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@a.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms Completed 401 Unauthorized in 89ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pT2xaGHVt+mrYnnLXJynMcqCuPn3Gji00kyiifHXAzb4HRAvT62SEjdsEJf+XLnm0g+TYiQ7wUzmgPIshMZgFA==", "user"=>{"email"=>"admin@a.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 (0.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 (5.1ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 106ms (Views: 26.2ms) Started POST "/users/sign_in" for ::1 at 2015-04-05 11:59:59 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6JLM3ztes7ljtmVtcu7shw4IfspkCDS1me+dpgR+rKW1sm2YFSaWQv+4DDHQLvJQFoVVUbcpzU2tI80DcW/Phw==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@a.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms Completed 401 Unauthorized in 87ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6JLM3ztes7ljtmVtcu7shw4IfspkCDS1me+dpgR+rKW1sm2YFSaWQv+4DDHQLvJQFoVVUbcpzU2tI80DcW/Phw==", "user"=>{"email"=>"admin@a.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 (0.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 (3.1ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 111ms (Views: 30.1ms) Started POST "/users/sign_in" for ::1 at 2015-04-05 12:00:03 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fuogT4PhNv6BE03mB7ip6VUNms5kRgxS7HNz4Q2kaBUjyoEIrZkTBR0dJLqleLc+TYCxVbdn9arYvyNEeLULNw==", "user"=>{"email"=>"admin@a.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"admin@a.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"last_sign_in_at"=>2015-04-04 20:07:53 UTC, "current_sign_in_at"=>2015-04-05 16:00:03 UTC, "sign_in_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5870ms Redirected to http://localhost:3000/ Completed 302 Found in 108ms Started GET "/" for ::1 at 2015-04-05 12:00:03 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 30ms (Views: 30.0ms) Started GET "/" for ::1 at 2015-04-05 12:00:06 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 22ms (Views: 21.5ms) Started GET "/" for ::1 at 2015-04-05 12:00:06 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 19ms (Views: 19.1ms) Started GET "/forums" for ::1 at 2015-04-05 12:00:07 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms 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.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('5520482a4e6569fe0d010000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 66ms (Views: 58.2ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:00:08 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `__sort_option__' for :order: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.8ms) Started GET "/forums/admin" for ::1 at 2015-04-05 12:00:08 -0400 Processing by MongoidForums::Admin::BaseController#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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 33ms (Views: 30.5ms) Started GET "/forums/admin/users" for ::1 at 2015-04-05 12:00:12 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 49ms (Views: 45.4ms) Started POST "/forums/admin/users/dummy/add" for ::1 at 2015-04-05 12:00:14 -0400 Processing by MongoidForums::Admin::UsersController#add_admin as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5gd/Savez8J2ZWTOtyElNGAiS3R612yPad6/DpdnPqZJ0V0AEA78rBXbL1qsff6pr9cDRVrx0KmyIwWOWrS/PA==", "user"=>{"id"=>"54c407ca4e65694706000000"}, "user_id"=>"dummy"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"mongoid_admin"=>true}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5210ms Redirected to http://localhost:3000/forums/admin/users Completed 302 Found in 6ms Started GET "/forums/admin/users" for ::1 at 2015-04-05 12:00:14 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 32ms (Views: 29.6ms) Started GET "/forums/admin/users" for ::1 at 2015-04-05 12:00:16 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 26ms (Views: 24.3ms) Started GET "/forums/admin" for ::1 at 2015-04-05 12:00:17 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 26ms (Views: 23.8ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:00:18 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 500 Internal Server Error in 2ms NoMethodError (undefined method `__sort_option__' for :order: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.1ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:02:10 -0400 Processing by MongoidForums::Admin::CategoriesController#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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 500 Internal Server Error in 29ms NoMethodError (undefined method `__sort_option__' for :order: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.6ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:03:15 -0400 Processing by MongoidForums::Admin::CategoriesController#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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Completed 500 Internal Server Error in 30ms NoMethodError (undefined method `__sort_option__' for :order: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.5ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:04:29 -0400 Processing by MongoidForums::Admin::CategoriesController#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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Completed 500 Internal Server Error in 26ms NoMethodError (undefined method `__sort_option__' for :order: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.8ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:04:31 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Completed 500 Internal Server Error in 2ms NoMethodError (undefined method `__sort_option__' for :order: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.5ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:04:50 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 500 Internal Server Error in 22ms NoMethodError (undefined method `by_order' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.3ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:05:18 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms Completed 500 Internal Server Error in 25ms NoMethodError (undefined method `__sort_option__' for :position: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_by' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' mongoid (4.0.0) lib/mongoid/criteria.rb:518:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/criteria.rb:517:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.7ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:05:23 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `__sort_option__' for :position: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_by' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.3ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:05:27 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `__sort_option__' for :position: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_by' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.4ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:05:36 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `__sort_option__' for :position: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_by' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.9ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:05:44 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 500 Internal Server Error in 46ms NoMethodError (undefined method `__sort_option__' for :position: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/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `block in ' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `[]' mongoid (4.0.0) lib/mongoid/scopable.rb:328:in `block (2 levels) in define_scope_method' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:9:in `index' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.5ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:07:38 -0400 Processing by MongoidForums::Admin::CategoriesController#index 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('552004d34e6569eff4180000')}, "$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"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (6.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 87ms (Views: 61.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:07:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:07:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:07:38 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:07:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:07:38 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-05 12:07:40 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (56.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 89ms (Views: 86.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:07:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:07:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:07:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:07:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:07:40 -0400 Started POST "/forums/admin/categories" for ::1 at 2015-04-05 12:07:42 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YRhW4fvZeCr7zUd9F+lOxnm0LsiJ8PfPIJH454yWjDnOznSoQAlLRJhzDOkMtZVbtkFm+anWS+n7bEJnQUUNow==", "category"=>{"name"=>"sdf"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55215dce4e656917a2000000'), "position"=>0, "name"=>"sdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.2990ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 23ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:07:42 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 33ms (Views: 31.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:07:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:07:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:07:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:07:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:07:42 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:07:43 -0400 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('552004d34e6569eff4180000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6480ms Completed 200 OK in 45ms (Views: 42.2ms) Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:07:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:07:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:07:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:07:43 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:07:43 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:00 -0400 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('552004d34e6569eff4180000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Completed 200 OK in 54ms (Views: 30.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:00 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:08:02 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (6.5ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `order' for #): 1: = simple_form_for [:admin, @category] do |f| 2: = f.input :name 3: = f.input :order 4: = f.submit "Update Category", :class => "btn", :disable_with => "Updating..." actionview (4.2.1) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.1) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.1) lib/action_view/helpers/tags/base.rb:38:in `value_before_type_cast' actionview (4.2.1) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.1) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.1) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1322:in `text_field' simple_form (3.1.0) lib/simple_form/inputs/string_input.rb:14:in `input' simple_form (3.1.0) lib/simple_form/components/label_input.rb:28:in `call' simple_form (3.1.0) lib/simple_form/components/label_input.rb:28:in `deprecated_component' simple_form (3.1.0) lib/simple_form/components/label_input.rb:14:in `label_input' simple_form (3.1.0) lib/simple_form/wrappers/leaf.rb:19:in `call' simple_form (3.1.0) lib/simple_form/wrappers/leaf.rb:19:in `render' simple_form (3.1.0) lib/simple_form/wrappers/many.rb:28:in `block in render' simple_form (3.1.0) lib/simple_form/wrappers/many.rb:26:in `each' simple_form (3.1.0) lib/simple_form/wrappers/many.rb:26:in `render' simple_form (3.1.0) lib/simple_form/wrappers/root.rb:15:in `render' simple_form (3.1.0) lib/simple_form/form_builder.rb:115:in `input' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml:3:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_edit_haml___1182340721554260398_70299627377500' 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.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) 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.1) 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.1) 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.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml:1:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_admin_categories_edit_haml___1182340721554260398_70299627377500' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.6ms) Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:08:10 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 33ms (Views: 30.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:10 -0400 Started PATCH "/forums/admin/categories/55215dce4e656917a2000000" for ::1 at 2015-04-05 12:08:14 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"76oxVS/ahFZ0TGlQGBCffWRSmfxtxfNkH3ZiSS3IrzBAfBMclAq3OBfyIsQDTETgq6fRzU3jT0LEi9jJ4Bsuqg==", "category"=>{"name"=>"sdf", "position"=>"23"}, "commit"=>"Update Category", "id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Unpermitted parameter: position Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 9ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:14 -0400 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('552004d34e6569eff4180000')}, "$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.4680ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 36ms (Views: 33.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:14 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:15 -0400 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('552004d34e6569eff4180000')}, "$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={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 55ms (Views: 52.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:15 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:08:16 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Completed 200 OK in 34ms (Views: 31.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:16 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:16 -0400 Started PATCH "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-05 12:08:19 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AZJgDp+lApmb79WCaRMgljtfFr1QgCH4qJDjqBeqotiuREJHJHUx9/hRnhZyT/sL9KpejHCmnd5zbVko2nkjQg==", "category"=>{"name"=>"category A", "position"=>"124234"}, "commit"=>"Update Category", "id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} update={"$set"=>{"position"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6180ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 5ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:19 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Completed 200 OK in 32ms (Views: 29.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:20 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:20 -0400 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('552004d34e6569eff4180000')}, "$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.6200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9150ms Completed 200 OK in 44ms (Views: 41.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:21 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:08:22 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (4.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 33ms (Views: 30.5ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:22 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:22 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:22 -0400 Started PATCH "/forums/admin/categories/55215dce4e656917a2000000" for ::1 at 2015-04-05 12:08:25 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QxLXu8XxX3+WMWF8YS/CvC2fgbJfBe94gH4YMDBJdhjsxPXyfiFsEfWPKuh6cxkh4mrJg38jU15bg6Kw/Zr3gg==", "category"=>{"name"=>"sdf", "position"=>"999999"}, "commit"=>"Update Category", "id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Unpermitted parameter: position Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 5ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:26 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (4.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6830ms Completed 200 OK in 40ms (Views: 37.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:26 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:08:27 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 38ms (Views: 35.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:08:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:08:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:08:27 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:08:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:08:27 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:10:06 -0400 Processing by MongoidForums::Admin::CategoriesController#index 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('552004d34e6569eff4180000')}, "$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"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 72ms (Views: 48.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:06 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:10:07 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 33ms (Views: 30.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:07 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:07 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:10:08 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 31ms (Views: 27.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:08 -0400 Started PATCH "/forums/admin/categories/55215dce4e656917a2000000" for ::1 at 2015-04-05 12:10:09 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZoAsV1Dxv2omrII7HLXSZo6tX5o3dykj9U9Tf3GWUmjJVg4e6yGMBEUSya8H6Qn7QVgXqxdRlQUusun/vEXT8g==", "category"=>{"name"=>"sdf", "position"=>"0"}, "commit"=>"Update Category", "id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Unpermitted parameter: position Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 11ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:10:09 -0400 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('552004d34e6569eff4180000')}, "$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={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Completed 200 OK in 33ms (Views: 30.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:10 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:10 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:10:11 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (6.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 35ms (Views: 31.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:11 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:11 -0400 Started PATCH "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-05 12:10:14 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f4OPrtbTupQz4a1FJ1KoQrlsA+J3+7WZ2VWuO7OVGsjQVa3nbQOJ+lBf5tE8DnPfdplL01fdCb8CqBS7fkabUg==", "category"=>{"name"=>"category A", "position"=>"0324"}, "commit"=>"Update Category", "id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Unpermitted parameter: position Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 5ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:10:14 -0400 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('552004d34e6569eff4180000')}, "$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={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Completed 200 OK in 29ms (Views: 27.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:14 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:14 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:10:15 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Completed 200 OK in 31ms (Views: 28.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:15 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:15 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:10:17 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Completed 200 OK in 38ms (Views: 34.0ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:10:42 -0400 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('552004d34e6569eff4180000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 49ms (Views: 26.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:10:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:10:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:10:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:10:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:10:43 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:11:25 -0400 Processing by MongoidForums::Admin::CategoriesController#index as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 88ms (Views: 59.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:25 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:11:26 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 32ms (Views: 28.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:26 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:26 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:11:28 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Completed 200 OK in 34ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:28 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:28 -0400 Started PATCH "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-05 12:11:31 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6y8pXouE2eUQKpVtx4oqT2SAo5Cn5Z2vIlnHqYBssIRE+QsXMFTqi3OU3vnc1vHSq3XroYfDIYn5pH0pTb8xHg==", "category"=>{"name"=>"category A", "position"=>"10"}, "commit"=>"Update Category", "id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Unpermitted parameter: position Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 11ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:11:31 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 200 OK in 36ms (Views: 34.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:31 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:31 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:11:32 -0400 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('552004d34e6569eff4180000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7320ms Completed 200 OK in 36ms (Views: 33.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:32 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:32 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:11:34 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 41ms (Views: 38.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:34 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:34 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:11:36 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 34ms (Views: 31.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:36 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:36 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:11:50 -0400 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('552004d34e6569eff4180000')}, "$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=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Completed 200 OK in 122ms (Views: 64.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:50 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-05 12:11:51 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (6.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 200 OK in 34ms (Views: 31.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:51 -0400 Started GET "/forums/admin/categories/new" for ::1 at 2015-04-05 12:11:54 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Completed 200 OK in 51ms (Views: 47.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:11:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:11:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:11:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:11:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:11:54 -0400 Started POST "/forums/admin/categories" for ::1 at 2015-04-05 12:11:57 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"um99ydYAQLkFqwQiZVvKvJvz/v2HFRtoCHAy21Hw7ZkVuV+AbdBz12YVT7Z+BxEhVAa2zKczp07TjYhbnCNsAw==", "category"=>{"name"=>"sdf", "position"=>"110"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `s' for #): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:23:in `create' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.8ms) Started POST "/forums/admin/categories" for ::1 at 2015-04-05 12:12:18 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"um99ydYAQLkFqwQiZVvKvJvz/v2HFRtoCHAy21Hw7ZkVuV+AbdBz12YVT7Z+BxEhVAa2zKczp07TjYhbnCNsAw==", "category"=>{"name"=>"sdf", "position"=>"110"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 500 Internal Server Error in 15ms Mongoid::Errors::UnknownAttribute ( Problem: Attempted to set a value for 'order' which is not allowed on the model MongoidForums::Category. Summary: Without including Mongoid::Attributes::Dynamic in your model and the attribute does not already exist in the attributes hash, attempting to call MongoidForums::Category#order= 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:23:in `create' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.6ms) Started POST "/forums/admin/categories" for ::1 at 2015-04-05 12:12:44 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"um99ydYAQLkFqwQiZVvKvJvz/v2HFRtoCHAy21Hw7ZkVuV+AbdBz12YVT7Z+BxEhVAa2zKczp07TjYhbnCNsAw==", "category"=>{"name"=>"sdf", "position"=>"110"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('55215efc4e656917a2010000'), "position"=>110, "name"=>"sdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5450ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 29ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:12:45 -0400 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('552004d34e6569eff4180000')}, "$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"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8970ms Completed 200 OK in 31ms (Views: 28.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:12:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:12:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:12:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:12:45 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:12:45 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:12:48 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 31ms (Views: 27.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:12:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:12:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:12:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:12:48 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:12:48 -0400 Started PATCH "/forums/admin/categories/55215dce4e656917a2000000" for ::1 at 2015-04-05 12:12:51 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"k8ca/3hKOGXozOyDgpmFl5B5JqwIWJtyt+eyqiCubgw8ETi2w5oLC4typxeZxV4KX4xunSh+J1RsGggq7X3vlg==", "category"=>{"name"=>"sdf", "position"=>"102"}, "commit"=>"Update Category", "id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} update={"$set"=>{"position"=>102}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 4ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:12:51 -0400 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('552004d34e6569eff4180000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 200 OK in 63ms (Views: 60.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:12:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:12:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:12:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:12:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:12:51 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:12:53 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms Completed 200 OK in 40ms (Views: 37.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:12:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:12:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:12:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:12:53 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:12:53 -0400 Started GET "/forums/admin/categories/55215dce4e656917a2000000/edit" for ::1 at 2015-04-05 12:12:55 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215dce4e656917a2000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215dce4e656917a2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 48ms (Views: 45.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:12:55 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:12:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:12:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:12:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:12:55 -0400 Started GET "/forums/admin/categories/55215efc4e656917a2010000/edit" for ::1 at 2015-04-05 12:12:57 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215efc4e656917a2010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215efc4e656917a2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 44ms (Views: 41.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:12:57 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:12:57 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:12:57 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:12:57 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:12:57 -0400 Started PATCH "/forums/admin/categories/55215efc4e656917a2010000" for ::1 at 2015-04-05 12:13:00 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"eEHhEwXrqp3kY8a3hd7xmR1HIP7ix6gvckt/vBpr9srXl8NavjuZ84fdjSOegioE0rJoz8LhFAmptsU817h3UA==", "category"=>{"name"=>"sdf", "position"=>"100"}, "commit"=>"Update Category", "id"=>"55215efc4e656917a2010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215efc4e656917a2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215efc4e656917a2010000')} update={"$set"=>{"position"=>100}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 5ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:13:00 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 59ms (Views: 57.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:00 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:00 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:00 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:00 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:00 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:13:01 -0400 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('552004d34e6569eff4180000')}, "$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"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 71ms (Views: 68.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:01 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:01 -0400 Started GET "/forums/admin/categories/55215efc4e656917a2010000/edit" for ::1 at 2015-04-05 12:13:02 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"55215efc4e656917a2010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215efc4e656917a2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 38ms (Views: 35.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:02 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:02 -0400 Started PATCH "/forums/admin/categories/55215efc4e656917a2010000" for ::1 at 2015-04-05 12:13:05 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X2EvhOusM2S7BlLLqFR5hjfWQt8m3cSFiK5MgxmNLgfwtw3NUHwACti4GV+zCKIb+CMK7gb7eKNTU/YD1F6vnQ==", "category"=>{"name"=>"sdf2", "position"=>"100"}, "commit"=>"Update Category", "id"=>"55215efc4e656917a2010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215efc4e656917a2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('55215efc4e656917a2010000')} update={"$set"=>{"name"=>"sdf2"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8200ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 5ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:13:05 -0400 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('552004d34e6569eff4180000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 39ms (Views: 37.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:05 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:05 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:05 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:05 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:05 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:13:06 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:06 -0400 Started PATCH "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-05 12:13:11 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"eyjtj+Pe/SR7nW1I74xKU0rCfpNe94C8tSElef5E7anU/s/GWA7OShgjJtz00JHOhTc2on7RPJpu3J/5M5dsMw==", "category"=>{"name"=>"category A", "position"=>"999999"}, "commit"=>"Update Category", "id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} 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_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} update={"$set"=>{"position"=>999999}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 7ms Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:13:11 -0400 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('552004d34e6569eff4180000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 36ms (Views: 34.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:13:12 -0400 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('552004d34e6569eff4180000')}, "$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={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 200 OK in 39ms (Views: 36.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:12 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:13:20 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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('5520482a4e6569fe0d010000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7630ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (108.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 154ms (Views: 139.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:20 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:20 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:13:21 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} 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={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>1}} 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('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('5520482a4e6569fe0d010000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Completed 200 OK in 38ms (Views: 35.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:21 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:21 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:13:43 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"order"=>1}} 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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Completed 200 OK in 46ms (Views: 43.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:43 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:43 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-05 12:13:47 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} 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('552004d34e6569eff4180000')}, "$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={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 97ms (Views: 93.2ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-05 12:13:49 -0400 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('552004d34e6569eff4180000')}, "$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"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 26ms (Views: 23.6ms) Started GET "/forums/admin/" for ::1 at 2015-04-05 12:13:50 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Completed 200 OK in 149ms (Views: 145.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:50 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:50 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 12:13:51 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Completed 200 OK in 34ms (Views: 32.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:51 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:51 -0400 Started GET "/forums/admin/forums/5520482a4e6569fe0d010000/edit" for ::1 at 2015-04-05 12:13:54 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 39ms (Views: 36.3ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:54 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:54 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:54 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 12:13:56 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms 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.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Completed 200 OK in 63ms (Views: 61.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-05 12:13:56 -0400 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('552004d34e6569eff4180000')}, "$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.4340ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (17.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Completed 200 OK in 55ms (Views: 52.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:13:56 -0400 Started POST "/forums/admin/forums" for ::1 at 2015-04-05 12:14:02 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kjBOkm1TZkwNtHRhdzgPzKsyo4Tj4gBsf6i/Q1Rpb3g95mzb1oNVIm4KP/VsZNRRZMfrtcPEvEqkVQXDmbru4g==", "forum"=>{"name"=>"Biology", "category"=>"5520481b4e6569fe0d000000", "position"=>"2"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "position"=>0, "name"=>"Biology", "category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5150ms Redirected to http://localhost:3000/forums/admin/forums/55215f4a4e656917a2020000 Completed 302 Found in 6ms Started GET "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 12:14:02 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 9.1290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.haml within layouts/mongoid_forums/application (4.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 44ms (Views: 31.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:02 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:02 -0400 Started GET "/forums/admin/forums/new" for ::1 at 2015-04-05 12:14:04 -0400 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('552004d34e6569eff4180000')}, "$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.4290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 33ms (Views: 31.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:04 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:04 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:04 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:04 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:04 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 12:14:06 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms 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.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6090ms Completed 200 OK in 35ms (Views: 32.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:06 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:06 -0400 Started GET "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-05 12:14:07 -0400 Processing by MongoidForums::Admin::CategoriesController#show as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} 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_groups selector={"moderator"=>true} 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_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 42ms (Views: 36.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:08 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:08 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:08 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:14:13 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 6.7470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 24.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 5.7900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.9320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.7880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"order"=>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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (117.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Completed 200 OK in 220ms (Views: 218.2ms) Started GET "/forums/" for ::1 at 2015-04-05 12:14:13 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"order"=>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={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"order"=>1}} 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"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 58ms (Views: 55.7ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:13 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:13 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:13 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:14:40 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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('55215f4a4e656917a2020000')}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"order"=>1}} 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"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 46ms (Views: 43.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:40 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:40 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:14:42 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$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_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (19.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 78ms (Views: 75.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:14:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:14:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:14:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:14:42 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:14:42 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:15:24 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (64.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 107ms (Views: 88.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 12:15:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 12:15:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 12:15:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 12:15:25 -0400 Started GET "/assets/application-9dd4861a92e4f9a660455c3058cf3a14.js?body=1" for ::1 at 2015-04-05 12:15:25 -0400 Started GET "/forums/" for ::1 at 2015-04-05 12:16:02 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (88.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 194ms (Views: 168.5ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-05 14:19:52 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms 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.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 197ms (Views: 154.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:19:53 -0400 Started GET "/forums/admin/forums/5520482a4e6569fe0d010000/edit" for ::1 at 2015-04-05 14:19:56 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5300ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (190.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5220ms Completed 200 OK in 327ms (Views: 318.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:19:57 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:19:57 -0400 Started PATCH "/forums/admin/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-05 14:20:02 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ookpRRuyn5oAknUAcVHifeRs5BOE7kqCqx4dzXRjV+QNXwsMoGKs9GMsPpRqDTngK5msIqTI9qRw46dNubDWfg==", "forum"=>{"name"=>"forum A ", "category"=>"", "position"=>"09909999999"}, "commit"=>"Update Forum", "id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0560ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9870ms Completed 500 Internal Server Error in 18ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:38:in `update' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (17.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (81.9ms) Started GET "/forums/admin/forums/5520482a4e6569fe0d010000/edit" for ::1 at 2015-04-05 14:20:06 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1420ms MOPED: 127.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.7880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8480ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4840ms Completed 200 OK in 234ms (Views: 225.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:07 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:07 -0400 Started PATCH "/forums/admin/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-05 14:20:13 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XFXII2ik1b0Sb+snp6wEKGkPgEbYDJpAzhgXe3O83+zzg+pq03Tm03HRoLO88N+1pvrId/gqJmYV5a37vm9edg==", "forum"=>{"name"=>"forum A ", "category"=>"5520481b4e6569fe0d000000", "position"=>"09909999999"}, "commit"=>"Update Forum", "id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$set"=>{"position"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6810ms Redirected to http://localhost:3000/forums/5520482a4e6569fe0d010000 Completed 302 Found in 46ms Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-05 14:20:13 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048304e6569fe0d020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('552048304e6569fe0d020000')} update={"$set"=>{"past_viewed_at"=>2015-04-04 20:56:34 UTC, "current_viewed_at"=>2015-04-05 18:20:13 UTC, "updated_at"=>2015-04-05 18:20:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 73ms (Views: 54.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:13 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:13 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 14:20:18 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.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: 1.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (22.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2450ms Completed 200 OK in 156ms (Views: 148.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:19 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 14:20:20 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1170ms 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: 2.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (25.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3620ms Completed 200 OK in 171ms (Views: 162.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:20 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:20:25 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.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.2070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (34.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3400ms Completed 200 OK in 153ms (Views: 145.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:25 -0400 Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:20:31 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"o06qj4fpyD2aJ7qtuJa6VQEwaflNxw0KLJEgrF6V5xEMmIjGPDn7U/mZ8TmjymHIzsUhyG3hsSz3bJosk0Zmiw==", "forum"=>{"name"=>"Biology", "category"=>"", "position"=>"-1"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0240ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1150ms Completed 500 Internal Server Error in 17ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:38:in `update' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (20.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (67.9ms) Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:20:34 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.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: 1.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (49.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2730ms Completed 200 OK in 223ms (Views: 208.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:34 -0400 Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:20:36 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"PdyqRBNNV48fZT19Kgto/oSXSuiFwH7NrRY34T9zB8OSCogNqJ1k4XzbdukxV7NjS2IC2aXmwut2641h8qCGWQ==", "forum"=>{"name"=>"Biology", "category"=>"5520481b4e6569fe0d000000", "position"=>"-1"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9390ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9950ms Redirected to http://localhost:3000/forums/55215f4a4e656917a2020000 Completed 302 Found in 22ms Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:20:36 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('55217cf44e656920de000000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-05 18:20:36 UTC, "created_at"=>2015-04-05 18:20:36 UTC, "current_viewed_at"=>2015-04-05 18:20:36 UTC, "past_viewed_at"=>2015-04-05 18:20:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.8790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.0940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$set"=>{"current_viewed_at"=>2015-04-05 18:20:36 UTC, "updated_at"=>2015-04-05 18:20:36 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1960ms Completed 200 OK in 176ms (Views: 126.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:37 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:37 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:37 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:37 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:20:39 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.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.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (53.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2450ms Completed 200 OK in 188ms (Views: 179.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:40 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:20:41 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.3040ms MOPED: 127.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.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (38.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3190ms Completed 200 OK in 212ms (Views: 185.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:41 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:41 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:41 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:42 -0400 Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:20:44 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ApY8F9Ob3IBodnAwFEpUNAJ2Og2077mx5MwZ9pNBnvStQB5eaEvv7gvIO6QPFo+pzYNyPJTJBZc/MaN2XpIfbg==", "forum"=>{"name"=>"Biology", "category"=>"", "position"=>"-1"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0090ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms Completed 500 Internal Server Error in 15ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:38:in `update' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (25.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (74.4ms) Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:20:53 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0430ms MOPED: 127.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.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2100ms Completed 200 OK in 148ms (Views: 140.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:53 -0400 Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:20:58 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tgo/IjNvLgB04znv2TqtNGkUPQPfq/UiSh5j1pt95Tvh3B1riL8dbhddcnvCZnappuF1Mv+NSQSR49lWVq5koQ==", "forum"=>{"name"=>"Biology", "category"=>"5520481b4e6569fe0d000000", "position"=>"-1"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9570ms Unpermitted parameter: position MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9160ms Redirected to http://localhost:3000/forums/55215f4a4e656917a2020000 Completed 302 Found in 19ms Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:20:58 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$set"=>{"past_viewed_at"=>2015-04-05 18:20:36 UTC, "current_viewed_at"=>2015-04-05 18:20:58 UTC, "updated_at"=>2015-04-05 18:20:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.3740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2110ms Completed 200 OK in 202ms (Views: 150.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:20:58 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:21:02 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0760ms MOPED: 127.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.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.4640ms Completed 200 OK in 163ms (Views: 155.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:21:03 -0400 Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:22:06 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WWObTL3gefu7DupRo00+zdRnr3CXZPhC4ffYiA+me/T2tbkFBjBKldiwocW4EeVQG5LnQbdCRGQ6CmIIwnX6bg==", "forum"=>{"name"=>"Biology", "category"=>"", "position"=>"10"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9910ms Completed 500 Internal Server Error in 90ms NoMethodError (undefined method `_id' for nil:NilClass): mongoid (4.0.0) lib/mongoid/relations/binding.rb:178:in `record_id' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:24:in `block in bind_one' mongoid (4.0.0) lib/mongoid/relations/binding.rb:38:in `block in binding' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:55:in `_binding' mongoid (4.0.0) lib/mongoid/relations/binding.rb:37:in `binding' mongoid (4.0.0) lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:26:in `bind_one' mongoid (4.0.0) lib/mongoid/relations/referenced/in.rb:57:in `substitute' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:231:in `block (2 levels) in setter' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:229:in `block in setter' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:141: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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:38:in `update' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (48.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (100.8ms) Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:22:15 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WWObTL3gefu7DupRo00+zdRnr3CXZPhC4ffYiA+me/T2tbkFBjBKldiwocW4EeVQG5LnQbdCRGQ6CmIIwnX6bg==", "forum"=>{"name"=>"Biology", "category"=>"5520481b4e6569fe0d000000", "position"=>"-1"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$set"=>{"position"=>-1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5870ms Redirected to http://localhost:3000/forums/55215f4a4e656917a2020000 Completed 302 Found in 112ms Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:22:15 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$set"=>{"past_viewed_at"=>2015-04-05 18:20:58 UTC, "current_viewed_at"=>2015-04-05 18:22:16 UTC, "updated_at"=>2015-04-05 18:22:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3600ms Completed 200 OK in 182ms (Views: 129.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:16 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:22:19 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2000ms MOPED: 127.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.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (34.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4250ms Completed 200 OK in 165ms (Views: 155.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:19 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:22:21 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9140ms MOPED: 127.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.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (44.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2280ms Completed 200 OK in 184ms (Views: 176.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:21 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:21 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:21 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 14:22:22 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0090ms 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: 1.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2730ms Completed 200 OK in 152ms (Views: 144.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:23 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:22:24 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0030ms MOPED: 127.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.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.haml within layouts/mongoid_forums/application (40.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3010ms Completed 200 OK in 197ms (Views: 189.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:24 -0400 Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:22:30 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"CuZFU9SyEwttwyDS+0DEGowyYkM4HNC2Ln5Kx4WOB2GlMGcab2IgZQ59a0bgHB+HQ8cqchg6bJD1g/BHSF2G+w==", "forum"=>{"name"=>"Biology", "category"=>"5520481b4e6569fe0d000000", "position"=>"-2"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$set"=>{"position"=>-2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5630ms Redirected to http://localhost:3000/forums/55215f4a4e656917a2020000 Completed 302 Found in 25ms Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-05 14:22:30 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('55217cf44e656920de000000')} update={"$set"=>{"past_viewed_at"=>2015-04-05 18:22:16 UTC, "current_viewed_at"=>2015-04-05 18:22:30 UTC, "updated_at"=>2015-04-05 18:22:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3100ms Completed 200 OK in 170ms (Views: 124.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:31 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-05 14:22:33 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9630ms MOPED: 127.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.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4640ms Completed 200 OK in 179ms (Views: 170.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:34 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 14:22:37 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3800ms 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: 1.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.haml within layouts/mongoid_forums/application (19.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2660ms Completed 200 OK in 142ms (Views: 136.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:38 -0400 Started GET "/forums/admin/forums" for ::1 at 2015-04-05 14:22:39 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4640ms 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: 1.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3310ms Completed 200 OK in 154ms (Views: 147.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:39 -0400 Started GET "/forums/" for ::1 at 2015-04-05 14:22:43 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 1.4980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 1.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 1.2870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 1.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (120.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4120ms Completed 200 OK in 263ms (Views: 255.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:44 -0400 Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:28:19 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (10.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6420ms Completed 200 OK in 137ms (Views: 104.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400 Started POST "/forums/admin/users/dummy/remove?user%5Bid%5D=552004d34e6569eff4180000" for ::1 at 2015-04-06 18:28:24 -0400 Processing by MongoidForums::Admin::UsersController#remove_admin as HTML Parameters: {"authenticity_token"=>"qwhHfjNh2sHM395V7D2tyxYq5uiO3xKLuEXForEbbs4E3mU3iLHpr69hlcH3YXZW2d+u2a75rq1juH8ifMjvVA==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "user_id"=>"dummy"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"mongoid_admin"=>false}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2870ms Redirected to http://localhost:3000/forums/admin/users Completed 302 Found in 44ms Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:28:24 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 25ms Started GET "/forums/" for ::1 at 2015-04-06 18:28:24 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 1.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (75.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 116ms (Views: 111.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:24 -0400 Started GET "/" for ::1 at 2015-04-06 18:28:35 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered partials/_nav.haml (3.4ms) Completed 200 OK in 41ms (Views: 40.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:35 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:35 -0400 Started GET "/forums/admin" for ::1 at 2015-04-06 18:28:43 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-04-06 18:28:43 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.9410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (32.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 117ms (Views: 114.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:43 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:43 -0400 Started GET "/" for ::1 at 2015-04-06 18:28:45 -0400 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 40ms (Views: 39.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400 Started GET "/users/sign_out" for ::1 at 2015-04-06 18:28:46 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms Redirected to http://localhost:3000/ Completed 302 Found in 7ms Started GET "/" for ::1 at 2015-04-06 18:28:46 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (4.1ms) Completed 200 OK in 40ms (Views: 39.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400 Started GET "/users/sign_in" for ::1 at 2015-04-06 18:28:48 -0400 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.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.5ms) Rendered partials/_nav.haml (0.6ms) Completed 200 OK in 91ms (Views: 88.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:48 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:48 -0400 Started POST "/users/sign_in" for ::1 at 2015-04-06 18:28:53 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jnr1+FkvFJMh8JS9ssr1gz+J/sr/LMqN+FgwfaN3TC2RVCCKz4O6O+5PDh0UfEdYfjDlkiUTy5YpV9UEHbQSiQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-04 15:33:34 UTC, "current_sign_in_at"=>2015-04-06 22:28:53 UTC, "sign_in_count"=>10}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6550ms Redirected to http://localhost:3000/ Completed 302 Found in 117ms Started GET "/" for ::1 at 2015-04-06 18:28:53 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0540ms Rendered partials/_nav.haml (3.8ms) Completed 200 OK in 50ms (Views: 49.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:54 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:54 -0400 Started GET "/forums/admin/categories" for ::1 at 2015-04-06 18:28:59 -0400 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('54c407ca4e65694706000000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (10.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 56ms (Views: 52.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:59 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:59 -0400 Started POST "/forums/admin/users/dummy/remove?user%5Bid%5D=552004d34e6569eff4180000" for ::1 at 2015-04-06 18:29:07 -0400 Processing by MongoidForums::Admin::UsersController#remove_admin as HTML Parameters: {"authenticity_token"=>"qwhHfjNh2sHM395V7D2tyxYq5uiO3xKLuEXForEbbs4E3mU3iLHpr69hlcH3YXZW2d+u2a75rq1juH8ifMjvVA==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "user_id"=>"dummy"} Can't verify CSRF token authenticity Completed 422 Unprocessable Entity in 1ms ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): actionpack (4.2.1) lib/action_controller/metal/request_forgery_protection.rb:181:in `handle_unverified_request' actionpack (4.2.1) lib/action_controller/metal/request_forgery_protection.rb:209:in `handle_unverified_request' devise (3.4.1) lib/devise/controllers/helpers.rb:251:in `handle_unverified_request' actionpack (4.2.1) lib/action_controller/metal/request_forgery_protection.rb:204:in `verify_authenticity_token' activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.1) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.7ms) Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:29:17 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 49ms (Views: 46.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400 Started POST "/forums/admin/users/dummy/add" for ::1 at 2015-04-06 18:29:56 -0400 Processing by MongoidForums::Admin::UsersController#add_admin as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TB+e8xQLKKE6NE1Q5YYZNGtK5sMKLashwxq3p9sbsUkPhOPUnvSCN6f1LtL+vDb9SNv0MeTX2n7l0SRrEWIgdQ==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "commit"=>"Add Admin", "user_id"=>"dummy"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"mongoid_admin"=>true}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4790ms Redirected to http://localhost:3000/forums/admin/users Completed 302 Found in 7ms Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:29:56 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Completed 200 OK in 67ms (Views: 63.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:29:56 -0400 Started POST "/forums/admin/users/dummy/add" for ::1 at 2015-04-06 18:29:59 -0400 Processing by MongoidForums::Admin::UsersController#add_admin as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B+RJTg5fmWLIXhuOe7IaVwwduPu4OQIUEIFuvigacDFEfzRphKAz9FWfeAxgiDWeL4yqCVbDc0s2Sv1y4mPhDQ==", "user"=>{"id"=>""}, "commit"=>"Add Admin", "user_id"=>"dummy"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>nil} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1490ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class User with id(s) . Summary: When calling User.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): ... (1 total) and the following ids were not found: . 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/users_controller.rb:29:in `set_user' activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.5ms) Started POST "/forums/admin/users/dummy/remove?user%5Bid%5D=552004d34e6569eff4180000" for ::1 at 2015-04-06 18:30:06 -0400 Processing by MongoidForums::Admin::UsersController#remove_admin as HTML Parameters: {"authenticity_token"=>"B+RJTg5fmWLIXhuOe7IaVwwduPu4OQIUEIFuvigacDFEfzRphKAz9FWfeAxgiDWeL4yqCVbDc0s2Sv1y4mPhDQ==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "user_id"=>"dummy"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"mongoid_admin"=>false}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0060ms Redirected to http://localhost:3000/forums/admin/users Completed 302 Found in 6ms Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:30:06 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7610ms Completed 200 OK in 73ms (Views: 69.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400 Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:30:07 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 67ms (Views: 64.7ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400 Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:31:06 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3520ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 66ms (Views: 61.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400 Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:31:14 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms Completed 200 OK in 53ms (Views: 50.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400 Started GET "/forums/admin" for ::1 at 2015-04-06 18:33:21 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML Redirected to http://localhost:3000/forums/ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-04-06 18:33:21 -0400 Processing by MongoidForums::ForumsController#index as HTML 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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (52.3ms) Completed 200 OK in 101ms (Views: 99.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400 Started GET "/" for ::1 at 2015-04-06 18:33:26 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 57ms (Views: 56.4ms) Started GET "/users/sign_in" for ::1 at 2015-04-06 18:33:27 -0400 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 (0.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 (4.4ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 55ms (Views: 53.6ms) Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:32 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"DiMj3aKGOodxMaacmb7kR0Nwyz1oHAaqbwxv6tA2YnolUgspzEchsthN5w2nodjLZBbz1G5mpSgQDng5rRhg6g==", "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.8160ms Completed 401 Unauthorized in 88ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"DiMj3aKGOodxMaacmb7kR0Nwyz1oHAaqbwxv6tA2YnolUgspzEchsthN5w2nodjLZBbz1G5mpSgQDng5rRhg6g==", "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 (0.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 (5.3ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 138ms (Views: 57.8ms) Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:34 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"l6EnYcNUAkMmem2+zMbg71F/QuTEbBU8K7mWppyFHgC80A+VrZUZdo8GLC/y2dxjdhl6DcIWtr5Uu4F14asckA==", "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.5660ms Completed 401 Unauthorized in 83ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"l6EnYcNUAkMmem2+zMbg71F/QuTEbBU8K7mWppyFHgC80A+VrZUZdo8GLC/y2dxjdhl6DcIWtr5Uu4F14asckA==", "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 (0.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 (4.2ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 124ms (Views: 45.0ms) Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:36 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"K7ntVpuKomd3vf0WNrRjHbw1F+kS3LAlDpDN1vnWJj4AyMWi9Uu5Ut7BvIcIq1+Rm1MvABSmE6dxktoFhPgkrg==", "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.7650ms Completed 401 Unauthorized in 84ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"K7ntVpuKomd3vf0WNrRjHbw1F+kS3LAlDpDN1vnWJj4AyMWi9Uu5Ut7BvIcIq1+Rm1MvABSmE6dxktoFhPgkrg==", "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 (0.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 (5.4ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 138ms (Views: 51.8ms) Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:38 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FI5EhDY1oYh75/10NX+so57x8qms37uoKf7U1YwbD34//2xwWPS6vdKbvOULYJAvuZfKQKqlGCpW/MMG8TUN7g==", "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.9450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-06 22:28:53 UTC, "current_sign_in_at"=>2015-04-06 22:33:38 UTC, "sign_in_count"=>11}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms Redirected to http://localhost:3000/ Completed 302 Found in 88ms Started GET "/" for ::1 at 2015-04-06 18:33:38 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0140ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 49ms (Views: 48.9ms) Started GET "/forums/admin" for ::1 at 2015-04-06 18:33:42 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Completed 200 OK in 45ms (Views: 42.4ms) Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:33:43 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 55ms (Views: 53.2ms) Started GET "/forums/admin/users" for ::1 at 2015-04-06 19:26:55 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=users selector={"mongoid_admin"=>true} 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={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6420ms Completed 200 OK in 57ms (Views: 51.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400 Started GET "/" for ::1 at 2015-04-08 23:28:11 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.5ms) Rendered partials/_nav.haml (5.5ms) Completed 200 OK in 154ms (Views: 153.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400 Started GET "/users/sign_in" for ::1 at 2015-04-08 23:28:14 -0400 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.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 (40.8ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 86ms (Views: 83.6ms) Started POST "/users/sign_in" for ::1 at 2015-04-08 23:28:18 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oVq0RA3wDiP1LYLgVmz/ah5hMOWDZ5TZ+ndQbbnJn01Oqs2biFa5Og37KErTgovG2S86INQBjT4WgBhbNLxHgQ==", "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.4890ms MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2190ms Completed 500 Internal Server Error in 260ms Moped::Errors::ConnectionFailure (Could not connect to a primary node for replica set #]>): moped (2.0.4) lib/moped/cluster.rb:254:in `with_primary' moped (2.0.4) lib/moped/read_preference/primary.rb:55:in `block in with_node' moped (2.0.4) lib/moped/read_preference/selectable.rb:65:in `call' moped (2.0.4) lib/moped/read_preference/selectable.rb:65:in `with_retry' moped (2.0.4) lib/moped/read_preference/selectable.rb:71:in `rescue in with_retry' moped (2.0.4) lib/moped/read_preference/selectable.rb:64:in `with_retry' moped (2.0.4) lib/moped/read_preference/primary.rb:54:in `with_node' moped (2.0.4) lib/moped/query.rb:127:in `first' mongoid (4.0.0) lib/mongoid/query_cache.rb:187:in `block in first_with_cache' mongoid (4.0.0) lib/mongoid/query_cache.rb:135:in `with_cache' mongoid (4.0.0) lib/mongoid/query_cache.rb:186:in `first_with_cache' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:199:in `block (2 levels) in first' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:535:in `with_sorting' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:198:in `block in first' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:447:in `try_cache' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:197:in `first' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `first' orm_adapter (0.5.0) lib/orm_adapter/adapters/mongoid.rb:28:in `find_first' devise (3.4.1) lib/devise/models/authenticatable.rb:252:in `find_first_by_auth_conditions' devise (3.4.1) lib/devise/models/authenticatable.rb:248:in `find_for_authentication' devise (3.4.1) lib/devise/models/database_authenticatable.rb:159:in `find_for_database_authentication' devise (3.4.1) lib/devise/strategies/database_authenticatable.rb:8:in `authenticate!' warden (1.2.3) lib/warden/strategies/base.rb:53:in `_run!' warden (1.2.3) lib/warden/proxy.rb:354:in `block in _run_strategies_for' warden (1.2.3) lib/warden/proxy.rb:349:in `each' warden (1.2.3) lib/warden/proxy.rb:349:in `_run_strategies_for' warden (1.2.3) lib/warden/proxy.rb:319:in `_perform_authentication' warden (1.2.3) lib/warden/proxy.rb:127:in `authenticate!' devise (3.4.1) app/controllers/devise/sessions_controller.rb:16:in `create' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:49:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.3ms) Started POST "/users/sign_in" for ::1 at 2015-04-08 23:28:30 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oVq0RA3wDiP1LYLgVmz/ah5hMOWDZ5TZ+ndQbbnJn01Oqs2biFa5Og37KErTgovG2S86INQBjT4WgBhbNLxHgQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 9.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 7.2420ms Completed 401 Unauthorized in 365ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oVq0RA3wDiP1LYLgVmz/ah5hMOWDZ5TZ+ndQbbnJn01Oqs2biFa5Og37KErTgovG2S86INQBjT4WgBhbNLxHgQ==", "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 (0.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 (5.2ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 140ms (Views: 54.4ms) Started POST "/users/sign_in" for ::1 at 2015-04-08 23:28:33 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fy4dtOH2Nx7jV3YAPfxl9/dM6XpVPghdMter8K5YwcGQ3mRrZFCABxuB3Kq4EhFbMALjvwJYEbreIOPGIy0ZDQ==", "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.7190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-06 22:33:38 UTC, "current_sign_in_at"=>2015-04-09 03:28:33 UTC, "sign_in_count"=>12}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 10.6770ms Redirected to http://localhost:3000/ Completed 302 Found in 107ms Started GET "/" for ::1 at 2015-04-08 23:28:33 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1640ms Rendered partials/_nav.haml (2.5ms) Completed 200 OK in 31ms (Views: 31.1ms) Started GET "/" for ::1 at 2015-04-08 23:28:36 -0400 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.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 26ms (Views: 25.6ms) Started GET "/forums" for ::1 at 2015-04-08 23:28:37 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 5.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 5.1400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (171.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4410ms Completed 200 OK in 278ms (Views: 254.5ms) Started GET "/forums" for ::1 at 2015-04-08 23:28:39 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8240ms Completed 200 OK in 57ms (Views: 55.0ms) Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-08 23:28:41 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5525f1e94e65693c78000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-09 03:28:41 UTC, "created_at"=>2015-04-09 03:28:41 UTC, "current_viewed_at"=>2015-04-09 03:28:41 UTC, "past_viewed_at"=>2015-04-09 03:28:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.1490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.1140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 03:28:41 UTC, "updated_at"=>2015-04-09 03:28:41 UTC}} flags=[] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 71ms (Views: 39.9ms) Started GET "/forums/55215f4a4e656917a2020000/new" for ::1 at 2015-04-08 23:28:44 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (56.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Completed 200 OK in 100ms (Views: 92.0ms) Started POST "/forums/55215f4a4e656917a2020000/create" for ::1 at 2015-04-08 23:28:46 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WiqWHzVu8xQ3N3Kb15STQUuY4wKs5Z3FXfUfU7Sr7NX8ec9yZics9tACu3Ewhw+BEsKmvATggwIgyFPRj8NKCA==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC}] flags=[] 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.9780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC}] flags=[] 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_topics selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} update={"$set"=>{"last_post_at"=>2015-04-09 03:28:46 UTC, "updated_at"=>2015-04-09 03:28:46 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Redirected to http://localhost:3000/forums/topics/5525f1ee4e65693c78020000 Completed 302 Found in 31ms Started GET "/forums/topics/5525f1ee4e65693c78020000" for ::1 at 2015-04-08 23:28:46 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5525f1ee4e65693c78020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78050000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC, "current_viewed_at"=>2015-04-09 03:28:46 UTC, "past_viewed_at"=>2015-04-09 03:28:46 UTC}] flags=[] 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('5525f1ee4e65693c78050000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} 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('5525f1ee4e65693c78050000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 03:28:46 UTC, "updated_at"=>2015-04-09 03:28:46 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5525f1ee4e65693c78040000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-08 23:28:46 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (35.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 97ms (Views: 79.0ms) Started GET "/" for ::1 at 2015-04-09 12:29:29 -0400 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: 1.7560ms MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3140ms Rendered partials/_nav.haml (261.8ms) Completed 500 Internal Server Error in 384ms ActionView::Template::Error (Could not connect to a primary node for replica set #]>): 1: - if user_signed_in? 2: Signed in as 3: = current_user.email 4: = link_to "Sign Out", destroy_user_session_path app/models/concerns/zero_oid_fix.rb:6:in `serialize_from_session' app/views/partials/_nav.haml:1:in `_app_views_partials__nav_haml__1878425814835628568_70350142501780' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml__2486047161660999451_70350144995620' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.9ms) Started GET "/" for ::1 at 2015-04-09 12:29:40 -0400 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: 1.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.3440ms Rendered partials/_nav.haml (9.2ms) Completed 200 OK in 57ms (Views: 56.6ms) Started GET "/" for ::1 at 2015-04-09 12:29:43 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6340ms Rendered partials/_nav.haml (252.8ms) Completed 500 Internal Server Error in 278ms ActionView::Template::Error (Could not connect to a primary node for replica set #]>): 1: - if user_signed_in? 2: Signed in as 3: = current_user.email 4: = link_to "Sign Out", destroy_user_session_path app/models/concerns/zero_oid_fix.rb:6:in `serialize_from_session' app/views/partials/_nav.haml:1:in `_app_views_partials__nav_haml__1878425814835628568_70350142501780' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml__2486047161660999451_70350144995620' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.4ms) Started GET "/forums" for ::1 at 2015-04-09 12:29:46 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 5.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 12.0120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (126.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8990ms Completed 200 OK in 178ms (Views: 162.3ms) Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-09 12:29:48 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views documents=[{"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-09 16:29:48 UTC, "created_at"=>2015-04-09 16:29:48 UTC, "current_viewed_at"=>2015-04-09 16:29:48 UTC, "past_viewed_at"=>2015-04-09 16:29:48 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} 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('5526a8fc4e6569523b000000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 16:29:48 UTC, "updated_at"=>2015-04-09 16:29:48 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 86ms (Views: 55.4ms) Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:29:50 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526a8fe4e6569523b010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 16:29:50 UTC, "created_at"=>2015-04-09 16:29:50 UTC, "current_viewed_at"=>2015-04-09 16:29:50 UTC, "past_viewed_at"=>2015-04-09 16:29:50 UTC}] 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('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 16:29:50 UTC, "updated_at"=>2015-04-09 16:29:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:29:50 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 87ms (Views: 63.6ms) Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:29:51 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Redirected to Completed 500 Internal Server Error in 20ms NoMethodError (undefined method `forum_topic_url' for #): actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' actionpack (4.2.1) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:75:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:18:in `new' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.7ms) Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:29:58 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Redirected to Completed 500 Internal Server Error in 25ms NoMethodError (undefined method `forum_topic_url' for #): actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' actionpack (4.2.1) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:75:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:18:in `new' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.3ms) Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:29:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:29:50 UTC, "current_viewed_at"=>2015-04-09 16:29:59 UTC, "updated_at"=>2015-04-09 16:29:59 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:29:59 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('552048334e6569fe0d040000')}} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms Completed 200 OK in 71ms (Views: 56.0ms) Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:30:03 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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_posts selector={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Redirected to Completed 500 Internal Server Error in 20ms NoMethodError (undefined method `forum_topic_url' for #): actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' actionpack (4.2.1) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:75:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:18:in `new' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.4ms) Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:30:22 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 59ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:30:22 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:29:59 UTC, "current_viewed_at"=>2015-04-09 16:30:22 UTC, "updated_at"=>2015-04-09 16:30:22 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:30:22 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 74ms (Views: 44.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:30:22 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:30:25 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 8ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:30:25 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:30:22 UTC, "current_viewed_at"=>2015-04-09 16:30:25 UTC, "updated_at"=>2015-04-09 16:30:25 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:30:25 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Completed 200 OK in 71ms (Views: 58.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:30:25 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:30:26 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:30:25 UTC, "current_viewed_at"=>2015-04-09 16:30:26 UTC, "updated_at"=>2015-04-09 16:30:26 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:30:26 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 62ms (Views: 47.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:30:26 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:30:28 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 10ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:30:28 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:30:26 UTC, "current_viewed_at"=>2015-04-09 16:30:28 UTC, "updated_at"=>2015-04-09 16:30:28 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:30:28 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6930ms Completed 200 OK in 71ms (Views: 57.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:30:28 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:31:27 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:30:28 UTC, "current_viewed_at"=>2015-04-09 16:31:28 UTC, "updated_at"=>2015-04-09 16:31:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:31:28 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 125ms (Views: 53.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:31:28 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:31:37 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:31:28 UTC, "current_viewed_at"=>2015-04-09 16:31:37 UTC, "updated_at"=>2015-04-09 16:31:37 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:31:37 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7070ms Completed 200 OK in 138ms (Views: 52.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:31:38 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:31:39 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (3.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (18.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Completed 200 OK in 71ms (Views: 62.0ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:31:39 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:31:42 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"34Tnsd1XD0HWqbRmzMAe5xTwl2gYbu8JT/gXVrj2fJR5177cjh7QozGcfYwr04InTarS1rBr8c4yxVvUg57aSQ==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 10ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:31:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:31:37 UTC, "current_viewed_at"=>2015-04-09 16:31:42 UTC, "updated_at"=>2015-04-09 16:31:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:31:42 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7110ms Completed 200 OK in 61ms (Views: 44.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:31:42 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:31:43 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:31:42 UTC, "current_viewed_at"=>2015-04-09 16:31:43 UTC, "updated_at"=>2015-04-09 16:31:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:31:43 -0400}} flags=[:multi] 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('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 200 OK in 59ms (Views: 45.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:31:43 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:31:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:31:43 UTC, "current_viewed_at"=>2015-04-09 16:31:55 UTC, "updated_at"=>2015-04-09 16:31:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:31:55 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 109ms (Views: 44.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:31:55 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:32:24 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 116ms (Views: 65.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:32:24 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:32:27 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qjrUvS8OIjekzA1w1vkNkX5DkBEmeLSZtzQ1WEQg5xYMaY3QfEf91UP5xJox6pFRJxnVr459ql7KCXnaf0hByw==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 9ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:32:27 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:31:55 UTC, "current_viewed_at"=>2015-04-09 16:32:27 UTC, "updated_at"=>2015-04-09 16:32:27 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:32:27 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('552048334e6569fe0d040000')}} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 81ms (Views: 49.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:32:27 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:35:14 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:32:27 UTC, "current_viewed_at"=>2015-04-09 16:35:14 UTC, "updated_at"=>2015-04-09 16:35:14 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:35:14 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (90.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 202ms (Views: 130.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:35:14 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:35:16 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7060ms Completed 200 OK in 56ms (Views: 46.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:35:16 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:35:18 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LHCZGN8dpmtlH0872MNwWNmXxc4b8tLFKfdNUKZrh/uKI8B1jFR5iYIqhtE/0OyYgM2AcLP3zAJUygHSnQMhJg==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 10ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:35:18 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:35:14 UTC, "current_viewed_at"=>2015-04-09 16:35:18 UTC, "updated_at"=>2015-04-09 16:35:18 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:35:18 -0400}} flags=[:multi] 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('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Completed 200 OK in 67ms (Views: 51.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:35:18 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:43:56 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:35:18 UTC, "current_viewed_at"=>2015-04-09 16:43:57 UTC, "updated_at"=>2015-04-09 16:43:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:43:57 -0400}} 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (47.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (84.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 243ms (Views: 164.2ms) Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:43:59 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7300ms Completed 200 OK in 61ms (Views: 54.0ms) Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:44:01 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1bfFe/MTRLzTKQlg5mTOyM0DOFIJyFdVE8u923Izf0Vz5JwWoFqbXjQcwIoBd1IIlFl97KHNSZJu9vFZSVvZmA==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 8ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:44:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:43:57 UTC, "current_viewed_at"=>2015-04-09 16:44:01 UTC, "updated_at"=>2015-04-09 16:44:01 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:44:01 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Completed 200 OK in 55ms (Views: 42.2ms) Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:44:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:44:01 UTC, "current_viewed_at"=>2015-04-09 16:44:47 UTC, "updated_at"=>2015-04-09 16:44:47 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:44:47 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Completed 200 OK in 134ms (Views: 61.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:44:47 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:44:49 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 49ms (Views: 39.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:44:49 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:44:51 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5bAm9f2/D3PGDFPTlhyUF1rQVMaHl0VE1tsQWsu6TaND43+YrvbQkSE5mjlxDwjXA4oReC+SW4Or5lzY8NLrfg==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 9ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:44:51 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:44:47 UTC, "current_viewed_at"=>2015-04-09 16:44:51 UTC, "updated_at"=>2015-04-09 16:44:51 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:44:51 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.8290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 63ms (Views: 48.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:44:51 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:45:22 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:44:51 UTC, "current_viewed_at"=>2015-04-09 16:45:22 UTC, "updated_at"=>2015-04-09 16:45:22 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:45:22 -0400}} flags=[:multi] 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('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 200 OK in 192ms (Views: 63.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:45:22 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:45:23 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 52ms (Views: 43.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:45:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:45:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:45:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:45:24 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:45:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:45:24 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:45:24 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:45:25 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VUGUvoaTACEuga3H3mUBq6HOc5VX6Uu/VjifrLCs8YzzEs3T1drfw8m0ZC05dp1r+JQ2K//sVXgrBdMui8RXUQ==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7440ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 9ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:45:25 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:45:22 UTC, "current_viewed_at"=>2015-04-09 16:45:25 UTC, "updated_at"=>2015-04-09 16:45:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:45:25 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.7340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 62ms (Views: 49.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:45:25 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:45:49 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:45:25 UTC, "current_viewed_at"=>2015-04-09 16:45:49 UTC, "updated_at"=>2015-04-09 16:45:49 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:45:49 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Completed 200 OK in 131ms (Views: 55.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:45:49 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:45:51 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 48ms (Views: 38.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:45:51 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:45:52 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0eQACIV/7uuoWShaMSwNPtYpFaXNnQedeon5YNiW9VZ3t1ll1jYxCU9s4bDWP5H+j3NQG2WYGVoHtLXi4/5Tiw==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 9ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:45:52 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:45:49 UTC, "current_viewed_at"=>2015-04-09 16:45:52 UTC, "updated_at"=>2015-04-09 16:45:52 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:45:52 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 59ms (Views: 46.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:45:53 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:35 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:45:52 UTC, "current_viewed_at"=>2015-04-09 16:46:35 UTC, "updated_at"=>2015-04-09 16:46:35 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:36 -0400}} 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 165ms (Views: 56.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:36 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:46:37 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 10ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:37 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:35 UTC, "current_viewed_at"=>2015-04-09 16:46:37 UTC, "updated_at"=>2015-04-09 16:46:37 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:37 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 59ms (Views: 44.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:37 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:40 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:37 UTC, "current_viewed_at"=>2015-04-09 16:46:40 UTC, "updated_at"=>2015-04-09 16:46:40 UTC}} flags=[] 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:40 -0400}} 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 141ms (Views: 71.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:40 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:46:41 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 12ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:41 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:40 UTC, "current_viewed_at"=>2015-04-09 16:46:42 UTC, "updated_at"=>2015-04-09 16:46:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:42 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 65ms (Views: 46.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:42 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:49 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:42 UTC, "current_viewed_at"=>2015-04-09 16:46:49 UTC, "updated_at"=>2015-04-09 16:46:49 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:49 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('552048334e6569fe0d040000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Completed 200 OK in 149ms (Views: 72.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:49 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:46:50 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Completed 200 OK in 47ms (Views: 38.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:50 -0400 Started POST "/forums/topics/552048334e6569fe0d040000/posts" for ::1 at 2015-04-09 12:46:52 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4PwS0/T/z7PF9VY/uvz5yCkSfdbmAmT61O2ml0wr76ZGr0u+p7YQUSLAn9Vd72UIcEg4aE4Hej2p0OoVd0NJew==", "post"=>{"text"=>"sdf", "reply_to_id"=>"552048334e6569fe0d050000"}, "commit"=>"Create Reply", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5526acfc4e656952ef0b0000'), "text"=>"sdf", "reply_to_id"=>BSON::ObjectId('552048334e6569fe0d050000'), "topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-09 16:46:52 UTC, "created_at"=>2015-04-09 16:46:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.9300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$set"=>{"last_post_at"=>2015-04-09 16:46:52 UTC, "updated_at"=>2015-04-09 16:46:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('552048334e6569fe0d060000'), "read"=>false}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('5526acfc4e656952ef0c0000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('552048334e6569fe0d060000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "mongoid_forums_topic_replier"=>"neilj.ny@gmail.com", "mongoid_forums_topic_post_id"=>BSON::ObjectId('5526acfc4e656952ef0b0000'), "read"=>false, "updated_at"=>2015-04-09 16:46:52 UTC, "created_at"=>2015-04-09 16:46:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5870ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 48ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:52 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:49 UTC, "current_viewed_at"=>2015-04-09 16:46:52 UTC, "updated_at"=>2015-04-09 16:46:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:52 -0400}} flags=[:multi] 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('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (4.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Completed 200 OK in 69ms (Views: 56.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:53 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:46:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:52 UTC, "current_viewed_at"=>2015-04-09 16:46:54 UTC, "updated_at"=>2015-04-09 16:46:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:46:54 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 95ms (Views: 83.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:46:54 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:48:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:46:54 UTC, "current_viewed_at"=>2015-04-09 16:48:01 UTC, "updated_at"=>2015-04-09 16:48:01 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:48:01 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d050000')} 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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 137ms (Views: 54.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:01 -0400 Started DELETE "/forums/topics/552048334e6569fe0d040000/posts/5526acfc4e656952ef0b0000" for ::1 at 2015-04-09 12:48:02 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"fn1iZFHXZ9fPlTm72cpt/vQggXg49Zzqz5s7Jmarnh3YLjsJAp64NSig8FE+2fE+rXrExpDwgi2ypnekXcM4wA==", "topic_id"=>"552048334e6569fe0d040000", "id"=>"5526acfc4e656952ef0b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"_id"=>BSON::ObjectId('5526acfc4e656952ef0b0000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('5526acfc4e656952ef0b0000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9510ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526acfc4e656952ef0b0000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.6680ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 23ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:48:02 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:01 UTC, "current_viewed_at"=>2015-04-09 16:48:02 UTC, "updated_at"=>2015-04-09 16:48:02 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:48:02 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 89ms (Views: 74.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:03 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:48:06 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 10ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:48:06 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526a8fe4e6569523b010000')} 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('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:02 UTC, "current_viewed_at"=>2015-04-09 16:48:06 UTC, "updated_at"=>2015-04-09 16:48:06 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:48:06 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 66ms (Views: 50.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:06 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:48:41 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} 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('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 28.4390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:06 UTC, "current_viewed_at"=>2015-04-09 16:48:41 UTC, "updated_at"=>2015-04-09 16:48:41 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:48:41 -0400}} flags=[:multi] 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('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.9440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 164ms (Views: 56.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:42 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 12:48:43 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('552048334e6569fe0d040000')}, "$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={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "_id"=>BSON::ObjectId('552048334e6569fe0d050000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Completed 302 Found in 11ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 12:48:43 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:41 UTC, "current_viewed_at"=>2015-04-09 16:48:43 UTC, "updated_at"=>2015-04-09 16:48:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:48:43 -0400}} 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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.7630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8100ms Completed 200 OK in 76ms (Views: 59.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:43 -0400 Started GET "/forums/topics/552032234e6569f801130000" for ::1 at 2015-04-09 12:48:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552032234e6569f801130000"} 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('54c407ca4e65694706000000')}, "$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('552032234e6569f801130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Completed 404 Not Found in 5ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 552032234e6569f801130000. 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): 552032234e6569f801130000 ... (1 total) and the following ids were not found: 552032234e6569f801130000. 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/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:57:in `find_forum' activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.2ms) Started GET "/forums/" for ::1 at 2015-04-09 12:48:48 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.9980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.6070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (185.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Completed 200 OK in 366ms (Views: 363.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:48 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-09 12:48:50 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views selector={"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:29:48 UTC, "current_viewed_at"=>2015-04-09 16:48:50 UTC, "updated_at"=>2015-04-09 16:48:50 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 76ms (Views: 61.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:50 -0400 Started GET "/forums/5520482a4e6569fe0d010000/new" for ::1 at 2015-04-09 12:48:52 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 136ms (Views: 129.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:52 -0400 Started POST "/forums/5520482a4e6569fe0d010000/create" for ::1 at 2015-04-09 12:48:54 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kwoIXTVUoGxlt9eCj3O3Su30siQxh6SbUONoAfBZKMg1WVEwZh1/joKCHmhoYCuKtK73mpmCulwt3iSDyzGOFQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('54c407ca4e65694706000000')}, "$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('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "updated_at"=>2015-04-09 16:48:54 UTC, "created_at"=>2015-04-09 16:48:54 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('5526ad764e656952ef120000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 16:48:54 UTC, "created_at"=>2015-04-09 16:48:54 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('5526ad764e656952ef110000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "updated_at"=>2015-04-09 16:48:54 UTC, "created_at"=>2015-04-09 16:48:54 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_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$set"=>{"last_post_at"=>2015-04-09 16:48:54 UTC, "updated_at"=>2015-04-09 16:48:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5350ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 23ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 12:48:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5526ad764e656952ef130000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 16:48:54 UTC, "created_at"=>2015-04-09 16:48:54 UTC, "current_viewed_at"=>2015-04-09 16:48:54 UTC, "past_viewed_at"=>2015-04-09 16:48:54 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 16:48:54 UTC, "updated_at"=>2015-04-09 16:48:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:48:54 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Completed 200 OK in 63ms (Views: 45.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:48:54 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/new" for ::1 at 2015-04-09 12:48:57 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `id' for nil:NilClass): /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:16:in `new' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.6ms) Started GET "/forums/topics/5526ad764e656952ef100000/posts/new" for ::1 at 2015-04-09 12:49:15 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Completed 200 OK in 84ms (Views: 38.6ms) Started GET "/forums/topics/5526ad764e656952ef100000/posts/new" for ::1 at 2015-04-09 12:49:15 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8000ms Completed 200 OK in 49ms (Views: 41.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:49:15 -0400 Started POST "/forums/topics/5526ad764e656952ef100000/posts" for ::1 at 2015-04-09 12:49:17 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"D4tomy3Txv6xmSqUiE7pB763ssyhFzvbBguigk5vLBCp2DH2fpoZHFas435vXXXH5+33cgkSJRx7Nu4AdQeKzQ==", "post"=>{"text"=>"sdf"}, "commit"=>"Create Reply", "topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_posts documents=[{"_id"=>BSON::ObjectId('5526ad8d4e656952ef170000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-09 16:49:17 UTC, "created_at"=>2015-04-09 16:49:17 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$set"=>{"last_post_at"=>2015-04-09 16:49:17 UTC, "updated_at"=>2015-04-09 16:49:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000'), "read"=>false}, "$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('5526ad764e656952ef100000')}, "$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('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$set"=>{"posts_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7270ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 39ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 12:49:17 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef130000')} 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('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:54 UTC, "current_viewed_at"=>2015-04-09 16:49:17 UTC, "updated_at"=>2015-04-09 16:49:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:49:17 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8310ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7600ms Completed 200 OK in 104ms (Views: 89.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:49:18 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/new" for ::1 at 2015-04-09 12:49:23 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8020ms Completed 200 OK in 43ms (Views: 36.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:49:23 -0400 Started POST "/forums/topics/5526ad764e656952ef100000/posts" for ::1 at 2015-04-09 12:49:24 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"r8gXZMJJKMcDSTsWsg/MzHSWj7a7JrzRW+Bi/MNv0UwJm04JkQD3JeR88vxVHFAMLczKCBMjohYm3S5++Ad3kQ==", "post"=>{"text"=>""}, "commit"=>"Create Reply", "topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 41ms (Views: 33.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:49:24 -0400 Started POST "/forums/topics/5526ad764e656952ef100000/posts" for ::1 at 2015-04-09 12:50:59 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cve/FTtEUrNnv7RCCO4VQAEdWFml0tFK744nPk/yeUDUpOZ4aA2NUYCKfajv/YmAWEcd5w3Xz42Ss2u8dJrfnQ==", "post"=>{"text"=>"sd"}, "commit"=>"Create Reply", "topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5526adf34e6569535b000000'), "text"=>"sd", "topic_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-09 16:50:59 UTC, "created_at"=>2015-04-09 16:50:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$set"=>{"last_post_at"=>2015-04-09 16:50:59 UTC, "updated_at"=>2015-04-09 16:50:59 UTC}} flags=[] 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_subscriptions selector={"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000'), "read"=>false}, "$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('5526ad764e656952ef100000')}, "$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('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$set"=>{"posts_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 122ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 12:50:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} 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('5526ad764e656952ef100000')} 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('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:49:17 UTC, "current_viewed_at"=>2015-04-09 16:50:59 UTC, "updated_at"=>2015-04-09 16:50:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 12:50:59 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526ad764e656952ef100000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (35.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 139ms (Views: 121.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 12:50:59 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:12 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/new" for ::1 at 2015-04-09 13:10:15 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000"} 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (11.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 131ms (Views: 42.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:15 -0400 Started GET "/forums/5520482a4e6569fe0d010000/new" for ::1 at 2015-04-09 13:10:21 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (44.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 86ms (Views: 78.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:21 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-09 13:10:23 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:50 UTC, "current_viewed_at"=>2015-04-09 17:10:23 UTC, "updated_at"=>2015-04-09 17:10:23 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (31.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 99ms (Views: 62.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:23 -0400 Started GET "/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-09 13:10:25 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5520482a4e6569fe0d010000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526a8fc4e6569523b000000')} 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_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fc4e6569523b000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:10:23 UTC, "current_viewed_at"=>2015-04-09 17:10:25 UTC, "updated_at"=>2015-04-09 17:10:25 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{"pinned"=>-1, "last_post_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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('552048334e6569fe0d040000')}, "$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('552048334e6569fe0d040000')}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Completed 200 OK in 120ms (Views: 104.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:25 -0400 Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 13:10:30 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} 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_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_count"=>1}} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:48:43 UTC, "current_viewed_at"=>2015-04-09 17:10:30 UTC, "updated_at"=>2015-04-09 17:10:30 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={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:10:30 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Completed 200 OK in 78ms (Views: 56.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:30 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 13:10:34 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Redirected to Completed 500 Internal Server Error in 49ms NoMethodError (undefined method `forum_topic_url' for #): actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.1) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' actionpack (4.2.1) lib/action_dispatch/routing/url_for.rb:163:in `url_for' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.1) lib/action_controller/metal/redirecting.rb:75:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:108:in `reject_locked_topic!' activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.8ms) Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 13:10:45 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Filter chain halted as :reject_locked_topic! rendered or redirected Completed 302 Found in 31ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 13:10:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} update={"$inc"=>{"views_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_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:10:30 UTC, "current_viewed_at"=>2015-04-09 17:10:45 UTC, "updated_at"=>2015-04-09 17:10:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:10:45 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 89ms (Views: 44.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:45 -0400 Started GET "/forums/topics/552048334e6569fe0d040000/posts/new?reply_to_id=552048334e6569fe0d050000" for ::1 at 2015-04-09 13:10:47 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"552048334e6569fe0d050000", "topic_id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Redirected to http://localhost:3000/forums/topics/552048334e6569fe0d040000 Filter chain halted as :reject_locked_topic! rendered or redirected Completed 302 Found in 4ms Started GET "/forums/topics/552048334e6569fe0d040000" for ::1 at 2015-04-09 13:10:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"552048334e6569fe0d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526a8fe4e6569523b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} 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('5526a8fe4e6569523b010000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:10:45 UTC, "current_viewed_at"=>2015-04-09 17:10:47 UTC, "updated_at"=>2015-04-09 17:10:47 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>nil} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:10:47 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('552048334e6569fe0d040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('552004d34e6569eff4180000')}, "$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('552048334e6569fe0d040000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 200 OK in 59ms (Views: 45.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:10:47 -0400 Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:11:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} 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_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 16:50:59 UTC, "current_viewed_at"=>2015-04-09 17:11:54 UTC, "updated_at"=>2015-04-09 17:11:54 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:11:54 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526ad764e656952ef100000')}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 144ms (Views: 78.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:11:55 -0400 Started POST "/forums/topics/5526ad764e656952ef100000/posts" for ::1 at 2015-04-09 13:12:08 -0400 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"P8i43+ikqOjPtqXJWcTDyekH+I27aIFKl1+zaAG56huZm+Gyu+13CiiDbCO+118JsF29MxNtn43qYv/qOtFMxg==", "post"=>{"text"=>"sdf"}, "commit"=>"Create Reply", "topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5526b2e84e6569535b030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "updated_at"=>2015-04-09 17:12:08 UTC, "created_at"=>2015-04-09 17:12:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$set"=>{"last_post_at"=>2015-04-09 17:12:08 UTC, "updated_at"=>2015-04-09 17:12:08 UTC}} flags=[] 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_subscriptions selector={"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} 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_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000'), "read"=>false}, "$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('5526ad764e656952ef100000')}, "$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('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} update={"$set"=>{"posts_count"=>4}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6020ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 40ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:12:08 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:11:54 UTC, "current_viewed_at"=>2015-04-09 17:12:08 UTC, "updated_at"=>2015-04-09 17:12:08 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:12:08 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526ad764e656952ef100000')}} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Completed 200 OK in 79ms (Views: 64.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:12:08 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/new?reply_to_id=5526ad764e656952ef110000" for ::1 at 2015-04-09 13:12:11 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"5526ad764e656952ef110000", "topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$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={"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "_id"=>BSON::ObjectId('5526ad764e656952ef110000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 8ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:12:11 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:12:08 UTC, "current_viewed_at"=>2015-04-09 17:12:11 UTC, "updated_at"=>2015-04-09 17:12:11 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:12:11 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526ad764e656952ef100000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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"=>{"_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (21.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 85ms (Views: 70.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:12:11 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/new?reply_to_id=5526ad764e656952ef110000" for ::1 at 2015-04-09 13:12:12 -0400 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"5526ad764e656952ef110000", "topic_id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('5526ad764e656952ef100000')}, "$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={"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "_id"=>BSON::ObjectId('5526ad764e656952ef110000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 9ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:12:13 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:12:11 UTC, "current_viewed_at"=>2015-04-09 17:12:13 UTC, "updated_at"=>2015-04-09 17:12:13 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:12:13 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6460ms Completed 200 OK in 83ms (Views: 65.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:12:13 -0400 Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:13:07 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:12:13 UTC, "current_viewed_at"=>2015-04-09 17:13:07 UTC, "updated_at"=>2015-04-09 17:13:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:13:07 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (32.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 159ms (Views: 72.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:13:08 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/5526ad764e656952ef110000/edit" for ::1 at 2015-04-09 13:13:08 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000", "id"=>"5526ad764e656952ef110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"_id"=>BSON::ObjectId('5526ad764e656952ef110000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 81ms (Views: 75.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:13:09 -0400 Started PATCH "/forums/topics/5526ad764e656952ef100000/posts/5526ad764e656952ef110000" for ::1 at 2015-04-09 13:13:10 -0400 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"idPwoOJYuIGsVUR3c4rB0dAAuN/sufZ1LdXejYFeoRYvgKnNsRFnY0tgjZ2UmV0RiVr9YUS86LJQ6JIPujYHyw==", "post"=>{"text"=>"sdffd"}, "commit"=>"Update post", "topic_id"=>"5526ad764e656952ef100000", "id"=>"5526ad764e656952ef110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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('5526ad764e656952ef110000')} 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526ad764e656952ef110000')} update={"$set"=>{"text"=>"sdffd", "updated_at"=>2015-04-09 17:13:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5780ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 11ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:13:10 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:13:07 UTC, "current_viewed_at"=>2015-04-09 17:13:11 UTC, "updated_at"=>2015-04-09 17:13:11 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:13:11 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 97ms (Views: 79.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:13:11 -0400 Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:19:42 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} 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_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} 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('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:13:11 UTC, "current_viewed_at"=>2015-04-09 17:19:42 UTC, "updated_at"=>2015-04-09 17:19: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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:19:42 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (47.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (80.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 201ms (Views: 122.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:19:42 -0400 Started DELETE "/forums/topics/5526ad764e656952ef100000/posts/5526ad764e656952ef110000" for ::1 at 2015-04-09 13:19:44 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"kRtFQ4FahCNkqVnDSX0LaD6UK0gczLXMmxlrUYxlZB83SBwu0hNbwYOckCmubpeoZ85u9rTJqwvmJCfTtw3Cwg==", "topic_id"=>"5526ad764e656952ef100000", "id"=>"5526ad764e656952ef110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5526ad764e656952ef110000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 7ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:19:44 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:19:42 UTC, "current_viewed_at"=>2015-04-09 17:19:44 UTC, "updated_at"=>2015-04-09 17:19:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:19:44 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.7900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (21.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 89ms (Views: 69.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:19:44 -0400 Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:20:20 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')} 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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef130000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:19:44 UTC, "current_viewed_at"=>2015-04-09 17:20:20 UTC, "updated_at"=>2015-04-09 17:20:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:20:20 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 200 OK in 150ms (Views: 56.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:20:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:20:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:20:21 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:20:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:20:21 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:20:21 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:20:21 -0400 Started DELETE "/forums/topics/5526ad764e656952ef100000/posts/5526ad764e656952ef110000" for ::1 at 2015-04-09 13:20:22 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"3xN/N4CYO3HPoIEz6NrXYz0k+qYDctIwkkS1sYv8cwB5QCZa09HkkyiVSNkPyUujZH6/GKt3zPfvefkzsJTV3Q==", "topic_id"=>"5526ad764e656952ef100000", "id"=>"5526ad764e656952ef110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5526ad764e656952ef110000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 6ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:20:22 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:20:20 UTC, "current_viewed_at"=>2015-04-09 17:20:22 UTC, "updated_at"=>2015-04-09 17:20:22 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 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('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:20:22 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526ad764e656952ef100000')}} runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Completed 200 OK in 78ms (Views: 64.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:20:23 -0400 Started DELETE "/forums/topics/5526ad764e656952ef100000/posts/5526ad8d4e656952ef170000" for ::1 at 2015-04-09 13:20:24 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"2aznnXV7cbQIxKMCyyotPmOIJZLus2GN54Vj1N/dYmR//77wJjKuVu/xaugsObH+OtJgLEa2f0qauC9W5LXEuQ==", "topic_id"=>"5526ad764e656952ef100000", "id"=>"5526ad8d4e656952ef170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5526ad8d4e656952ef170000')} 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={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('5526ad8d4e656952ef170000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526ad8d4e656952ef170000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4870ms Redirected to http://localhost:3000/forums/topics/5526ad764e656952ef100000 Completed 302 Found in 10ms Started GET "/forums/topics/5526ad764e656952ef100000" for ::1 at 2015-04-09 13:20:24 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526ad764e656952ef100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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('5520482a4e6569fe0d010000')}, "$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('5520482a4e6569fe0d010000'), "_id"=>BSON::ObjectId('5526ad764e656952ef100000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526ad764e656952ef130000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:20:22 UTC, "current_viewed_at"=>2015-04-09 17:20:24 UTC, "updated_at"=>2015-04-09 17:20:24 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526ad764e656952ef120000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:20:24 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526ad764e656952ef100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}} runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')}, "$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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 146ms (Views: 128.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:20:24 -0400 Started GET "/forums/topics/5526ad764e656952ef100000/posts/5526ad764e656952ef110000/edit" for ::1 at 2015-04-09 13:23:01 -0400 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"5526ad764e656952ef100000", "id"=>"5526ad764e656952ef110000"} 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('54c407ca4e65694706000000')}, "$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('5526ad764e656952ef100000')} 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('5526ad764e656952ef110000')} 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={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$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('5526ad764e656952ef100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Completed 200 OK in 96ms (Views: 50.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:01 -0400 Started GET "/forums/" for ::1 at 2015-04-09 13:23:08 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.1210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 7.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')}, "$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('5526ad764e656952ef100000')}, "$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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.6800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (255.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Completed 200 OK in 387ms (Views: 368.8ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:08 -0400 Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:23:10 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 03:28:41 UTC, "current_viewed_at"=>2015-04-09 17:23:10 UTC, "updated_at"=>2015-04-09 17:23:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 76ms (Views: 57.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:10 -0400 Started GET "/forums/55215f4a4e656917a2020000/new" for ::1 at 2015-04-09 13:23:11 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 57ms (Views: 49.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:11 -0400 Started POST "/forums/55215f4a4e656917a2020000/create" for ::1 at 2015-04-09 13:23:13 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L37FLq+IX+YvFaF+vlJ1063h/1vyvawH8UAvDeHxas2JLZxD/MGABMggaJRZQekT9Lu65Vq4ssCMfWOP2pnMEA==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "updated_at"=>2015-04-09 17:23:13 UTC, "created_at"=>2015-04-09 17:23:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('5526b5814e6569535b090000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 17:23:13 UTC, "created_at"=>2015-04-09 17:23:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5526b5814e6569535b080000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "updated_at"=>2015-04-09 17:23:13 UTC, "created_at"=>2015-04-09 17:23:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$set"=>{"last_post_at"=>2015-04-09 17:23:13 UTC, "updated_at"=>2015-04-09 17:23:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6860ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 40ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:23:13 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 17:23:13 UTC, "created_at"=>2015-04-09 17:23:13 UTC, "current_viewed_at"=>2015-04-09 17:23:13 UTC, "past_viewed_at"=>2015-04-09 17:23:13 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('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} 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('5526b5814e6569535b0a0000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 17:23:13 UTC, "updated_at"=>2015-04-09 17:23:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:23:13 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 72ms (Views: 54.0ms) Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:14 -0400 Started GET "/forums/55215f4a4e656917a2020000/new" for ::1 at 2015-04-09 13:23:20 -0400 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 70ms (Views: 64.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:20 -0400 Started POST "/forums/55215f4a4e656917a2020000/create" for ::1 at 2015-04-09 13:23:24 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"O469Z9w4YesTwUpXBR/zUw4VagBzURGytjfQHvKFvXSd3eQKj3G+CfT0g73iDG+TV08vvttUD3XLCpycye0bqQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>""}}, "commit"=>"Create Topic", "forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 200 OK in 54ms (Views: 41.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:24 -0400 Started POST "/forums/55215f4a4e656917a2020000/create" for ::1 at 2015-04-09 13:23:26 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BvR1I5mPuR2swwbzFwR5/8I7NGNm6pYlEOmYT+fL3bugpyxOysZm/0v2zxnwF+U/m2Fx3c7viOJt1NTN3KN7Zg==", "topic"=>{"name"=>"=", "posts"=>{"text"=>""}}, "commit"=>"Create Topic", "forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 57ms (Views: 46.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:26 -0400 Started POST "/forums/55215f4a4e656917a2020000/create" for ::1 at 2015-04-09 13:23:28 -0400 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HwKRp+OXyhpmZF2L8/bKCgyYqADjED1bo+lWcO40a2+5UcjKsN4V+IFRlGEU5VbKVcLtvksVI5ze1Bry1VzNsg==", "topic"=>{"name"=>"", "posts"=>{"text"=>""}}, "commit"=>"Create Topic", "forum_id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "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: 40.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:23:29 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:07 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:08 -0400 Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:25:10 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} 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=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} 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_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:23:10 UTC, "current_viewed_at"=>2015-04-09 17:25:10 UTC, "updated_at"=>2015-04-09 17:25:10 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 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"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.2970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (52.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8510ms Completed 200 OK in 160ms (Views: 94.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:25:11 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:10 UTC, "current_viewed_at"=>2015-04-09 17:25:11 UTC, "updated_at"=>2015-04-09 17:25:11 UTC}} flags=[] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 78ms (Views: 61.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:11 -0400 Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:12 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:23:13 UTC, "current_viewed_at"=>2015-04-09 17:25:12 UTC, "updated_at"=>2015-04-09 17:25:12 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:12 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 80ms (Views: 58.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:12 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 13:25:14 -0400 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 17:25:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4750ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 11ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:14 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:12 UTC, "current_viewed_at"=>2015-04-09 17:25:14 UTC, "updated_at"=>2015-04-09 17:25:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:14 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 74ms (Views: 55.1ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:14 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 13:25:16 -0400 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 17:25:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 12ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:16 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:14 UTC, "current_viewed_at"=>2015-04-09 17:25:16 UTC, "updated_at"=>2015-04-09 17:25:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:16 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 69ms (Views: 54.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:16 -0400 Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:29 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:16 UTC, "current_viewed_at"=>2015-04-09 17:25:29 UTC, "updated_at"=>2015-04-09 17:25:29 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:30 -0400}} 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=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 1.1840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.8530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (47.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (81.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 243ms (Views: 161.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:30 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 13:25:31 -0400 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 17:25:31 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3840ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 9ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:31 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:29 UTC, "current_viewed_at"=>2015-04-09 17:25:31 UTC, "updated_at"=>2015-04-09 17:25:31 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:31 -0400}} 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=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 55ms (Views: 43.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:31 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 13:25:32 -0400 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 17:25:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4050ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 12ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:32 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:31 UTC, "current_viewed_at"=>2015-04-09 17:25:32 UTC, "updated_at"=>2015-04-09 17:25:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:32 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.4ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 57ms (Views: 44.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:32 -0400 Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:43 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:32 UTC, "current_viewed_at"=>2015-04-09 17:25:44 UTC, "updated_at"=>2015-04-09 17:25:44 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:44 -0400}} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Completed 200 OK in 112ms (Views: 42.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:44 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 13:25:45 -0400 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 17:25:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5260ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 10ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:45 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:44 UTC, "current_viewed_at"=>2015-04-09 17:25:45 UTC, "updated_at"=>2015-04-09 17:25:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:45 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 64ms (Views: 48.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:45 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 13:25:46 -0400 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 17:25:46 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 10ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:46 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:45 UTC, "current_viewed_at"=>2015-04-09 17:25:46 UTC, "updated_at"=>2015-04-09 17:25:46 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:46 -0400}} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.8380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Completed 200 OK in 114ms (Views: 99.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:46 -0400 Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:25:59 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:46 UTC, "current_viewed_at"=>2015-04-09 17:25:59 UTC, "updated_at"=>2015-04-09 17:25:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:25:59 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (28.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 140ms (Views: 69.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:25:59 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 13:26:00 -0400 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 17:26:00 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4570ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 10ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:26:01 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:59 UTC, "current_viewed_at"=>2015-04-09 17:26:01 UTC, "updated_at"=>2015-04-09 17:26:01 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:26:01 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 71ms (Views: 54.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:26:01 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 13:26:02 -0400 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 17:26:02 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4070ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 10ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:26:02 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:26:01 UTC, "current_viewed_at"=>2015-04-09 17:26:02 UTC, "updated_at"=>2015-04-09 17:26:02 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:26:02 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 91ms (Views: 75.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:26:02 -0400 Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:26:26 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:26:02 UTC, "current_viewed_at"=>2015-04-09 17:26:26 UTC, "updated_at"=>2015-04-09 17:26:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:26:26 -0400}} 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=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7310ms Completed 200 OK in 127ms (Views: 63.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:26:26 -0400 Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:27:53 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} 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('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:26:26 UTC, "current_viewed_at"=>2015-04-09 17:27:53 UTC, "updated_at"=>2015-04-09 17:27:53 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:27:53 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (33.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 184ms (Views: 92.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:27:53 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 13:27:54 -0400 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 17:27:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3970ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 9ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:27:54 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:27:53 UTC, "current_viewed_at"=>2015-04-09 17:27:54 UTC, "updated_at"=>2015-04-09 17:27:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:27:54 -0400}} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$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_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "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('5526b5814e6569535b070000')}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6530ms Completed 200 OK in 65ms (Views: 53.3ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:27:54 -0400 Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 13:27:55 -0400 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 17:27:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4200ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 11ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 13:27:55 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:27:54 UTC, "current_viewed_at"=>2015-04-09 17:27:55 UTC, "updated_at"=>2015-04-09 17:27:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 13:27:55 -0400}} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 69ms (Views: 55.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:27:55 -0400 Started GET "/forums/admin" for ::1 at 2015-04-09 13:31:31 -0400 Processing by MongoidForums::Admin::BaseController#index as HTML 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 104ms (Views: 72.7ms) Started GET "/forums/admin/categories" for ::1 at 2015-04-09 13:31:34 -0400 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('54c407ca4e65694706000000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Completed 200 OK in 57ms (Views: 42.9ms) Started DELETE "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-09 13:31:37 -0400 Processing by MongoidForums::Admin::CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"A/QtoBTm6bFDCpRa6fVOB1rbId/NaPN0cYS7JEIit6qlp3TNR682U6Q/XbAO5tLHA4FkYWVt7bMMufemeUoRdw==", "id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 15ms Started GET "/forums/admin/categories" for ::1 at 2015-04-09 13:31:37 -0400 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('54c407ca4e65694706000000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 42ms (Views: 40.4ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-09 13:31:39 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (64.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 106ms (Views: 103.6ms) Started POST "/forums/admin/categories" for ::1 at 2015-04-09 13:31:41 -0400 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"w6jMsN3ns+ZVZZAYcBOch4HFEaLaFdrTBncYXSENxFBl+5Xdjq5sBLJQWfKXAABH2J9UHHIQxBR7SlTfGmVijQ==", "category"=>{"name"=>"sdf2", "position"=>"0"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('5526b77d4e65695660000000'), "position"=>0, "name"=>"sdf2"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6680ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 10ms Started GET "/forums/admin/categories" for ::1 at 2015-04-09 13:31:41 -0400 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('54c407ca4e65694706000000')}, "$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"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 197ms (Views: 195.2ms) Started GET "/forums/admin/categories/5526b77d4e65695660000000/edit" for ::1 at 2015-04-09 13:31:45 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5526b77d4e65695660000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5526b77d4e65695660000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 200 OK in 53ms (Views: 49.8ms) Started PATCH "/forums/admin/categories/5526b77d4e65695660000000" for ::1 at 2015-04-09 13:31:47 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9Kr+zAbj3gAuD/HFn8A5+cVt6yfd1cMPgM70Iw9R0d9S+aehVaoB4sk6OC9406U5nDeumXXQ3cj987ihNDl3Ag==", "category"=>{"name"=>"sdf2", "position"=>"3"}, "commit"=>"Update Category", "id"=>"5526b77d4e65695660000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5526b77d4e65695660000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5526b77d4e65695660000000')} update={"$set"=>{"position"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Redirected to http://localhost:3000/forums/admin/categories Completed 302 Found in 6ms Started GET "/forums/admin/categories" for ::1 at 2015-04-09 13:31:47 -0400 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('54c407ca4e65694706000000')}, "$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"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 200 OK in 35ms (Views: 33.2ms) Started GET "/forums/admin/categories/5520481b4e6569fe0d000000/edit" for ::1 at 2015-04-09 13:31:50 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (6.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 44ms (Views: 41.5ms) Started PATCH "/forums/admin/categories/5520481b4e6569fe0d000000" for ::1 at 2015-04-09 13:31:52 -0400 Processing by MongoidForums::Admin::CategoriesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/BLbqPDjProDReN/tPgCp+5F/uXHx9nCgVNRwPG5PCFaQYLFo6rhWORwKpVT655ntx+7W2/CxwX8bh1CytGa/A==", "category"=>{"name"=>"", "position"=>"0"}, "commit"=>"Update Category", "id"=>"5520481b4e6569fe0d000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (4.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 38ms (Views: 33.1ms) Started GET "/forums/admin/categories/5526b77d4e65695660000000/edit" for ::1 at 2015-04-09 13:33:43 -0400 Processing by MongoidForums::Admin::CategoriesController#edit as HTML Parameters: {"id"=>"5526b77d4e65695660000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"_id"=>BSON::ObjectId('5526b77d4e65695660000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/edit.haml within layouts/mongoid_forums/application (85.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 252ms (Views: 221.2ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-04-09 13:33:48 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Completed 200 OK in 50ms (Views: 47.6ms) Started GET "/forums/admin/" for ::1 at 2015-04-09 13:34:01 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.0230ms Completed 200 OK in 73ms (Views: 69.9ms) Started GET "/forums/admin/forums" for ::1 at 2015-04-09 13:34:03 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms 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.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0420ms Completed 200 OK in 66ms (Views: 50.4ms) Started DELETE "/forums/admin/forums/5520482a4e6569fe0d010000" for ::1 at 2015-04-09 13:34:06 -0400 Processing by MongoidForums::Admin::ForumsController#destroy as HTML Parameters: {"authenticity_token"=>"W/vmqigrV1hcEDl68ejGkUAP9OqCWgp8/P2w6wrNblX9qL/He2KIursl8JAW+1pRGVWxVCpfFLuBwPxpMaXIiA==", "id"=>"5520482a4e6569fe0d010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} 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('5520482a4e6569fe0d010000')} 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_posts selector={"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('552048334e6569fe0d050000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('552048334e6569fe0d050000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('552048334e6569fe0d040000')} flags=[:remove_first] 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_posts selector={"topic_id"=>BSON::ObjectId('5526ad764e656952ef100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('5526ad764e656952ef110000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526ad764e656952ef110000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"reply_to_id"=>BSON::ObjectId('5526adf34e6569535b000000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526adf34e6569535b000000')} flags=[:remove_first] 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_posts selector={"reply_to_id"=>BSON::ObjectId('5526b2e84e6569535b030000')} update={"$set"=>{"reply_to_id"=>nil}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5610ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526b2e84e6569535b030000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526ad764e656952ef100000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Redirected to http://localhost:3000/forums/admin/forums Completed 302 Found in 83ms Started GET "/forums/admin/forums" for ::1 at 2015-04-09 13:34:06 -0400 Processing by MongoidForums::Admin::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms 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.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 36ms (Views: 33.8ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-09 13:34:09 -0400 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('54c407ca4e65694706000000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 46ms (Views: 44.2ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-09 13:34:13 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V/3EyXwdXGzUwTaZiMqcIpkhYZxC6b9oEx27nJ+qZhvxrp2kL1SDjjP0/3Nv2QDiwHskIursoa9uIPcepMLAxg==", "forum"=>{"name"=>"sdfsdfs", "category"=>"", "position"=>"0"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>""}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 65ms (Views: 45.2ms) Started POST "/forums/admin/forums" for ::1 at 2015-04-09 13:34:16 -0400 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YfsXGOx8jxtEQa91Opy2fxjUms7+ip5Tmbzr04B/zgbHqE51vzVQ+aN0Zp/djyq/QY7fcFaPgJTkgadRuxdo2w==", "forum"=>{"name"=>"sdfsdfs", "category"=>"5520481b4e6569fe0d000000", "position"=>"0"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('5526b8184e65695685000000'), "position"=>0, "name"=>"sdfsdfs", "category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5110ms Redirected to http://localhost:3000/forums/admin/forums/5526b8184e65695685000000 Completed 302 Found in 6ms Started GET "/forums/admin/forums/5526b8184e65695685000000" for ::1 at 2015-04-09 13:34:16 -0400 Processing by MongoidForums::Admin::ForumsController#show as HTML Parameters: {"id"=>"5526b8184e65695685000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5526b8184e65695685000000')} 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_groups selector={"moderator"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 9.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"$and"=>[{"_id"=>{"$in"=>[]}}], "_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.2260ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7380ms Completed 200 OK in 53ms (Views: 36.9ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-09 13:34:21 -0400 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('54c407ca4e65694706000000')}, "$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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 40ms (Views: 37.4ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-04-09 13:34:22 -0400 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('54c407ca4e65694706000000')}, "$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_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 58ms (Views: 56.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:34:22 -0400 Started GET "/forums/admin/forums/55215f4a4e656917a2020000/edit" for ::1 at 2015-04-09 13:34:23 -0400 Processing by MongoidForums::Admin::ForumsController#edit as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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_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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/forums/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6390ms Completed 200 OK in 65ms (Views: 60.9ms) Started PATCH "/forums/admin/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:34:28 -0400 Processing by MongoidForums::Admin::ForumsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cC6AX0CcbzvouigO7jMnzZRoeWSpjBeVw/oSpLX4PNzWfdkyE9Ww2Q+P4eQJILsNzTI82gGJCVK+x14mjpCaAQ==", "forum"=>{"name"=>"Biology", "category"=>"55215dce4e656917a2000000", "position"=>"-1"}, "commit"=>"Update Forum", "id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$set"=>{"position"=>-1, "category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5170ms Redirected to http://localhost:3000/forums/55215f4a4e656917a2020000 Completed 302 Found in 9ms Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:34:28 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:25:11 UTC, "current_viewed_at"=>2015-04-09 17:34:28 UTC, "updated_at"=>2015-04-09 17:34:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (27.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 91ms (Views: 63.7ms) Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:42:37 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$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('55215f4a4e656917a2020000')} 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('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"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_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:34:28 UTC, "current_viewed_at"=>2015-04-09 17:42:38 UTC, "updated_at"=>2015-04-09 17:42:38 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$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('55215f4a4e656917a2020000')}, "$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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')}, "$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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7780ms Completed 200 OK in 170ms (Views: 109.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:42:38 -0400 Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 13:42:40 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} 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('54c407ca4e65694706000000')}, "$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={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$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={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} 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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} 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('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:42:38 UTC, "current_viewed_at"=>2015-04-09 17:42:40 UTC, "updated_at"=>2015-04-09 17:42:40 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$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('55215f4a4e656917a2020000')}, "$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=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')}, "$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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.5470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 62ms (Views: 47.9ms) Started GET "/forums/admin" for ::1 at 2015-04-09 13:42:42 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0450ms Completed 200 OK in 121ms (Views: 118.2ms) Started GET "/forums/admin/users" for ::1 at 2015-04-09 13:42:43 -0400 Processing by MongoidForums::Admin::UsersController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 48ms (Views: 45.7ms) Started GET "/forums/admin" for ::1 at 2015-04-09 13:42:46 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 38ms (Views: 35.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:42:47 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.haml within layouts/mongoid_forums/application (4.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Completed 200 OK in 39ms (Views: 37.0ms) Started GET "/forums/admin/groups/new" for ::1 at 2015-04-09 13:42:50 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 77ms (Views: 75.3ms) Started POST "/forums/admin/groups" for ::1 at 2015-04-09 13:42:52 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"61sBC2+rrie6yEmTrcmUlsSceEWaTtHoQy97K5iVKZBNCFhmPOJxxV39gHlK2ghWncY9+zJLzy8+Ejepo/2PTQ==", "group"=>{"name"=>""}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 4ms Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:42:52 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 41ms (Views: 38.6ms) Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:42:54 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 46ms (Views: 43.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:42:54 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:42:55 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 45ms (Views: 42.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:42:55 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:43:16 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8190ms Completed 200 OK in 75ms (Views: 40.9ms) Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:16 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:43:31 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 59ms (Views: 39.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:31 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-09 13:43:32 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (5.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Completed 200 OK in 42ms (Views: 39.9ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:33 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-09 13:43:34 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"a4XW6Z5hHmnZIgUosXrKFevY4XWKLo25jb5Xl8QH5BvN1o+EzSjBiz4XzMJWaVbVsoKkyyIrk37wgxsV/29Cxg==", "group"=>{"name"=>""}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 4ms Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:43:34 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "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: 47.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:34 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:43:39 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6820ms Completed 200 OK in 56ms (Views: 37.8ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:39 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-09 13:43:40 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 46ms (Views: 43.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-09 13:43:41 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5kR134pCqbs4czCRMMUI1FEx3epJ6z1djBP/ySIK7WRAFyyy2Qt2Wd9G+XvX1pQUCGuYVOHuI5rxLrNLGWJLuQ==", "group"=>{"name"=>""}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 5ms Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:43:41 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7030ms Completed 200 OK in 55ms (Views: 53.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:43:41 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:44:18 -0400 Processing by MongoidForums::Admin::GroupsController#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('54c407ca4e65694706000000')}, "$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_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Completed 200 OK in 64ms (Views: 40.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:18 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-09 13:44:19 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.haml within layouts/mongoid_forums/application (6.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 102ms (Views: 99.7ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:19 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-09 13:44:20 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NG446jZyTg4WgV5dLJUq8Ylff3aH8Y39sQgu/GPpR+uSPWGHZTuR7PG0l7fLhrYx0AU6yC/0kzrMNWJ+WIHhNg==", "group"=>{"name"=>""}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 50ms (Views: 45.2ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:20 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:21 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:21 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:21 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:21 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:21 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:21 -0400 Started POST "/forums/admin/groups" for ::1 at 2015-04-09 13:44:25 -0400 Processing by MongoidForums::Admin::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"iukXUrTVBInpzLEGhAmI59PygIax7BxQo5kNRMwXeh4suk4/55zbaw75eOxjGhQniqjFOBnpApfepEHG93/cww==", "group"=>{"name"=>"dfsdf", "moderator"=>"false"}, "commit"=>"Create Group"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_groups documents=[{"_id"=>BSON::ObjectId('5526ba794e65695685010000'), "members"=>[], "name"=>"dfsdf", "moderator"=>false}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 10.8480ms Redirected to http://localhost:3000/forums/admin/groups/5526ba794e65695685010000 Completed 302 Found in 15ms Started GET "/forums/admin/groups/5526ba794e65695685010000" for ::1 at 2015-04-09 13:44:25 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"5526ba794e65695685010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('5526ba794e65695685010000')} 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={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Completed 200 OK in 47ms (Views: 42.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:25 -0400 Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:27 -0400 Started GET "/forums/admin/groups/new" for ::1 at 2015-04-09 13:44:30 -0400 Processing by MongoidForums::Admin::GroupsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/new.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 200 OK in 52ms (Views: 50.5ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:30 -0400 Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:44:31 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Completed 200 OK in 47ms (Views: 45.1ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:31 -0400 Started DELETE "/forums/admin/groups/5526ba794e65695685010000" for ::1 at 2015-04-09 13:44:34 -0400 Processing by MongoidForums::Admin::GroupsController#destroy as HTML Parameters: {"authenticity_token"=>"6r7C0YTFG/Ods0Q4K97xwQLDKeY7d8U6esXH21xf63hM7Zu814zEEXqGjdLMzW0BW5lsWJNy2/0H+ItZZzdNpQ==", "id"=>"5526ba794e65695685010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('5526ba794e65695685010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('5526ba794e65695685010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Redirected to http://localhost:3000/forums/admin/groups Completed 302 Found in 4ms Started GET "/forums/admin/groups" for ::1 at 2015-04-09 13:44:34 -0400 Processing by MongoidForums::Admin::GroupsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/index.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 56ms (Views: 54.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:34 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000/edit" for ::1 at 2015-04-09 13:44:36 -0400 Processing by MongoidForums::Admin::GroupsController#edit as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/edit.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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6690ms Completed 200 OK in 61ms (Views: 58.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:36 -0400 Started PATCH "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-09 13:44:40 -0400 Processing by MongoidForums::Admin::GroupsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cuVbcUmHrtQ0PdwJRb+R3MusN1BftAFhE+380TbKKkLUtgIcGs5xNtMIFeOirA0ckvZy7vexH6Zu0LBTDaKMnw==", "group"=>{"name"=>"Mod Group 1.0", "moderator"=>"true"}, "commit"=>"Update Group", "id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Unpermitted parameter: moderator MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} update={"$set"=>{"name"=>"Mod Group 1.0"}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms Redirected to http://localhost:3000/forums/admin/groups/551f19ff4e6569e8f9000000 Completed 302 Found in 5ms Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-09 13:44:40 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.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('54c407ca4e65694706000000'), "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: 38.6ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:40 -0400 Started GET "/forums/admin/groups/551f19ff4e6569e8f9000000" for ::1 at 2015-04-09 13:44:41 -0400 Processing by MongoidForums::Admin::GroupsController#show as HTML Parameters: {"id"=>"551f19ff4e6569e8f9000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_groups selector={"_id"=>BSON::ObjectId('551f19ff4e6569e8f9000000')} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} 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={} 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={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} 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={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/groups/show.haml within layouts/mongoid_forums/application (4.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9380ms Completed 200 OK in 42ms (Views: 36.0ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:41 -0400 Started GET "/" for ::1 at 2015-04-09 15:42:27 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (2.2ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 6.3850ms Rendered partials/_nav.haml (12.3ms) Completed 200 OK in 128ms (Views: 127.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:28 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 15:42:28 -0400 Started GET "/" for ::1 at 2015-04-09 15:42:30 -0400 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.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered partials/_nav.haml (2.7ms) Completed 200 OK in 28ms (Views: 28.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:31 -0400 Started GET "/forums" for ::1 at 2015-04-09 15:42:31 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.5780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5526b8184e65695685000000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 5.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (81.4ms) Completed 500 Internal Server Error in 103ms ActionView::Template::Error (undefined method `can_read_mongoid_forums_forums?' for #): 26: %td 27: = link_to forum.name, forum 28: %td 29: - if forum.topics.select {|topic| can?(:read, topic) }.last 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last 31: - last_post = last_topic.posts.last 32: = time_ago_in_words ( last_post.created_at ) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/ability.rb:30:in `initialize' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `new' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `current_ability' cancancan (1.10.1) lib/cancan/controller_additions.rb:380:in `can?' actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `can?' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (3 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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 `select' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (33.5ms) Started GET "/forums" for ::1 at 2015-04-09 15:43:57 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5950ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.0ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `can_read_mongoid_forums_forums?' for #): 26: %td 27: = link_to forum.name, forum 28: %td 29: - if forum.topics.select {|topic| can?(:read, topic) }.last 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last 31: - last_post = last_topic.posts.last 32: = time_ago_in_words ( last_post.created_at ) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/ability.rb:30:in `initialize' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `new' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `current_ability' cancancan (1.10.1) lib/cancan/controller_additions.rb:380:in `can?' actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `can?' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (3 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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 `select' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.2ms) Started GET "/forums" for ::1 at 2015-04-09 15:44:06 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('54c407ca4e65694706000000')}, "$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"=>{}, "$orderby"=>{"position"=>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('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>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={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.7730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (68.6ms) Completed 500 Internal Server Error in 104ms ActionView::Template::Error (undefined method `can_read_mongoid_forums_forums?' for #): 26: %td 27: = link_to forum.name, forum 28: %td 29: - if forum.topics.select {|topic| can?(:read, topic) }.last 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last 31: - last_post = last_topic.posts.last 32: = time_ago_in_words ( last_post.created_at ) /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/ability.rb:30:in `initialize' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `new' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `current_ability' cancancan (1.10.1) lib/cancan/controller_additions.rb:380:in `can?' actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `can?' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (3 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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 `select' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980' 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.4) lib/moped/cursor.rb:28:in `block in each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) lib/moped/cursor.rb:28:in `each' moped (2.0.4) 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/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.6ms) Overwriting existing field mongoid_admin in class User. Started GET "/forums" for ::1 at 2015-04-09 15:50:08 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (117.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0350ms Completed 200 OK in 240ms (Views: 209.4ms) Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 15:50:16 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[] 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('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:42:40 UTC, "current_viewed_at"=>2015-04-09 19:50:16 UTC, "updated_at"=>2015-04-09 19:50:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 84ms (Views: 61.3ms) Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:50:18 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:27:55 UTC, "current_viewed_at"=>2015-04-09 19:50:18 UTC, "updated_at"=>2015-04-09 19:50:18 UTC}} flags=[] 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:50:18 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.9ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (36.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7730ms Completed 200 OK in 99ms (Views: 70.0ms) Started DELETE "/forums/topics/5526b5814e6569535b070000/posts/5526b5814e6569535b080000" for ::1 at 2015-04-09 15:50:19 -0400 Processing by MongoidForums::PostsController#destroy as HTML Parameters: {"authenticity_token"=>"RabswBZcB9V9qVxpZCSQOgz0BBugt/CbDLgKgF+KRsTj9bWtRRXYN5qclYODNwz6Va5BpQiy7lxxhUYCZOLgGQ==", "topic_id"=>"5526b5814e6569535b070000", "id"=>"5526b5814e6569535b080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526b5814e6569535b080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 5ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:50:20 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} 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('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:50:18 UTC, "current_viewed_at"=>2015-04-09 19:50:20 UTC, "updated_at"=>2015-04-09 19:50:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:50:20 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 105ms (Views: 44.0ms) Overwriting existing field mongoid_admin in class User. Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:31 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} 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('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:50:20 UTC, "current_viewed_at"=>2015-04-09 19:57:31 UTC, "updated_at"=>2015-04-09 19:57:31 UTC}} flags=[] 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:31 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.7ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (52.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Completed 200 OK in 243ms (Views: 145.8ms) Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 15:57:33 -0400 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 19:57:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 13ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:33 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} 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_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:57:31 UTC, "current_viewed_at"=>2015-04-09 19:57:33 UTC, "updated_at"=>2015-04-09 19:57:33 UTC}} flags=[] 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_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:33 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2790ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Completed 200 OK in 66ms (Views: 48.6ms) Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 15:57:34 -0400 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 19:57:34 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4440ms Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000 Completed 302 Found in 10ms Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:34 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:57:33 UTC, "current_viewed_at"=>2015-04-09 19:57:34 UTC, "updated_at"=>2015-04-09 19:57:34 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:34 -0400}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 65ms (Views: 49.0ms) Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:36 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} 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('54c407ca4e65694706000000')}, "$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('5526b5814e6569535b070000')} 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={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$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={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} 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('55215f4a4e656917a2020000')}, "$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_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} 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_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:57:34 UTC, "current_viewed_at"=>2015-04-09 19:57:37 UTC, "updated_at"=>2015-04-09 19:57:37 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:37 -0400}} flags=[:multi] 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_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/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('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 95ms (Views: 38.0ms) Started GET "/forums" for ::1 at 2015-04-09 15:57:38 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 1.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 5.3580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 4.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (81.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8560ms Completed 200 OK in 307ms (Views: 304.5ms) Started GET "/" for ::1 at 2015-04-09 15:57:39 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8150ms Rendered partials/_nav.haml (4.0ms) Completed 200 OK in 69ms (Views: 69.2ms) Started GET "/users/sign_out" for ::1 at 2015-04-09 15:57:40 -0400 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Redirected to http://localhost:3000/ Completed 302 Found in 6ms Started GET "/" for ::1 at 2015-04-09 15:57:40 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (5.8ms) Completed 200 OK in 36ms (Views: 36.0ms) Started GET "/" for ::1 at 2015-04-09 15:57:42 -0400 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 29ms (Views: 28.4ms) Started GET "/forums" for ::1 at 2015-04-09 15:57:42 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (27.9ms) Completed 200 OK in 86ms (Views: 84.5ms) Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 15:57:45 -0400 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"55215f4a4e656917a2020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (32.5ms) Completed 200 OK in 80ms (Views: 71.8ms) Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:47 -0400 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"5526b5814e6569535b070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.0ms) Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 55ms (Views: 48.7ms) Overwriting existing field mongoid_admin in class User. Started GET "/" for ::1 at 2015-04-09 18:58:57 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (2.1ms) Rendered partials/_nav.haml (5.4ms) Completed 200 OK in 118ms (Views: 117.3ms) Started GET "/users/sign_in" for ::1 at 2015-04-09 18:59:01 -0400 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 (1.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 (38.6ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 84ms (Views: 81.5ms) Started POST "/users/sign_in" for ::1 at 2015-04-09 18:59:05 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fPoi7o/fWEZsNm6ynL8YcCeMmWtXrglNr3mQjeyexuGcMOErcvPFAWtp8IXXvao+wFOgd/T4nsrgk3rFEE0OhA==", "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: 9.8190ms 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: 15.6950ms Completed 401 Unauthorized in 111ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fPoi7o/fWEZsNm6ynL8YcCeMmWtXrglNr3mQjeyexuGcMOErcvPFAWtp8IXXvao+wFOgd/T4nsrgk3rFEE0OhA==", "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 (0.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 (3.1ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 134ms (Views: 42.5ms) Started POST "/users/sign_in" for ::1 at 2015-04-09 18:59:08 -0400 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xm59IU22P8ZvPofxHEPiiaWRbLO08k0UIAJMmIp+v4kmpL7ksJqigWhhGcZXQVDHQk5Vrxek2pNv6KbQdq137A==", "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.9600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-09 03:28:33 UTC, "current_sign_in_at"=>2015-04-09 22:59:08 UTC, "sign_in_count"=>13}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 16.0150ms Redirected to http://localhost:3000/ Completed 302 Found in 109ms Started GET "/" for ::1 at 2015-04-09 18:59:08 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 34ms (Views: 33.9ms) Started GET "/" for ::1 at 2015-04-09 18:59:10 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 31ms (Views: 31.3ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 18:59:10 -0400 Overwriting existing field mongoid_admin in class User. Overwriting existing field mongoid_admin in class User. Started GET "/" for ::1 at 2015-04-09 23:01:15 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (2.0ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9900ms MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6400ms Rendered partials/_nav.haml (259.6ms) Completed 500 Internal Server Error in 394ms ActionView::Template::Error (Could not connect to a primary node for replica set #]>): 1: - if user_signed_in? 2: Signed in as 3: = current_user.email 4: = link_to "Sign Out", destroy_user_session_path app/models/concerns/zero_oid_fix.rb:6:in `serialize_from_session' app/views/partials/_nav.haml:1:in `_app_views_partials__nav_haml__4068847454029731319_70170506406220' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml__3076849068357295764_70170509057880' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.6ms) Started GET "/" for ::1 at 2015-04-09 23:01:21 -0400 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.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.1860ms Rendered partials/_nav.haml (6.6ms) Completed 200 OK in 53ms (Views: 52.8ms) Started GET "/" for ::1 at 2015-04-09 23:01:23 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Rendered partials/_nav.haml (2.0ms) Completed 200 OK in 42ms (Views: 41.4ms) Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-09 23:01:23 -0400 Started GET "/" for ::1 at 2015-04-09 23:01:30 -0400 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6180ms Rendered partials/_nav.haml (257.4ms) Completed 500 Internal Server Error in 292ms ActionView::Template::Error (Could not connect to a primary node for replica set #]>): 1: - if user_signed_in? 2: Signed in as 3: = current_user.email 4: = link_to "Sign Out", destroy_user_session_path app/models/concerns/zero_oid_fix.rb:6:in `serialize_from_session' app/views/partials/_nav.haml:1:in `_app_views_partials__nav_haml__4068847454029731319_70170506406220' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml__3076849068357295764_70170509057880' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.6ms) Started GET "/forums" for ::1 at 2015-04-09 23:01:31 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: Retrying connection attempt 1 more time(s). runtime: n/a MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6000ms Completed 500 Internal Server Error in 265ms Moped::Errors::ConnectionFailure (Could not connect to a primary node for replica set #]>): app/models/concerns/zero_oid_fix.rb:6:in `serialize_from_session' app/controllers/application_controller.rb:4:in `mongoid_forums_user' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.6ms) Started GET "/forums" for ::1 at 2015-04-09 23:01:34 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (19.1ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `forem_pages_widget' for #<#:0x007fa3b0843130>): 1: %h1 Listing all forums 2: 3: = forem_pages_widget(@topics) 4: - @categories.each do |category| 5: %h2 6: = category.name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3551374099618324629_70170508903640' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.3ms) Started GET "/forums" for ::1 at 2015-04-09 23:01:37 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.6ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `forem_pages_widget' for #<#:0x007fa3adbfe138>): 1: %h1 Listing all forums 2: 3: = forem_pages_widget(@topics) 4: - @categories.each do |category| 5: %h2 6: = category.name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3551374099618324629_70170508903640' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.3ms) Started GET "/forums" for ::1 at 2015-04-09 23:01:59 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.7ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `num_pages' for nil:NilClass): 1: %h1 Listing all forums 2: 3: = mongoid_forums_pages_widget(@topics) 4: - @categories.each do |category| 5: %h2 6: = category.name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/helpers/mongoid_forums/application_helper.rb:20:in `mongoid_forums_pages_widget' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3551374099618324629_70170508888440' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.5ms) Started GET "/forums" for ::1 at 2015-04-09 23:02:22 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.1ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (uninitialized class variable @@categories in ActionView::CompiledTemplates): 1: %h1 Listing all forums 2: 3: = mongoid_forums_pages_widget(@@categories) 4: - @categories.each do |category| 5: %h2 6: = category.name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3551374099618324629_70170511810040' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.4ms) Started GET "/forums" for ::1 at 2015-04-09 23:02:26 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.5ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (uninitialized class variable @@categories in ActionView::CompiledTemplates): 1: %h1 Listing all forums 2: 3: = mongoid_forums_pages_widget(@@categories) 4: - @categories.each do |category| 5: %h2 6: = category.name /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3551374099618324629_70170511220600' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.8ms) Started GET "/forums" for ::1 at 2015-04-09 23:02:30 -0400 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.8ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `num_pages' for #): 1: %h1 Listing all forums 2: 3: = mongoid_forums_pages_widget(@categories) 4: - @categories.each do |category| 5: %h2 6: = category.name mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/helpers/mongoid_forums/application_helper.rb:20:in `mongoid_forums_pages_widget' /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3551374099618324629_70170506590840' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.5ms) Overwriting existing field mongoid_admin in class User. Overwriting existing field mongoid_admin in class User. Overwriting existing field mongoid_admin in class User. Started GET "/" for ::1 at 2015-04-10 15:51:54 -0400 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: 12.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 142.7700ms Rendered partials/_nav.haml (159.9ms) Completed 200 OK in 278ms (Views: 277.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-10 15:51:55 -0400 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-10 15:51:55 -0400 Started GET "/" for ::1 at 2015-04-10 15:51:57 -0400 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('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 28ms (Views: 27.7ms) Started GET "/forums" for ::1 at 2015-04-10 15:51:59 -0400 Processing by MongoidForums::ForumsController#index as HTML 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('54c407ca4e65694706000000')}, "$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_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 8.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.7290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 1.1040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 9.5750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (125.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.2180ms Completed 200 OK in 184ms (Views: 165.2ms) Overwriting existing field mongoid_admin in class User. Overwriting existing field mongoid_admin in class User.