VladikOtez

Send Message OMG

Jun 25th, 2017
185
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Started GET "/conversations/4" FOR 127.0.0.1 at 2017-06-25 17:21:40 +0300
  2. Processing BY ConversationsController#show AS HTML
  3.   Parameters: {"id"=>"4"}
  4.   USER LOAD (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?  [["id", 1], ["LIMIT", 1]]
  5.   Mailboxer::Conversation LOAD (0.4ms)  SELECT  DISTINCT "mailboxer_conversations".* FROM "mailboxer_conversations" INNER JOIN "mailboxer_notifications" ON "mailboxer_notifications"."conversation_id" = "mailboxer_conversations"."id" AND "mailboxer_notifications"."type" IN ('Mailboxer::Message') INNER JOIN "mailboxer_receipts" ON "mailboxer_receipts"."notification_id" = "mailboxer_notifications"."id" WHERE "mailboxer_notifications"."type" = ? AND "mailboxer_receipts"."receiver_id" = ? AND "mailboxer_receipts"."receiver_type" = ? AND "mailboxer_conversations"."id" = ? ORDER BY "mailboxer_conversations"."updated_at" DESC LIMIT ?  [["type", "Mailboxer::Message"], ["receiver_id", 1], ["receiver_type", "User"], ["id", 4], ["LIMIT", 1]]
  6.   Rendering conversations/SHOW.html.erb WITHIN layouts/application
  7.   Mailboxer::Receipt LOAD (0.3ms)  SELECT "mailboxer_receipts".* FROM "mailboxer_receipts" INNER JOIN "mailboxer_notifications" ON "mailboxer_notifications"."id" = "mailboxer_receipts"."notification_id" AND "mailboxer_notifications"."type" IN ('Mailboxer::Message') WHERE "mailboxer_notifications"."conversation_id" = ? AND "mailboxer_receipts"."receiver_id" = ? AND "mailboxer_receipts"."receiver_type" = ?  [["conversation_id", 4], ["receiver_id", 1], ["receiver_type", "User"]]
  8.   Mailboxer::Message LOAD (0.2ms)  SELECT  "mailboxer_notifications".* FROM "mailboxer_notifications" WHERE "mailboxer_notifications"."type" IN ('Mailboxer::Message') AND "mailboxer_notifications"."id" = ? LIMIT ?  [["id", 5], ["LIMIT", 1]]
  9.   USER LOAD (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?  [["id", 1], ["LIMIT", 1]]
  10.   Rendered conversations/SHOW.html.erb WITHIN layouts/application (9.7ms)
  11. Completed 200 OK IN 61ms (Views: 47.6ms | ActiveRecord: 1.4ms)
RAW Paste Data