code
app/controllers/api/v1/users_controller.rb:38
|
25 ms
|
1.0
|
69 %
|
Api::V1::UsersController#photos
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
4 ms
|
1.0
|
10 %
|
|
sql
app/models/photo.rb:43
|
<1 ms
|
2.5
|
6 %
|
SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `active_storage_attachments`.`record_id` = 2178 AND `active_storage_attachments`.`record_type` = 'Photo' AND `active_storage_attachments`.`name` = 'picture' LIMIT 1
|
sql
app/models/photo.rb:63
|
1 ms
|
1.3
|
4 %
|
SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS NULL OR `crag_routes`.`deleted_at` > '2022-06-29 11:11:05.979767') AND `crag_routes`.`id` = 73925 LIMIT 1
|
sql
app/models/photo.rb:72
|
1 ms
|
0.8
|
3 %
|
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > '2022-06-29 11:11:05.983540') AND `crags`.`id` = 11 LIMIT 1
|
sql
app/controllers/api/v1/users_controller.rb:41
|
<1 ms
|
1.0
|
3 %
|
SELECT `photos`.* FROM `photos` WHERE `photos`.`user_id` = 3077 ORDER BY `photos`.`posted_at` DESC LIMIT 25 OFFSET 0
|
sql
app/controllers/api/v1/users_controller.rb:164
|
<1 ms
|
1.0
|
3 %
|
SELECT `users`.* FROM `users` WHERE `users`.`uuid` = 'aa0b95ef-a3d6-4804-a113-5f7b60efd552' LIMIT 1
|
sql
app/controllers/api/v1/api_controller.rb:42
|
<1 ms
|
1.0
|
2 %
|
SELECT `organizations`.* FROM `organizations` WHERE `organizations`.`api_access_token` = 'M4rvBxc4M7kqqdtXPDvFEYm9' LIMIT 1
|