Created
March 5, 2018 23:24
-
-
Save rosem/59a6a859e77340b071b6298a457f6e4b to your computer and use it in GitHub Desktop.
Log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-Agent: Mapchat* 2.0 rev:197 (iPhone; iOS 11.2; en_US) | |
^[[1m^[[36m (0.1ms)^[[0m ^[[1mBEGIN^[[0m | |
^[[1m^[[35mUser Exists (0.2ms)^[[0m SELECT 1 AS one FROM "users" WHERE ("users"."uuid" = '6092AA9E-E11E-48F4-B189-FCF6D1F487FF' AND "users"."id" != 26) LIMIT 1 | |
^[[1m^[[36m (0.3ms)^[[0m ^[[1mUPDATE "users" SET "ne_lat" = 38.368435, "ne_lng" = -121.911602, "sw_lat" = 37.454332, "sw_lng" = -122.695866, "updated_at" = '2018-03-05 23:22:51.713157' WHERE "users"."id" = 26^[[0m | |
[paperclip] Saving attachments. | |
^[[1m^[[35m (0.6ms)^[[0m COMMIT | |
^[[1m^[[36mRoom Load (0.6ms)^[[0m ^[[1mSELECT "rooms".* FROM "rooms" WHERE ("rooms"."deleted_at" IS NULL) AND (rooms.lat>37.454332 AND rooms.lat<38.368435 AND rooms.lng>-122.695866 AND rooms.lng<-121.911602) AND (private = 'f') AND (rooms.archived_at IS NULL AND (rooms.active_since IS NULL OR rooms.active_since <= '2018-03-05 23:22:51')) LIMIT 50^[[0m | |
^[[1m^[[35mMessage Load (0.8ms)^[[0m SELECT id, content, created_at, user_id, room_id, photo_file_name, photo_updated_at, photo_meta FROM "messages" WHERE "messages"."room_id" IN (37, 38, 40, 41, 39, 33, 34, 35, 36) AND (messages.user_id not in (select users.id from users where blocked = true)) AND (messages.user_id not in (select blocked_id from blocked_users where blocked_users.user_id = 26 union select user_id from blocked_users where blocked_users.blocked_id = 26 union select users.id from users where blocked = true)) ORDER BY created_at ASC | |
^[[1m^[[36mMessage Load (0.6ms)^[[0m ^[[1mSELECT id, created_at, user_id, room_id FROM "messages" WHERE "messages"."room_id" IN (37, 38, 40, 41, 39, 33, 34, 35, 36) AND (messages.user_id not in (select users.id from users where blocked = true)) AND (messages.user_id not in (select blocked_id from blocked_users where blocked_users.user_id = 26 union select user_id from blocked_users where blocked_users.blocked_id = 26 union select users.id from users where blocked = true)) ORDER BY created_at DESC^[[0m | |
^[[1m^[[35mUser Load (0.2ms)^[[0m SELECT id, pseudo, avatar_file_name, avatar_updated_at FROM "users" WHERE "users"."id" IN (26) AND ("users"."deleted_at" IS NULL) | |
Cache read: index_153/rooms/37-20180303021817//2018-03-03 02:18:17 UTC | |
Cache generate: index_153/rooms/37-20180303021817//2018-03-03 02:18:17 UTC | |
undefined method `distance' for #<Room:0x0000000691dbc8> | |
Rendered inline template (0.3ms) | |
Completed 500 Internal Server Error in 19ms (Views: 0.8ms | ActiveRecord: 3.9ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment