{"action":"opened","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/5834","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/5834/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/5834/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/5834/events","html_url":"https://github.com/diaspora/diaspora/issues/5834","id":65583042,"number":5834,"title":"500 when mentioning a user on the same pod","user":{"login":"svbergerem","id":3798614,"avatar_url":"https://avatars.githubusercontent.com/u/3798614?v=3","gravatar_id":"","url":"https://api.github.com/users/svbergerem","html_url":"https://github.com/svbergerem","followers_url":"https://api.github.com/users/svbergerem/followers","following_url":"https://api.github.com/users/svbergerem/following{/other_user}","gists_url":"https://api.github.com/users/svbergerem/gists{/gist_id}","starred_url":"https://api.github.com/users/svbergerem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svbergerem/subscriptions","organizations_url":"https://api.github.com/users/svbergerem/orgs","repos_url":"https://api.github.com/users/svbergerem/repos","events_url":"https://api.github.com/users/svbergerem/events{/privacy}","received_events_url":"https://api.github.com/users/svbergerem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T01:43:20Z","updated_at":"2015-04-01T01:43:20Z","closed_at":null,"body":"```\r\nevent=mail mail_type=notification_mailers/mentioned recipient_id=2 sender_id=1models_found=true sender_handle=svbergerem@localhost:3000 recipient_handle=testuser@localhost:3000\r\n  Mention Load (1.1ms)  SELECT  `mentions`.* FROM `mentions` WHERE `mentions`.`id` = 10 LIMIT 1\r\n  Post Load (1.6ms)  SELECT  `posts`.* FROM `posts` WHERE `posts`.`id` = 161 LIMIT 1\r\n  Profile Load (0.4ms)  SELECT  `profiles`.* FROM `profiles` WHERE `profiles`.`person_id` = 1 LIMIT 1\r\n  Profile Load (0.8ms)  SELECT  `profiles`.* FROM `profiles` WHERE `profiles`.`person_id` = 2 LIMIT 1\r\n  Mention Exists (1.4ms)  SELECT  1 AS one FROM `mentions` WHERE `mentions`.`post_id` = 161 LIMIT 1\r\n  Mention Load (0.7ms)  SELECT `mentions`.* FROM `mentions` WHERE `mentions`.`post_id` = 161\r\n  Person Load (0.6ms)  SELECT `people`.* FROM `people` WHERE `people`.`id` IN (2)\r\n  Profile Load (0.7ms)  SELECT `profiles`.* FROM `profiles` WHERE `profiles`.`person_id` IN (2)\r\n  CACHE (0.1ms)  SELECT  `people`.* FROM `people` WHERE `people`.`id` = 1 LIMIT 1  [[\"id\", 1]]\r\n  CACHE (0.1ms)  SELECT  `profiles`.* FROM `profiles` WHERE `profiles`.`person_id` = 1 LIMIT 1  [[\"person_id\", 1]]\r\n  Rendered notifier/mentioned.markerb within layouts/notifier (29.1ms)\r\n\r\nNotifier#mentioned: processed outbound mail in 63.6ms\r\nCompleted 500 Internal Server Error in 2912ms (ActiveRecord: 490.0ms)\r\n\r\nNameError (uninitialized constant ActiveRecord::NotFound):\r\n  app/workers/receive_local_batch.rb:13:in `rescue in perform'\r\n  app/workers/receive_local_batch.rb:10:in `perform'\r\n  lib/postzord/dispatcher.rb:138:in `batch_deliver_to_local'\r\n  lib/postzord/dispatcher.rb:126:in `deliver_to_local'\r\n  lib/postzord/dispatcher.rb:85:in `post_to_subscribers'\r\n  lib/postzord/dispatcher.rb:64:in `post'\r\n  app/workers/deferred_dispatch.rb:19:in `perform'\r\n  lib/postzord/dispatcher.rb:48:in `defer_build_and_post'\r\n  app/models/user.rb:236:in `dispatch_post'\r\n  app/controllers/status_messages_controller.rb:74:in `create'\r\n  config/initializers/silence_assets.rb:9:in `call_with_quiet_assets'\r\n  lib/rack/chrome_frame.rb:39:in `call'\r\n```"}}