Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started GET "/conversations/4" FOR 127.0.0.1 at 2017-06-25 17:21:40 +0300
- Processing BY ConversationsController#show AS HTML
- Parameters: {"id"=>"4"}
- USER LOAD (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
- 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]]
- Rendering conversations/SHOW.html.erb WITHIN layouts/application
- 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"]]
- 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]]
- USER LOAD (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
- Rendered conversations/SHOW.html.erb WITHIN layouts/application (9.7ms)
- Completed 200 OK IN 61ms (Views: 47.6ms | ActiveRecord: 1.4ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement