Skip to content

Instantly share code, notes, and snippets.

@murraycs
Created September 29, 2011 22:43
Show Gist options
  • Save murraycs/1252151 to your computer and use it in GitHub Desktop.
Save murraycs/1252151 to your computer and use it in GitHub Desktop.
logs
Processing UsersController#create (for 127.0.0.1 at 2011-09-27 14:20:32) [POST]
Parameters: {"commit"=>"Sign Up!", "authenticity_token"=>"mt29UTvAvWTbPF8pIFjyHE0HvxcNxuGi8F4GWVq1w6k=", "inviter_code"=>"", "inviter_id"=>"", "user"=>{"birthday(1i)"=>"1986", "birthday(2i)"=>"9", "password_confirmation"=>"12345", "birthday(3i)"=>"27", "password"=>"12345", "login"=>"winnie", "email"=>"winnielyo@msn.com"}}
[I18n] loading locale: en from config
[I18n] Locale set to en
Role Load (0.3ms) SELECT * FROM "roles" 
User Load (0.2ms) SELECT "users".id FROM "users" WHERE (LOWER("users"."email") = 'winnielyo@msn.com') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE (LOWER("users"."login") = 'winnie') LIMIT 1
User Load (0.3ms) SELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '2ef0c705f3a2f0c90edd765fcb92527e4020cebce15bf7dbae9bf031731716357c2a8ad326775929b1256f0c876fde8a0d989e15864de795748949fe0e1f7ec6') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'mSZUIjrVoVdl5bjZ0gLe') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE ("users"."login_slug" IS NULL) LIMIT 1
Rendering template within layouts/application
Rendering users/new
Rendered shared/_box (0.3ms)
Rendered shared/_box (0.2ms)
Rendered shared/_box (0.4ms)
Rendered shared/_scripts_and_styles (3.2ms)
Category Load (0.5ms) SELECT * FROM "categories" 
Rendered shared/_header (46.0ms)
Rendered shared/_messages (0.2ms)
Page Load (0.3ms) SELECT * FROM "pages" WHERE (published_as = 'live') 
Completed in 333ms (View: 289, DB: 2) | 200 OK [http://localhost/users]
Processing UsersController#create (for 127.0.0.1 at 2011-09-27 14:20:43) [POST]
Parameters: {"commit"=>"Sign Up!", "authenticity_token"=>"mt29UTvAvWTbPF8pIFjyHE0HvxcNxuGi8F4GWVq1w6k=", "inviter_code"=>"", "inviter_id"=>"", "user"=>{"birthday(1i)"=>"1986", "birthday(2i)"=>"9", "password_confirmation"=>"123456", "birthday(3i)"=>"27", "password"=>"123456", "login"=>"winnie", "email"=>"winnielyo@msn.com"}}
[I18n] loading locale: en from config
[I18n] Locale set to en
Role Load (0.3ms) SELECT * FROM "roles" 
User Load (0.2ms) SELECT "users".id FROM "users" WHERE (LOWER("users"."email") = 'winnielyo@msn.com') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE (LOWER("users"."login") = 'winnie') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'bd82c936842ef2e6915afacbb860fd0325f9adff76593a5b3a0eb3ebf61b039f5e65b361056010cbbed882e207acc15eeb417cbafd41087779929fc4379ef020') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'ekAs8qrqhnC8Ye7zXj') LIMIT 1
User Load (0.1ms) SELECT "users".id FROM "users" WHERE ("users"."login_slug" IS NULL) LIMIT 1
User Create (46.0ms) INSERT INTO "users" ("created_at", "activated_at", "notify_comments", "zip", "single_access_token", "last_request_at", "crypted_password", "updated_at", "stylesheet", "login_slug", "perishable_token", "activation_code", "country_id", "role_id", "avatar_id", "gender", "failed_login_count", "current_login_ip", "password_salt", "current_login_at", "persistence_token", "birthday", "activities_count", "login_count", "description", "vendor", "notify_friend_requests", "featured_writer", "sb_posts_count", "sb_last_seen_at", "last_login_ip", "login", "state_id", "metro_area_id", "notify_community_news", "last_login_at", "profile_public", "email", "view_count") VALUES('2011-09-27 21:20:43', NULL, 't', NULL, 'ekAs8qrqhnC8Ye7zXj', NULL, '0e003befef72b8da37f2867e550048ce35780843', '2011-09-27 21:20:43', NULL, 'winnie', 'jBZFoB2yvjOucpPvSBc6', 'c946c18e2bbca30194a29449e5ac6b2ba69b3448', NULL, 3, NULL, NULL, 0, NULL, '5rPyo52zkeu61QdNJh4l', NULL, 'bd82c936842ef2e6915afacbb860fd0325f9adff76593a5b3a0eb3ebf61b039f5e65b361056010cbbed882e207acc15eeb417cbafd41087779929fc4379ef020', '1986-09-27', 0, 0, NULL, 'f', 't', 'f', 0, NULL, NULL, 'winnie', NULL, NULL, 't', NULL, 't', 'winnielyo@msn.com', 0)
User Update (0.2ms) UPDATE "users" SET "persistence_token" = 'bd82c936842ef2e6915afacbb860fd0325f9adff76593a5b3a0eb3ebf61b039f5e65b361056010cbbed882e207acc15eeb417cbafd41087779929fc4379ef020', "role_id" = 3, "updated_at" = '2011-09-27 21:20:43', "login_slug" = 'winnie', "created_at" = '2011-09-27 21:20:43', "email" = 'winnielyo@msn.com', "perishable_token" = 'Zckw1DirXrsj9zeLH', "login" = 'winnie', "birthday" = '1986-09-27', "activation_code" = 'c946c18e2bbca30194a29449e5ac6b2ba69b3448', "single_access_token" = 'ekAs8qrqhnC8Ye7zXj', "last_login_at" = '2011-09-27 21:20:43', "password_salt" = '5rPyo52zkeu61QdNJh4l', "crypted_password" = '0e003befef72b8da37f2867e550048ce35780843' WHERE "id" = 2
Tag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags".id = "taggings".tag_id WHERE (("taggings".taggable_id = 2) AND ("taggings".taggable_type = 'User')) 
Sent mail to winnielyo@msn.com
Date: Tue, 27 Sep 2011 14:20:44 -0700
From: The Community Team <support@community.com>
Reply-To: support@community.com
To: winnielyo@msn.com
Subject: [Community] Please activate your new Community account
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Welcome to Community, winnie!
Your account has been created, but you still need to activate it before you can log in.
Here's the skinny:
Your username: winnie
Use this link to activate your account:
http://localhost:3000/users/activate/c946c18e2bbca30194a29449e5ac6b2ba69b3448
Can't click the link? Just copy and paste it into your address bar.
Questions? Easy: support@community.com.
Hope to see you hanging out on Community really soon!
The Community team
Redirected to http://localhost:3000/winnie/signup_completed
Completed in 1182ms (DB: 48) | 302 Found [http://localhost/users]
Processing UsersController#signup_completed (for 127.0.0.1 at 2011-09-27 14:20:45) [GET]
Parameters: {"id"=>"winnie"}
[I18n] loading locale: en from config
[I18n] Locale set to en
User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."login_slug" IN ('winnie')) LIMIT 1
Rendering template within layouts/application
Rendering users/signup_completed
Rendered shared/_box (0.3ms)
Rendered shared/_scripts_and_styles (2.3ms)
Category Load (17.7ms) SELECT * FROM "categories" 
Rendered shared/_header (64.1ms)
Rendered shared/_messages (0.5ms)
Page Load (0.3ms) SELECT * FROM "pages" WHERE (published_as = 'live') 
Completed in 314ms (View: 287, DB: 19) | 200 OK [http://localhost/winnie/signup_completed]
Processing UsersController#activate (for 127.0.0.1 at 2011-09-27 14:21:44) [GET]
Parameters: {"id"=>"c946c18e2bbca30194a29449e5ac6b2ba69b3448"}
[I18n] loading locale: en from config
[I18n] Locale set to en
User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."activation_code" = 'c946c18e2bbca30194a29449e5ac6b2ba69b3448') LIMIT 1
User Load (0.2ms) SELECT "users".id FROM "users" WHERE ("users"."login_slug" = 'winnie' AND "users".id <> 2) LIMIT 1
User Update (0.7ms) UPDATE "users" SET "updated_at" = '2011-09-27 21:21:44', "perishable_token" = 'kCdzTXTaHwTo9OsRCeCi', "activated_at" = '2011-09-27 21:21:44', "activation_code" = NULL WHERE "id" = 2
Tag Load (26.5ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags".id = "taggings".tag_id WHERE (("taggings".taggable_id = 2) AND ("taggings".taggable_type = 'User')) 
Sent mail to winnielyo@msn.com
Date: Tue, 27 Sep 2011 14:21:45 -0700
From: The Community Team <support@community.com>
Reply-To: support@community.com
To: winnielyo@msn.com
Subject: [Community] Your Community account has been activated!
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Hi winnie,
Just a quick note to let you know your Community account has been activated. There's always a lot going on at Community, so come check out what's new:
http://localhost:3000/
* As a Community member, you'll receive occasional e-mails from us (with news, contest announcements, and updates on the site). If you don't want them, you can change your e-mail preferences here:
http://localhost:3000/winnie/edit_account
Thanks for joining Community!
The Community Team
User Update (2.5ms) UPDATE "users" SET sb_last_seen_at = '2011-09-27 21:21:45' WHERE (id = 2) 
User Update (0.4ms) UPDATE "users" SET "login_count" = 1, "current_login_ip" = '127.0.0.1', "updated_at" = '2011-09-27 21:21:45', "perishable_token" = 'f7sH9FGiV7LOpyTCc56', "last_request_at" = '2011-09-27 21:21:45', "sb_last_seen_at" = '2011-09-27 21:21:45', "last_login_at" = NULL, "current_login_at" = '2011-09-27 21:21:45' WHERE "id" = 2
Sent mail to winnielyo@msn.com
Date: Tue, 27 Sep 2011 14:21:45 -0700
From: The Community Team <support@community.com>
Reply-To: support@community.com
To: winnielyo@msn.com
Subject: [Community] Your Community account has been activated!
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Hi winnie,
Just a quick note to let you know your Community account has been activated. There's always a lot going on at Community, so come check out what's new:
http://localhost:3000/
* As a Community member, you'll receive occasional e-mails from us (with news, contest announcements, and updates on the site). If you don't want them, you can change your e-mail preferences here:
http://localhost:3000/winnie/edit_account
Thanks for joining Community!
The Community Team
Activity Create (0.6ms) INSERT INTO "activities" ("created_at", "action", "user_id", "item_id", "item_type") VALUES('2011-09-27 21:21:45', 'joined_the_site', 2, NULL, NULL)
User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 2) 
SQL (0.1ms) SELECT count(*) AS count_all FROM "activities" WHERE (user_id = 2) 
User Update (0.2ms) UPDATE "users" SET "updated_at" = '2011-09-27 21:21:45', "perishable_token" = 'aA052AEktfU5j5sxzi', "activities_count" = 1 WHERE "id" = 2
Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags".id = "taggings".tag_id WHERE (("taggings".taggable_id = 2) AND ("taggings".taggable_type = 'User')) 
Redirected to http://localhost:3000/winnie/welcome_photo
Completed in 720ms (DB: 32) | 302 Found [http://localhost/users/activate/c946c18e2bbca30194a29449e5ac6b2ba69b3448]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment