contour 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +5 -0
- data/app/assets/stylesheets/contour/global.css +2 -2
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1060 -0
- metadata +24 -24
data/CHANGELOG.rdoc
CHANGED
@@ -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
|
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -30397,3 +30397,1063 @@ Completed 401 Unauthorized in 82ms
|
|
30397
30397
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30398
30398
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30399
30399
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
30400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30401
|
+
[1m[35mFixture Delete (29.6ms)[0m DELETE FROM "authentications"
|
30402
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT 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)[0m
|
30403
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
|
30405
|
+
[1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users"
|
30406
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30407
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30409
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
30411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
30412
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
30413
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30415
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30416
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
30417
|
+
[1m[35m (0.0ms)[0m begin transaction
|
30418
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30419
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30420
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
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
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
30424
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30425
|
+
Logged in user found, creating associated authentication.
|
30426
|
+
[1m[35m (17.5ms)[0m SAVEPOINT active_record_1
|
30427
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
30429
|
+
Redirected to http://test.host/authentications
|
30430
|
+
Completed 302 Found in 259ms (ActiveRecord: 18.4ms)
|
30431
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
30432
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
30433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30434
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30435
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
30436
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
30437
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
30438
|
+
Parameters: {"id"=>"949717663"}
|
30439
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30440
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
30441
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30442
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
30443
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30444
|
+
Redirected to http://test.host/authentications
|
30445
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
30446
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
30447
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
30448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
30449
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30450
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30451
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
30452
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30453
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
30454
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30461
|
+
Processing by Contour::PasswordsController#create as HTML
|
30462
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
30463
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
30464
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JkK66bQZGcSYkBUgzF1J' LIMIT 1[0m
|
30465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30466
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
30467
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
30493
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30500
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
30502
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30503
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30504
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
30505
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30512
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
30513
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
30514
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30517
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
30518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
30519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30520
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-15 17:52:37.625862' WHERE "users"."id" = 999914116
|
30521
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30523
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-15 17:52:37.627142' WHERE "users"."id" = 999914116[0m
|
30524
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
30531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30532
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
30544
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30545
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30546
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
30547
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
30554
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30559
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
30560
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30562
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-15 17:52:37.744221' WHERE "users"."id" = 999914116[0m
|
30563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
30564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
30565
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
30572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30573
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
30574
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
30582
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.1ms)
|
30583
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
30584
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30585
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30586
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
30587
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
30594
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
30598
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30599
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
30600
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30601
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
30611
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30612
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
30624
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30625
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30626
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
30627
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30635
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30636
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
30637
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
30643
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30644
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
30645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
30646
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
30647
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
30648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30649
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30650
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
30651
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
30657
|
+
Completed 401 Unauthorized in 77ms
|
30658
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30659
|
+
[1m[35m (0.0ms)[0m begin transaction
|
30660
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30661
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30663
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30664
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
30665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30666
|
+
[1m[35mFixture Delete (51.6ms)[0m DELETE FROM "authentications"
|
30667
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
30668
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30670
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users"
|
30671
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30672
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30674
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (38.1ms)[0m [1mcommit transaction[0m
|
30676
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30677
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
30678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30680
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30681
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30682
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30683
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30684
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30685
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
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
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
30689
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30690
|
+
Logged in user found, creating associated authentication.
|
30691
|
+
[1m[35m (12.4ms)[0m SAVEPOINT active_record_1
|
30692
|
+
[1m[36mSQL (9.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30694
|
+
Redirected to http://test.host/authentications
|
30695
|
+
Completed 302 Found in 213ms (ActiveRecord: 22.4ms)
|
30696
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
30697
|
+
[1m[35m (3.7ms)[0m rollback transaction
|
30698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30699
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30700
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
30701
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
30702
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
30703
|
+
Parameters: {"id"=>"949717663"}
|
30704
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30705
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
30706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30707
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
30708
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30709
|
+
Redirected to http://test.host/authentications
|
30710
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
30711
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
30712
|
+
[1m[36m (7.2ms)[0m [1mrollback transaction[0m
|
30713
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30714
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30715
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30716
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
30717
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30718
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
30719
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30726
|
+
Processing by Contour::PasswordsController#create as HTML
|
30727
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
30728
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
30729
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ypRpWFAYHUSTGjhtreSh' LIMIT 1[0m
|
30730
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30731
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
30732
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (16.7ms)[0m [1mrollback transaction[0m
|
30758
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30766
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30768
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30769
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
30770
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30777
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
30778
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
30779
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30782
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
30783
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
30784
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30785
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-16 20:09:08.645981' WHERE "users"."id" = 999914116
|
30786
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30787
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30788
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-16 20:09:08.647704' WHERE "users"."id" = 999914116[0m
|
30789
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
30796
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30797
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
30809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30810
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30811
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
30812
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
30819
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30823
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30824
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
30825
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30827
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-16 20:09:08.832703' WHERE "users"."id" = 999914116[0m
|
30828
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30829
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30830
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
30837
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30838
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
30839
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
30847
|
+
Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.2ms)
|
30848
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
30849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30850
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30851
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
30852
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
30859
|
+
[1m[35mUser Exists (0.2ms)[0m 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
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30864
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
30865
|
+
[1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30867
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
30876
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
30877
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
30889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30890
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30891
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
30892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30900
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30901
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
30902
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
30908
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30909
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
30910
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30911
|
+
Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
30912
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
30913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30914
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30915
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
30916
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
30922
|
+
Completed 401 Unauthorized in 85ms
|
30923
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30925
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30926
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30928
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30929
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30931
|
+
[1m[35mFixture Delete (28.8ms)[0m DELETE FROM "authentications"
|
30932
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
30933
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30935
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users"
|
30936
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30937
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
30939
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
30941
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30942
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
30943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30945
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30946
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30947
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30948
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30949
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30950
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
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
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
30954
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30955
|
+
Logged in user found, creating associated authentication.
|
30956
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
30957
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
30959
|
+
Redirected to http://test.host/authentications
|
30960
|
+
Completed 302 Found in 327ms (ActiveRecord: 1.3ms)
|
30961
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
30962
|
+
[1m[35m (8.1ms)[0m rollback transaction
|
30963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30964
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
30965
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
30966
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
30967
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
30968
|
+
Parameters: {"id"=>"949717663"}
|
30969
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30970
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
30971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
30972
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
30973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
30974
|
+
Redirected to http://test.host/authentications
|
30975
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
30976
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
30977
|
+
[1m[36m (8.7ms)[0m [1mrollback transaction[0m
|
30978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30979
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
30980
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
30981
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
30982
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
30983
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
30984
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
30990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30991
|
+
Processing by Contour::PasswordsController#create as HTML
|
30992
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
30993
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
30994
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'f9qYVwDkx6gFfaWD2sJ6' LIMIT 1[0m
|
30995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
30996
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
30997
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (11.1ms)[0m [1mrollback transaction[0m
|
31023
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31030
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31031
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
31032
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31033
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31034
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
31035
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31042
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
31043
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
31044
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31047
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
31048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31050
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-17 14:58:34.495545' WHERE "users"."id" = 999914116
|
31051
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31052
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31053
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-17 14:58:34.496850' WHERE "users"."id" = 999914116[0m
|
31054
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
31061
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31062
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (260.7ms)[0m rollback transaction
|
31074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31075
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31076
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
31077
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31084
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31088
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31089
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
31090
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31092
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-17 14:58:34.836887' WHERE "users"."id" = 999914116[0m
|
31093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31095
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
31102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31103
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
31104
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
31112
|
+
Completed 200 OK in 52ms (Views: 50.9ms | ActiveRecord: 0.1ms)
|
31113
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
31114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31115
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31116
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
31117
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31124
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31129
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
31130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31132
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31134
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
31141
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31142
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (3.2ms)[0m [1mrollback transaction[0m
|
31154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31155
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31156
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
31157
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31165
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31166
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
31167
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
31173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31174
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
31175
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31176
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
31177
|
+
[1m[36m (125.7ms)[0m [1mrollback transaction[0m
|
31178
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31179
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31180
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
31181
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
31187
|
+
Completed 401 Unauthorized in 81ms
|
31188
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31190
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31191
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31193
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31194
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
31195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31196
|
+
[1m[35mFixture Delete (51.1ms)[0m DELETE FROM "authentications"
|
31197
|
+
[1m[36mFixture Insert (17.6ms)[0m [1mINSERT 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)[0m
|
31198
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
31200
|
+
[1m[35mFixture Delete (216.6ms)[0m DELETE FROM "users"
|
31201
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
31202
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
31204
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (329.8ms)[0m [1mcommit transaction[0m
|
31206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31207
|
+
[1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
31208
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31209
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31210
|
+
[1m[35mAuthentication Load (0.4ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
31211
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31213
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31214
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
31215
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
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
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
31219
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
31220
|
+
Logged in user found, creating associated authentication.
|
31221
|
+
[1m[35m (28.3ms)[0m SAVEPOINT active_record_1
|
31222
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
31224
|
+
Redirected to http://test.host/authentications
|
31225
|
+
Completed 302 Found in 325ms (ActiveRecord: 29.2ms)
|
31226
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
31227
|
+
[1m[35m (84.2ms)[0m rollback transaction
|
31228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31229
|
+
[1m[35mUser Load (17.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31230
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
31231
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications"
|
31232
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
31233
|
+
Parameters: {"id"=>"949717663"}
|
31234
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
31235
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
31236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31237
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
31238
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31239
|
+
Redirected to http://test.host/authentications
|
31240
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
31241
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
31242
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
31243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31244
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31245
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
31246
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
31247
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
31248
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
31249
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31256
|
+
Processing by Contour::PasswordsController#create as HTML
|
31257
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
31258
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
31259
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '2sa8k7xBTb68mZktuWAs' LIMIT 1[0m
|
31260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31261
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
31262
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (184.8ms)[0m [1mrollback transaction[0m
|
31288
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31298
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31299
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
31300
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31307
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
31308
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
31309
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31312
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
31313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31315
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-03-02 18:17:20.073506' WHERE "users"."id" = 999914116
|
31316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31318
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-03-02 18:17:20.074771' WHERE "users"."id" = 999914116[0m
|
31319
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
31326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31327
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
31339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31340
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31341
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
31342
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31349
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31354
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
31355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31356
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31357
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-03-02 18:17:20.213124' WHERE "users"."id" = 999914116[0m
|
31358
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31359
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31360
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
31367
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31368
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
31369
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
31377
|
+
Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms)
|
31378
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
31379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31380
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31381
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
31382
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31389
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31394
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
31395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31397
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31399
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
31406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31407
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
31419
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31420
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31421
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
31422
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31430
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31431
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
31432
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
31438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31439
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
31440
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31441
|
+
Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
31442
|
+
[1m[36m (8.3ms)[0m [1mrollback transaction[0m
|
31443
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31444
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31445
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
31446
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
31452
|
+
Completed 401 Unauthorized in 87ms
|
31453
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31455
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
31456
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31458
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
31459
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|