contour 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ == 1.0.5
2
+
3
+ * Bug Fix
4
+ * IE8 no longer shows security warning due to http reference to shim.js when using https by default
5
+
1
6
  == 1.0.4
2
7
 
3
8
  * Enhancements
@@ -24,7 +24,7 @@ Make sure you have Rails 3.2.8
24
24
 
25
25
  Modify <tt>Gemfile</tt> and add
26
26
 
27
- gem 'contour', '~> 1.0.4'
27
+ gem 'contour', '~> 1.0.5'
28
28
 
29
29
  Run Bundle install
30
30
 
@@ -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="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
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" %>
@@ -2,7 +2,7 @@ module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 4
5
+ TINY = 5
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
Binary file
@@ -44438,3 +44438,1051 @@ Completed 401 Unauthorized in 84ms
44438
44438
   (0.1ms) begin transaction
44439
44439
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44440
44440
   (0.1ms) rollback transaction
44441
+ Connecting to database specified by database.yml
44442
+  (0.1ms) begin transaction
44443
+ Fixture Delete (36.4ms) DELETE FROM "authentications"
44444
+ Fixture Insert (0.4ms) INSERT 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)
44445
+ Fixture Insert (0.1ms) 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
+ 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-08-15 15:35:50', '2012-08-15 15:35:50', 864673665, 201799169)
44447
+ Fixture Delete (0.7ms) DELETE FROM "users"
44448
+ 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-08-15 15:35:50', '2012-08-15 15:35:50', 201799169)
44449
+ 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-08-15 15:35:50', '2012-08-15 15:35:50', 999914115)
44450
+ 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-08-15 15:35:50', '2012-08-15 15:35:50', 725306934)
44451
+ 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-08-15 15:35:50', '2012-08-15 15:35:50', 349534908)
44452
+  (8.4ms) commit transaction
44453
+  (0.1ms) begin transaction
44454
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44455
+  (0.1ms) rollback transaction
44456
+  (0.1ms) begin transaction
44457
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44458
+  (0.0ms) rollback transaction
44459
+  (0.0ms) begin transaction
44460
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44461
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44462
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44466
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44467
+ Logged in user found, creating associated authentication.
44468
+  (0.1ms) SAVEPOINT active_record_1
44469
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44471
+ Redirected to http://test.host/authentications
44472
+ Completed 302 Found in 70ms (ActiveRecord: 0.8ms)
44473
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44474
+  (0.6ms) rollback transaction
44475
+  (0.1ms) begin transaction
44476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44477
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44478
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44479
+ Processing by Contour::AuthenticationsController#destroy as HTML
44480
+ Parameters: {"id"=>"949717663"}
44481
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44482
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
44483
+  (0.0ms) SAVEPOINT active_record_1
44484
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
44485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44486
+ Redirected to http://test.host/authentications
44487
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
44488
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44489
+  (0.6ms) rollback transaction
44490
+  (0.1ms) begin transaction
44491
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44492
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44493
+ Processing by Contour::AuthenticationsController#index as HTML
44494
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44495
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
44496
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
44501
+  (0.1ms) begin transaction
44502
+ Processing by Contour::PasswordsController#create as HTML
44503
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
44504
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44505
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GXbJjy7qW8KCsbxQHqDP' LIMIT 1
44506
+  (0.1ms) SAVEPOINT active_record_1
44507
+  (0.3ms) UPDATE "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
44508
+  (0.0ms) 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
+  (0.7ms) rollback transaction
44534
+  (0.0ms) 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
+  (0.1ms) rollback transaction
44541
+  (0.1ms) begin transaction
44542
+  (0.0ms) rollback transaction
44543
+  (0.0ms) begin transaction
44544
+  (0.0ms) rollback transaction
44545
+  (0.0ms) begin transaction
44546
+  (0.0ms) rollback transaction
44547
+  (0.0ms) begin transaction
44548
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44549
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44550
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
44557
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44558
+ Binary data inserted for `string` type on column `encrypted_password`
44559
+ SQL (20.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, 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44561
+  (0.1ms) SAVEPOINT active_record_1
44562
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44564
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44565
+ SQL (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44572
+  (0.1ms) SAVEPOINT active_record_1
44573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.8ms) rollback transaction
44586
+  (0.1ms) begin transaction
44587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44588
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44589
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
44596
+ User Exists (0.1ms) 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
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44600
+  (0.0ms) SAVEPOINT active_record_1
44601
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44603
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44604
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44611
+  (0.1ms) SAVEPOINT active_record_1
44612
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
44621
+ Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms)
44622
+  (1.3ms) rollback transaction
44623
+  (0.1ms) begin transaction
44624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44625
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44626
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
44633
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44634
+ Binary data inserted for `string` type on column `encrypted_password`
44635
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44637
+  (0.0ms) SAVEPOINT active_record_1
44638
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44640
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
44641
+ SQL (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44648
+  (0.0ms) SAVEPOINT active_record_1
44649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.7ms) rollback transaction
44662
+  (0.1ms) begin transaction
44663
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44664
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44665
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
44672
+  (0.1ms) begin transaction
44673
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44674
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44675
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44681
+  (0.1ms) SAVEPOINT active_record_1
44682
+  (30.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44684
+ Completed 200 OK in 111ms (Views: 0.3ms | ActiveRecord: 30.3ms)
44685
+  (1.2ms) rollback transaction
44686
+  (0.1ms) begin transaction
44687
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44688
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44689
+ User Load (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44695
+ Completed 401 Unauthorized in 79ms
44696
+  (0.1ms) rollback transaction
44697
+  (0.0ms) begin transaction
44698
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44699
+  (0.1ms) rollback transaction
44700
+  (0.1ms) begin transaction
44701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44702
+  (0.0ms) rollback transaction
44703
+ Connecting to database specified by database.yml
44704
+  (0.1ms) begin transaction
44705
+ Fixture Delete (53.3ms) DELETE FROM "authentications"
44706
+ Fixture Insert (0.7ms) INSERT 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)
44707
+ Fixture Insert (0.1ms) 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
+ 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-08-16 12:41:03', '2012-08-16 12:41:03', 864673665, 201799169)
44709
+ Fixture Delete (1.1ms) DELETE FROM "users"
44710
+ 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-08-16 12:41:03', '2012-08-16 12:41:03', 201799169)
44711
+ 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-08-16 12:41:03', '2012-08-16 12:41:03', 999914115)
44712
+ 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-08-16 12:41:03', '2012-08-16 12:41:03', 725306934)
44713
+ 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-08-16 12:41:03', '2012-08-16 12:41:03', 349534908)
44714
+  (17.4ms) commit transaction
44715
+  (0.1ms) begin transaction
44716
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44717
+  (0.1ms) rollback transaction
44718
+  (0.1ms) begin transaction
44719
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44720
+  (0.1ms) rollback transaction
44721
+  (0.1ms) begin transaction
44722
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44723
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44724
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44728
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44729
+ Logged in user found, creating associated authentication.
44730
+  (0.1ms) SAVEPOINT active_record_1
44731
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44733
+ Redirected to http://test.host/authentications
44734
+ Completed 302 Found in 78ms (ActiveRecord: 0.9ms)
44735
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44736
+  (5.4ms) rollback transaction
44737
+  (0.1ms) begin transaction
44738
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44739
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44740
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44741
+ Processing by Contour::AuthenticationsController#destroy as HTML
44742
+ Parameters: {"id"=>"949717663"}
44743
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44744
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
44745
+  (0.0ms) SAVEPOINT active_record_1
44746
+ SQL (19.9ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
44747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44748
+ Redirected to http://test.host/authentications
44749
+ Completed 302 Found in 24ms (ActiveRecord: 20.3ms)
44750
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44751
+  (0.7ms) rollback transaction
44752
+  (0.1ms) begin transaction
44753
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44754
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44755
+ Processing by Contour::AuthenticationsController#index as HTML
44756
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44757
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
44758
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
44763
+  (0.1ms) begin transaction
44764
+ Processing by Contour::PasswordsController#create as HTML
44765
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
44766
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44767
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf' LIMIT 1
44768
+  (0.0ms) SAVEPOINT active_record_1
44769
+  (0.3ms) UPDATE "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
44770
+  (0.0ms) 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
+  (0.7ms) rollback transaction
44796
+  (0.0ms) 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
+  (0.1ms) rollback transaction
44803
+  (0.0ms) begin transaction
44804
+  (0.0ms) rollback transaction
44805
+  (0.1ms) begin transaction
44806
+  (0.0ms) rollback transaction
44807
+  (0.1ms) begin transaction
44808
+  (0.0ms) rollback transaction
44809
+  (0.0ms) begin transaction
44810
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44812
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
44819
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44820
+ Binary data inserted for `string` type on column `encrypted_password`
44821
+ 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", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44823
+  (0.0ms) SAVEPOINT active_record_1
44824
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44826
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44827
+ SQL (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44834
+  (0.1ms) SAVEPOINT active_record_1
44835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (5.8ms) rollback transaction
44848
+  (0.1ms) begin transaction
44849
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44850
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44851
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
44858
+ User Exists (0.1ms) 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
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44862
+  (0.0ms) SAVEPOINT active_record_1
44863
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44865
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44866
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44873
+  (0.1ms) SAVEPOINT active_record_1
44874
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
44883
+ Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.1ms)
44884
+  (12.3ms) rollback transaction
44885
+  (0.1ms) begin transaction
44886
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44887
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44888
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
44895
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44896
+ Binary data inserted for `string` type on column `encrypted_password`
44897
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44899
+  (0.0ms) SAVEPOINT active_record_1
44900
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44902
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
44903
+ SQL (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44910
+  (0.0ms) SAVEPOINT active_record_1
44911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (3.2ms) rollback transaction
44924
+  (0.1ms) begin transaction
44925
+ User Load (36.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44926
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44927
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
44934
+  (0.0ms) begin transaction
44935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44936
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44937
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44943
+  (0.1ms) SAVEPOINT active_record_1
44944
+  (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44946
+ Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms)
44947
+  (448.4ms) rollback transaction
44948
+  (0.1ms) begin transaction
44949
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44950
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44951
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44957
+ Completed 401 Unauthorized in 84ms
44958
+  (0.1ms) rollback transaction
44959
+  (0.1ms) begin transaction
44960
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44961
+  (0.1ms) rollback transaction
44962
+  (0.0ms) begin transaction
44963
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44964
+  (0.0ms) rollback transaction
44965
+ Connecting to database specified by database.yml
44966
+  (0.1ms) begin transaction
44967
+ Fixture Delete (14.6ms) DELETE FROM "authentications"
44968
+ Fixture Insert (0.7ms) INSERT 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)
44969
+ Fixture Insert (0.1ms) 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
+ 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-08-16 18:09:58', '2012-08-16 18:09:58', 864673665, 201799169)
44971
+ Fixture Delete (0.8ms) DELETE FROM "users"
44972
+ 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-08-16 18:09:58', '2012-08-16 18:09:58', 201799169)
44973
+ 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-08-16 18:09:58', '2012-08-16 18:09:58', 999914115)
44974
+ 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-08-16 18:09:58', '2012-08-16 18:09:58', 725306934)
44975
+ 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-08-16 18:09:58', '2012-08-16 18:09:58', 349534908)
44976
+  (1.6ms) commit transaction
44977
+  (0.0ms) begin transaction
44978
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44979
+  (0.1ms) rollback transaction
44980
+  (0.1ms) begin transaction
44981
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44982
+  (0.0ms) rollback transaction
44983
+  (0.0ms) begin transaction
44984
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44985
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44986
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44990
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44991
+ Logged in user found, creating associated authentication.
44992
+  (0.1ms) SAVEPOINT active_record_1
44993
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44995
+ Redirected to http://test.host/authentications
44996
+ Completed 302 Found in 70ms (ActiveRecord: 0.9ms)
44997
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44998
+  (0.5ms) rollback transaction
44999
+  (0.0ms) begin transaction
45000
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45001
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45002
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
45003
+ Processing by Contour::AuthenticationsController#destroy as HTML
45004
+ Parameters: {"id"=>"949717663"}
45005
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45006
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45007
+  (0.0ms) SAVEPOINT active_record_1
45008
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45010
+ Redirected to http://test.host/authentications
45011
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
45012
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
45013
+  (0.6ms) rollback transaction
45014
+  (0.0ms) begin transaction
45015
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45016
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45017
+ Processing by Contour::AuthenticationsController#index as HTML
45018
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45019
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45020
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
45025
+  (0.1ms) begin transaction
45026
+ Processing by Contour::PasswordsController#create as HTML
45027
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
45028
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45029
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'scjYKdaSxtMvF1bLyDpV' LIMIT 1
45030
+  (0.1ms) SAVEPOINT active_record_1
45031
+  (0.4ms) UPDATE "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
45032
+  (0.1ms) 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
+  (0.7ms) rollback transaction
45058
+  (0.0ms) 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
+  (0.1ms) rollback transaction
45065
+  (0.0ms) begin transaction
45066
+  (0.0ms) rollback transaction
45067
+  (0.0ms) begin transaction
45068
+  (0.0ms) rollback transaction
45069
+  (0.0ms) begin transaction
45070
+  (0.0ms) rollback transaction
45071
+  (0.0ms) begin transaction
45072
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45073
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45074
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
45081
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45082
+ Binary data inserted for `string` type on column `encrypted_password`
45083
+ 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", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45085
+  (0.0ms) SAVEPOINT active_record_1
45086
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45088
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45089
+ SQL (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45096
+  (0.1ms) SAVEPOINT active_record_1
45097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
45110
+  (0.1ms) begin transaction
45111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45112
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45113
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
45120
+ User Exists (0.1ms) 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
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45124
+  (0.0ms) SAVEPOINT active_record_1
45125
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45127
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45128
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45135
+  (0.0ms) SAVEPOINT active_record_1
45136
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45145
+ Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms)
45146
+  (1.1ms) rollback transaction
45147
+  (0.1ms) begin transaction
45148
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45150
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
45157
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45158
+ Binary data inserted for `string` type on column `encrypted_password`
45159
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45161
+  (0.0ms) SAVEPOINT active_record_1
45162
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45164
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45165
+ SQL (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45172
+  (0.0ms) SAVEPOINT active_record_1
45173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (1.0ms) rollback transaction
45186
+  (0.1ms) begin transaction
45187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45188
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45189
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
45196
+  (0.1ms) begin transaction
45197
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45198
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45199
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45205
+  (0.1ms) SAVEPOINT active_record_1
45206
+  (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45208
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45209
+  (0.7ms) rollback transaction
45210
+  (0.1ms) begin transaction
45211
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45212
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45213
+ User Load (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45219
+ Completed 401 Unauthorized in 81ms
45220
+  (0.1ms) rollback transaction
45221
+  (0.0ms) begin transaction
45222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45223
+  (0.1ms) rollback transaction
45224
+  (0.1ms) begin transaction
45225
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45226
+  (0.1ms) rollback transaction
45227
+ Connecting to database specified by database.yml
45228
+  (0.1ms) begin transaction
45229
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
45230
+ 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-08-21 15:59:11', '2012-08-21 15:59:11', 949717663, 201799169)
45231
+ Fixture Insert (0.1ms) 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
+ 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-08-21 15:59:11', '2012-08-21 15:59:11', 864673665, 201799169)
45233
+ Fixture Delete (0.1ms) DELETE FROM "users"
45234
+ 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-08-21 15:59:11', '2012-08-21 15:59:11', 201799169)
45235
+ 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-08-21 15:59:11', '2012-08-21 15:59:11', 999914115)
45236
+ 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-08-21 15:59:11', '2012-08-21 15:59:11', 725306934)
45237
+ 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-08-21 15:59:11', '2012-08-21 15:59:11', 349534908)
45238
+  (2.0ms) commit transaction
45239
+  (0.0ms) begin transaction
45240
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
45241
+  (0.1ms) rollback transaction
45242
+  (0.0ms) begin transaction
45243
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45244
+  (0.0ms) rollback transaction
45245
+  (0.0ms) begin transaction
45246
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45247
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45248
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
45252
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45253
+ Logged in user found, creating associated authentication.
45254
+  (0.1ms) SAVEPOINT active_record_1
45255
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45257
+ Redirected to http://test.host/authentications
45258
+ Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
45259
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45260
+  (18.1ms) rollback transaction
45261
+  (0.1ms) begin transaction
45262
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45263
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45264
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
45265
+ Processing by Contour::AuthenticationsController#destroy as HTML
45266
+ Parameters: {"id"=>"949717663"}
45267
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45268
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45269
+  (0.0ms) SAVEPOINT active_record_1
45270
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45272
+ Redirected to http://test.host/authentications
45273
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
45274
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
45275
+  (0.7ms) rollback transaction
45276
+  (0.0ms) begin transaction
45277
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45278
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45279
+ Processing by Contour::AuthenticationsController#index as HTML
45280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45281
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45282
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
45287
+  (0.1ms) begin transaction
45288
+ Processing by Contour::PasswordsController#create as HTML
45289
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
45290
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45291
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1' LIMIT 1
45292
+  (0.0ms) SAVEPOINT active_record_1
45293
+  (0.3ms) UPDATE "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
45294
+  (0.0ms) 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
+  (0.9ms) rollback transaction
45320
+  (0.0ms) 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
+  (0.1ms) rollback transaction
45327
+  (0.1ms) begin transaction
45328
+  (0.0ms) rollback transaction
45329
+  (0.0ms) begin transaction
45330
+  (0.0ms) rollback transaction
45331
+  (0.0ms) begin transaction
45332
+  (0.0ms) rollback transaction
45333
+  (0.0ms) begin transaction
45334
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45335
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45336
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
45343
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45344
+ Binary data inserted for `string` type on column `encrypted_password`
45345
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45347
+  (0.0ms) SAVEPOINT active_record_1
45348
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45350
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45351
+ SQL (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45358
+  (0.1ms) SAVEPOINT active_record_1
45359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.8ms) rollback transaction
45372
+  (0.1ms) begin transaction
45373
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45374
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45375
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
45382
+ User Exists (0.1ms) 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
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45386
+  (0.0ms) SAVEPOINT active_record_1
45387
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45389
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45390
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45397
+  (0.0ms) SAVEPOINT active_record_1
45398
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45407
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
45408
+  (0.7ms) rollback transaction
45409
+  (0.1ms) begin transaction
45410
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45411
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45412
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
45419
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45420
+ Binary data inserted for `string` type on column `encrypted_password`
45421
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45423
+  (0.0ms) SAVEPOINT active_record_1
45424
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45426
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45427
+ SQL (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45434
+  (0.0ms) SAVEPOINT active_record_1
45435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.7ms) rollback transaction
45448
+  (0.0ms) begin transaction
45449
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45450
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45451
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
45458
+  (0.0ms) begin transaction
45459
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45460
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45461
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45467
+  (0.1ms) SAVEPOINT active_record_1
45468
+  (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45470
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45471
+  (1.0ms) rollback transaction
45472
+  (0.1ms) begin transaction
45473
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45474
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45475
+ User Load (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45481
+ Completed 401 Unauthorized in 77ms
45482
+  (0.1ms) rollback transaction
45483
+  (0.1ms) begin transaction
45484
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45485
+  (0.1ms) rollback transaction
45486
+  (0.0ms) begin transaction
45487
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45488
+  (0.1ms) 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
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-14 00:00:00.000000000 Z
12
+ date: 2012-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails