contour 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +1 -1
- data/app/views/contour/layouts/application.html.erb +1 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1048 -0
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<title><%= [Contour.application_name, @title].compact.join(' - ').html_safe %></title>
|
5
5
|
<%= favicon_link_tag %>
|
6
6
|
<!--[if lt IE 9]>
|
7
|
-
<script src="
|
7
|
+
<script src="//html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
|
8
8
|
<![endif]-->
|
9
9
|
<%= stylesheet_link_tag "application", media: "all" %>
|
10
10
|
<%= javascript_include_tag "application" %>
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -44438,3 +44438,1051 @@ Completed 401 Unauthorized in 84ms
|
|
44438
44438
|
[1m[35m (0.1ms)[0m begin transaction
|
44439
44439
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44440
44440
|
[1m[35m (0.1ms)[0m rollback transaction
|
44441
|
+
Connecting to database specified by database.yml
|
44442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44443
|
+
[1m[35mFixture Delete (36.4ms)[0m DELETE FROM "authentications"
|
44444
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 949717663, 201799169)[0m
|
44445
|
+
[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-08-15 15:35:50', '2012-08-15 15:35:50', 876923740, 201799169)
|
44446
|
+
[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-08-15 15:35:50', '2012-08-15 15:35:50', 864673665, 201799169)[0m
|
44447
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
44448
|
+
[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-08-15 15:35:50', '2012-08-15 15:35:50', 201799169)[0m
|
44449
|
+
[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-08-15 15:35:50', '2012-08-15 15:35:50', 999914115)
|
44450
|
+
[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-08-15 15:35:50', '2012-08-15 15:35:50', 725306934)[0m
|
44451
|
+
[1m[35mFixture Insert (0.2ms)[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-08-15 15:35:50', '2012-08-15 15:35:50', 349534908)
|
44452
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
44453
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44454
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
44455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44457
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44458
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44460
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44461
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44462
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44463
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
44464
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-15 15:35:50 UTC", "updated_at"=>"2012-08-15 15:35:50 UTC"}}
|
44465
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
44466
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44467
|
+
Logged in user found, creating associated authentication.
|
44468
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44469
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 15 Aug 2012 15:35:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 15 Aug 2012 15:35:50 UTC +00:00], ["user_id", 201799169]]
|
44470
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44471
|
+
Redirected to http://test.host/authentications
|
44472
|
+
Completed 302 Found in 70ms (ActiveRecord: 0.8ms)
|
44473
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44474
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
44475
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44476
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44477
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
44478
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
44479
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
44480
|
+
Parameters: {"id"=>"949717663"}
|
44481
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44482
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
44483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44484
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
44485
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44486
|
+
Redirected to http://test.host/authentications
|
44487
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
44488
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
44489
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
44490
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44491
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44492
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44493
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
44494
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44495
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
44496
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
44497
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
44498
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
44499
|
+
Completed 200 OK in 147ms (Views: 144.7ms | ActiveRecord: 0.4ms)
|
44500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44502
|
+
Processing by Contour::PasswordsController#create as HTML
|
44503
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
44504
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44505
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GXbJjy7qW8KCsbxQHqDP' LIMIT 1[0m
|
44506
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44507
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'GXbJjy7qW8KCsbxQHqDP', "reset_password_sent_at" = '2012-08-15 15:35:51.157700', "updated_at" = '2012-08-15 15:35:51.158720' WHERE "users"."id" = 201799169[0m
|
44508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44509
|
+
|
44510
|
+
Sent mail to valid@example.com (69ms)
|
44511
|
+
Date: Wed, 15 Aug 2012 11:35:51 -0400
|
44512
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
44513
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
44514
|
+
To: valid@example.com
|
44515
|
+
Message-ID: <502bc1d769a76_ffe73fe88c435ad08339f@edge.partners.org.mail>
|
44516
|
+
Subject: Reset password instructions
|
44517
|
+
Mime-Version: 1.0
|
44518
|
+
Content-Type: text/html;
|
44519
|
+
charset=UTF-8
|
44520
|
+
Content-Transfer-Encoding: 7bit
|
44521
|
+
|
44522
|
+
<p>Hello valid@example.com!</p>
|
44523
|
+
|
44524
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
44525
|
+
|
44526
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=GXbJjy7qW8KCsbxQHqDP">Change my password</a></p>
|
44527
|
+
|
44528
|
+
<p>If you didn't request this, please ignore this email.</p>
|
44529
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
44530
|
+
|
44531
|
+
Redirected to http://test.host/users/login
|
44532
|
+
Completed 302 Found in 343ms (ActiveRecord: 0.0ms)
|
44533
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
44534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44535
|
+
Processing by Contour::PasswordsController#new as HTML
|
44536
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
44537
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
44538
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
|
44539
|
+
Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms)
|
44540
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44541
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44542
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44543
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44544
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44545
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44546
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44547
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44548
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44549
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44550
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44551
|
+
|
44552
|
+
|
44553
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44554
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44555
|
+
Completed 401 Unauthorized in 1ms
|
44556
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44557
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44558
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44559
|
+
[1m[35mSQL (20.9ms)[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 Aug 2012 15:35:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9xM3eNHg5kEiibCCLeZzoOH7sD1MqgsNOIgefDtBJcJsW15Rf3vWy"], ["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 Aug 2012 15:35:51 UTC +00:00]]
|
44560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44562
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44564
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
44565
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
44566
|
+
|
44567
|
+
|
44568
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44569
|
+
Processing by Contour::SessionsController#create as HTML
|
44570
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
44571
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44572
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44573
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44574
|
+
Completed 401 Unauthorized in 23ms
|
44575
|
+
|
44576
|
+
|
44577
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44578
|
+
Processing by Contour::SessionsController#new as HTML
|
44579
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
44580
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
|
44581
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
44582
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
44583
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
|
44584
|
+
Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)
|
44585
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
44586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44587
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44588
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44589
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44590
|
+
|
44591
|
+
|
44592
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44593
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44594
|
+
Completed 401 Unauthorized in 0ms
|
44595
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44596
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44597
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44598
|
+
[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 Aug 2012 15:35:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$84nvPGCjhUasbyOnJbTtHu3uih4rcS/3/Hk0QK2k7Vd7UE089X8.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", Wed, 15 Aug 2012 15:35:51 UTC +00:00]]
|
44599
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44600
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44601
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
44602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44603
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
44604
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
44605
|
+
|
44606
|
+
|
44607
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44608
|
+
Processing by Contour::SessionsController#create as HTML
|
44609
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
44610
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44611
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44612
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-15 15:35:51.780847', "current_sign_in_at" = '2012-08-15 15:35:51.780847', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-15 15:35:51.781420' WHERE "users"."id" = 999914116
|
44613
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44614
|
+
Redirected to http://www.example.com/logged_in_page
|
44615
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
44616
|
+
|
44617
|
+
|
44618
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44619
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44620
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
44621
|
+
Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms)
|
44622
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
44623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44624
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44625
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44626
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44627
|
+
|
44628
|
+
|
44629
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44630
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44631
|
+
Completed 401 Unauthorized in 0ms
|
44632
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44633
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44634
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44635
|
+
[1m[35mSQL (0.5ms)[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 Aug 2012 15:35:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$7pI14LFd29/dSuDCCbG3JOyqarHmVffvIvk5QGUMSYdMQawptUM3C"], ["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 Aug 2012 15:35:51 UTC +00:00]]
|
44636
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44638
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44640
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
44641
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
44642
|
+
|
44643
|
+
|
44644
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44645
|
+
Processing by Contour::SessionsController#create as HTML
|
44646
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
44647
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44650
|
+
Completed 401 Unauthorized in 4ms
|
44651
|
+
|
44652
|
+
|
44653
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44654
|
+
Processing by Contour::SessionsController#new as HTML
|
44655
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
44656
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms)
|
44657
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
44658
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
44659
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
44660
|
+
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
|
44661
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
44662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44663
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44664
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44665
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44666
|
+
|
44667
|
+
|
44668
|
+
Started GET "/" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44669
|
+
Processing by WelcomeController#index as HTML
|
44670
|
+
Completed 401 Unauthorized in 0ms
|
44671
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44672
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44673
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44674
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44675
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44676
|
+
|
44677
|
+
|
44678
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44679
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44680
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44682
|
+
[1m[35m (30.0ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-15 15:35:51.950943', "current_sign_in_at" = '2012-08-15 15:35:51.950943', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-15 15:35:51.951698' WHERE "users"."id" = 201799169
|
44683
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44684
|
+
Completed 200 OK in 111ms (Views: 0.3ms | ActiveRecord: 30.3ms)
|
44685
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
44686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44687
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44688
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44689
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44690
|
+
|
44691
|
+
|
44692
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-15 11:35:51 -0400
|
44693
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44694
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
44695
|
+
Completed 401 Unauthorized in 79ms
|
44696
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44697
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44698
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44699
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44701
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44703
|
+
Connecting to database specified by database.yml
|
44704
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44705
|
+
[1m[35mFixture Delete (53.3ms)[0m DELETE FROM "authentications"
|
44706
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 949717663, 201799169)[0m
|
44707
|
+
[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-08-16 12:41:03', '2012-08-16 12:41:03', 876923740, 201799169)
|
44708
|
+
[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-08-16 12:41:03', '2012-08-16 12:41:03', 864673665, 201799169)[0m
|
44709
|
+
[1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users"
|
44710
|
+
[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-08-16 12:41:03', '2012-08-16 12:41:03', 201799169)[0m
|
44711
|
+
[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-08-16 12:41:03', '2012-08-16 12:41:03', 999914115)
|
44712
|
+
[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-08-16 12:41:03', '2012-08-16 12:41:03', 725306934)[0m
|
44713
|
+
[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-08-16 12:41:03', '2012-08-16 12:41:03', 349534908)
|
44714
|
+
[1m[36m (17.4ms)[0m [1mcommit transaction[0m
|
44715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44716
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
44717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44719
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44720
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44722
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44723
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44724
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44725
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
44726
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 12:41:03 UTC", "updated_at"=>"2012-08-16 12:41:03 UTC"}}
|
44727
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
44728
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44729
|
+
Logged in user found, creating associated authentication.
|
44730
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44731
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["user_id", 201799169]]
|
44732
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44733
|
+
Redirected to http://test.host/authentications
|
44734
|
+
Completed 302 Found in 78ms (ActiveRecord: 0.9ms)
|
44735
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44736
|
+
[1m[35m (5.4ms)[0m rollback transaction
|
44737
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44738
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44739
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
44740
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
44741
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
44742
|
+
Parameters: {"id"=>"949717663"}
|
44743
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44744
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
44745
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44746
|
+
[1m[35mSQL (19.9ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
44747
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44748
|
+
Redirected to http://test.host/authentications
|
44749
|
+
Completed 302 Found in 24ms (ActiveRecord: 20.3ms)
|
44750
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
44751
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
44752
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44753
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44754
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44755
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
44756
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44757
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
44758
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
44759
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
|
44760
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
|
44761
|
+
Completed 200 OK in 123ms (Views: 121.5ms | ActiveRecord: 0.4ms)
|
44762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44764
|
+
Processing by Contour::PasswordsController#create as HTML
|
44765
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
44766
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44767
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf' LIMIT 1[0m
|
44768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44769
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf', "reset_password_sent_at" = '2012-08-16 12:41:03.830927', "updated_at" = '2012-08-16 12:41:03.831681' WHERE "users"."id" = 201799169[0m
|
44770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44771
|
+
|
44772
|
+
Sent mail to valid@example.com (85ms)
|
44773
|
+
Date: Thu, 16 Aug 2012 08:41:04 -0400
|
44774
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
44775
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
44776
|
+
To: valid@example.com
|
44777
|
+
Message-ID: <502cea6011157_149683fce44435ad816ef@edge.partners.org.mail>
|
44778
|
+
Subject: Reset password instructions
|
44779
|
+
Mime-Version: 1.0
|
44780
|
+
Content-Type: text/html;
|
44781
|
+
charset=UTF-8
|
44782
|
+
Content-Transfer-Encoding: 7bit
|
44783
|
+
|
44784
|
+
<p>Hello valid@example.com!</p>
|
44785
|
+
|
44786
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
44787
|
+
|
44788
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=F4ZHCymBXsg7kDgrZkXf">Change my password</a></p>
|
44789
|
+
|
44790
|
+
<p>If you didn't request this, please ignore this email.</p>
|
44791
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
44792
|
+
|
44793
|
+
Redirected to http://test.host/users/login
|
44794
|
+
Completed 302 Found in 351ms (ActiveRecord: 0.0ms)
|
44795
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
44796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44797
|
+
Processing by Contour::PasswordsController#new as HTML
|
44798
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
44799
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
44800
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
|
44801
|
+
Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
|
44802
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44804
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44806
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44807
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44808
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44810
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44811
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44812
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44813
|
+
|
44814
|
+
|
44815
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44816
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44817
|
+
Completed 401 Unauthorized in 1ms
|
44818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44819
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44820
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44821
|
+
[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", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Gma20YUE2LVK626UmUEETul0/VpBrH1ZquSdY4gAXK86FZcezB3R."], ["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 Aug 2012 12:41:04 UTC +00:00]]
|
44822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44824
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44826
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
44827
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
44828
|
+
|
44829
|
+
|
44830
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44831
|
+
Processing by Contour::SessionsController#create as HTML
|
44832
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
44833
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44834
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44835
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44836
|
+
Completed 401 Unauthorized in 7ms
|
44837
|
+
|
44838
|
+
|
44839
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44840
|
+
Processing by Contour::SessionsController#new as HTML
|
44841
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
44842
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms)
|
44843
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
44844
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
44845
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
|
44846
|
+
Completed 200 OK in 83ms (Views: 81.6ms | ActiveRecord: 0.0ms)
|
44847
|
+
[1m[35m (5.8ms)[0m rollback transaction
|
44848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44849
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44850
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44851
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44852
|
+
|
44853
|
+
|
44854
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44855
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44856
|
+
Completed 401 Unauthorized in 0ms
|
44857
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44858
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44859
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44860
|
+
[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", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$HnVfn.WWgis0GXSN3q9Jh.Y0nwInAXMHjAbWxusPM4ZooG7WmPoE6"], ["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 Aug 2012 12:41:04 UTC +00:00]]
|
44861
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44863
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
44864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44865
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
44866
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
44867
|
+
|
44868
|
+
|
44869
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44870
|
+
Processing by Contour::SessionsController#create as HTML
|
44871
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
44872
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44873
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44874
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.496028', "current_sign_in_at" = '2012-08-16 12:41:04.496028', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.496655' WHERE "users"."id" = 999914116
|
44875
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44876
|
+
Redirected to http://www.example.com/logged_in_page
|
44877
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
44878
|
+
|
44879
|
+
|
44880
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44881
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44882
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
44883
|
+
Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.1ms)
|
44884
|
+
[1m[36m (12.3ms)[0m [1mrollback transaction[0m
|
44885
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44886
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44887
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44888
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44889
|
+
|
44890
|
+
|
44891
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44892
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44893
|
+
Completed 401 Unauthorized in 0ms
|
44894
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44895
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44896
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44897
|
+
[1m[35mSQL (0.5ms)[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 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HEd3hRQG99xiXjQNoRssTeoW5bUoqRuqOtuigxRun4pBi9QFa53IC"], ["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 Aug 2012 12:41:04 UTC +00:00]]
|
44898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44900
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44902
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
44903
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
44904
|
+
|
44905
|
+
|
44906
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44907
|
+
Processing by Contour::SessionsController#create as HTML
|
44908
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
44909
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44911
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44912
|
+
Completed 401 Unauthorized in 4ms
|
44913
|
+
|
44914
|
+
|
44915
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44916
|
+
Processing by Contour::SessionsController#new as HTML
|
44917
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
44918
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
|
44919
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
44920
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
44921
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
44922
|
+
Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
44923
|
+
[1m[35m (3.2ms)[0m rollback transaction
|
44924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44925
|
+
[1m[35mUser Load (36.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44926
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44927
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44928
|
+
|
44929
|
+
|
44930
|
+
Started GET "/" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44931
|
+
Processing by WelcomeController#index as HTML
|
44932
|
+
Completed 401 Unauthorized in 0ms
|
44933
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44934
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44935
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44936
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44937
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44938
|
+
|
44939
|
+
|
44940
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
|
44941
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44942
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44943
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44944
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.713992' WHERE "users"."id" = 201799169
|
44945
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44946
|
+
Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
44947
|
+
[1m[35m (448.4ms)[0m rollback transaction
|
44948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44949
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44950
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44951
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44952
|
+
|
44953
|
+
|
44954
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:05 -0400
|
44955
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44956
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
44957
|
+
Completed 401 Unauthorized in 84ms
|
44958
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44960
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44963
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44964
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44965
|
+
Connecting to database specified by database.yml
|
44966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44967
|
+
[1m[35mFixture Delete (14.6ms)[0m DELETE FROM "authentications"
|
44968
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 949717663, 201799169)[0m
|
44969
|
+
[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-08-16 18:09:58', '2012-08-16 18:09:58', 876923740, 201799169)
|
44970
|
+
[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-08-16 18:09:58', '2012-08-16 18:09:58', 864673665, 201799169)[0m
|
44971
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
44972
|
+
[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-08-16 18:09:58', '2012-08-16 18:09:58', 201799169)[0m
|
44973
|
+
[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-08-16 18:09:58', '2012-08-16 18:09:58', 999914115)
|
44974
|
+
[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-08-16 18:09:58', '2012-08-16 18:09:58', 725306934)[0m
|
44975
|
+
[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-08-16 18:09:58', '2012-08-16 18:09:58', 349534908)
|
44976
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
44977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44978
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
44979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44981
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44982
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44984
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44985
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44986
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44987
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
44988
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 18:09:58 UTC", "updated_at"=>"2012-08-16 18:09:58 UTC"}}
|
44989
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
44990
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44991
|
+
Logged in user found, creating associated authentication.
|
44992
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44993
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["user_id", 201799169]]
|
44994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
44995
|
+
Redirected to http://test.host/authentications
|
44996
|
+
Completed 302 Found in 70ms (ActiveRecord: 0.9ms)
|
44997
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44998
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
44999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45000
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45001
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
45002
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45003
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
45004
|
+
Parameters: {"id"=>"949717663"}
|
45005
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45006
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
45007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45008
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
45009
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45010
|
+
Redirected to http://test.host/authentications
|
45011
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
45012
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45013
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
45014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45015
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45016
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45017
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
45018
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45019
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
45020
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
45021
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
45022
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
45023
|
+
Completed 200 OK in 170ms (Views: 168.8ms | ActiveRecord: 0.4ms)
|
45024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45026
|
+
Processing by Contour::PasswordsController#create as HTML
|
45027
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
45028
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45029
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'scjYKdaSxtMvF1bLyDpV' LIMIT 1[0m
|
45030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45031
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'scjYKdaSxtMvF1bLyDpV', "reset_password_sent_at" = '2012-08-16 18:09:59.032068', "updated_at" = '2012-08-16 18:09:59.033111' WHERE "users"."id" = 201799169[0m
|
45032
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
45033
|
+
|
45034
|
+
Sent mail to valid@example.com (38ms)
|
45035
|
+
Date: Thu, 16 Aug 2012 14:09:59 -0400
|
45036
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
45037
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
45038
|
+
To: valid@example.com
|
45039
|
+
Message-ID: <502d377747691_161fc3fdc61835ae084227@edge.partners.org.mail>
|
45040
|
+
Subject: Reset password instructions
|
45041
|
+
Mime-Version: 1.0
|
45042
|
+
Content-Type: text/html;
|
45043
|
+
charset=UTF-8
|
45044
|
+
Content-Transfer-Encoding: 7bit
|
45045
|
+
|
45046
|
+
<p>Hello valid@example.com!</p>
|
45047
|
+
|
45048
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
45049
|
+
|
45050
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=scjYKdaSxtMvF1bLyDpV">Change my password</a></p>
|
45051
|
+
|
45052
|
+
<p>If you didn't request this, please ignore this email.</p>
|
45053
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
45054
|
+
|
45055
|
+
Redirected to http://test.host/users/login
|
45056
|
+
Completed 302 Found in 321ms (ActiveRecord: 0.0ms)
|
45057
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
45058
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45059
|
+
Processing by Contour::PasswordsController#new as HTML
|
45060
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms)
|
45061
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
45062
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
|
45063
|
+
Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 0.0ms)
|
45064
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45066
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45068
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45070
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45072
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45073
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45074
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45075
|
+
|
45076
|
+
|
45077
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45078
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45079
|
+
Completed 401 Unauthorized in 1ms
|
45080
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45081
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45082
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45083
|
+
[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", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ad0Ey65CSKy62m0EoRVI9O7Ilhh0LzhpRe/GiADTduB1qQAuDLZ1W"], ["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 Aug 2012 18:09:59 UTC +00:00]]
|
45084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45086
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45088
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
45089
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
45090
|
+
|
45091
|
+
|
45092
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45093
|
+
Processing by Contour::SessionsController#create as HTML
|
45094
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
45095
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45096
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45097
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45098
|
+
Completed 401 Unauthorized in 26ms
|
45099
|
+
|
45100
|
+
|
45101
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45102
|
+
Processing by Contour::SessionsController#new as HTML
|
45103
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
45104
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms)
|
45105
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
45106
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
45107
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
|
45108
|
+
Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms)
|
45109
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
45110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45111
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45112
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45113
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45114
|
+
|
45115
|
+
|
45116
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45117
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45118
|
+
Completed 401 Unauthorized in 0ms
|
45119
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45120
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45121
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45122
|
+
[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 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$W.6IyoZElSy0Y/cCOmtVZuVL53eilcRkFvQW/jbivHFl6ybZbaJSi"], ["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 Aug 2012 18:09:59 UTC +00:00]]
|
45123
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45125
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
45126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45127
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
45128
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
45129
|
+
|
45130
|
+
|
45131
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45132
|
+
Processing by Contour::SessionsController#create as HTML
|
45133
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
45134
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45135
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45136
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.636504', "current_sign_in_at" = '2012-08-16 18:09:59.636504', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.637066' WHERE "users"."id" = 999914116
|
45137
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45138
|
+
Redirected to http://www.example.com/logged_in_page
|
45139
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
45140
|
+
|
45141
|
+
|
45142
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45143
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45144
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
45145
|
+
Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms)
|
45146
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
45147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45148
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45149
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45150
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45151
|
+
|
45152
|
+
|
45153
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45154
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45155
|
+
Completed 401 Unauthorized in 0ms
|
45156
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45157
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45158
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45159
|
+
[1m[35mSQL (0.5ms)[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 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$p.IhpYscxpiXJJVkyQ7WFOd/9tE2Ha8NVIeB16/9pYfpagyuJcA76"], ["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 Aug 2012 18:09:59 UTC +00:00]]
|
45160
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45162
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45164
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
45165
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
45166
|
+
|
45167
|
+
|
45168
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45169
|
+
Processing by Contour::SessionsController#create as HTML
|
45170
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
45171
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45173
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45174
|
+
Completed 401 Unauthorized in 4ms
|
45175
|
+
|
45176
|
+
|
45177
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45178
|
+
Processing by Contour::SessionsController#new as HTML
|
45179
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
45180
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
|
45181
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
45182
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
|
45183
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
|
45184
|
+
Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
45185
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
45186
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45187
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45188
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45189
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45190
|
+
|
45191
|
+
|
45192
|
+
Started GET "/" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45193
|
+
Processing by WelcomeController#index as HTML
|
45194
|
+
Completed 401 Unauthorized in 1ms
|
45195
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45197
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45198
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45199
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45200
|
+
|
45201
|
+
|
45202
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45203
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45204
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45206
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.806795' WHERE "users"."id" = 201799169
|
45207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45208
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
45209
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
45210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45211
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45212
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45213
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45214
|
+
|
45215
|
+
|
45216
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
|
45217
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45218
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
45219
|
+
Completed 401 Unauthorized in 81ms
|
45220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45222
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45223
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45224
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45225
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45227
|
+
Connecting to database specified by database.yml
|
45228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45229
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
45230
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 949717663, 201799169)[0m
|
45231
|
+
[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-08-21 15:59:11', '2012-08-21 15:59:11', 876923740, 201799169)
|
45232
|
+
[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-08-21 15:59:11', '2012-08-21 15:59:11', 864673665, 201799169)[0m
|
45233
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
45234
|
+
[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-08-21 15:59:11', '2012-08-21 15:59:11', 201799169)[0m
|
45235
|
+
[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-08-21 15:59:11', '2012-08-21 15:59:11', 999914115)
|
45236
|
+
[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-08-21 15:59:11', '2012-08-21 15:59:11', 725306934)[0m
|
45237
|
+
[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-08-21 15:59:11', '2012-08-21 15:59:11', 349534908)
|
45238
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
45239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45240
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
45241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45243
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45244
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45246
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45247
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45248
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
45249
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
45250
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-21 15:59:11 UTC", "updated_at"=>"2012-08-21 15:59:11 UTC"}}
|
45251
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
45252
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45253
|
+
Logged in user found, creating associated authentication.
|
45254
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45255
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["user_id", 201799169]]
|
45256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45257
|
+
Redirected to http://test.host/authentications
|
45258
|
+
Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
|
45259
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
45260
|
+
[1m[35m (18.1ms)[0m rollback transaction
|
45261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45262
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45263
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
45264
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45265
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
45266
|
+
Parameters: {"id"=>"949717663"}
|
45267
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45268
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
45269
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45270
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
45271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45272
|
+
Redirected to http://test.host/authentications
|
45273
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
45274
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45275
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
45276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45277
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45278
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45279
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
45280
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45281
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
45282
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
45283
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
45284
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms)
|
45285
|
+
Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.4ms)
|
45286
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45287
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45288
|
+
Processing by Contour::PasswordsController#create as HTML
|
45289
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
45290
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45291
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1' LIMIT 1[0m
|
45292
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45293
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1', "reset_password_sent_at" = '2012-08-21 15:59:11.277994', "updated_at" = '2012-08-21 15:59:11.278779' WHERE "users"."id" = 201799169[0m
|
45294
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45295
|
+
|
45296
|
+
Sent mail to valid@example.com (15ms)
|
45297
|
+
Date: Tue, 21 Aug 2012 11:59:11 -0400
|
45298
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
45299
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
45300
|
+
To: valid@example.com
|
45301
|
+
Message-ID: <5033b04f59b80_159d23fcde9c35ae0114c3@edge.partners.org.mail>
|
45302
|
+
Subject: Reset password instructions
|
45303
|
+
Mime-Version: 1.0
|
45304
|
+
Content-Type: text/html;
|
45305
|
+
charset=UTF-8
|
45306
|
+
Content-Transfer-Encoding: 7bit
|
45307
|
+
|
45308
|
+
<p>Hello valid@example.com!</p>
|
45309
|
+
|
45310
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
45311
|
+
|
45312
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=pMY8RdeJdDcFrrpqgcP1">Change my password</a></p>
|
45313
|
+
|
45314
|
+
<p>If you didn't request this, please ignore this email.</p>
|
45315
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
45316
|
+
|
45317
|
+
Redirected to http://test.host/users/login
|
45318
|
+
Completed 302 Found in 110ms (ActiveRecord: 0.0ms)
|
45319
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
45320
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45321
|
+
Processing by Contour::PasswordsController#new as HTML
|
45322
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
45323
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
45324
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms)
|
45325
|
+
Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
45326
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45328
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45330
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45331
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45332
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45334
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45335
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45336
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45337
|
+
|
45338
|
+
|
45339
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45340
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45341
|
+
Completed 401 Unauthorized in 1ms
|
45342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45343
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45344
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45345
|
+
[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", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$SMea1HQQhbrmI1yDOeu5leUUCKxNmXUZYrRzfi6U9HFYpG5.n8yXq"], ["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", Tue, 21 Aug 2012 15:59:11 UTC +00:00]]
|
45346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45348
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45350
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
45351
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
45352
|
+
|
45353
|
+
|
45354
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45355
|
+
Processing by Contour::SessionsController#create as HTML
|
45356
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
45357
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45358
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45359
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45360
|
+
Completed 401 Unauthorized in 6ms
|
45361
|
+
|
45362
|
+
|
45363
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45364
|
+
Processing by Contour::SessionsController#new as HTML
|
45365
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
45366
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms)
|
45367
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
45368
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
45369
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
45370
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.0ms)
|
45371
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
45372
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45373
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45374
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45375
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45376
|
+
|
45377
|
+
|
45378
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45379
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45380
|
+
Completed 401 Unauthorized in 0ms
|
45381
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45382
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45383
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45384
|
+
[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", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$eBb2BAlHiEheWF0rgIlLLu1LYnbhRvN/gLA/HnBPAZZsgQhAtMN7S"], ["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", Tue, 21 Aug 2012 15:59:11 UTC +00:00]]
|
45385
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45387
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
45388
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45389
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
45390
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
45391
|
+
|
45392
|
+
|
45393
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45394
|
+
Processing by Contour::SessionsController#create as HTML
|
45395
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
45396
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45398
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-21 15:59:11.546808', "current_sign_in_at" = '2012-08-21 15:59:11.546808', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-21 15:59:11.547258' WHERE "users"."id" = 999914116
|
45399
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45400
|
+
Redirected to http://www.example.com/logged_in_page
|
45401
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
45402
|
+
|
45403
|
+
|
45404
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45405
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45406
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
45407
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
45408
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
45409
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45410
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45411
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45412
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45413
|
+
|
45414
|
+
|
45415
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45416
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45417
|
+
Completed 401 Unauthorized in 0ms
|
45418
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45419
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45420
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45421
|
+
[1m[35mSQL (0.5ms)[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", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$W.N2DdtAAGPILkqc/PulUupqpcrIcgdJWj9pAeUiBXVXD5YPPzcZW"], ["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", Tue, 21 Aug 2012 15:59:11 UTC +00:00]]
|
45422
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45423
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45424
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45425
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45426
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
45427
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
45428
|
+
|
45429
|
+
|
45430
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45431
|
+
Processing by Contour::SessionsController#create as HTML
|
45432
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
45433
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45436
|
+
Completed 401 Unauthorized in 5ms
|
45437
|
+
|
45438
|
+
|
45439
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45440
|
+
Processing by Contour::SessionsController#new as HTML
|
45441
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
45442
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
|
45443
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
45444
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
45445
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
|
45446
|
+
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
|
45447
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
45448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45449
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45450
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45451
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45452
|
+
|
45453
|
+
|
45454
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45455
|
+
Processing by WelcomeController#index as HTML
|
45456
|
+
Completed 401 Unauthorized in 0ms
|
45457
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45459
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45460
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45461
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45462
|
+
|
45463
|
+
|
45464
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45465
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45466
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45468
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-21 15:59:11.697154', "current_sign_in_at" = '2012-08-21 15:59:11.697154', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-21 15:59:11.697870' WHERE "users"."id" = 201799169
|
45469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45470
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
45471
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
45472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45473
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45474
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45475
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45476
|
+
|
45477
|
+
|
45478
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
|
45479
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45480
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
45481
|
+
Completed 401 Unauthorized in 77ms
|
45482
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45484
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45485
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45486
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45487
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45488
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|