contour 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 0.10.2
2
+
3
+ * Bug Fix
4
+ * CSS fixed for positive and negative classes for buttons
5
+
1
6
  == 0.10.1
2
7
 
3
8
  * Enhancements
@@ -14,11 +14,11 @@ a:link { color: #057080; }
14
14
  a:hover { color: #EB6C20; }
15
15
  hr { margin:0px; }
16
16
 
17
- a:link.negative {
17
+ a:link.negative, a:visited.negative {
18
18
  color: #D12F19;
19
19
  }
20
20
 
21
- a:link.positive {
21
+ a:link.positive:link, a:visited.positive {
22
22
  color: #529214;
23
23
  }
24
24
 
@@ -2,7 +2,7 @@ module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 10
5
- TINY = 1
5
+ TINY = 2
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
Binary file
@@ -30397,3 +30397,1063 @@ Completed 401 Unauthorized in 82ms
30397
30397
   (0.1ms) begin transaction
30398
30398
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30399
30399
   (0.0ms) rollback transaction
30400
+  (0.1ms) begin transaction
30401
+ Fixture Delete (29.6ms) DELETE FROM "authentications"
30402
+ Fixture Insert (0.6ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 949717663, 201799169)
30403
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 876923740, 201799169)
30404
+ Fixture Insert (0.0ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 864673665, 201799169)
30405
+ Fixture Delete (1.1ms) DELETE FROM "users"
30406
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 201799169)
30407
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 999914115)
30408
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 725306934)
30409
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 349534908)
30410
+  (1.9ms) commit transaction
30411
+  (0.0ms) begin transaction
30412
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
30413
+  (0.1ms) rollback transaction
30414
+  (0.1ms) begin transaction
30415
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30416
+  (0.0ms) rollback transaction
30417
+  (0.0ms) begin transaction
30418
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30419
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30420
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30421
+ Processing by Contour::AuthenticationsController#create as HTML
30422
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-15 17:52:36 UTC", "updated_at"=>"2012-02-15 17:52:36 UTC"}}
30423
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
30424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30425
+ Logged in user found, creating associated authentication.
30426
+  (17.5ms) SAVEPOINT active_record_1
30427
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 17:52:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 15 Feb 2012 17:52:36 UTC +00:00], ["user_id", 201799169]]
30428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30429
+ Redirected to http://test.host/authentications
30430
+ Completed 302 Found in 259ms (ActiveRecord: 18.4ms)
30431
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30432
+  (0.7ms) rollback transaction
30433
+  (0.0ms) begin transaction
30434
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30435
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30436
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30437
+ Processing by Contour::AuthenticationsController#destroy as HTML
30438
+ Parameters: {"id"=>"949717663"}
30439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30440
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
30441
+  (0.0ms) SAVEPOINT active_record_1
30442
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
30443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30444
+ Redirected to http://test.host/authentications
30445
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
30446
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30447
+  (0.7ms) rollback transaction
30448
+  (0.0ms) begin transaction
30449
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30450
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30451
+ Processing by Contour::AuthenticationsController#index as HTML
30452
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30453
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
30454
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
30455
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.9ms)
30456
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
30457
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
30458
+ Completed 200 OK in 208ms (Views: 205.9ms | ActiveRecord: 0.4ms)
30459
+  (0.1ms) rollback transaction
30460
+  (0.1ms) begin transaction
30461
+ Processing by Contour::PasswordsController#create as HTML
30462
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
30463
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JkK66bQZGcSYkBUgzF1J' LIMIT 1
30465
+  (0.1ms) SAVEPOINT active_record_1
30466
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'JkK66bQZGcSYkBUgzF1J', "reset_password_sent_at" = '2012-02-15 17:52:37.176194', "updated_at" = '2012-02-15 17:52:37.177184' WHERE "users"."id" = 201799169
30467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30468
+
30469
+ Sent mail to valid@example.com (41ms)
30470
+ Date: Wed, 15 Feb 2012 12:52:37 -0500
30471
+ From: please-change-me-at-config-initializers-devise@example.com
30472
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
30473
+ To: valid@example.com
30474
+ Message-ID: <4f3bf0e54e001_cddd3fe445034d3c405f2@edge.mail>
30475
+ Subject: Reset password instructions
30476
+ Mime-Version: 1.0
30477
+ Content-Type: text/html;
30478
+ charset=UTF-8
30479
+ Content-Transfer-Encoding: 7bit
30480
+
30481
+ <p>Hello valid@example.com!</p>
30482
+
30483
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
30484
+
30485
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=JkK66bQZGcSYkBUgzF1J">Change my password</a></p>
30486
+
30487
+ <p>If you didn't request this, please ignore this email.</p>
30488
+ <p>Your password won't change until you access the link above and create a new one.</p>
30489
+
30490
+ Redirected to http://test.host/users/login
30491
+ Completed 302 Found in 228ms (ActiveRecord: 0.0ms)
30492
+  (0.7ms) rollback transaction
30493
+  (0.0ms) begin transaction
30494
+ Processing by Contour::PasswordsController#new as HTML
30495
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30496
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms)
30497
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.8ms)
30498
+ Completed 200 OK in 66ms (Views: 65.0ms | ActiveRecord: 0.0ms)
30499
+  (0.1ms) rollback transaction
30500
+  (0.1ms) begin transaction
30501
+  (0.0ms) rollback transaction
30502
+  (0.1ms) begin transaction
30503
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30504
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30505
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30506
+
30507
+
30508
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30509
+ Processing by WelcomeController#logged_in_page as HTML
30510
+ Completed 401 Unauthorized in 1ms
30511
+  (0.1ms) SAVEPOINT active_record_1
30512
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30513
+ Binary data inserted for `string` type on column `encrypted_password`
30514
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$P4RUXnjZWFPpqJ6yw6UTzu8cNqB3nImNMyRCZIOTqpuSBYc2Rvvzq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00]]
30515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30516
+  (0.0ms) SAVEPOINT active_record_1
30517
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30519
+  (0.0ms) SAVEPOINT active_record_1
30520
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-15 17:52:37.625862' WHERE "users"."id" = 999914116
30521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30522
+  (0.0ms) SAVEPOINT active_record_1
30523
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-15 17:52:37.627142' WHERE "users"."id" = 999914116
30524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30525
+
30526
+
30527
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30528
+ Processing by Contour::SessionsController#create as HTML
30529
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
30530
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30531
+  (0.1ms) SAVEPOINT active_record_1
30532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30533
+ Completed 401 Unauthorized in 30ms
30534
+
30535
+
30536
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30537
+ Processing by Contour::SessionsController#new as HTML
30538
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
30539
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30540
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
30541
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
30542
+ Completed 200 OK in 32ms (Views: 30.5ms | ActiveRecord: 0.0ms)
30543
+  (0.7ms) rollback transaction
30544
+  (0.1ms) begin transaction
30545
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30546
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30547
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30548
+
30549
+
30550
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30551
+ Processing by WelcomeController#logged_in_page as HTML
30552
+ Completed 401 Unauthorized in 0ms
30553
+  (0.1ms) SAVEPOINT active_record_1
30554
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30555
+ Binary data inserted for `string` type on column `encrypted_password`
30556
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$9hpY9eUOdAbR.xVSQ.tPP.494pIo5z3JdAcIrbdG4QAe4TyHby2fO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00]]
30557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30558
+  (0.0ms) SAVEPOINT active_record_1
30559
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30561
+  (0.1ms) SAVEPOINT active_record_1
30562
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-15 17:52:37.744221' WHERE "users"."id" = 999914116
30563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30564
+  (0.1ms) SAVEPOINT active_record_1
30565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30566
+
30567
+
30568
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30569
+ Processing by Contour::SessionsController#create as HTML
30570
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
30571
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30572
+  (0.0ms) SAVEPOINT active_record_1
30573
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-15 17:52:37.752929', "current_sign_in_at" = '2012-02-15 17:52:37.752929', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-15 17:52:37.753348' WHERE "users"."id" = 999914116
30574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30575
+ Redirected to http://www.example.com/logged_in_page
30576
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
30577
+
30578
+
30579
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30580
+ Processing by WelcomeController#logged_in_page as HTML
30581
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
30582
+ Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.1ms)
30583
+  (0.8ms) rollback transaction
30584
+  (0.1ms) begin transaction
30585
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30586
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30587
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30588
+
30589
+
30590
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30591
+ Processing by WelcomeController#logged_in_page as HTML
30592
+ Completed 401 Unauthorized in 0ms
30593
+  (0.1ms) SAVEPOINT active_record_1
30594
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30595
+ Binary data inserted for `string` type on column `encrypted_password`
30596
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$iAufeHwIo41/YZOj2Wyp3ubfbAe8m.FAd0yIcpEpzLeqXiu4yea/G"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00]]
30597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30598
+  (0.0ms) SAVEPOINT active_record_1
30599
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30601
+  (0.0ms) SAVEPOINT active_record_1
30602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30603
+  (0.0ms) SAVEPOINT active_record_1
30604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30605
+
30606
+
30607
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30608
+ Processing by Contour::SessionsController#create as HTML
30609
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
30610
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30611
+  (0.0ms) SAVEPOINT active_record_1
30612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30613
+ Completed 401 Unauthorized in 4ms
30614
+
30615
+
30616
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30617
+ Processing by Contour::SessionsController#new as HTML
30618
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
30619
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30620
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
30621
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
30622
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
30623
+  (1.0ms) rollback transaction
30624
+  (0.1ms) begin transaction
30625
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30627
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30628
+
30629
+
30630
+ Started GET "/" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30631
+ Processing by WelcomeController#index as HTML
30632
+ Completed 401 Unauthorized in 1ms
30633
+  (0.1ms) rollback transaction
30634
+  (0.0ms) begin transaction
30635
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30636
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30637
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30638
+
30639
+
30640
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30641
+ Processing by WelcomeController#logged_in_page as JSON
30642
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30643
+  (0.1ms) SAVEPOINT active_record_1
30644
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-15 17:52:37.939959', "current_sign_in_at" = '2012-02-15 17:52:37.939959', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-15 17:52:37.940577' WHERE "users"."id" = 201799169
30645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30646
+ Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
30647
+  (0.6ms) rollback transaction
30648
+  (0.1ms) begin transaction
30649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30650
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30651
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30652
+
30653
+
30654
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-15 12:52:37 -0500
30655
+ Processing by WelcomeController#logged_in_page as JSON
30656
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30657
+ Completed 401 Unauthorized in 77ms
30658
+  (0.1ms) rollback transaction
30659
+  (0.0ms) begin transaction
30660
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30661
+  (0.1ms) rollback transaction
30662
+  (0.0ms) begin transaction
30663
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30664
+  (0.0ms) rollback transaction
30665
+  (0.1ms) begin transaction
30666
+ Fixture Delete (51.6ms) DELETE FROM "authentications"
30667
+ Fixture Insert (0.5ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 949717663, 201799169)
30668
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 876923740, 201799169)
30669
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 864673665, 201799169)
30670
+ Fixture Delete (1.0ms) DELETE FROM "users"
30671
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 201799169)
30672
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 999914115)
30673
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 725306934)
30674
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 349534908)
30675
+  (38.1ms) commit transaction
30676
+  (0.1ms) begin transaction
30677
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
30678
+  (0.1ms) rollback transaction
30679
+  (0.1ms) begin transaction
30680
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30681
+  (0.1ms) rollback transaction
30682
+  (0.1ms) begin transaction
30683
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30684
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30685
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30686
+ Processing by Contour::AuthenticationsController#create as HTML
30687
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-16 20:09:06 UTC", "updated_at"=>"2012-02-16 20:09:06 UTC"}}
30688
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
30689
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30690
+ Logged in user found, creating associated authentication.
30691
+  (12.4ms) SAVEPOINT active_record_1
30692
+ SQL (9.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 20:09:07 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Feb 2012 20:09:07 UTC +00:00], ["user_id", 201799169]]
30693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30694
+ Redirected to http://test.host/authentications
30695
+ Completed 302 Found in 213ms (ActiveRecord: 22.4ms)
30696
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30697
+  (3.7ms) rollback transaction
30698
+  (0.1ms) begin transaction
30699
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30700
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30701
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30702
+ Processing by Contour::AuthenticationsController#destroy as HTML
30703
+ Parameters: {"id"=>"949717663"}
30704
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30705
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
30706
+  (0.0ms) SAVEPOINT active_record_1
30707
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
30708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30709
+ Redirected to http://test.host/authentications
30710
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
30711
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30712
+  (7.2ms) rollback transaction
30713
+  (0.1ms) begin transaction
30714
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30715
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30716
+ Processing by Contour::AuthenticationsController#index as HTML
30717
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30718
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
30719
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
30720
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms)
30721
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.8ms)
30722
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
30723
+ Completed 200 OK in 303ms (Views: 300.8ms | ActiveRecord: 0.5ms)
30724
+  (0.1ms) rollback transaction
30725
+  (0.1ms) begin transaction
30726
+ Processing by Contour::PasswordsController#create as HTML
30727
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
30728
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30729
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ypRpWFAYHUSTGjhtreSh' LIMIT 1
30730
+  (0.1ms) SAVEPOINT active_record_1
30731
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'ypRpWFAYHUSTGjhtreSh', "reset_password_sent_at" = '2012-02-16 20:09:07.804893', "updated_at" = '2012-02-16 20:09:07.805928' WHERE "users"."id" = 201799169
30732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30733
+
30734
+ Sent mail to valid@example.com (101ms)
30735
+ Date: Thu, 16 Feb 2012 15:09:08 -0500
30736
+ From: please-change-me-at-config-initializers-devise@example.com
30737
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
30738
+ To: valid@example.com
30739
+ Message-ID: <4f3d626413fbb_12e9c3ff701434d3c47895@edge.mail>
30740
+ Subject: Reset password instructions
30741
+ Mime-Version: 1.0
30742
+ Content-Type: text/html;
30743
+ charset=UTF-8
30744
+ Content-Transfer-Encoding: 7bit
30745
+
30746
+ <p>Hello valid@example.com!</p>
30747
+
30748
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
30749
+
30750
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=ypRpWFAYHUSTGjhtreSh">Change my password</a></p>
30751
+
30752
+ <p>If you didn't request this, please ignore this email.</p>
30753
+ <p>Your password won't change until you access the link above and create a new one.</p>
30754
+
30755
+ Redirected to http://test.host/users/login
30756
+ Completed 302 Found in 422ms (ActiveRecord: 0.0ms)
30757
+  (16.7ms) rollback transaction
30758
+  (0.1ms) begin transaction
30759
+ Processing by Contour::PasswordsController#new as HTML
30760
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30761
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.2ms)
30762
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (54.9ms)
30763
+ Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.0ms)
30764
+  (0.1ms) rollback transaction
30765
+  (0.1ms) begin transaction
30766
+  (0.1ms) rollback transaction
30767
+  (0.1ms) begin transaction
30768
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30769
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30770
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30771
+
30772
+
30773
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30774
+ Processing by WelcomeController#logged_in_page as HTML
30775
+ Completed 401 Unauthorized in 1ms
30776
+  (0.1ms) SAVEPOINT active_record_1
30777
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30778
+ Binary data inserted for `string` type on column `encrypted_password`
30779
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/5bTuSYy1gnJGSBSWBfxs.hs0QPWax7MpVqCSAnU1QFdqTgIbUUaW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00]]
30780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30781
+  (0.0ms) SAVEPOINT active_record_1
30782
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30784
+  (0.0ms) SAVEPOINT active_record_1
30785
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-16 20:09:08.645981' WHERE "users"."id" = 999914116
30786
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30787
+  (0.1ms) SAVEPOINT active_record_1
30788
+  (0.2ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-16 20:09:08.647704' WHERE "users"."id" = 999914116
30789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30790
+
30791
+
30792
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30793
+ Processing by Contour::SessionsController#create as HTML
30794
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
30795
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30796
+  (0.1ms) SAVEPOINT active_record_1
30797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30798
+ Completed 401 Unauthorized in 47ms
30799
+
30800
+
30801
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30802
+ Processing by Contour::SessionsController#new as HTML
30803
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
30804
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
30805
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
30806
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
30807
+ Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms)
30808
+  (1.1ms) rollback transaction
30809
+  (0.1ms) begin transaction
30810
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30813
+
30814
+
30815
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30816
+ Processing by WelcomeController#logged_in_page as HTML
30817
+ Completed 401 Unauthorized in 0ms
30818
+  (0.1ms) SAVEPOINT active_record_1
30819
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30820
+ Binary data inserted for `string` type on column `encrypted_password`
30821
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$DDN5oWULqqEEM569tV9w4OiEHSKccmaj/wbsTnq0nbWVwmjjY83.u"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00]]
30822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30823
+  (0.0ms) SAVEPOINT active_record_1
30824
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30826
+  (0.0ms) SAVEPOINT active_record_1
30827
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-16 20:09:08.832703' WHERE "users"."id" = 999914116
30828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30829
+  (0.0ms) SAVEPOINT active_record_1
30830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30831
+
30832
+
30833
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30834
+ Processing by Contour::SessionsController#create as HTML
30835
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
30836
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30837
+  (0.1ms) SAVEPOINT active_record_1
30838
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-16 20:09:08.844639', "current_sign_in_at" = '2012-02-16 20:09:08.844639', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-16 20:09:08.845430' WHERE "users"."id" = 999914116
30839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30840
+ Redirected to http://www.example.com/logged_in_page
30841
+ Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
30842
+
30843
+
30844
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30845
+ Processing by WelcomeController#logged_in_page as HTML
30846
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
30847
+ Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.2ms)
30848
+  (0.6ms) rollback transaction
30849
+  (0.1ms) begin transaction
30850
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30851
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30852
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30853
+
30854
+
30855
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30856
+ Processing by WelcomeController#logged_in_page as HTML
30857
+ Completed 401 Unauthorized in 0ms
30858
+  (0.1ms) SAVEPOINT active_record_1
30859
+ User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30860
+ Binary data inserted for `string` type on column `encrypted_password`
30861
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$XyeJ4hy4zcJ88tIwSY8.0uFRYIAAl21f20XezP8EjmFX4zVXgpGV."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00]]
30862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30863
+  (0.0ms) SAVEPOINT active_record_1
30864
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30865
+  (0.9ms) RELEASE SAVEPOINT active_record_1
30866
+  (0.0ms) SAVEPOINT active_record_1
30867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30868
+  (0.0ms) SAVEPOINT active_record_1
30869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30870
+
30871
+
30872
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30873
+ Processing by Contour::SessionsController#create as HTML
30874
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
30875
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30876
+  (0.1ms) SAVEPOINT active_record_1
30877
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30878
+ Completed 401 Unauthorized in 6ms
30879
+
30880
+
30881
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30882
+ Processing by Contour::SessionsController#new as HTML
30883
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
30884
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30885
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
30886
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
30887
+ Completed 200 OK in 43ms (Views: 42.7ms | ActiveRecord: 0.0ms)
30888
+  (0.6ms) rollback transaction
30889
+  (0.1ms) begin transaction
30890
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30891
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30892
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30893
+
30894
+
30895
+ Started GET "/" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30896
+ Processing by WelcomeController#index as HTML
30897
+ Completed 401 Unauthorized in 1ms
30898
+  (0.1ms) rollback transaction
30899
+  (0.1ms) begin transaction
30900
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30901
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30902
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30903
+
30904
+
30905
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-16 15:09:08 -0500
30906
+ Processing by WelcomeController#logged_in_page as JSON
30907
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30908
+  (0.1ms) SAVEPOINT active_record_1
30909
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-16 20:09:09.059367', "current_sign_in_at" = '2012-02-16 20:09:09.059367', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-16 20:09:09.060179' WHERE "users"."id" = 201799169
30910
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30911
+ Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.6ms)
30912
+  (0.5ms) rollback transaction
30913
+  (0.1ms) begin transaction
30914
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30915
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30916
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30917
+
30918
+
30919
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-16 15:09:09 -0500
30920
+ Processing by WelcomeController#logged_in_page as JSON
30921
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30922
+ Completed 401 Unauthorized in 85ms
30923
+  (0.1ms) rollback transaction
30924
+  (0.1ms) begin transaction
30925
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30926
+  (0.1ms) rollback transaction
30927
+  (0.1ms) begin transaction
30928
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30929
+  (0.1ms) rollback transaction
30930
+  (0.1ms) begin transaction
30931
+ Fixture Delete (28.8ms) DELETE FROM "authentications"
30932
+ Fixture Insert (0.5ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-17 14:58:32', '2012-02-17 14:58:32', 949717663, 201799169)
30933
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-17 14:58:32', '2012-02-17 14:58:32', 876923740, 201799169)
30934
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-17 14:58:32', '2012-02-17 14:58:32', 864673665, 201799169)
30935
+ Fixture Delete (0.9ms) DELETE FROM "users"
30936
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 201799169)
30937
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 999914115)
30938
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 725306934)
30939
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 349534908)
30940
+  (1.1ms) commit transaction
30941
+  (0.1ms) begin transaction
30942
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
30943
+  (0.1ms) rollback transaction
30944
+  (0.1ms) begin transaction
30945
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30946
+  (0.1ms) rollback transaction
30947
+  (0.1ms) begin transaction
30948
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30949
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30950
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30951
+ Processing by Contour::AuthenticationsController#create as HTML
30952
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-17 14:58:32 UTC", "updated_at"=>"2012-02-17 14:58:32 UTC"}}
30953
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
30954
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30955
+ Logged in user found, creating associated authentication.
30956
+  (0.1ms) SAVEPOINT active_record_1
30957
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 14:58:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 17 Feb 2012 14:58:33 UTC +00:00], ["user_id", 201799169]]
30958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30959
+ Redirected to http://test.host/authentications
30960
+ Completed 302 Found in 327ms (ActiveRecord: 1.3ms)
30961
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30962
+  (8.1ms) rollback transaction
30963
+  (0.1ms) begin transaction
30964
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30965
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30966
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30967
+ Processing by Contour::AuthenticationsController#destroy as HTML
30968
+ Parameters: {"id"=>"949717663"}
30969
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30970
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
30971
+  (0.0ms) SAVEPOINT active_record_1
30972
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
30973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30974
+ Redirected to http://test.host/authentications
30975
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
30976
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30977
+  (8.7ms) rollback transaction
30978
+  (0.1ms) begin transaction
30979
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30980
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30981
+ Processing by Contour::AuthenticationsController#index as HTML
30982
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30983
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
30984
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
30985
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.9ms)
30986
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
30987
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
30988
+ Completed 200 OK in 334ms (Views: 332.1ms | ActiveRecord: 0.4ms)
30989
+  (0.1ms) rollback transaction
30990
+  (0.1ms) begin transaction
30991
+ Processing by Contour::PasswordsController#create as HTML
30992
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
30993
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'f9qYVwDkx6gFfaWD2sJ6' LIMIT 1
30995
+  (0.0ms) SAVEPOINT active_record_1
30996
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'f9qYVwDkx6gFfaWD2sJ6', "reset_password_sent_at" = '2012-02-17 14:58:33.971349', "updated_at" = '2012-02-17 14:58:33.972211' WHERE "users"."id" = 201799169
30997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30998
+
30999
+ Sent mail to valid@example.com (58ms)
31000
+ Date: Fri, 17 Feb 2012 09:58:34 -0500
31001
+ From: please-change-me-at-config-initializers-devise@example.com
31002
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
31003
+ To: valid@example.com
31004
+ Message-ID: <4f3e6b1a1237f_16af53fcaf9c34d40555a6@edge.mail>
31005
+ Subject: Reset password instructions
31006
+ Mime-Version: 1.0
31007
+ Content-Type: text/html;
31008
+ charset=UTF-8
31009
+ Content-Transfer-Encoding: 7bit
31010
+
31011
+ <p>Hello valid@example.com!</p>
31012
+
31013
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
31014
+
31015
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=f9qYVwDkx6gFfaWD2sJ6">Change my password</a></p>
31016
+
31017
+ <p>If you didn't request this, please ignore this email.</p>
31018
+ <p>Your password won't change until you access the link above and create a new one.</p>
31019
+
31020
+ Redirected to http://test.host/users/login
31021
+ Completed 302 Found in 252ms (ActiveRecord: 0.0ms)
31022
+  (11.1ms) rollback transaction
31023
+  (0.1ms) begin transaction
31024
+ Processing by Contour::PasswordsController#new as HTML
31025
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
31026
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms)
31027
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.7ms)
31028
+ Completed 200 OK in 60ms (Views: 58.7ms | ActiveRecord: 0.0ms)
31029
+  (0.1ms) rollback transaction
31030
+  (0.1ms) begin transaction
31031
+  (0.0ms) rollback transaction
31032
+  (0.1ms) begin transaction
31033
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31034
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31035
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31036
+
31037
+
31038
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31039
+ Processing by WelcomeController#logged_in_page as HTML
31040
+ Completed 401 Unauthorized in 1ms
31041
+  (0.1ms) SAVEPOINT active_record_1
31042
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
31043
+ Binary data inserted for `string` type on column `encrypted_password`
31044
+ SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Of9.GFjhZ43mf5l40b5wveLiiODmNU0V9WS7BSNN89qrHBiJuc.7a"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00]]
31045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31046
+  (0.0ms) SAVEPOINT active_record_1
31047
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
31048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31049
+  (0.0ms) SAVEPOINT active_record_1
31050
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-17 14:58:34.495545' WHERE "users"."id" = 999914116
31051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31052
+  (0.0ms) SAVEPOINT active_record_1
31053
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-17 14:58:34.496850' WHERE "users"."id" = 999914116
31054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31055
+
31056
+
31057
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31058
+ Processing by Contour::SessionsController#create as HTML
31059
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
31060
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
31061
+  (0.1ms) SAVEPOINT active_record_1
31062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31063
+ Completed 401 Unauthorized in 6ms
31064
+
31065
+
31066
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31067
+ Processing by Contour::SessionsController#new as HTML
31068
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
31069
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
31070
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
31071
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
31072
+ Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms)
31073
+  (260.7ms) rollback transaction
31074
+  (0.1ms) begin transaction
31075
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31076
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31077
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31078
+
31079
+
31080
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31081
+ Processing by WelcomeController#logged_in_page as HTML
31082
+ Completed 401 Unauthorized in 0ms
31083
+  (0.1ms) SAVEPOINT active_record_1
31084
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
31085
+ Binary data inserted for `string` type on column `encrypted_password`
31086
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$OMDiersB1bfkK2Oai9PKFu3x07BQG3bsPhGG8AUneqtEpQcVn330."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00]]
31087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31088
+  (0.0ms) SAVEPOINT active_record_1
31089
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
31090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31091
+  (0.0ms) SAVEPOINT active_record_1
31092
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-17 14:58:34.836887' WHERE "users"."id" = 999914116
31093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31094
+  (0.0ms) SAVEPOINT active_record_1
31095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31096
+
31097
+
31098
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31099
+ Processing by Contour::SessionsController#create as HTML
31100
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
31101
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
31102
+  (0.0ms) SAVEPOINT active_record_1
31103
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-17 14:58:34.845129', "current_sign_in_at" = '2012-02-17 14:58:34.845129', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-17 14:58:34.845715' WHERE "users"."id" = 999914116
31104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31105
+ Redirected to http://www.example.com/logged_in_page
31106
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
31107
+
31108
+
31109
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31110
+ Processing by WelcomeController#logged_in_page as HTML
31111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
31112
+ Completed 200 OK in 52ms (Views: 50.9ms | ActiveRecord: 0.1ms)
31113
+  (0.6ms) rollback transaction
31114
+  (0.1ms) begin transaction
31115
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31116
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31117
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31118
+
31119
+
31120
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31121
+ Processing by WelcomeController#logged_in_page as HTML
31122
+ Completed 401 Unauthorized in 0ms
31123
+  (0.1ms) SAVEPOINT active_record_1
31124
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
31125
+ Binary data inserted for `string` type on column `encrypted_password`
31126
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HgG/R2W6jfZOw/IqxvBv9e485Nncls4VgQ/9pOdUhDuHCQPd7f.uq"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00]]
31127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31128
+  (0.1ms) SAVEPOINT active_record_1
31129
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
31130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31131
+  (0.0ms) SAVEPOINT active_record_1
31132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31133
+  (0.0ms) SAVEPOINT active_record_1
31134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31135
+
31136
+
31137
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31138
+ Processing by Contour::SessionsController#create as HTML
31139
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
31140
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
31141
+  (0.0ms) SAVEPOINT active_record_1
31142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31143
+ Completed 401 Unauthorized in 4ms
31144
+
31145
+
31146
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31147
+ Processing by Contour::SessionsController#new as HTML
31148
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
31149
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
31150
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
31151
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
31152
+ Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)
31153
+  (3.2ms) rollback transaction
31154
+  (0.1ms) begin transaction
31155
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31156
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31157
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31158
+
31159
+
31160
+ Started GET "/" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31161
+ Processing by WelcomeController#index as HTML
31162
+ Completed 401 Unauthorized in 1ms
31163
+  (0.1ms) rollback transaction
31164
+  (0.0ms) begin transaction
31165
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31166
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31167
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31168
+
31169
+
31170
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-17 09:58:34 -0500
31171
+ Processing by WelcomeController#logged_in_page as JSON
31172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
31173
+  (0.1ms) SAVEPOINT active_record_1
31174
+  (0.4ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-17 14:58:35.041186', "current_sign_in_at" = '2012-02-17 14:58:35.041186', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-17 14:58:35.041821' WHERE "users"."id" = 201799169
31175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31176
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms)
31177
+  (125.7ms) rollback transaction
31178
+  (0.1ms) begin transaction
31179
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31180
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31181
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31182
+
31183
+
31184
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-17 09:58:35 -0500
31185
+ Processing by WelcomeController#logged_in_page as JSON
31186
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
31187
+ Completed 401 Unauthorized in 81ms
31188
+  (0.1ms) rollback transaction
31189
+  (0.1ms) begin transaction
31190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31191
+  (0.1ms) rollback transaction
31192
+  (0.0ms) begin transaction
31193
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31194
+  (0.0ms) rollback transaction
31195
+  (0.1ms) begin transaction
31196
+ Fixture Delete (51.1ms) DELETE FROM "authentications"
31197
+ Fixture Insert (17.6ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 949717663, 201799169)
31198
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 876923740, 201799169)
31199
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 864673665, 201799169)
31200
+ Fixture Delete (216.6ms) DELETE FROM "users"
31201
+ Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 201799169)
31202
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 999914115)
31203
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 725306934)
31204
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 349534908)
31205
+  (329.8ms) commit transaction
31206
+  (0.1ms) begin transaction
31207
+ Authentication Load (0.5ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
31208
+  (0.1ms) rollback transaction
31209
+  (0.1ms) begin transaction
31210
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
31211
+  (0.1ms) rollback transaction
31212
+  (0.1ms) begin transaction
31213
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31214
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
31215
+  (0.2ms) SELECT COUNT(*) FROM "authentications" 
31216
+ Processing by Contour::AuthenticationsController#create as HTML
31217
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-03-02 18:17:16 UTC", "updated_at"=>"2012-03-02 18:17:16 UTC"}}
31218
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
31219
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
31220
+ Logged in user found, creating associated authentication.
31221
+  (28.3ms) SAVEPOINT active_record_1
31222
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 02 Mar 2012 18:17:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 02 Mar 2012 18:17:18 UTC +00:00], ["user_id", 201799169]]
31223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31224
+ Redirected to http://test.host/authentications
31225
+ Completed 302 Found in 325ms (ActiveRecord: 29.2ms)
31226
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
31227
+  (84.2ms) rollback transaction
31228
+  (0.1ms) begin transaction
31229
+ User Load (17.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31230
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
31231
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
31232
+ Processing by Contour::AuthenticationsController#destroy as HTML
31233
+ Parameters: {"id"=>"949717663"}
31234
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
31235
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
31236
+  (0.1ms) SAVEPOINT active_record_1
31237
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
31238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31239
+ Redirected to http://test.host/authentications
31240
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
31241
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
31242
+  (0.6ms) rollback transaction
31243
+  (0.1ms) begin transaction
31244
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31245
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
31246
+ Processing by Contour::AuthenticationsController#index as HTML
31247
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
31248
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
31249
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
31250
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
31251
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
31252
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
31253
+ Completed 200 OK in 238ms (Views: 235.1ms | ActiveRecord: 0.5ms)
31254
+  (0.1ms) rollback transaction
31255
+  (0.1ms) begin transaction
31256
+ Processing by Contour::PasswordsController#create as HTML
31257
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
31258
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
31259
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '2sa8k7xBTb68mZktuWAs' LIMIT 1
31260
+  (0.1ms) SAVEPOINT active_record_1
31261
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '2sa8k7xBTb68mZktuWAs', "reset_password_sent_at" = '2012-03-02 18:17:18.652361', "updated_at" = '2012-03-02 18:17:18.653208' WHERE "users"."id" = 201799169
31262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31263
+
31264
+ Sent mail to valid@example.com (674ms)
31265
+ Date: Fri, 02 Mar 2012 13:17:19 -0500
31266
+ From: please-change-me-at-config-initializers-devise@example.com
31267
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
31268
+ To: valid@example.com
31269
+ Message-ID: <4f510eaf34206_fa623fc8dd034d389692@edge.mail>
31270
+ Subject: Reset password instructions
31271
+ Mime-Version: 1.0
31272
+ Content-Type: text/html;
31273
+ charset=UTF-8
31274
+ Content-Transfer-Encoding: 7bit
31275
+
31276
+ <p>Hello valid@example.com!</p>
31277
+
31278
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
31279
+
31280
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=2sa8k7xBTb68mZktuWAs">Change my password</a></p>
31281
+
31282
+ <p>If you didn't request this, please ignore this email.</p>
31283
+ <p>Your password won't change until you access the link above and create a new one.</p>
31284
+
31285
+ Redirected to http://test.host/users/login
31286
+ Completed 302 Found in 1007ms (ActiveRecord: 0.0ms)
31287
+  (184.8ms) rollback transaction
31288
+  (0.1ms) begin transaction
31289
+ Processing by Contour::PasswordsController#new as HTML
31290
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
31291
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms)
31292
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.0ms)
31293
+ Completed 200 OK in 121ms (Views: 120.0ms | ActiveRecord: 0.0ms)
31294
+  (0.1ms) rollback transaction
31295
+  (0.1ms) begin transaction
31296
+  (0.1ms) rollback transaction
31297
+  (0.1ms) begin transaction
31298
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31299
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31300
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31301
+
31302
+
31303
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:19 -0500
31304
+ Processing by WelcomeController#logged_in_page as HTML
31305
+ Completed 401 Unauthorized in 1ms
31306
+  (0.1ms) SAVEPOINT active_record_1
31307
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
31308
+ Binary data inserted for `string` type on column `encrypted_password`
31309
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$K8ACEEsTDRpWtwsyrd38xOgrQ4LBZLFCThEFXd9cvJ7cskMmu18S2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00]]
31310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31311
+  (0.0ms) SAVEPOINT active_record_1
31312
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
31313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31314
+  (0.0ms) SAVEPOINT active_record_1
31315
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-03-02 18:17:20.073506' WHERE "users"."id" = 999914116
31316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31317
+  (0.0ms) SAVEPOINT active_record_1
31318
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-03-02 18:17:20.074771' WHERE "users"."id" = 999914116
31319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31320
+
31321
+
31322
+ Started POST "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31323
+ Processing by Contour::SessionsController#create as HTML
31324
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
31325
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
31326
+  (0.1ms) SAVEPOINT active_record_1
31327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31328
+ Completed 401 Unauthorized in 57ms
31329
+
31330
+
31331
+ Started GET "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31332
+ Processing by Contour::SessionsController#new as HTML
31333
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
31334
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
31335
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
31336
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
31337
+ Completed 200 OK in 51ms (Views: 49.7ms | ActiveRecord: 0.0ms)
31338
+  (0.8ms) rollback transaction
31339
+  (0.0ms) begin transaction
31340
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31341
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31342
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31343
+
31344
+
31345
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31346
+ Processing by WelcomeController#logged_in_page as HTML
31347
+ Completed 401 Unauthorized in 0ms
31348
+  (0.1ms) SAVEPOINT active_record_1
31349
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
31350
+ Binary data inserted for `string` type on column `encrypted_password`
31351
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$aInD5/w/hHVOSCKpXZIQxekWVETSPjWR4JS0YRpqUFfAVXlRjPqe."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00]]
31352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31353
+  (0.0ms) SAVEPOINT active_record_1
31354
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
31355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31356
+  (0.0ms) SAVEPOINT active_record_1
31357
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-03-02 18:17:20.213124' WHERE "users"."id" = 999914116
31358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31359
+  (0.0ms) SAVEPOINT active_record_1
31360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31361
+
31362
+
31363
+ Started POST "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31364
+ Processing by Contour::SessionsController#create as HTML
31365
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
31366
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
31367
+  (0.1ms) SAVEPOINT active_record_1
31368
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-02 18:17:20.224596', "current_sign_in_at" = '2012-03-02 18:17:20.224596', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-02 18:17:20.225718' WHERE "users"."id" = 999914116
31369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31370
+ Redirected to http://www.example.com/logged_in_page
31371
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
31372
+
31373
+
31374
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31375
+ Processing by WelcomeController#logged_in_page as HTML
31376
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
31377
+ Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms)
31378
+  (0.7ms) rollback transaction
31379
+  (0.1ms) begin transaction
31380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31381
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31382
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31383
+
31384
+
31385
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31386
+ Processing by WelcomeController#logged_in_page as HTML
31387
+ Completed 401 Unauthorized in 0ms
31388
+  (0.1ms) SAVEPOINT active_record_1
31389
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
31390
+ Binary data inserted for `string` type on column `encrypted_password`
31391
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SAXkHu8..E1RgMS.r7JyiOf8c.b86SH/6mubbhttMEy3CmKaYimwq"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00]]
31392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31393
+  (0.0ms) SAVEPOINT active_record_1
31394
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
31395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31396
+  (0.0ms) SAVEPOINT active_record_1
31397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31398
+  (0.0ms) SAVEPOINT active_record_1
31399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31400
+
31401
+
31402
+ Started POST "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31403
+ Processing by Contour::SessionsController#create as HTML
31404
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
31405
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
31406
+  (0.0ms) SAVEPOINT active_record_1
31407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31408
+ Completed 401 Unauthorized in 4ms
31409
+
31410
+
31411
+ Started GET "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31412
+ Processing by Contour::SessionsController#new as HTML
31413
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
31414
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
31415
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
31416
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
31417
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
31418
+  (0.5ms) rollback transaction
31419
+  (0.1ms) begin transaction
31420
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31421
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31422
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31423
+
31424
+
31425
+ Started GET "/" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31426
+ Processing by WelcomeController#index as HTML
31427
+ Completed 401 Unauthorized in 0ms
31428
+  (0.1ms) rollback transaction
31429
+  (0.1ms) begin transaction
31430
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31431
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31432
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31433
+
31434
+
31435
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31436
+ Processing by WelcomeController#logged_in_page as JSON
31437
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
31438
+  (0.1ms) SAVEPOINT active_record_1
31439
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-02 18:17:20.394682', "current_sign_in_at" = '2012-03-02 18:17:20.394682', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-02 18:17:20.395343' WHERE "users"."id" = 201799169
31440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31441
+ Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms)
31442
+  (8.3ms) rollback transaction
31443
+  (0.1ms) begin transaction
31444
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31445
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
31446
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
31447
+
31448
+
31449
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-03-02 13:17:20 -0500
31450
+ Processing by WelcomeController#logged_in_page as JSON
31451
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
31452
+ Completed 401 Unauthorized in 87ms
31453
+  (0.1ms) rollback transaction
31454
+  (0.1ms) begin transaction
31455
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31456
+  (0.1ms) rollback transaction
31457
+  (0.1ms) begin transaction
31458
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31459
+  (0.1ms) rollback transaction