Skip to content

Instantly share code, notes, and snippets.

@leftis
Created October 9, 2012 08:19
Show Gist options
  • Save leftis/3857319 to your computer and use it in GitHub Desktop.
Save leftis/3857319 to your computer and use it in GitHub Desktop.
failed_login
Processing Admin::SessionsController#create (for 127.0.0.1 at 2012-10-09 11:16:16) [POST]
Parameters: {"login"=>"", "password"=>"", "commit"=>"Σύνδεση", "authenticity_token"=>"ML6asic2E+emsp/DyCcNxMF9MKJse5Auyi9DwKuyujI="}
Access Columns (0.7ms) SHOW FIELDS FROM `accesses`
SQL (0.3ms) SELECT count(*) AS count_all FROM `accesses` WHERE (`accesses`.`client_ip` = '127.0.0.1' AND `accesses`.`user_id` IS NULL)
User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'god') LIMIT 1
CACHE (0.0ms) SELECT * FROM `users` WHERE (`users`.`login` = 'god') LIMIT 1
CACHE (0.0ms) SELECT * FROM `users` WHERE (`users`.`login` = 'god') LIMIT 1
Access Load (0.3ms) SELECT * FROM `accesses` WHERE (`accesses`.`client_ip` = '127.0.0.1' AND `accesses`.`user_id` IS NULL) ORDER BY accesses.id DESC LIMIT 1
roles_users Columns (0.7ms) SHOW FIELDS FROM `roles_users`
Role Load (0.4ms) SELECT * FROM `roles` INNER JOIN `roles_users` ON `roles`.id = `roles_users`.role_id WHERE (`roles_users`.user_id = 1 ) ORDER BY weight DESC
Role Columns (0.4ms) SHOW FIELDS FROM `roles`
Failed login for 'god' from 127.0.0.1 at Tue Oct 09 08:17:24 UTC 2012
Rendering template within layouts/admin_login
Rendering admin/sessions/new
SQL (0.1ms) BEGIN
Access Create (0.2ms) INSERT INTO `accesses` (`login`, `client_browser`, `client_ip`, `user_id`, `created_at`) VALUES('god', 'mozilla/5.0 (x11; linux x86_64) applewebkit/537.1 (khtml, like gecko) chrome/21.0.1180.89 safari/537.1', '127.0.0.1', NULL, '2012-10-09 08:17:24')
SQL (146.6ms) COMMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment