Skip to content

Instantly share code, notes, and snippets.

@kennethjohnbalgos
Created January 25, 2022 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennethjohnbalgos/6ce0667d276eabd03fe20588a06e0b4b to your computer and use it in GitHub Desktop.
Save kennethjohnbalgos/6ce0667d276eabd03fe20588a06e0b4b to your computer and use it in GitHub Desktop.
Started GET "/color?color=5F348B" for 127.0.0.1 at 2022-01-25 18:39:05 +0800
Processing by SettingsController#color as HTML
Parameters: {"color"=>"5F348B"}
[Shard: master] User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1
[Shard: master] BlockedIp Load (0.5ms) SELECT `blocked_ips`.* FROM `blocked_ips` WHERE `blocked_ips`.`ip_address` = '127.0.0.1' LIMIT 1
[Shard: master] Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`domain` = 'mainsedemo.storyls.test' LIMIT 1
[Shard: master] Account Load (0.8ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'mainsedemo' LIMIT 1
[Shard: master] AccountUser Exists (0.6ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
[Shard: master] AccountUser Load (0.8ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]]
[Shard: master] Account Load (1.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]]
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]]
[Shard: master] AccountSubscription Load (0.7ms) SELECT `account_subscriptions`.* FROM `account_subscriptions` WHERE `account_subscriptions`.`account_id` = 37
[Shard: master] (0.6ms) SELECT DISTINCT COUNT(DISTINCT `webpages`.`id`) FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/color'
[Shard: master] AccountFeature Load (0.7ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1
Rendered settings/color.css (0.3ms)
Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 7.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment