contour 1.1.1 → 1.1.2.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/CHANGELOG.rdoc +11 -0
  2. data/app/assets/images/twitter-bootstrap/v2.2.1/glyphicons-halflings-white.png +0 -0
  3. data/app/assets/images/twitter-bootstrap/v2.2.1/glyphicons-halflings.png +0 -0
  4. data/app/assets/javascripts/contour.js +3 -3
  5. data/app/assets/javascripts/external/{exporting-2.1.9.src.js → exporting-2.3.3.src.js} +736 -758
  6. data/app/assets/javascripts/external/highcharts-2.3.3.src.js +15111 -0
  7. data/app/assets/javascripts/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap.js +105 -107
  8. data/app/assets/stylesheets/bootstrap-base-overrides.css +6 -6
  9. data/app/assets/stylesheets/contour.css +2 -2
  10. data/app/assets/stylesheets/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap-responsive.css +33 -3
  11. data/app/assets/stylesheets/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap.css +377 -258
  12. data/app/views/contour/layouts/_per_page.html.erb +1 -1
  13. data/app/views/kaminari/contour-large/_first_page.html.erb +11 -0
  14. data/app/views/kaminari/contour-large/_gap.html.erb +8 -0
  15. data/app/views/kaminari/contour-large/_last_page.html.erb +11 -0
  16. data/app/views/kaminari/contour-large/_next_page.html.erb +11 -0
  17. data/app/views/kaminari/contour-large/_page.html.erb +12 -0
  18. data/app/views/kaminari/contour-large/_paginator.html.erb +25 -0
  19. data/app/views/kaminari/contour-large/_prev_page.html.erb +11 -0
  20. data/app/views/kaminari/contour-mini/_first_page.html.erb +11 -0
  21. data/app/views/kaminari/contour-mini/_gap.html.erb +8 -0
  22. data/app/views/kaminari/contour-mini/_last_page.html.erb +11 -0
  23. data/app/views/kaminari/contour-mini/_next_page.html.erb +11 -0
  24. data/app/views/kaminari/contour-mini/_page.html.erb +12 -0
  25. data/app/views/kaminari/contour-mini/_paginator.html.erb +25 -0
  26. data/app/views/kaminari/contour-mini/_prev_page.html.erb +11 -0
  27. data/app/views/kaminari/contour-small/_first_page.html.erb +11 -0
  28. data/app/views/kaminari/contour-small/_gap.html.erb +8 -0
  29. data/app/views/kaminari/contour-small/_last_page.html.erb +11 -0
  30. data/app/views/kaminari/contour-small/_next_page.html.erb +11 -0
  31. data/app/views/kaminari/contour-small/_page.html.erb +12 -0
  32. data/app/views/kaminari/contour-small/_paginator.html.erb +25 -0
  33. data/app/views/kaminari/contour-small/_prev_page.html.erb +11 -0
  34. data/app/views/kaminari/contour/_first_page.html.erb +11 -0
  35. data/app/views/kaminari/contour/_gap.html.erb +8 -0
  36. data/app/views/kaminari/contour/_last_page.html.erb +11 -0
  37. data/app/views/kaminari/contour/_next_page.html.erb +11 -0
  38. data/app/views/kaminari/contour/_page.html.erb +12 -0
  39. data/app/views/kaminari/contour/_paginator.html.erb +25 -0
  40. data/app/views/kaminari/contour/_prev_page.html.erb +11 -0
  41. data/contour.gemspec +4 -4
  42. data/lib/contour/version.rb +2 -2
  43. data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
  44. data/test/dummy/db/test.sqlite3 +0 -0
  45. data/test/dummy/log/test.log +714 -0
  46. metadata +48 -18
  47. data/app/assets/javascripts/external/highcharts-2.1.9.src.js +0 -11454
@@ -27,4 +27,4 @@
27
27
  <%% end %>
28
28
  </table>
29
29
 
30
- <center><%%= paginate @<%= resource_name_plural %> %></center>
30
+ <center><%%= paginate @<%= resource_name_plural %>, theme: 'contour' %></center>
Binary file
@@ -47320,3 +47320,717 @@ Completed 401 Unauthorized in 79ms
47320
47320
   (0.1ms) begin transaction
47321
47321
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47322
47322
   (0.0ms) rollback transaction
47323
+ Connecting to database specified by database.yml
47324
+  (0.1ms) begin transaction
47325
+ Fixture Delete (0.7ms) DELETE FROM "authentications"
47326
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 949717663, 201799169)
47327
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 876923740, 201799169)
47328
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 864673665, 201799169)
47329
+ Fixture Delete (0.1ms) DELETE FROM "users"
47330
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 201799169)
47331
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 999914115)
47332
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 725306934)
47333
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 349534908)
47334
+  (24.9ms) commit transaction
47335
+  (0.1ms) begin transaction
47336
+ Authentication Load (35.6ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
47337
+  (0.1ms) rollback transaction
47338
+  (0.1ms) begin transaction
47339
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47340
+  (0.1ms) rollback transaction
47341
+  (0.1ms) begin transaction
47342
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47343
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47344
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
47345
+ Processing by Contour::AuthenticationsController#create as HTML
47346
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 18:14:28 UTC", "updated_at"=>"2012-12-05 18:14:28 UTC"}}
47347
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
47348
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47349
+ Logged in user found, creating associated authentication.
47350
+  (0.1ms) SAVEPOINT active_record_1
47351
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["user_id", 201799169]]
47352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47353
+ Redirected to http://test.host/authentications
47354
+ Completed 302 Found in 102ms (ActiveRecord: 1.2ms)
47355
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
47356
+  (0.5ms) rollback transaction
47357
+  (0.1ms) begin transaction
47358
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47359
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47360
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
47361
+ Processing by Contour::AuthenticationsController#destroy as HTML
47362
+ Parameters: {"id"=>"949717663"}
47363
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47364
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
47365
+  (0.1ms) SAVEPOINT active_record_1
47366
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
47367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47368
+ Redirected to http://test.host/authentications
47369
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
47370
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
47371
+  (0.4ms) rollback transaction
47372
+  (0.1ms) begin transaction
47373
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47374
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47375
+ Processing by Contour::AuthenticationsController#index as HTML
47376
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47377
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
47378
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
47379
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.2ms)
47380
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
47381
+ Completed 200 OK in 59ms (Views: 56.0ms | ActiveRecord: 0.5ms)
47382
+  (0.1ms) rollback transaction
47383
+  (0.1ms) begin transaction
47384
+ Processing by Contour::PasswordsController#create as HTML
47385
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
47386
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47387
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jyfqbvNkprQom4WWfnex' LIMIT 1
47388
+  (0.1ms) SAVEPOINT active_record_1
47389
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'jyfqbvNkprQom4WWfnex', "reset_password_sent_at" = '2012-12-05 18:14:29.210600', "updated_at" = '2012-12-05 18:14:29.212486' WHERE "users"."id" = 201799169
47390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47391
+
47392
+ Sent mail to valid@example.com (84ms)
47393
+ Date: Wed, 05 Dec 2012 13:14:29 -0500
47394
+ From: please-change-me-at-config-initializers-devise@example.com
47395
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
47396
+ To: valid@example.com
47397
+ Message-ID: <50bf8f0562f58_9f9e3ff0e1c35ad49335@edge2.partners.org.mail>
47398
+ Subject: Reset password instructions
47399
+ Mime-Version: 1.0
47400
+ Content-Type: text/html;
47401
+ charset=UTF-8
47402
+ Content-Transfer-Encoding: 7bit
47403
+
47404
+ <p>Hello valid@example.com!</p>
47405
+
47406
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
47407
+
47408
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=jyfqbvNkprQom4WWfnex">Change my password</a></p>
47409
+
47410
+ <p>If you didn't request this, please ignore this email.</p>
47411
+ <p>Your password won't change until you access the link above and create a new one.</p>
47412
+
47413
+ Redirected to http://test.host/users/login
47414
+ Completed 302 Found in 310ms (ActiveRecord: 0.0ms)
47415
+  (0.5ms) rollback transaction
47416
+  (0.1ms) begin transaction
47417
+ Processing by Contour::PasswordsController#new as HTML
47418
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms)
47419
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms)
47420
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.9ms)
47421
+ Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms)
47422
+  (0.1ms) rollback transaction
47423
+  (0.1ms) begin transaction
47424
+  (0.1ms) rollback transaction
47425
+  (0.1ms) begin transaction
47426
+  (0.1ms) rollback transaction
47427
+  (0.1ms) begin transaction
47428
+  (0.1ms) rollback transaction
47429
+  (0.1ms) begin transaction
47430
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47431
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47433
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47434
+ Processing by WelcomeController#logged_in_page as HTML
47435
+ Completed 401 Unauthorized in 1ms
47436
+  (0.1ms) SAVEPOINT active_record_1
47437
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
47438
+ Binary data inserted for `string` type on column `encrypted_password`
47439
+ SQL (1.0ms) 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, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JMHXs/84yV9ouxOeWizHe.XmgEB7HuOzR9Jbx4JecVi7vmrIMatMa"], ["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, 05 Dec 2012 18:14:29 UTC +00:00]]
47440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47441
+  (0.1ms) SAVEPOINT active_record_1
47442
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47444
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
47445
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
47446
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47447
+ Processing by Contour::SessionsController#create as HTML
47448
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
47449
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
47450
+  (0.1ms) SAVEPOINT active_record_1
47451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47452
+ Completed 401 Unauthorized in 57ms
47453
+ Started GET "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47454
+ Processing by Contour::SessionsController#new as HTML
47455
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
47456
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms)
47457
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
47458
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
47459
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms)
47460
+ Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.0ms)
47461
+  (0.6ms) rollback transaction
47462
+  (0.1ms) begin transaction
47463
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47465
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47466
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47467
+ Processing by WelcomeController#logged_in_page as HTML
47468
+ Completed 401 Unauthorized in 1ms
47469
+  (0.1ms) SAVEPOINT active_record_1
47470
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
47471
+ Binary data inserted for `string` type on column `encrypted_password`
47472
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iUdFuPnelGaa3G7D/1A.leNgBzIuoYhpJuKpaUbM2ViFQIUAp1lKe"], ["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, 05 Dec 2012 18:14:29 UTC +00:00]]
47473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47474
+  (0.0ms) SAVEPOINT active_record_1
47475
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47477
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
47478
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
47479
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47480
+ Processing by Contour::SessionsController#create as HTML
47481
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
47482
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
47483
+  (0.1ms) SAVEPOINT active_record_1
47484
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-12-05 18:14:29.825656', "current_sign_in_at" = '2012-12-05 18:14:29.825656', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 18:14:29.826751' WHERE "users"."id" = 999914116
47485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47486
+ Redirected to http://www.example.com/logged_in_page
47487
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
47488
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47489
+ Processing by WelcomeController#logged_in_page as HTML
47490
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
47491
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
47492
+  (0.6ms) rollback transaction
47493
+  (0.1ms) begin transaction
47494
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47495
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47497
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47498
+ Processing by WelcomeController#logged_in_page as HTML
47499
+ Completed 401 Unauthorized in 1ms
47500
+  (0.1ms) SAVEPOINT active_record_1
47501
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
47502
+ Binary data inserted for `string` type on column `encrypted_password`
47503
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nbRGKdGteTvVmogFTdyYHOHNEhAoXM7rJYC4x7V1XQ5zOfR1fbqlC"], ["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, 05 Dec 2012 18:14:29 UTC +00:00]]
47504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47505
+  (0.1ms) SAVEPOINT active_record_1
47506
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47508
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
47509
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
47510
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47511
+ Processing by Contour::SessionsController#create as HTML
47512
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
47513
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
47514
+  (0.1ms) SAVEPOINT active_record_1
47515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47516
+ Completed 401 Unauthorized in 10ms
47517
+ Started GET "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47518
+ Processing by Contour::SessionsController#new as HTML
47519
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
47520
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms)
47521
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
47522
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
47523
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms)
47524
+ Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.0ms)
47525
+  (0.6ms) rollback transaction
47526
+  (0.1ms) begin transaction
47527
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47528
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47530
+ Started GET "/" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47531
+ Processing by WelcomeController#index as HTML
47532
+ Completed 401 Unauthorized in 1ms
47533
+  (0.1ms) rollback transaction
47534
+  (0.1ms) begin transaction
47535
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47536
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47538
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
47539
+ Processing by WelcomeController#logged_in_page as JSON
47540
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47541
+  (0.1ms) SAVEPOINT active_record_1
47542
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-12-05 18:14:30.261740', "current_sign_in_at" = '2012-12-05 18:14:30.261740', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 18:14:30.263220' WHERE "users"."id" = 201799169
47543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47544
+ Completed 200 OK in 307ms (Views: 0.4ms | ActiveRecord: 0.6ms)
47545
+  (0.5ms) rollback transaction
47546
+  (0.1ms) begin transaction
47547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47548
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47549
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47550
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 13:14:30 -0500
47551
+ Processing by WelcomeController#logged_in_page as JSON
47552
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47553
+ Completed 401 Unauthorized in 302ms
47554
+  (0.1ms) rollback transaction
47555
+  (0.1ms) begin transaction
47556
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47557
+  (0.1ms) rollback transaction
47558
+  (0.1ms) begin transaction
47559
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47560
+  (0.1ms) rollback transaction
47561
+ Connecting to database specified by database.yml
47562
+  (0.1ms) begin transaction
47563
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
47564
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 949717663, 201799169)
47565
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 876923740, 201799169)
47566
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 864673665, 201799169)
47567
+ Fixture Delete (0.1ms) DELETE FROM "users"
47568
+ Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 201799169)
47569
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 999914115)
47570
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 725306934)
47571
+ Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 349534908)
47572
+  (19.9ms) commit transaction
47573
+  (0.1ms) begin transaction
47574
+ Authentication Load (2.8ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
47575
+  (0.1ms) rollback transaction
47576
+  (0.1ms) begin transaction
47577
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47578
+  (0.1ms) rollback transaction
47579
+  (0.1ms) begin transaction
47580
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47581
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47582
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
47583
+ Processing by Contour::AuthenticationsController#create as HTML
47584
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 19:07:53 UTC", "updated_at"=>"2012-12-05 19:07:53 UTC"}}
47585
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
47586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47587
+ Logged in user found, creating associated authentication.
47588
+  (0.1ms) SAVEPOINT active_record_1
47589
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:07:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 19:07:53 UTC +00:00], ["user_id", 201799169]]
47590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47591
+ Redirected to http://test.host/authentications
47592
+ Completed 302 Found in 100ms (ActiveRecord: 1.3ms)
47593
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
47594
+  (0.5ms) rollback transaction
47595
+  (0.1ms) begin transaction
47596
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47597
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47598
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
47599
+ Processing by Contour::AuthenticationsController#destroy as HTML
47600
+ Parameters: {"id"=>"949717663"}
47601
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47602
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
47603
+  (0.1ms) SAVEPOINT active_record_1
47604
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
47605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47606
+ Redirected to http://test.host/authentications
47607
+ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
47608
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
47609
+  (0.4ms) rollback transaction
47610
+  (0.1ms) begin transaction
47611
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47612
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47613
+ Processing by Contour::AuthenticationsController#index as HTML
47614
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47615
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
47616
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
47617
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.4ms)
47618
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms)
47619
+ Completed 200 OK in 67ms (Views: 63.8ms | ActiveRecord: 0.5ms)
47620
+  (0.1ms) rollback transaction
47621
+  (0.1ms) begin transaction
47622
+ Processing by Contour::PasswordsController#create as HTML
47623
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
47624
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47625
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kLy8L5oYZfaz4gyXu9Tx' LIMIT 1
47626
+  (0.1ms) SAVEPOINT active_record_1
47627
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'kLy8L5oYZfaz4gyXu9Tx', "reset_password_sent_at" = '2012-12-05 19:07:54.068022', "updated_at" = '2012-12-05 19:07:54.071463' WHERE "users"."id" = 201799169
47628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47629
+
47630
+ Sent mail to valid@example.com (93ms)
47631
+ Date: Wed, 05 Dec 2012 14:07:54 -0500
47632
+ From: please-change-me-at-config-initializers-devise@example.com
47633
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
47634
+ To: valid@example.com
47635
+ Message-ID: <50bf9b8a51a9b_a6f13fdfa2035ae029250@edge2.partners.org.mail>
47636
+ Subject: Reset password instructions
47637
+ Mime-Version: 1.0
47638
+ Content-Type: text/html;
47639
+ charset=UTF-8
47640
+ Content-Transfer-Encoding: 7bit
47641
+
47642
+ <p>Hello valid@example.com!</p>
47643
+
47644
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
47645
+
47646
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=kLy8L5oYZfaz4gyXu9Tx">Change my password</a></p>
47647
+
47648
+ <p>If you didn't request this, please ignore this email.</p>
47649
+ <p>Your password won't change until you access the link above and create a new one.</p>
47650
+
47651
+ Redirected to http://test.host/users/login
47652
+ Completed 302 Found in 381ms (ActiveRecord: 0.0ms)
47653
+  (0.6ms) rollback transaction
47654
+  (0.1ms) begin transaction
47655
+ Processing by Contour::PasswordsController#new as HTML
47656
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.8ms)
47657
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.9ms)
47658
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.0ms)
47659
+ Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms)
47660
+  (0.1ms) rollback transaction
47661
+  (0.1ms) begin transaction
47662
+  (0.1ms) rollback transaction
47663
+  (0.1ms) begin transaction
47664
+  (0.1ms) rollback transaction
47665
+  (0.1ms) begin transaction
47666
+  (0.1ms) rollback transaction
47667
+  (0.1ms) begin transaction
47668
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47669
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47670
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47671
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47672
+ Processing by WelcomeController#logged_in_page as HTML
47673
+ Completed 401 Unauthorized in 1ms
47674
+  (0.1ms) SAVEPOINT active_record_1
47675
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
47676
+ Binary data inserted for `string` type on column `encrypted_password`
47677
+ SQL (0.9ms) 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, 05 Dec 2012 19:07:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Qo5w8KWfmrZIl.03nwX7zuoHnSKS..ou4nzWsCVFZdvYr1.RI0pji"], ["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, 05 Dec 2012 19:07:54 UTC +00:00]]
47678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47679
+  (0.1ms) SAVEPOINT active_record_1
47680
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47682
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
47683
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
47684
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47685
+ Processing by Contour::SessionsController#create as HTML
47686
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
47687
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
47688
+  (0.1ms) SAVEPOINT active_record_1
47689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47690
+ Completed 401 Unauthorized in 62ms
47691
+ Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47692
+ Processing by Contour::SessionsController#new as HTML
47693
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
47694
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.9ms)
47695
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.8ms)
47696
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms)
47697
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.6ms)
47698
+ Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.0ms)
47699
+  (0.6ms) rollback transaction
47700
+  (0.1ms) begin transaction
47701
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47702
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47703
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47704
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47705
+ Processing by WelcomeController#logged_in_page as HTML
47706
+ Completed 401 Unauthorized in 1ms
47707
+  (0.1ms) SAVEPOINT active_record_1
47708
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
47709
+ Binary data inserted for `string` type on column `encrypted_password`
47710
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$r3vcdY5RO4iULpD9qSkyDeji2o9Rm5qc4GPGVUvtMG//LaLO3oxUm"], ["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, 05 Dec 2012 19:07:54 UTC +00:00]]
47711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47712
+  (0.1ms) SAVEPOINT active_record_1
47713
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47715
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
47716
+ SQL (0.2ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
47717
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47718
+ Processing by Contour::SessionsController#create as HTML
47719
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
47720
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
47721
+  (0.1ms) SAVEPOINT active_record_1
47722
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:07:54.803263', "current_sign_in_at" = '2012-12-05 19:07:54.803263', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:07:54.805060' WHERE "users"."id" = 999914116
47723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47724
+ Redirected to http://www.example.com/logged_in_page
47725
+ Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
47726
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47727
+ Processing by WelcomeController#logged_in_page as HTML
47728
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
47729
+ Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.2ms)
47730
+  (0.7ms) rollback transaction
47731
+  (0.2ms) begin transaction
47732
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47733
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47734
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47735
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47736
+ Processing by WelcomeController#logged_in_page as HTML
47737
+ Completed 401 Unauthorized in 1ms
47738
+  (0.1ms) SAVEPOINT active_record_1
47739
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
47740
+ Binary data inserted for `string` type on column `encrypted_password`
47741
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$NjCur/AM4jt1hDF6Wo0/ne0P985omGabNygyXazE0IQkSbJcWHNAW"], ["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, 05 Dec 2012 19:07:54 UTC +00:00]]
47742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47743
+  (0.1ms) SAVEPOINT active_record_1
47744
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47746
+ SQL (0.5ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
47747
+ SQL (0.2ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
47748
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47749
+ Processing by Contour::SessionsController#create as HTML
47750
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
47751
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
47752
+  (0.1ms) SAVEPOINT active_record_1
47753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47754
+ Completed 401 Unauthorized in 11ms
47755
+ Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47756
+ Processing by Contour::SessionsController#new as HTML
47757
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
47758
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.0ms)
47759
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
47760
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
47761
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms)
47762
+ Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.0ms)
47763
+  (0.6ms) rollback transaction
47764
+  (0.1ms) begin transaction
47765
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47767
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47768
+ Started GET "/" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47769
+ Processing by WelcomeController#index as HTML
47770
+ Completed 401 Unauthorized in 1ms
47771
+  (0.1ms) rollback transaction
47772
+  (0.1ms) begin transaction
47773
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47774
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47775
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47776
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
47777
+ Processing by WelcomeController#logged_in_page as JSON
47778
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47779
+  (0.1ms) SAVEPOINT active_record_1
47780
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:07:55.281658', "current_sign_in_at" = '2012-12-05 19:07:55.281658', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:07:55.283424' WHERE "users"."id" = 201799169
47781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47782
+ Completed 200 OK in 317ms (Views: 0.5ms | ActiveRecord: 0.8ms)
47783
+  (32.9ms) rollback transaction
47784
+  (0.1ms) begin transaction
47785
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47787
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47788
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:07:55 -0500
47789
+ Processing by WelcomeController#logged_in_page as JSON
47790
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47791
+ Completed 401 Unauthorized in 312ms
47792
+  (0.1ms) rollback transaction
47793
+  (0.1ms) begin transaction
47794
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47795
+  (0.1ms) rollback transaction
47796
+  (0.1ms) begin transaction
47797
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47798
+  (0.1ms) rollback transaction
47799
+ Connecting to database specified by database.yml
47800
+  (0.1ms) begin transaction
47801
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
47802
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 949717663, 201799169)
47803
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 876923740, 201799169)
47804
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 864673665, 201799169)
47805
+ Fixture Delete (0.1ms) DELETE FROM "users"
47806
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 201799169)
47807
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 999914115)
47808
+ Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 725306934)
47809
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 349534908)
47810
+  (2.5ms) commit transaction
47811
+  (0.1ms) begin transaction
47812
+ Authentication Load (3.5ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
47813
+  (0.1ms) rollback transaction
47814
+  (0.1ms) begin transaction
47815
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47816
+  (0.1ms) rollback transaction
47817
+  (0.1ms) begin transaction
47818
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47819
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47820
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
47821
+ Processing by Contour::AuthenticationsController#create as HTML
47822
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 19:10:08 UTC", "updated_at"=>"2012-12-05 19:10:08 UTC"}}
47823
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
47824
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47825
+ Logged in user found, creating associated authentication.
47826
+  (0.1ms) SAVEPOINT active_record_1
47827
+ SQL (0.9ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:10:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 19:10:08 UTC +00:00], ["user_id", 201799169]]
47828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47829
+ Redirected to http://test.host/authentications
47830
+ Completed 302 Found in 97ms (ActiveRecord: 1.4ms)
47831
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
47832
+  (0.5ms) rollback transaction
47833
+  (0.1ms) begin transaction
47834
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47835
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47836
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
47837
+ Processing by Contour::AuthenticationsController#destroy as HTML
47838
+ Parameters: {"id"=>"949717663"}
47839
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47840
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
47841
+  (0.1ms) SAVEPOINT active_record_1
47842
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
47843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47844
+ Redirected to http://test.host/authentications
47845
+ Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
47846
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
47847
+  (0.4ms) rollback transaction
47848
+  (0.1ms) begin transaction
47849
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47850
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
47851
+ Processing by Contour::AuthenticationsController#index as HTML
47852
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
47853
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
47854
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
47855
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.5ms)
47856
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.7ms)
47857
+ Completed 200 OK in 66ms (Views: 62.9ms | ActiveRecord: 0.5ms)
47858
+  (0.1ms) rollback transaction
47859
+  (0.1ms) begin transaction
47860
+ Processing by Contour::PasswordsController#create as HTML
47861
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
47862
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
47863
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ixYAmyfHSpxyNtvytypN' LIMIT 1
47864
+  (0.1ms) SAVEPOINT active_record_1
47865
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'ixYAmyfHSpxyNtvytypN', "reset_password_sent_at" = '2012-12-05 19:10:08.679311', "updated_at" = '2012-12-05 19:10:08.680848' WHERE "users"."id" = 201799169
47866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47867
+
47868
+ Sent mail to valid@example.com (88ms)
47869
+ Date: Wed, 05 Dec 2012 14:10:08 -0500
47870
+ From: please-change-me-at-config-initializers-devise@example.com
47871
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
47872
+ To: valid@example.com
47873
+ Message-ID: <50bf9c10ccfa8_a7533ffa14c35ad428546@edge2.partners.org.mail>
47874
+ Subject: Reset password instructions
47875
+ Mime-Version: 1.0
47876
+ Content-Type: text/html;
47877
+ charset=UTF-8
47878
+ Content-Transfer-Encoding: 7bit
47879
+
47880
+ <p>Hello valid@example.com!</p>
47881
+
47882
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
47883
+
47884
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=ixYAmyfHSpxyNtvytypN">Change my password</a></p>
47885
+
47886
+ <p>If you didn't request this, please ignore this email.</p>
47887
+ <p>Your password won't change until you access the link above and create a new one.</p>
47888
+
47889
+ Redirected to http://test.host/users/login
47890
+ Completed 302 Found in 254ms (ActiveRecord: 0.0ms)
47891
+  (0.5ms) rollback transaction
47892
+  (0.1ms) begin transaction
47893
+ Processing by Contour::PasswordsController#new as HTML
47894
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.0ms)
47895
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.3ms)
47896
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.3ms)
47897
+ Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms)
47898
+  (0.1ms) rollback transaction
47899
+  (0.1ms) begin transaction
47900
+  (0.1ms) rollback transaction
47901
+  (0.1ms) begin transaction
47902
+  (0.1ms) rollback transaction
47903
+  (0.1ms) begin transaction
47904
+  (0.1ms) rollback transaction
47905
+  (0.1ms) begin transaction
47906
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47907
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47909
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:08 -0500
47910
+ Processing by WelcomeController#logged_in_page as HTML
47911
+ Completed 401 Unauthorized in 1ms
47912
+  (0.1ms) SAVEPOINT active_record_1
47913
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
47914
+ Binary data inserted for `string` type on column `encrypted_password`
47915
+ SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$5ljRjuLtFc2b.TRSAkVZN.vcK.t/tYaW4mpDYc7Ryu3ra9xFQ0R02"], ["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, 05 Dec 2012 19:10:09 UTC +00:00]]
47916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47917
+  (0.1ms) SAVEPOINT active_record_1
47918
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47920
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
47921
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
47922
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47923
+ Processing by Contour::SessionsController#create as HTML
47924
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
47925
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
47926
+  (0.1ms) SAVEPOINT active_record_1
47927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47928
+ Completed 401 Unauthorized in 16ms
47929
+ Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47930
+ Processing by Contour::SessionsController#new as HTML
47931
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
47932
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.4ms)
47933
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
47934
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.1ms)
47935
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms)
47936
+ Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.0ms)
47937
+  (0.6ms) rollback transaction
47938
+  (0.1ms) begin transaction
47939
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47940
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47942
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47943
+ Processing by WelcomeController#logged_in_page as HTML
47944
+ Completed 401 Unauthorized in 1ms
47945
+  (0.1ms) SAVEPOINT active_record_1
47946
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
47947
+ Binary data inserted for `string` type on column `encrypted_password`
47948
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$a0uYUDI61jkKG7DhGCeRYe.QREmXubuMgum7tkifUnRzKzgTp8.S2"], ["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, 05 Dec 2012 19:10:09 UTC +00:00]]
47949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47950
+  (0.1ms) SAVEPOINT active_record_1
47951
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47953
+ SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
47954
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
47955
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47956
+ Processing by Contour::SessionsController#create as HTML
47957
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
47958
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
47959
+  (0.1ms) SAVEPOINT active_record_1
47960
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:10:09.260151', "current_sign_in_at" = '2012-12-05 19:10:09.260151', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:10:09.261370' WHERE "users"."id" = 999914116
47961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47962
+ Redirected to http://www.example.com/logged_in_page
47963
+ Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
47964
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47965
+ Processing by WelcomeController#logged_in_page as HTML
47966
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
47967
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)
47968
+  (25.2ms) rollback transaction
47969
+  (0.1ms) begin transaction
47970
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
47971
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
47972
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
47973
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47974
+ Processing by WelcomeController#logged_in_page as HTML
47975
+ Completed 401 Unauthorized in 1ms
47976
+  (0.1ms) SAVEPOINT active_record_1
47977
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
47978
+ Binary data inserted for `string` type on column `encrypted_password`
47979
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3k1G7AYLNf7pFfIy2AmisOTAFV55YARpUHy8kqqu66UAzpSySlNgC"], ["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, 05 Dec 2012 19:10:09 UTC +00:00]]
47980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47981
+  (0.1ms) SAVEPOINT active_record_1
47982
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
47983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47984
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
47985
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
47986
+ Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47987
+ Processing by Contour::SessionsController#create as HTML
47988
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
47989
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
47990
+  (0.1ms) SAVEPOINT active_record_1
47991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47992
+ Completed 401 Unauthorized in 13ms
47993
+ Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
47994
+ Processing by Contour::SessionsController#new as HTML
47995
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
47996
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.8ms)
47997
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
47998
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
47999
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms)
48000
+ Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
48001
+  (6.9ms) rollback transaction
48002
+  (0.1ms) begin transaction
48003
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
48004
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
48005
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
48006
+ Started GET "/" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
48007
+ Processing by WelcomeController#index as HTML
48008
+ Completed 401 Unauthorized in 1ms
48009
+  (0.1ms) rollback transaction
48010
+  (0.1ms) begin transaction
48011
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
48012
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
48013
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
48014
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
48015
+ Processing by WelcomeController#logged_in_page as JSON
48016
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
48017
+  (0.1ms) SAVEPOINT active_record_1
48018
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:10:09.752358', "current_sign_in_at" = '2012-12-05 19:10:09.752358', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:10:09.754156' WHERE "users"."id" = 201799169
48019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
48020
+ Completed 200 OK in 313ms (Views: 0.5ms | ActiveRecord: 0.8ms)
48021
+  (0.5ms) rollback transaction
48022
+  (0.1ms) begin transaction
48023
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
48024
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
48025
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
48026
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
48027
+ Processing by WelcomeController#logged_in_page as JSON
48028
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
48029
+ Completed 401 Unauthorized in 307ms
48030
+  (0.1ms) rollback transaction
48031
+  (0.1ms) begin transaction
48032
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
48033
+  (0.1ms) rollback transaction
48034
+  (0.1ms) begin transaction
48035
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
48036
+  (0.1ms) rollback transaction