Skip to content

Instantly share code, notes, and snippets.

@ch1ago
Created December 30, 2010 18:23
Show Gist options
  • Save ch1ago/760085 to your computer and use it in GitHub Desktop.
Save ch1ago/760085 to your computer and use it in GitHub Desktop.
PROCESSO DE registro e pós registro DE UM NOVO USUARIO
Started GET "/h/after_sign_up" for 127.0.0.1 at 2010-12-30 17:18:49 -0200
Processing by HomeController#after_sign_up as HTML
User Load (5.5ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 36) LIMIT 1
User Load (0.5ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."email") = LOWER('[email protected]')) AND ("users".id <> 36) LIMIT 1
User Load (0.3ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."username") = LOWER('elane')) AND ("users".id <> 36) LIMIT 1
User Load (0.2ms) SELECT "users"."id" FROM "users" WHERE ("users"."username" = 'elane') LIMIT 1
SQL (3.9ms) UPDATE "users" SET "first_geo_city" = '', "first_geo_state" = '', "temp" = '---
:follow_on_registration: "32"
', "updated_at" = '2010-12-30 19:18:50.321475' WHERE ("users"."id" = 36)
[paperclip] Saving attachments.
Hostness Load (0.3ms) SELECT "hostnesses".* FROM "hostnesses" WHERE ("hostnesses"."is_active" = 't') AND ("hostnesses"."country" IS NULL)
Hostness Load (0.3ms) SELECT "hostnesses".* FROM "hostnesses" WHERE ("hostnesses"."is_active" = 't') AND ("hostnesses"."state" = '')
User Load (3.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 32) LIMIT 1
Relationship Load (0.8ms) SELECT "relationships".* FROM "relationships" WHERE (user1_id IN (36,32) AND user2_id IN (36,32)) LIMIT 2
SQL (1.3ms) INSERT INTO "relationships" ("created_at", "ignored_subjects", "is_blocked", "is_blocker", "is_followed", "is_follower", "is_friend", "updated_at", "user1_id", "user2_id") VALUES ('2010-12-30 19:18:50.576009', '--- []
', 'f', 'f', 'f', 't', 'f', '2010-12-30 19:18:50.576009', 36, 32)
SQL (0.4ms) INSERT INTO "relationships" ("created_at", "ignored_subjects", "is_blocked", "is_blocker", "is_followed", "is_follower", "is_friend", "updated_at", "user1_id", "user2_id") VALUES ('2010-12-30 19:18:50.624396', '--- []
', 'f', 'f', 't', 'f', 'f', '2010-12-30 19:18:50.624396', 32, 36)
SQL (0.4ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 36) AND ("relationships"."is_blocked" = 't')) AS subquery
SQL (0.3ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 36) AND ("relationships"."is_blocker" = 't')) AS subquery
SQL (0.3ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 36) AND ("relationships"."is_followed" = 't')) AS subquery
SQL (0.3ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 36) AND ("relationships"."is_follower" = 't')) AS subquery
SQL (1.2ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 36) AND ("relationships"."is_friend" = 't')) AS subquery
User Load (4.8ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 36) LIMIT 1
User Load (0.3ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."email") = LOWER('[email protected]')) AND ("users".id <> 36) LIMIT 1
User Load (0.3ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."username") = LOWER('elane')) AND ("users".id <> 36) LIMIT 1
User Load (0.1ms) SELECT "users"."id" FROM "users" WHERE ("users"."username" = 'elane') LIMIT 1
SQL (1.1ms) UPDATE "users" SET "count_of_followings" = 1, "temp" = '---
:follow_on_registration: "32"
', "updated_at" = '2010-12-30 19:18:50.657225' WHERE ("users"."id" = 36)
[paperclip] Saving attachments.
SQL (0.4ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 32) AND ("relationships"."is_blocked" = 't')) AS subquery
SQL (0.3ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 32) AND ("relationships"."is_blocker" = 't')) AS subquery
SQL (0.3ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 32) AND ("relationships"."is_followed" = 't')) AS subquery
SQL (0.2ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 32) AND ("relationships"."is_follower" = 't')) AS subquery
SQL (0.4ms) SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "relationships" WHERE ("relationships"."user1_id" = 32) AND ("relationships"."is_friend" = 't')) AS subquery
User Load (4.8ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 32) LIMIT 1
User Load (0.3ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."email") = LOWER('[email protected]')) AND ("users".id <> 32) LIMIT 1
User Load (0.2ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."username") = LOWER('cayo')) AND ("users".id <> 32) LIMIT 1
User Load (0.2ms) SELECT "users"."id" FROM "users" WHERE ("users"."username" = 'cayo') LIMIT 1
SQL (1.2ms) UPDATE "users" SET "count_of_followers" = 4, "temp" = NULL, "updated_at" = '2010-12-30 19:18:50.719862' WHERE ("users"."id" = 32)
[paperclip] Saving attachments.
FOLLOWING inviter cayo
User Load (0.3ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."email") = LOWER('[email protected]')) AND ("users".id <> 36) LIMIT 1
User Load (0.9ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."username") = LOWER('elane')) AND ("users".id <> 36) LIMIT 1
User Load (0.1ms) SELECT "users"."id" FROM "users" WHERE ("users"."username" = 'elane') LIMIT 1
SQL (0.5ms) UPDATE "users" SET "temp" = NULL, "updated_at" = '2010-12-30 19:18:50.775803' WHERE ("users"."id" = 36)
[paperclip] Saving attachments.
Redirected to http://0.0.0.0:3000/
Completed 302 Found in 917ms
Started POST "/users" for 127.0.0.1 at 2010-12-30 17:18:48 -0200
Processing by Devise::RegistrationsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"d1fUxdrI79+QEVGlX0DCf7gOpQbF4TZ6wHZkYy/lgI0=", "follow_on_registration"=>"32", "user"=>{"full_name"=>"Elane Almeida", "username"=>"elane", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
User Load (3.8ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."email") = LOWER('[email protected]')) LIMIT 1
User Load (0.2ms) SELECT "users"."id" FROM "users" WHERE (LOWER("users"."username") = LOWER('elane')) LIMIT 1
User Load (0.2ms) SELECT "users"."id" FROM "users" WHERE ("users"."username" = 'elane') LIMIT 1
SQL (3.4ms) INSERT INTO "users" ("admin", "authentication_token", "background_attachment_policy", "background_color", "background_image_content_type", "background_image_file_name", "background_image_file_size", "background_image_updated_at", "background_position", "background_repeat_policy", "birth", "birth_policy", "confirmation_sent_at", "confirmation_token", "confirmed_at", "count_of_blockers", "count_of_blockings", "count_of_followers", "count_of_followings", "count_of_friends", "created_at", "current_sign_in_at", "current_sign_in_ip", "description", "email", "encrypted_password", "failed_attempts", "first_geo_city", "first_geo_country", "first_geo_state", "first_ip", "flavour", "full_name", "gender", "gender_policy", "is_host", "last_sign_in_at", "last_sign_in_ip", "local", "locale", "locked_at", "password_salt", "photo_id", "post_id", "posts_count", "posts_file_count", "posts_image_count", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "subjects_count", "temp", "time_zone", "unlock_token", "updated_at", "username", "website") VALUES ('f', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, 0, '2010-10-30', 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, '2010-12-30 19:18:49.271672', NULL, NULL, NULL, '[email protected]', '$2a$10$nrJtmxGCCc4UFRW61nU.Ue2s.qRdzyTX.eMx8sDStkB.wt3gQyb7C', 0, NULL, NULL, NULL, NULL, 'orange', 'Elane Almeida', 0, 0, NULL, NULL, NULL, '', 'pt-BR', NULL, '$2a$10$nrJtmxGCCc4UFRW61nU.Ue', NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 0, 0, '---
:follow_on_registration: "32"
', 'Brasilia', NULL, '2010-12-30 19:18:49.271672', 'elane', NULL)
[paperclip] Saving attachments.
SQL (5.2ms) UPDATE "users" SET "current_sign_in_at" = '2010-12-30 19:18:49.544337', "current_sign_in_ip" = '127.0.0.1', "last_sign_in_at" = '2010-12-30 19:18:49.544337', "last_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "temp" = '---
:follow_on_registration: "32"
', "updated_at" = '2010-12-30 19:18:49.544959' WHERE ("users"."id" = 36)
[paperclip] Saving attachments.
Redirected to http://0.0.0.0:3000/h/after_sign_up
Completed 302 Found in 1266ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment