contour 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. data/CHANGELOG.rdoc +12 -0
  2. data/README.rdoc +2 -2
  3. data/app/assets/images/twitter-bootstrap/{v2.0.3 → v2.0.4}/glyphicons-halflings-white.png +0 -0
  4. data/app/assets/images/twitter-bootstrap/{v2.0.3 → v2.0.4}/glyphicons-halflings.png +0 -0
  5. data/app/assets/javascripts/contour.js +16 -5
  6. data/app/assets/javascripts/twitter-bootstrap/bootstrap.js.coffee +12 -0
  7. data/app/assets/javascripts/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap.js +15 -14
  8. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-alert.js +90 -0
  9. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-button.js +96 -0
  10. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-carousel.js +169 -0
  11. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-collapse.js → v2.0.4/plugins/bootstrap-collapse.js} +2 -2
  12. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-dropdown.js → v2.0.4/plugins/bootstrap-dropdown.js} +2 -2
  13. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-modal.js → v2.0.4/plugins/bootstrap-modal.js} +2 -2
  14. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-popover.js +98 -0
  15. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-scrollspy.js +151 -0
  16. data/app/assets/javascripts/twitter-bootstrap/{bootstrap-tab.js → v2.0.4/plugins/bootstrap-tab.js} +2 -2
  17. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-tooltip.js +275 -0
  18. data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-typeahead.js +285 -0
  19. data/app/assets/stylesheets/bootstrap-base-overrides.css +5 -5
  20. data/app/assets/stylesheets/bootstrap-responsive-overrides.css +5 -0
  21. data/app/assets/stylesheets/contour.css +3 -2
  22. data/app/assets/stylesheets/twitter-bootstrap/bootstrap-subnav.css +139 -0
  23. data/app/assets/stylesheets/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap-responsive.css +10 -3
  24. data/app/assets/stylesheets/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap.css +128 -105
  25. data/app/views/contour/authentications/index.html.erb +1 -1
  26. data/app/views/contour/layouts/_subnav.html.erb +23 -0
  27. data/app/views/contour/layouts/application.html.erb +1 -1
  28. data/app/views/contour/registrations/edit.html.erb +1 -1
  29. data/contour.gemspec +2 -2
  30. data/lib/contour/version.rb +1 -1
  31. data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
  32. data/lib/generators/contour/scaffold/templates/show.html.erb +1 -1
  33. data/test/dummy/db/test.sqlite3 +0 -0
  34. data/test/dummy/log/test.log +2423 -0
  35. data/test/unit/helpers/contour_helper_test.rb +13 -0
  36. metadata +102 -36
@@ -21,7 +21,7 @@
21
21
  }
22
22
  </style>
23
23
  </head>
24
- <body>
24
+ <body data-spy="scroll" data-target=".subnav" data-offset="0">
25
25
  <%= javascript_tag "var root_url='#{request.script_name + '/'}';var auth_token='#{form_authenticity_token}';" %>
26
26
 
27
27
  <% if false %>
@@ -45,6 +45,6 @@
45
45
  <h3>Cancel my account</h3>
46
46
  </div>
47
47
 
48
- <p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete, class: 'btn btn-danger' %>.</p>
48
+ <p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :method => :delete, class: 'btn btn-danger', :data => { :confirm => "Are you sure?" } %>.</p>
49
49
 
50
50
  <%= link_to "Back", :back %>
data/contour.gemspec CHANGED
@@ -23,9 +23,9 @@ Gem::Specification.new do |s|
23
23
  s.files = Dir["{app,config,db,lib}/**/*"] + ["CHANGELOG.rdoc", "contour.gemspec", "LICENSE", "Rakefile", "README.rdoc"]
24
24
  s.test_files = Dir["test/**/*"]
25
25
 
26
- s.add_dependency 'rails', '~> 3.2.5'
26
+ s.add_dependency 'rails', '~> 3.2.6'
27
27
  s.add_dependency 'jquery-rails', '~> 2.0.2'
28
- s.add_dependency 'devise', '~> 2.1.0'
28
+ s.add_dependency 'devise', '~> 2.1.2'
29
29
  s.add_dependency 'omniauth', '~> 1.1.0'
30
30
  s.add_dependency 'omniauth-cas', '~> 0.0.7'
31
31
  s.add_dependency 'omniauth-facebook', '~> 1.3.0'
@@ -2,7 +2,7 @@ module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
@@ -21,7 +21,7 @@
21
21
  <%- end -%>
22
22
  <td>
23
23
  <%%= link_to 'Edit', edit_<%= resource_name %>_path(<%= resource_name %>), class: 'btn btn-mini' %>
24
- <%%= link_to 'Delete', <%= resource_name %>, confirm: "Are you sure you want to delete <%= resource_title %> #{<%= resource_name %>.name}?", method: :delete, class: 'btn btn-mini btn-danger' %>
24
+ <%%= link_to 'Delete', <%= resource_name %>, method: :delete, class: 'btn btn-mini btn-danger', data: { confirm: "Are you sure you want to delete <%= resource_title %> #{<%= resource_name %>.name}?" } %>
25
25
  </td>
26
26
  </tr>
27
27
  <%% end %>
@@ -3,7 +3,7 @@
3
3
  <h1>
4
4
  <%%= @title %>
5
5
  <%%= link_to "Edit <%= resource_title %>", edit_<%= resource_name %>_path(@<%= resource_name %>), class: 'btn btn-mini' %>
6
- <%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?", method: :delete, class: 'btn btn-mini btn-danger' %>
6
+ <%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, method: :delete, class: 'btn btn-mini btn-danger', data: { confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?" } %>
7
7
  <%%= link_to "View <%= resource_title_plural %>", <%= resource_name_plural %>_path, class: 'btn btn-mini' %>
8
8
  </h1>
9
9
  </div>
Binary file
@@ -38584,3 +38584,2426 @@ Completed 401 Unauthorized in 81ms
38584
38584
   (0.0ms) begin transaction
38585
38585
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38586
38586
   (0.0ms) rollback transaction
38587
+ Connecting to database specified by database.yml
38588
+  (0.1ms) begin transaction
38589
+ Fixture Delete (17.1ms) DELETE FROM "authentications"
38590
+ Fixture Insert (0.8ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 949717663, 201799169)
38591
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 876923740, 201799169)
38592
+ 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-06-06 14:50:32', '2012-06-06 14:50:32', 864673665, 201799169)
38593
+ Fixture Delete (0.8ms) DELETE FROM "users"
38594
+ 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-06-06 14:50:32', '2012-06-06 14:50:32', 201799169)
38595
+ 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-06-06 14:50:32', '2012-06-06 14:50:32', 999914115)
38596
+ 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-06-06 14:50:32', '2012-06-06 14:50:32', 725306934)
38597
+ 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-06-06 14:50:32', '2012-06-06 14:50:32', 349534908)
38598
+  (2.0ms) commit transaction
38599
+  (0.1ms) begin transaction
38600
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
38601
+  (0.1ms) rollback transaction
38602
+  (0.0ms) begin transaction
38603
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38604
+  (0.0ms) rollback transaction
38605
+  (0.1ms) begin transaction
38606
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38607
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38608
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
38609
+ Processing by Contour::AuthenticationsController#create as HTML
38610
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-06 14:50:32 UTC", "updated_at"=>"2012-06-06 14:50:32 UTC"}}
38611
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
38612
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
38613
+ Logged in user found, creating associated authentication.
38614
+  (0.1ms) SAVEPOINT active_record_1
38615
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["user_id", 201799169]]
38616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38617
+ Redirected to http://test.host/authentications
38618
+ Completed 302 Found in 48ms (ActiveRecord: 0.9ms)
38619
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
38620
+  (0.7ms) rollback transaction
38621
+  (0.0ms) begin transaction
38622
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38623
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38624
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
38625
+ Processing by Contour::AuthenticationsController#destroy as HTML
38626
+ Parameters: {"id"=>"949717663"}
38627
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
38628
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
38629
+  (0.0ms) SAVEPOINT active_record_1
38630
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
38631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38632
+ Redirected to http://test.host/authentications
38633
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
38634
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
38635
+  (0.4ms) rollback transaction
38636
+  (0.0ms) begin transaction
38637
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38638
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38639
+ Processing by Contour::AuthenticationsController#index as HTML
38640
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
38641
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
38642
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
38643
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms)
38644
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
38645
+ Completed 200 OK in 120ms (Views: 117.9ms | ActiveRecord: 0.4ms)
38646
+  (0.1ms) rollback transaction
38647
+  (0.0ms) begin transaction
38648
+ Processing by Contour::PasswordsController#create as HTML
38649
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
38650
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
38651
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8P7p89eEapBDKbE7jSUS' LIMIT 1
38652
+  (0.0ms) SAVEPOINT active_record_1
38653
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '8P7p89eEapBDKbE7jSUS', "reset_password_sent_at" = '2012-06-06 14:50:33.208446', "updated_at" = '2012-06-06 14:50:33.209175' WHERE "users"."id" = 201799169
38654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38655
+
38656
+ Sent mail to valid@example.com (15ms)
38657
+ Date: Wed, 06 Jun 2012 10:50:33 -0400
38658
+ From: please-change-me-at-config-initializers-devise@example.com
38659
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
38660
+ To: valid@example.com
38661
+ Message-ID: <4fcf6e394d215_107373fdf02034cd07681a@edge.mail>
38662
+ Subject: Reset password instructions
38663
+ Mime-Version: 1.0
38664
+ Content-Type: text/html;
38665
+ charset=UTF-8
38666
+ Content-Transfer-Encoding: 7bit
38667
+
38668
+ <p>Hello valid@example.com!</p>
38669
+
38670
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
38671
+
38672
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=8P7p89eEapBDKbE7jSUS">Change my password</a></p>
38673
+
38674
+ <p>If you didn't request this, please ignore this email.</p>
38675
+ <p>Your password won't change until you access the link above and create a new one.</p>
38676
+
38677
+ Redirected to http://test.host/users/login
38678
+ Completed 302 Found in 165ms (ActiveRecord: 0.0ms)
38679
+  (0.8ms) rollback transaction
38680
+  (0.1ms) begin transaction
38681
+ Processing by Contour::PasswordsController#new as HTML
38682
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms)
38683
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms)
38684
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.0ms)
38685
+ Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)
38686
+  (0.1ms) rollback transaction
38687
+  (0.1ms) begin transaction
38688
+  (0.0ms) rollback transaction
38689
+  (0.0ms) begin transaction
38690
+  (0.0ms) rollback transaction
38691
+  (0.0ms) begin transaction
38692
+  (0.0ms) rollback transaction
38693
+  (0.0ms) begin transaction
38694
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38695
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38696
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38697
+
38698
+
38699
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38700
+ Processing by WelcomeController#logged_in_page as HTML
38701
+ Completed 401 Unauthorized in 1ms
38702
+  (0.1ms) SAVEPOINT active_record_1
38703
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
38704
+ Binary data inserted for `string` type on column `encrypted_password`
38705
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$L6Li9/1BpIWodYhPwrcQ5eYqFYE.ET6JfvQwCFt98SBAuqwzeJzxa"], ["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, 06 Jun 2012 14:50:33 UTC +00:00]]
38706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38707
+  (0.0ms) SAVEPOINT active_record_1
38708
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
38709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38710
+  (0.0ms) SAVEPOINT active_record_1
38711
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-06 14:50:33.474727' WHERE "users"."id" = 999914116
38712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38713
+  (0.0ms) SAVEPOINT active_record_1
38714
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-06 14:50:33.475951' WHERE "users"."id" = 999914116
38715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38716
+
38717
+
38718
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38719
+ Processing by Contour::SessionsController#create as HTML
38720
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
38721
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
38722
+  (0.1ms) SAVEPOINT active_record_1
38723
+  (0.1ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-06 14:50:33.486669' WHERE "users"."id" = 999914116
38724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38725
+ Completed 401 Unauthorized in 7ms
38726
+
38727
+
38728
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38729
+ Processing by Contour::SessionsController#new as HTML
38730
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
38731
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
38732
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
38733
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
38734
+ Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms)
38735
+  (0.8ms) rollback transaction
38736
+  (0.0ms) begin transaction
38737
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38738
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38739
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38740
+
38741
+
38742
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38743
+ Processing by WelcomeController#logged_in_page as HTML
38744
+ Completed 401 Unauthorized in 0ms
38745
+  (0.1ms) SAVEPOINT active_record_1
38746
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
38747
+ Binary data inserted for `string` type on column `encrypted_password`
38748
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7CiXhBQnpuKsXq/0qOrr4ejpa8PHF7Jn3/xMu0aMzfT6RisDT5veC"], ["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, 06 Jun 2012 14:50:33 UTC +00:00]]
38749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38750
+  (0.0ms) SAVEPOINT active_record_1
38751
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
38752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38753
+  (0.1ms) SAVEPOINT active_record_1
38754
+  (0.7ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-06 14:50:33.557010' WHERE "users"."id" = 999914116
38755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38756
+  (0.0ms) SAVEPOINT active_record_1
38757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38758
+
38759
+
38760
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38761
+ Processing by Contour::SessionsController#create as HTML
38762
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
38763
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
38764
+  (0.0ms) SAVEPOINT active_record_1
38765
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-06 14:50:33.568136', "current_sign_in_at" = '2012-06-06 14:50:33.568136', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-06 14:50:33.568589' WHERE "users"."id" = 999914116
38766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38767
+ Redirected to http://www.example.com/logged_in_page
38768
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
38769
+
38770
+
38771
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38772
+ Processing by WelcomeController#logged_in_page as HTML
38773
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
38774
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms)
38775
+  (0.9ms) rollback transaction
38776
+  (0.1ms) begin transaction
38777
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38778
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38779
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38780
+
38781
+
38782
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38783
+ Processing by WelcomeController#logged_in_page as HTML
38784
+ Completed 401 Unauthorized in 0ms
38785
+  (0.1ms) SAVEPOINT active_record_1
38786
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
38787
+ Binary data inserted for `string` type on column `encrypted_password`
38788
+ 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, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$i3/iKVIyP/Wxtm1ejZJwLOK6lsG4e6I.jADAGhuX7POfQlJv.K10m"], ["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, 06 Jun 2012 14:50:33 UTC +00:00]]
38789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38790
+  (0.0ms) SAVEPOINT active_record_1
38791
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
38792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38793
+  (0.0ms) SAVEPOINT active_record_1
38794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38795
+  (0.0ms) SAVEPOINT active_record_1
38796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38797
+
38798
+
38799
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38800
+ Processing by Contour::SessionsController#create as HTML
38801
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
38802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
38803
+  (0.0ms) SAVEPOINT active_record_1
38804
+  (0.3ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-06 14:50:33.604958' WHERE "users"."id" = 999914116
38805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38806
+ Completed 401 Unauthorized in 5ms
38807
+
38808
+
38809
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38810
+ Processing by Contour::SessionsController#new as HTML
38811
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
38812
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
38813
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
38814
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
38815
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
38816
+  (0.7ms) rollback transaction
38817
+  (0.0ms) begin transaction
38818
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38819
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38820
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38821
+
38822
+
38823
+ Started GET "/" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38824
+ Processing by WelcomeController#index as HTML
38825
+ Completed 401 Unauthorized in 1ms
38826
+  (0.1ms) rollback transaction
38827
+  (0.0ms) begin transaction
38828
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38829
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38830
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38831
+
38832
+
38833
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38834
+ Processing by WelcomeController#logged_in_page as JSON
38835
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
38836
+  (0.1ms) SAVEPOINT active_record_1
38837
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-06 14:50:33.716679', "current_sign_in_at" = '2012-06-06 14:50:33.716679', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-06 14:50:33.717692' WHERE "users"."id" = 201799169
38838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38839
+ Completed 200 OK in 83ms (Views: 0.4ms | ActiveRecord: 0.6ms)
38840
+  (0.5ms) rollback transaction
38841
+  (0.1ms) begin transaction
38842
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38843
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38844
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38845
+
38846
+
38847
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
38848
+ Processing by WelcomeController#logged_in_page as JSON
38849
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
38850
+ Completed 401 Unauthorized in 84ms
38851
+  (0.1ms) rollback transaction
38852
+  (0.1ms) begin transaction
38853
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38854
+  (0.1ms) rollback transaction
38855
+  (0.1ms) begin transaction
38856
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38857
+  (0.0ms) rollback transaction
38858
+ Connecting to database specified by database.yml
38859
+  (0.1ms) begin transaction
38860
+ Fixture Delete (42.6ms) DELETE FROM "authentications"
38861
+ Fixture Insert (0.8ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 949717663, 201799169)
38862
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 876923740, 201799169)
38863
+ 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-06-19 13:19:03', '2012-06-19 13:19:03', 864673665, 201799169)
38864
+ Fixture Delete (1.4ms) DELETE FROM "users"
38865
+ 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-06-19 13:19:04', '2012-06-19 13:19:04', 201799169)
38866
+ 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-06-19 13:19:04', '2012-06-19 13:19:04', 999914115)
38867
+ 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-06-19 13:19:04', '2012-06-19 13:19:04', 725306934)
38868
+ 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-06-19 13:19:04', '2012-06-19 13:19:04', 349534908)
38869
+  (2.6ms) commit transaction
38870
+  (0.0ms) begin transaction
38871
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
38872
+  (0.1ms) rollback transaction
38873
+  (0.0ms) begin transaction
38874
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38875
+  (0.0ms) rollback transaction
38876
+  (0.1ms) begin transaction
38877
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38878
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38879
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
38880
+ Processing by Contour::AuthenticationsController#create as HTML
38881
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:19:03 UTC", "updated_at"=>"2012-06-19 13:19:03 UTC"}}
38882
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
38883
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
38884
+ Logged in user found, creating associated authentication.
38885
+  (13.7ms) SAVEPOINT active_record_1
38886
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["user_id", 201799169]]
38887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38888
+ Redirected to http://test.host/authentications
38889
+ Completed 302 Found in 77ms (ActiveRecord: 14.6ms)
38890
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
38891
+  (0.7ms) rollback transaction
38892
+  (0.1ms) begin transaction
38893
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38894
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38895
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
38896
+ Processing by Contour::AuthenticationsController#destroy as HTML
38897
+ Parameters: {"id"=>"949717663"}
38898
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
38899
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
38900
+  (0.1ms) SAVEPOINT active_record_1
38901
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
38902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38903
+ Redirected to http://test.host/authentications
38904
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
38905
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
38906
+  (0.7ms) rollback transaction
38907
+  (0.1ms) begin transaction
38908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38909
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
38910
+ Processing by Contour::AuthenticationsController#index as HTML
38911
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
38912
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
38913
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
38914
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms)
38915
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
38916
+ Completed 200 OK in 111ms (Views: 109.7ms | ActiveRecord: 0.4ms)
38917
+  (0.1ms) rollback transaction
38918
+  (0.1ms) begin transaction
38919
+ Processing by Contour::PasswordsController#create as HTML
38920
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
38921
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
38922
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zBBsJ3fnYXL1x1tXdpqF' LIMIT 1
38923
+  (0.0ms) SAVEPOINT active_record_1
38924
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'zBBsJ3fnYXL1x1tXdpqF', "reset_password_sent_at" = '2012-06-19 13:19:04.413152', "updated_at" = '2012-06-19 13:19:04.414071' WHERE "users"."id" = 201799169
38925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38926
+
38927
+ Sent mail to valid@example.com (19ms)
38928
+ Date: Tue, 19 Jun 2012 09:19:04 -0400
38929
+ From: please-change-me-at-config-initializers-devise@example.com
38930
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
38931
+ To: valid@example.com
38932
+ Message-ID: <4fe07c488f567_129883fe479034ce036289@edge.mail>
38933
+ Subject: Reset password instructions
38934
+ Mime-Version: 1.0
38935
+ Content-Type: text/html;
38936
+ charset=UTF-8
38937
+ Content-Transfer-Encoding: 7bit
38938
+
38939
+ <p>Hello valid@example.com!</p>
38940
+
38941
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
38942
+
38943
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=zBBsJ3fnYXL1x1tXdpqF">Change my password</a></p>
38944
+
38945
+ <p>If you didn't request this, please ignore this email.</p>
38946
+ <p>Your password won't change until you access the link above and create a new one.</p>
38947
+
38948
+ Redirected to http://test.host/users/login
38949
+ Completed 302 Found in 248ms (ActiveRecord: 0.0ms)
38950
+  (0.7ms) rollback transaction
38951
+  (0.0ms) begin transaction
38952
+ Processing by Contour::PasswordsController#new as HTML
38953
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms)
38954
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
38955
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.9ms)
38956
+ Completed 200 OK in 44ms (Views: 43.7ms | ActiveRecord: 0.0ms)
38957
+  (0.1ms) rollback transaction
38958
+  (0.1ms) begin transaction
38959
+  (0.0ms) rollback transaction
38960
+  (0.0ms) begin transaction
38961
+  (0.0ms) rollback transaction
38962
+  (0.0ms) begin transaction
38963
+  (0.0ms) rollback transaction
38964
+  (0.0ms) begin transaction
38965
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38966
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38967
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38968
+
38969
+
38970
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
38971
+ Processing by WelcomeController#logged_in_page as HTML
38972
+ Completed 401 Unauthorized in 1ms
38973
+  (0.1ms) SAVEPOINT active_record_1
38974
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
38975
+ Binary data inserted for `string` type on column `encrypted_password`
38976
+ 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, 19 Jun 2012 13:19: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$/AOdQijf/NIPODjUh5Ox4uMPpowIw8avVZvJSqt8QfsmGQfeZuIYW"], ["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, 19 Jun 2012 13:19:04 UTC +00:00]]
38977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38978
+  (0.0ms) SAVEPOINT active_record_1
38979
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
38980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38981
+  (0.0ms) SAVEPOINT active_record_1
38982
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:19:04.769810' WHERE "users"."id" = 999914116
38983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38984
+  (0.0ms) SAVEPOINT active_record_1
38985
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:19:04.771094' WHERE "users"."id" = 999914116
38986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38987
+
38988
+
38989
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
38990
+ Processing by Contour::SessionsController#create as HTML
38991
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
38992
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
38993
+  (0.1ms) SAVEPOINT active_record_1
38994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38995
+ Completed 401 Unauthorized in 32ms
38996
+
38997
+
38998
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
38999
+ Processing by Contour::SessionsController#new as HTML
39000
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
39001
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
39002
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
39003
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
39004
+ Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)
39005
+  (0.9ms) rollback transaction
39006
+  (0.0ms) begin transaction
39007
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39008
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39009
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39010
+
39011
+
39012
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39013
+ Processing by WelcomeController#logged_in_page as HTML
39014
+ Completed 401 Unauthorized in 0ms
39015
+  (0.1ms) SAVEPOINT active_record_1
39016
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39017
+ Binary data inserted for `string` type on column `encrypted_password`
39018
+ 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, 19 Jun 2012 13:19: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$2LUbtVTUDD8QzKwwn9Q4muH7Zmb329PGAGkMw7gdnCPlWR8fTEsqK"], ["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, 19 Jun 2012 13:19:04 UTC +00:00]]
39019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39020
+  (0.0ms) SAVEPOINT active_record_1
39021
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39023
+  (0.0ms) SAVEPOINT active_record_1
39024
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:19:04.851858' WHERE "users"."id" = 999914116
39025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39026
+  (0.0ms) SAVEPOINT active_record_1
39027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39028
+
39029
+
39030
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39031
+ Processing by Contour::SessionsController#create as HTML
39032
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
39033
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39034
+  (0.1ms) SAVEPOINT active_record_1
39035
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:19:04.860418', "current_sign_in_at" = '2012-06-19 13:19:04.860418', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:19:04.861035' WHERE "users"."id" = 999914116
39036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39037
+ Redirected to http://www.example.com/logged_in_page
39038
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
39039
+
39040
+
39041
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39042
+ Processing by WelcomeController#logged_in_page as HTML
39043
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
39044
+ Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.1ms)
39045
+  (0.6ms) rollback transaction
39046
+  (0.1ms) begin transaction
39047
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39048
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39049
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39050
+
39051
+
39052
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39053
+ Processing by WelcomeController#logged_in_page as HTML
39054
+ Completed 401 Unauthorized in 0ms
39055
+  (0.1ms) SAVEPOINT active_record_1
39056
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39057
+ Binary data inserted for `string` type on column `encrypted_password`
39058
+ 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, 19 Jun 2012 13:19: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$9UvPzpdwNyYANkip7RYDk.fDlihnowDKEq5B8S6sOP3MKUsBTdhD6"], ["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, 19 Jun 2012 13:19:04 UTC +00:00]]
39059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39060
+  (0.0ms) SAVEPOINT active_record_1
39061
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39063
+  (0.0ms) SAVEPOINT active_record_1
39064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39065
+  (0.0ms) SAVEPOINT active_record_1
39066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39067
+
39068
+
39069
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39070
+ Processing by Contour::SessionsController#create as HTML
39071
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
39072
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39073
+  (0.0ms) SAVEPOINT active_record_1
39074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39075
+ Completed 401 Unauthorized in 4ms
39076
+
39077
+
39078
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39079
+ Processing by Contour::SessionsController#new as HTML
39080
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
39081
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
39082
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
39083
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
39084
+ Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
39085
+  (0.6ms) rollback transaction
39086
+  (0.1ms) begin transaction
39087
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39088
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39090
+
39091
+
39092
+ Started GET "/" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39093
+ Processing by WelcomeController#index as HTML
39094
+ Completed 401 Unauthorized in 0ms
39095
+  (0.1ms) rollback transaction
39096
+  (0.1ms) begin transaction
39097
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39098
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39099
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39100
+
39101
+
39102
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
39103
+ Processing by WelcomeController#logged_in_page as JSON
39104
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39105
+  (0.1ms) SAVEPOINT active_record_1
39106
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:19:05.017728', "current_sign_in_at" = '2012-06-19 13:19:05.017728', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:19:05.018408' WHERE "users"."id" = 201799169
39107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39108
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
39109
+  (0.6ms) rollback transaction
39110
+  (0.0ms) begin transaction
39111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39112
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39113
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39114
+
39115
+
39116
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:19:05 -0400
39117
+ Processing by WelcomeController#logged_in_page as JSON
39118
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39119
+ Completed 401 Unauthorized in 78ms
39120
+  (0.1ms) rollback transaction
39121
+  (0.1ms) begin transaction
39122
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39123
+  (0.1ms) rollback transaction
39124
+  (0.0ms) begin transaction
39125
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39126
+  (0.0ms) rollback transaction
39127
+ Connecting to database specified by database.yml
39128
+  (0.1ms) begin transaction
39129
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
39130
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 949717663, 201799169)
39131
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 876923740, 201799169)
39132
+ Fixture Insert (0.0ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 864673665, 201799169)
39133
+ Fixture Delete (0.1ms) DELETE FROM "users"
39134
+ 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-06-19 13:20:14', '2012-06-19 13:20:14', 201799169)
39135
+ 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-06-19 13:20:14', '2012-06-19 13:20:14', 999914115)
39136
+ 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-06-19 13:20:14', '2012-06-19 13:20:14', 725306934)
39137
+ 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-06-19 13:20:14', '2012-06-19 13:20:14', 349534908)
39138
+  (2.7ms) commit transaction
39139
+  (0.0ms) begin transaction
39140
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
39141
+  (0.2ms) rollback transaction
39142
+  (0.1ms) begin transaction
39143
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39144
+  (0.1ms) rollback transaction
39145
+  (0.1ms) begin transaction
39146
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39147
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39148
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39149
+ Processing by Contour::AuthenticationsController#create as HTML
39150
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:20:14 UTC", "updated_at"=>"2012-06-19 13:20:14 UTC"}}
39151
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
39152
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39153
+ Logged in user found, creating associated authentication.
39154
+  (0.1ms) SAVEPOINT active_record_1
39155
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["user_id", 201799169]]
39156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39157
+ Redirected to http://test.host/authentications
39158
+ Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
39159
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39160
+  (0.8ms) rollback transaction
39161
+  (0.0ms) begin transaction
39162
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39163
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39164
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39165
+ Processing by Contour::AuthenticationsController#destroy as HTML
39166
+ Parameters: {"id"=>"949717663"}
39167
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39168
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
39169
+  (0.0ms) SAVEPOINT active_record_1
39170
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
39171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39172
+ Redirected to http://test.host/authentications
39173
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
39174
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39175
+  (0.7ms) rollback transaction
39176
+  (0.0ms) begin transaction
39177
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39178
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39179
+ Processing by Contour::AuthenticationsController#index as HTML
39180
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39181
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
39182
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
39183
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
39184
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
39185
+ Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.3ms)
39186
+  (0.1ms) rollback transaction
39187
+  (0.0ms) begin transaction
39188
+ Processing by Contour::PasswordsController#create as HTML
39189
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
39190
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39191
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DLr4Gq9rkzmpB7zHMK6y' LIMIT 1
39192
+  (0.0ms) SAVEPOINT active_record_1
39193
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'DLr4Gq9rkzmpB7zHMK6y', "reset_password_sent_at" = '2012-06-19 13:20:15.133697', "updated_at" = '2012-06-19 13:20:15.134467' WHERE "users"."id" = 201799169
39194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39195
+
39196
+ Sent mail to valid@example.com (14ms)
39197
+ Date: Tue, 19 Jun 2012 09:20:15 -0400
39198
+ From: please-change-me-at-config-initializers-devise@example.com
39199
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
39200
+ To: valid@example.com
39201
+ Message-ID: <4fe07c8f32032_129993fc1fe034cd85899e@edge.mail>
39202
+ Subject: Reset password instructions
39203
+ Mime-Version: 1.0
39204
+ Content-Type: text/html;
39205
+ charset=UTF-8
39206
+ Content-Transfer-Encoding: 7bit
39207
+
39208
+ <p>Hello valid@example.com!</p>
39209
+
39210
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
39211
+
39212
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=DLr4Gq9rkzmpB7zHMK6y">Change my password</a></p>
39213
+
39214
+ <p>If you didn't request this, please ignore this email.</p>
39215
+ <p>Your password won't change until you access the link above and create a new one.</p>
39216
+
39217
+ Redirected to http://test.host/users/login
39218
+ Completed 302 Found in 114ms (ActiveRecord: 0.0ms)
39219
+  (8.0ms) rollback transaction
39220
+  (0.0ms) begin transaction
39221
+ Processing by Contour::PasswordsController#new as HTML
39222
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
39223
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
39224
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
39225
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
39226
+  (0.1ms) rollback transaction
39227
+  (0.1ms) begin transaction
39228
+  (0.0ms) rollback transaction
39229
+  (0.0ms) begin transaction
39230
+  (0.0ms) rollback transaction
39231
+  (0.1ms) begin transaction
39232
+  (0.0ms) rollback transaction
39233
+  (0.0ms) begin transaction
39234
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39235
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39236
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39237
+
39238
+
39239
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39240
+ Processing by WelcomeController#logged_in_page as HTML
39241
+ Completed 401 Unauthorized in 1ms
39242
+  (0.1ms) SAVEPOINT active_record_1
39243
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
39244
+ Binary data inserted for `string` type on column `encrypted_password`
39245
+ 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, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$pFtY75CxJKdP1ttrEP0pve/Jf92duVxckF0CIHMEY3Lya6YtmQbRC"], ["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, 19 Jun 2012 13:20:15 UTC +00:00]]
39246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39247
+  (0.0ms) SAVEPOINT active_record_1
39248
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39250
+  (0.0ms) SAVEPOINT active_record_1
39251
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:20:15.314886' WHERE "users"."id" = 999914116
39252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39253
+  (0.0ms) SAVEPOINT active_record_1
39254
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:20:15.316045' WHERE "users"."id" = 999914116
39255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39256
+
39257
+
39258
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39259
+ Processing by Contour::SessionsController#create as HTML
39260
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
39261
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
39262
+  (0.1ms) SAVEPOINT active_record_1
39263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39264
+ Completed 401 Unauthorized in 34ms
39265
+
39266
+
39267
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39268
+ Processing by Contour::SessionsController#new as HTML
39269
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
39270
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
39271
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
39272
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
39273
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
39274
+  (0.8ms) rollback transaction
39275
+  (0.1ms) begin transaction
39276
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39277
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39278
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39279
+
39280
+
39281
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39282
+ Processing by WelcomeController#logged_in_page as HTML
39283
+ Completed 401 Unauthorized in 0ms
39284
+  (0.1ms) SAVEPOINT active_record_1
39285
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39286
+ Binary data inserted for `string` type on column `encrypted_password`
39287
+ 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, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$317cylIx6Q17Mo0DcSubxe2wOa9RsL36adfQ66f6OxOQB5uERq7Yq"], ["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, 19 Jun 2012 13:20:15 UTC +00:00]]
39288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39289
+  (0.0ms) SAVEPOINT active_record_1
39290
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39292
+  (0.0ms) SAVEPOINT active_record_1
39293
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:20:15.394916' WHERE "users"."id" = 999914116
39294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39295
+  (0.0ms) SAVEPOINT active_record_1
39296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39297
+
39298
+
39299
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39300
+ Processing by Contour::SessionsController#create as HTML
39301
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
39302
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39303
+  (0.0ms) SAVEPOINT active_record_1
39304
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:20:15.403601', "current_sign_in_at" = '2012-06-19 13:20:15.403601', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:20:15.404084' WHERE "users"."id" = 999914116
39305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39306
+ Redirected to http://www.example.com/logged_in_page
39307
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
39308
+
39309
+
39310
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39311
+ Processing by WelcomeController#logged_in_page as HTML
39312
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
39313
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
39314
+  (0.7ms) rollback transaction
39315
+  (0.0ms) begin transaction
39316
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39317
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39318
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39319
+
39320
+
39321
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39322
+ Processing by WelcomeController#logged_in_page as HTML
39323
+ Completed 401 Unauthorized in 0ms
39324
+  (0.1ms) SAVEPOINT active_record_1
39325
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39326
+ Binary data inserted for `string` type on column `encrypted_password`
39327
+ 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, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$j7G8HOE1LcausKn0L.1x0O8knedvfc/j3wTlrfhO7QLLVyuHiepqC"], ["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, 19 Jun 2012 13:20:15 UTC +00:00]]
39328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39329
+  (0.0ms) SAVEPOINT active_record_1
39330
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39332
+  (0.0ms) SAVEPOINT active_record_1
39333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39334
+  (0.0ms) SAVEPOINT active_record_1
39335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39336
+
39337
+
39338
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39339
+ Processing by Contour::SessionsController#create as HTML
39340
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
39341
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39342
+  (0.0ms) SAVEPOINT active_record_1
39343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39344
+ Completed 401 Unauthorized in 4ms
39345
+
39346
+
39347
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39348
+ Processing by Contour::SessionsController#new as HTML
39349
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
39350
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
39351
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
39352
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
39353
+ Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)
39354
+  (0.8ms) rollback transaction
39355
+  (0.1ms) begin transaction
39356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39357
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39358
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39359
+
39360
+
39361
+ Started GET "/" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39362
+ Processing by WelcomeController#index as HTML
39363
+ Completed 401 Unauthorized in 1ms
39364
+  (0.1ms) rollback transaction
39365
+  (0.0ms) begin transaction
39366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39367
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39368
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39369
+
39370
+
39371
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39372
+ Processing by WelcomeController#logged_in_page as JSON
39373
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39374
+  (0.1ms) SAVEPOINT active_record_1
39375
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:20:15.547935', "current_sign_in_at" = '2012-06-19 13:20:15.547935', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:20:15.548628' WHERE "users"."id" = 201799169
39376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39377
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
39378
+  (0.7ms) rollback transaction
39379
+  (0.1ms) begin transaction
39380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39381
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39382
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39383
+
39384
+
39385
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
39386
+ Processing by WelcomeController#logged_in_page as JSON
39387
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39388
+ Completed 401 Unauthorized in 78ms
39389
+  (0.1ms) rollback transaction
39390
+  (0.1ms) begin transaction
39391
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39392
+  (0.1ms) rollback transaction
39393
+  (0.1ms) begin transaction
39394
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39395
+  (0.0ms) rollback transaction
39396
+ Connecting to database specified by database.yml
39397
+  (0.1ms) begin transaction
39398
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
39399
+ 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-06-19 13:44:28', '2012-06-19 13:44:28', 949717663, 201799169)
39400
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 876923740, 201799169)
39401
+ 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-06-19 13:44:28', '2012-06-19 13:44:28', 864673665, 201799169)
39402
+ Fixture Delete (0.1ms) DELETE FROM "users"
39403
+ 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-06-19 13:44:28', '2012-06-19 13:44:28', 201799169)
39404
+ 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-06-19 13:44:28', '2012-06-19 13:44:28', 999914115)
39405
+ 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-06-19 13:44:28', '2012-06-19 13:44:28', 725306934)
39406
+ 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-06-19 13:44:28', '2012-06-19 13:44:28', 349534908)
39407
+  (1.7ms) commit transaction
39408
+  (0.0ms) begin transaction
39409
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
39410
+  (0.1ms) rollback transaction
39411
+  (0.1ms) begin transaction
39412
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39413
+  (0.0ms) rollback transaction
39414
+  (0.0ms) begin transaction
39415
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39416
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39417
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39418
+ Processing by Contour::AuthenticationsController#create as HTML
39419
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:44:28 UTC", "updated_at"=>"2012-06-19 13:44:28 UTC"}}
39420
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
39421
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39422
+ Logged in user found, creating associated authentication.
39423
+  (0.1ms) SAVEPOINT active_record_1
39424
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["user_id", 201799169]]
39425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39426
+ Redirected to http://test.host/authentications
39427
+ Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
39428
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39429
+  (0.6ms) rollback transaction
39430
+  (0.0ms) begin transaction
39431
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39432
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39433
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39434
+ Processing by Contour::AuthenticationsController#destroy as HTML
39435
+ Parameters: {"id"=>"949717663"}
39436
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39437
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
39438
+  (0.0ms) SAVEPOINT active_record_1
39439
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
39440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39441
+ Redirected to http://test.host/authentications
39442
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
39443
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39444
+  (0.6ms) rollback transaction
39445
+  (0.0ms) begin transaction
39446
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39447
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39448
+ Processing by Contour::AuthenticationsController#index as HTML
39449
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39450
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
39451
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
39452
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
39453
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
39454
+ Completed 200 OK in 69ms (Views: 67.6ms | ActiveRecord: 0.3ms)
39455
+  (0.1ms) rollback transaction
39456
+  (0.1ms) begin transaction
39457
+ Processing by Contour::PasswordsController#create as HTML
39458
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
39459
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39460
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XHWR8aMF5x523wqbrKcu' LIMIT 1
39461
+  (0.0ms) SAVEPOINT active_record_1
39462
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'XHWR8aMF5x523wqbrKcu', "reset_password_sent_at" = '2012-06-19 13:44:28.636741', "updated_at" = '2012-06-19 13:44:28.637562' WHERE "users"."id" = 201799169
39463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39464
+
39465
+ Sent mail to valid@example.com (18ms)
39466
+ Date: Tue, 19 Jun 2012 09:44:28 -0400
39467
+ From: please-change-me-at-config-initializers-devise@example.com
39468
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
39469
+ To: valid@example.com
39470
+ Message-ID: <4fe0823cb8987_12ad83fdfa8434cd05388c@edge.mail>
39471
+ Subject: Reset password instructions
39472
+ Mime-Version: 1.0
39473
+ Content-Type: text/html;
39474
+ charset=UTF-8
39475
+ Content-Transfer-Encoding: 7bit
39476
+
39477
+ <p>Hello valid@example.com!</p>
39478
+
39479
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
39480
+
39481
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=XHWR8aMF5x523wqbrKcu">Change my password</a></p>
39482
+
39483
+ <p>If you didn't request this, please ignore this email.</p>
39484
+ <p>Your password won't change until you access the link above and create a new one.</p>
39485
+
39486
+ Redirected to http://test.host/users/login
39487
+ Completed 302 Found in 178ms (ActiveRecord: 0.0ms)
39488
+  (0.8ms) rollback transaction
39489
+  (0.0ms) begin transaction
39490
+ Processing by Contour::PasswordsController#new as HTML
39491
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
39492
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
39493
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
39494
+ Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
39495
+  (0.1ms) rollback transaction
39496
+  (0.1ms) begin transaction
39497
+  (0.0ms) rollback transaction
39498
+  (0.0ms) begin transaction
39499
+  (0.0ms) rollback transaction
39500
+  (0.0ms) begin transaction
39501
+  (0.0ms) rollback transaction
39502
+  (0.0ms) begin transaction
39503
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39504
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39505
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39506
+
39507
+
39508
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39509
+ Processing by WelcomeController#logged_in_page as HTML
39510
+ Completed 401 Unauthorized in 1ms
39511
+  (0.1ms) SAVEPOINT active_record_1
39512
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
39513
+ Binary data inserted for `string` type on column `encrypted_password`
39514
+ 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, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$J0GWcvXLWqlAqK0tdykzm.FuVgfuqyTxM6I4lK7wPRiD6kKmXVLWu"], ["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, 19 Jun 2012 13:44:28 UTC +00:00]]
39515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39516
+  (0.0ms) SAVEPOINT active_record_1
39517
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39519
+  (0.0ms) SAVEPOINT active_record_1
39520
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:44:28.878562' WHERE "users"."id" = 999914116
39521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39522
+  (0.0ms) SAVEPOINT active_record_1
39523
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:44:28.879737' WHERE "users"."id" = 999914116
39524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39525
+
39526
+
39527
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39528
+ Processing by Contour::SessionsController#create as HTML
39529
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
39530
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
39531
+  (0.1ms) SAVEPOINT active_record_1
39532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39533
+ Completed 401 Unauthorized in 34ms
39534
+
39535
+
39536
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39537
+ Processing by Contour::SessionsController#new as HTML
39538
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
39539
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
39540
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
39541
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
39542
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
39543
+  (0.8ms) rollback transaction
39544
+  (0.0ms) begin transaction
39545
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39546
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39547
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39548
+
39549
+
39550
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39551
+ Processing by WelcomeController#logged_in_page as HTML
39552
+ Completed 401 Unauthorized in 0ms
39553
+  (0.1ms) SAVEPOINT active_record_1
39554
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39555
+ Binary data inserted for `string` type on column `encrypted_password`
39556
+ 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, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$kTcCaIooAClNu3zkkqB10.x51zI6OX5GsGlwP4fffvfWRD5SRLfA6"], ["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, 19 Jun 2012 13:44:28 UTC +00:00]]
39557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39558
+  (0.0ms) SAVEPOINT active_record_1
39559
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39561
+  (0.0ms) SAVEPOINT active_record_1
39562
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:44:28.956879' WHERE "users"."id" = 999914116
39563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39564
+  (0.0ms) SAVEPOINT active_record_1
39565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39566
+
39567
+
39568
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39569
+ Processing by Contour::SessionsController#create as HTML
39570
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
39571
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39572
+  (0.0ms) SAVEPOINT active_record_1
39573
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:44:28.965425', "current_sign_in_at" = '2012-06-19 13:44:28.965425', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:44:28.965979' WHERE "users"."id" = 999914116
39574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39575
+ Redirected to http://www.example.com/logged_in_page
39576
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
39577
+
39578
+
39579
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39580
+ Processing by WelcomeController#logged_in_page as HTML
39581
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
39582
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
39583
+  (0.7ms) rollback transaction
39584
+  (0.0ms) begin transaction
39585
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39588
+
39589
+
39590
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39591
+ Processing by WelcomeController#logged_in_page as HTML
39592
+ Completed 401 Unauthorized in 0ms
39593
+  (0.1ms) SAVEPOINT active_record_1
39594
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39595
+ Binary data inserted for `string` type on column `encrypted_password`
39596
+ 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, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GdlnXDO.u2ecB/yIg7.U4uKjKNjmC3eUKml8vHyWJnAovjPr3Cd.K"], ["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, 19 Jun 2012 13:44:28 UTC +00:00]]
39597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39598
+  (0.0ms) SAVEPOINT active_record_1
39599
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39601
+  (0.1ms) SAVEPOINT active_record_1
39602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39603
+  (0.0ms) SAVEPOINT active_record_1
39604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39605
+
39606
+
39607
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
39608
+ Processing by Contour::SessionsController#create as HTML
39609
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
39610
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39611
+  (0.1ms) SAVEPOINT active_record_1
39612
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39613
+ Completed 401 Unauthorized in 4ms
39614
+
39615
+
39616
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
39617
+ Processing by Contour::SessionsController#new as HTML
39618
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
39619
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
39620
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
39621
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
39622
+ Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)
39623
+  (0.8ms) rollback transaction
39624
+  (0.1ms) begin transaction
39625
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39627
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39628
+
39629
+
39630
+ Started GET "/" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
39631
+ Processing by WelcomeController#index as HTML
39632
+ Completed 401 Unauthorized in 1ms
39633
+  (0.1ms) rollback transaction
39634
+  (0.0ms) begin transaction
39635
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39636
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39637
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39638
+
39639
+
39640
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
39641
+ Processing by WelcomeController#logged_in_page as JSON
39642
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39643
+  (0.1ms) SAVEPOINT active_record_1
39644
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:44:29.113881', "current_sign_in_at" = '2012-06-19 13:44:29.113881', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:44:29.114553' WHERE "users"."id" = 201799169
39645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39646
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
39647
+  (0.7ms) rollback transaction
39648
+  (0.0ms) begin transaction
39649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39650
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39651
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39652
+
39653
+
39654
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
39655
+ Processing by WelcomeController#logged_in_page as JSON
39656
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39657
+ Completed 401 Unauthorized in 78ms
39658
+  (0.1ms) rollback transaction
39659
+  (0.1ms) begin transaction
39660
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39661
+  (0.1ms) rollback transaction
39662
+  (0.1ms) begin transaction
39663
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39664
+  (0.0ms) rollback transaction
39665
+ Connecting to database specified by database.yml
39666
+  (0.1ms) begin transaction
39667
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
39668
+ 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-06-19 13:45:48', '2012-06-19 13:45:48', 949717663, 201799169)
39669
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 876923740, 201799169)
39670
+ 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-06-19 13:45:48', '2012-06-19 13:45:48', 864673665, 201799169)
39671
+ Fixture Delete (0.1ms) DELETE FROM "users"
39672
+ 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-06-19 13:45:48', '2012-06-19 13:45:48', 201799169)
39673
+ 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-06-19 13:45:48', '2012-06-19 13:45:48', 999914115)
39674
+ 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-06-19 13:45:48', '2012-06-19 13:45:48', 725306934)
39675
+ 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-06-19 13:45:48', '2012-06-19 13:45:48', 349534908)
39676
+  (2.5ms) commit transaction
39677
+  (0.0ms) begin transaction
39678
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
39679
+  (0.1ms) rollback transaction
39680
+  (0.1ms) begin transaction
39681
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39682
+  (0.1ms) rollback transaction
39683
+  (0.1ms) begin transaction
39684
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39685
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39686
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39687
+ Processing by Contour::AuthenticationsController#create as HTML
39688
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:45:48 UTC", "updated_at"=>"2012-06-19 13:45:48 UTC"}}
39689
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
39690
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39691
+ Logged in user found, creating associated authentication.
39692
+  (0.1ms) SAVEPOINT active_record_1
39693
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["user_id", 201799169]]
39694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39695
+ Redirected to http://test.host/authentications
39696
+ Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
39697
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39698
+  (0.7ms) rollback transaction
39699
+  (0.1ms) begin transaction
39700
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39701
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39702
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39703
+ Processing by Contour::AuthenticationsController#destroy as HTML
39704
+ Parameters: {"id"=>"949717663"}
39705
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39706
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
39707
+  (0.0ms) SAVEPOINT active_record_1
39708
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
39709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39710
+ Redirected to http://test.host/authentications
39711
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
39712
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39713
+  (0.8ms) rollback transaction
39714
+  (0.0ms) begin transaction
39715
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39716
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39717
+ Processing by Contour::AuthenticationsController#index as HTML
39718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39719
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
39720
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
39721
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
39722
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
39723
+ Completed 200 OK in 54ms (Views: 52.0ms | ActiveRecord: 0.4ms)
39724
+  (0.1ms) rollback transaction
39725
+  (0.0ms) begin transaction
39726
+ Processing by Contour::PasswordsController#create as HTML
39727
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
39728
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39729
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'knzaTYJqiFhNnFncLEc7' LIMIT 1
39730
+  (0.0ms) SAVEPOINT active_record_1
39731
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'knzaTYJqiFhNnFncLEc7', "reset_password_sent_at" = '2012-06-19 13:45:48.282135', "updated_at" = '2012-06-19 13:45:48.282849' WHERE "users"."id" = 201799169
39732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39733
+
39734
+ Sent mail to valid@example.com (17ms)
39735
+ Date: Tue, 19 Jun 2012 09:45:48 -0400
39736
+ From: please-change-me-at-config-initializers-devise@example.com
39737
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
39738
+ To: valid@example.com
39739
+ Message-ID: <4fe0828c57758_12aed3fe380834cdc98794@edge.mail>
39740
+ Subject: Reset password instructions
39741
+ Mime-Version: 1.0
39742
+ Content-Type: text/html;
39743
+ charset=UTF-8
39744
+ Content-Transfer-Encoding: 7bit
39745
+
39746
+ <p>Hello valid@example.com!</p>
39747
+
39748
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
39749
+
39750
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=knzaTYJqiFhNnFncLEc7">Change my password</a></p>
39751
+
39752
+ <p>If you didn't request this, please ignore this email.</p>
39753
+ <p>Your password won't change until you access the link above and create a new one.</p>
39754
+
39755
+ Redirected to http://test.host/users/login
39756
+ Completed 302 Found in 123ms (ActiveRecord: 0.0ms)
39757
+  (6.5ms) rollback transaction
39758
+  (0.1ms) begin transaction
39759
+ Processing by Contour::PasswordsController#new as HTML
39760
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
39761
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
39762
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
39763
+ Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
39764
+  (0.1ms) rollback transaction
39765
+  (0.1ms) begin transaction
39766
+  (0.0ms) rollback transaction
39767
+  (0.0ms) begin transaction
39768
+  (0.0ms) rollback transaction
39769
+  (0.0ms) begin transaction
39770
+  (0.0ms) rollback transaction
39771
+  (0.0ms) begin transaction
39772
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39773
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39774
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39775
+
39776
+
39777
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39778
+ Processing by WelcomeController#logged_in_page as HTML
39779
+ Completed 401 Unauthorized in 1ms
39780
+  (0.1ms) SAVEPOINT active_record_1
39781
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
39782
+ Binary data inserted for `string` type on column `encrypted_password`
39783
+ 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, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$R.rF3Q1NOwMCF1RbCgrYxuGdcfV6gtBEd7wzwexT8wTD1yewFscsu"], ["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, 19 Jun 2012 13:45:48 UTC +00:00]]
39784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39785
+  (0.0ms) SAVEPOINT active_record_1
39786
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39788
+  (0.0ms) SAVEPOINT active_record_1
39789
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:45:48.470380' WHERE "users"."id" = 999914116
39790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39791
+  (0.0ms) SAVEPOINT active_record_1
39792
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:45:48.471575' WHERE "users"."id" = 999914116
39793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39794
+
39795
+
39796
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39797
+ Processing by Contour::SessionsController#create as HTML
39798
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
39799
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
39800
+  (0.1ms) SAVEPOINT active_record_1
39801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39802
+ Completed 401 Unauthorized in 33ms
39803
+
39804
+
39805
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39806
+ Processing by Contour::SessionsController#new as HTML
39807
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
39808
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
39809
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
39810
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
39811
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
39812
+  (23.9ms) rollback transaction
39813
+  (0.1ms) begin transaction
39814
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39815
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39816
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39817
+
39818
+
39819
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39820
+ Processing by WelcomeController#logged_in_page as HTML
39821
+ Completed 401 Unauthorized in 0ms
39822
+  (0.1ms) SAVEPOINT active_record_1
39823
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39824
+ Binary data inserted for `string` type on column `encrypted_password`
39825
+ 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, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$JZac.eRdBwuO9uBk9.VQh.t0Zod4t7FdqfoUe5KDV6h7HIXYJWCxG"], ["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, 19 Jun 2012 13:45:48 UTC +00:00]]
39826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39827
+  (0.0ms) SAVEPOINT active_record_1
39828
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39830
+  (0.0ms) SAVEPOINT active_record_1
39831
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:45:48.575808' WHERE "users"."id" = 999914116
39832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39833
+  (0.0ms) SAVEPOINT active_record_1
39834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39835
+
39836
+
39837
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39838
+ Processing by Contour::SessionsController#create as HTML
39839
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
39840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
39841
+  (0.0ms) SAVEPOINT active_record_1
39842
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:45:48.584570', "current_sign_in_at" = '2012-06-19 13:45:48.584570', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:45:48.585040' WHERE "users"."id" = 999914116
39843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39844
+ Redirected to http://www.example.com/logged_in_page
39845
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
39846
+
39847
+
39848
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39849
+ Processing by WelcomeController#logged_in_page as HTML
39850
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
39851
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
39852
+  (0.7ms) rollback transaction
39853
+  (0.1ms) begin transaction
39854
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39855
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39856
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39857
+
39858
+
39859
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39860
+ Processing by WelcomeController#logged_in_page as HTML
39861
+ Completed 401 Unauthorized in 0ms
39862
+  (0.1ms) SAVEPOINT active_record_1
39863
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39864
+ Binary data inserted for `string` type on column `encrypted_password`
39865
+ 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", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$kh40AJYh7JujZUlgX02QbOj7FNEOu/XOOWPCDJtdL7jkzVEGFbGkW"], ["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, 19 Jun 2012 13:45:48 UTC +00:00]]
39866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39867
+  (0.0ms) SAVEPOINT active_record_1
39868
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
39869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39870
+  (0.0ms) SAVEPOINT active_record_1
39871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39872
+  (0.0ms) SAVEPOINT active_record_1
39873
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39874
+
39875
+
39876
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39877
+ Processing by Contour::SessionsController#create as HTML
39878
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
39879
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
39880
+  (0.0ms) SAVEPOINT active_record_1
39881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39882
+ Completed 401 Unauthorized in 4ms
39883
+
39884
+
39885
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39886
+ Processing by Contour::SessionsController#new as HTML
39887
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
39888
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms)
39889
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
39890
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
39891
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
39892
+  (0.8ms) rollback transaction
39893
+  (0.0ms) begin transaction
39894
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39895
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39896
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39897
+
39898
+
39899
+ Started GET "/" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39900
+ Processing by WelcomeController#index as HTML
39901
+ Completed 401 Unauthorized in 0ms
39902
+  (0.1ms) rollback transaction
39903
+  (0.0ms) begin transaction
39904
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39905
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39906
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39907
+
39908
+
39909
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39910
+ Processing by WelcomeController#logged_in_page as JSON
39911
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39912
+  (0.1ms) SAVEPOINT active_record_1
39913
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:45:48.734610', "current_sign_in_at" = '2012-06-19 13:45:48.734610', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:45:48.735287' WHERE "users"."id" = 201799169
39914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39915
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
39916
+  (0.7ms) rollback transaction
39917
+  (0.1ms) begin transaction
39918
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39919
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
39920
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
39921
+
39922
+
39923
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
39924
+ Processing by WelcomeController#logged_in_page as JSON
39925
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39926
+ Completed 401 Unauthorized in 78ms
39927
+  (0.1ms) rollback transaction
39928
+  (0.1ms) begin transaction
39929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39930
+  (0.1ms) rollback transaction
39931
+  (0.0ms) begin transaction
39932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39933
+  (0.0ms) rollback transaction
39934
+ Connecting to database specified by database.yml
39935
+  (0.1ms) begin transaction
39936
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
39937
+ Fixture Insert (0.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 949717663, 201799169)
39938
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 876923740, 201799169)
39939
+ 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-06-19 14:59:23', '2012-06-19 14:59:23', 864673665, 201799169)
39940
+ Fixture Delete (0.2ms) DELETE FROM "users"
39941
+ 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-06-19 14:59:23', '2012-06-19 14:59:23', 201799169)
39942
+ 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-06-19 14:59:23', '2012-06-19 14:59:23', 999914115)
39943
+ 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-06-19 14:59:23', '2012-06-19 14:59:23', 725306934)
39944
+ 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-06-19 14:59:23', '2012-06-19 14:59:23', 349534908)
39945
+  (1.2ms) commit transaction
39946
+  (0.0ms) begin transaction
39947
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
39948
+  (0.1ms) rollback transaction
39949
+  (0.1ms) begin transaction
39950
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39951
+  (0.0ms) rollback transaction
39952
+  (0.0ms) begin transaction
39953
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39954
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39955
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39956
+ Processing by Contour::AuthenticationsController#create as HTML
39957
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 14:59:23 UTC", "updated_at"=>"2012-06-19 14:59:23 UTC"}}
39958
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
39959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39960
+ Logged in user found, creating associated authentication.
39961
+  (0.1ms) SAVEPOINT active_record_1
39962
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["user_id", 201799169]]
39963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39964
+ Redirected to http://test.host/authentications
39965
+ Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
39966
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
39967
+  (0.7ms) rollback transaction
39968
+  (0.1ms) begin transaction
39969
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39970
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39971
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39972
+ Processing by Contour::AuthenticationsController#destroy as HTML
39973
+ Parameters: {"id"=>"949717663"}
39974
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39975
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
39976
+  (0.0ms) SAVEPOINT active_record_1
39977
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
39978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39979
+ Redirected to http://test.host/authentications
39980
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
39981
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
39982
+  (0.7ms) rollback transaction
39983
+  (0.1ms) begin transaction
39984
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
39985
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
39986
+ Processing by Contour::AuthenticationsController#index as HTML
39987
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
39988
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
39989
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
39990
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
39991
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
39992
+ Completed 200 OK in 56ms (Views: 54.7ms | ActiveRecord: 0.3ms)
39993
+  (0.1ms) rollback transaction
39994
+  (0.1ms) begin transaction
39995
+ Processing by Contour::PasswordsController#create as HTML
39996
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
39997
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
39998
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'o3KY9oCLCgsJyQVZAuzk' LIMIT 1
39999
+  (0.0ms) SAVEPOINT active_record_1
40000
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'o3KY9oCLCgsJyQVZAuzk', "reset_password_sent_at" = '2012-06-19 14:59:23.679154', "updated_at" = '2012-06-19 14:59:23.679893' WHERE "users"."id" = 201799169
40001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40002
+
40003
+ Sent mail to valid@example.com (18ms)
40004
+ Date: Tue, 19 Jun 2012 10:59:23 -0400
40005
+ From: please-change-me-at-config-initializers-devise@example.com
40006
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
40007
+ To: valid@example.com
40008
+ Message-ID: <4fe093cbc4ed9_12ef13ff31e034cdc26638@edge.mail>
40009
+ Subject: Reset password instructions
40010
+ Mime-Version: 1.0
40011
+ Content-Type: text/html;
40012
+ charset=UTF-8
40013
+ Content-Transfer-Encoding: 7bit
40014
+
40015
+ <p>Hello valid@example.com!</p>
40016
+
40017
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
40018
+
40019
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=o3KY9oCLCgsJyQVZAuzk">Change my password</a></p>
40020
+
40021
+ <p>If you didn't request this, please ignore this email.</p>
40022
+ <p>Your password won't change until you access the link above and create a new one.</p>
40023
+
40024
+ Redirected to http://test.host/users/login
40025
+ Completed 302 Found in 174ms (ActiveRecord: 0.0ms)
40026
+  (0.8ms) rollback transaction
40027
+  (0.0ms) begin transaction
40028
+ Processing by Contour::PasswordsController#new as HTML
40029
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
40030
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
40031
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms)
40032
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
40033
+  (0.1ms) rollback transaction
40034
+  (0.0ms) begin transaction
40035
+  (0.0ms) rollback transaction
40036
+  (0.0ms) begin transaction
40037
+  (0.0ms) rollback transaction
40038
+  (0.0ms) begin transaction
40039
+  (0.1ms) rollback transaction
40040
+  (0.1ms) begin transaction
40041
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40042
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40043
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40044
+
40045
+
40046
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:23 -0400
40047
+ Processing by WelcomeController#logged_in_page as HTML
40048
+ Completed 401 Unauthorized in 1ms
40049
+  (0.1ms) SAVEPOINT active_record_1
40050
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40051
+ Binary data inserted for `string` type on column `encrypted_password`
40052
+ 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, 19 Jun 2012 14:59:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$YFfLpxLH7alaOWZ/uGxdMOPtgpWnrOUCNZaWdLz7oZDvZv1GNG3x6"], ["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, 19 Jun 2012 14:59:23 UTC +00:00]]
40053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40054
+  (0.0ms) SAVEPOINT active_record_1
40055
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40057
+  (0.0ms) SAVEPOINT active_record_1
40058
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 14:59:23.936801' WHERE "users"."id" = 999914116
40059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40060
+  (0.0ms) SAVEPOINT active_record_1
40061
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 14:59:23.938174' WHERE "users"."id" = 999914116
40062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40063
+
40064
+
40065
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:23 -0400
40066
+ Processing by Contour::SessionsController#create as HTML
40067
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
40068
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40069
+  (0.1ms) SAVEPOINT active_record_1
40070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40071
+ Completed 401 Unauthorized in 32ms
40072
+
40073
+
40074
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 10:59:23 -0400
40075
+ Processing by Contour::SessionsController#new as HTML
40076
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
40077
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
40078
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
40079
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
40080
+ Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
40081
+  (0.8ms) rollback transaction
40082
+  (0.1ms) begin transaction
40083
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40084
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40085
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40086
+
40087
+
40088
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40089
+ Processing by WelcomeController#logged_in_page as HTML
40090
+ Completed 401 Unauthorized in 0ms
40091
+  (0.1ms) SAVEPOINT active_record_1
40092
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40093
+ Binary data inserted for `string` type on column `encrypted_password`
40094
+ 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, 19 Jun 2012 14:59:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$YwWjlnAGvfOMmV2fQ31X3OASh3/hm2Qt52dAtVDR1YuHnUKDk7whu"], ["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, 19 Jun 2012 14:59:24 UTC +00:00]]
40095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40096
+  (0.0ms) SAVEPOINT active_record_1
40097
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40099
+  (0.0ms) SAVEPOINT active_record_1
40100
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 14:59:24.016127' WHERE "users"."id" = 999914116
40101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40102
+  (0.0ms) SAVEPOINT active_record_1
40103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40104
+
40105
+
40106
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40107
+ Processing by Contour::SessionsController#create as HTML
40108
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
40109
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40110
+  (0.0ms) SAVEPOINT active_record_1
40111
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 14:59:24.025033', "current_sign_in_at" = '2012-06-19 14:59:24.025033', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 14:59:24.025555' WHERE "users"."id" = 999914116
40112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40113
+ Redirected to http://www.example.com/logged_in_page
40114
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
40115
+
40116
+
40117
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40118
+ Processing by WelcomeController#logged_in_page as HTML
40119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
40120
+ Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.1ms)
40121
+  (0.8ms) rollback transaction
40122
+  (0.1ms) begin transaction
40123
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40124
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40125
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40126
+
40127
+
40128
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40129
+ Processing by WelcomeController#logged_in_page as HTML
40130
+ Completed 401 Unauthorized in 0ms
40131
+  (0.1ms) SAVEPOINT active_record_1
40132
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40133
+ Binary data inserted for `string` type on column `encrypted_password`
40134
+ 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, 19 Jun 2012 14:59:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$t0Kb.JNkJ2JbX3GOvDrI5umkIElqoAeuwcWZMUFG8SnqYdLhZzXLC"], ["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, 19 Jun 2012 14:59:24 UTC +00:00]]
40135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40136
+  (0.0ms) SAVEPOINT active_record_1
40137
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40139
+  (0.0ms) SAVEPOINT active_record_1
40140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40141
+  (0.0ms) SAVEPOINT active_record_1
40142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40143
+
40144
+
40145
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40146
+ Processing by Contour::SessionsController#create as HTML
40147
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
40148
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40149
+  (0.0ms) SAVEPOINT active_record_1
40150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40151
+ Completed 401 Unauthorized in 4ms
40152
+
40153
+
40154
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40155
+ Processing by Contour::SessionsController#new as HTML
40156
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
40157
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
40158
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
40159
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
40160
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
40161
+  (0.6ms) rollback transaction
40162
+  (0.1ms) begin transaction
40163
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40164
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40165
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40166
+
40167
+
40168
+ Started GET "/" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40169
+ Processing by WelcomeController#index as HTML
40170
+ Completed 401 Unauthorized in 0ms
40171
+  (0.1ms) rollback transaction
40172
+  (0.1ms) begin transaction
40173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40174
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40175
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40176
+
40177
+
40178
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40179
+ Processing by WelcomeController#logged_in_page as JSON
40180
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40181
+  (0.1ms) SAVEPOINT active_record_1
40182
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 14:59:24.187843', "current_sign_in_at" = '2012-06-19 14:59:24.187843', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 14:59:24.188530' WHERE "users"."id" = 201799169
40183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40184
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
40185
+  (0.7ms) rollback transaction
40186
+  (0.0ms) begin transaction
40187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40188
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40189
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40190
+
40191
+
40192
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
40193
+ Processing by WelcomeController#logged_in_page as JSON
40194
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40195
+ Completed 401 Unauthorized in 79ms
40196
+  (0.1ms) rollback transaction
40197
+  (0.0ms) begin transaction
40198
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40199
+  (0.1ms) rollback transaction
40200
+  (0.1ms) begin transaction
40201
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40202
+  (0.0ms) rollback transaction
40203
+ Connecting to database specified by database.yml
40204
+  (0.1ms) begin transaction
40205
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
40206
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 949717663, 201799169)
40207
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 876923740, 201799169)
40208
+ 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-06-19 17:00:47', '2012-06-19 17:00:47', 864673665, 201799169)
40209
+ Fixture Delete (0.1ms) DELETE FROM "users"
40210
+ 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-06-19 17:00:47', '2012-06-19 17:00:47', 201799169)
40211
+ 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-06-19 17:00:47', '2012-06-19 17:00:47', 999914115)
40212
+ 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-06-19 17:00:47', '2012-06-19 17:00:47', 725306934)
40213
+ 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-06-19 17:00:47', '2012-06-19 17:00:47', 349534908)
40214
+  (2.0ms) commit transaction
40215
+  (0.0ms) begin transaction
40216
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
40217
+  (0.1ms) rollback transaction
40218
+  (0.1ms) begin transaction
40219
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40220
+  (0.1ms) rollback transaction
40221
+  (0.1ms) begin transaction
40222
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40223
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40224
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
40225
+ Processing by Contour::AuthenticationsController#create as HTML
40226
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 17:00:47 UTC", "updated_at"=>"2012-06-19 17:00:47 UTC"}}
40227
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
40228
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40229
+ Logged in user found, creating associated authentication.
40230
+  (0.1ms) SAVEPOINT active_record_1
40231
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 17:00:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 17:00:47 UTC +00:00], ["user_id", 201799169]]
40232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40233
+ Redirected to http://test.host/authentications
40234
+ Completed 302 Found in 48ms (ActiveRecord: 0.9ms)
40235
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
40236
+  (0.7ms) rollback transaction
40237
+  (0.0ms) begin transaction
40238
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40239
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40240
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
40241
+ Processing by Contour::AuthenticationsController#destroy as HTML
40242
+ Parameters: {"id"=>"949717663"}
40243
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40244
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
40245
+  (0.0ms) SAVEPOINT active_record_1
40246
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
40247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40248
+ Redirected to http://test.host/authentications
40249
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
40250
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
40251
+  (0.8ms) rollback transaction
40252
+  (0.0ms) begin transaction
40253
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40254
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40255
+ Processing by Contour::AuthenticationsController#index as HTML
40256
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40257
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
40258
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
40259
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
40260
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
40261
+ Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.3ms)
40262
+  (0.1ms) rollback transaction
40263
+  (0.0ms) begin transaction
40264
+ Processing by Contour::PasswordsController#create as HTML
40265
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
40266
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40267
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'oVXqGkcbyGjPV3pwPKt5' LIMIT 1
40268
+  (0.0ms) SAVEPOINT active_record_1
40269
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'oVXqGkcbyGjPV3pwPKt5', "reset_password_sent_at" = '2012-06-19 17:00:47.898448', "updated_at" = '2012-06-19 17:00:47.899252' WHERE "users"."id" = 201799169
40270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40271
+
40272
+ Sent mail to valid@example.com (54ms)
40273
+ Date: Tue, 19 Jun 2012 13:00:48 -0400
40274
+ From: please-change-me-at-config-initializers-devise@example.com
40275
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
40276
+ To: valid@example.com
40277
+ Message-ID: <4fe0b04018498_13a173fcdc1834cd4956a9@edge.mail>
40278
+ Subject: Reset password instructions
40279
+ Mime-Version: 1.0
40280
+ Content-Type: text/html;
40281
+ charset=UTF-8
40282
+ Content-Transfer-Encoding: 7bit
40283
+
40284
+ <p>Hello valid@example.com!</p>
40285
+
40286
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
40287
+
40288
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=oVXqGkcbyGjPV3pwPKt5">Change my password</a></p>
40289
+
40290
+ <p>If you didn't request this, please ignore this email.</p>
40291
+ <p>Your password won't change until you access the link above and create a new one.</p>
40292
+
40293
+ Redirected to http://test.host/users/login
40294
+ Completed 302 Found in 258ms (ActiveRecord: 0.0ms)
40295
+  (0.8ms) rollback transaction
40296
+  (0.1ms) begin transaction
40297
+ Processing by Contour::PasswordsController#new as HTML
40298
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
40299
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
40300
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
40301
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
40302
+  (0.1ms) rollback transaction
40303
+  (0.1ms) begin transaction
40304
+  (0.0ms) rollback transaction
40305
+  (0.1ms) begin transaction
40306
+  (0.1ms) rollback transaction
40307
+  (0.1ms) begin transaction
40308
+  (0.0ms) rollback transaction
40309
+  (0.1ms) begin transaction
40310
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40311
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40312
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40313
+
40314
+
40315
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40316
+ Processing by WelcomeController#logged_in_page as HTML
40317
+ Completed 401 Unauthorized in 1ms
40318
+  (0.1ms) SAVEPOINT active_record_1
40319
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40320
+ Binary data inserted for `string` type on column `encrypted_password`
40321
+ 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, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$dpKCEQwlYx1JBwwD738Iku74yiuf9fZyUsuH/57iEXKTCbNc55AyO"], ["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, 19 Jun 2012 17:00:48 UTC +00:00]]
40322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40323
+  (0.0ms) SAVEPOINT active_record_1
40324
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40326
+  (0.0ms) SAVEPOINT active_record_1
40327
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 17:00:48.278743' WHERE "users"."id" = 999914116
40328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40329
+  (0.0ms) SAVEPOINT active_record_1
40330
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 17:00:48.280004' WHERE "users"."id" = 999914116
40331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40332
+
40333
+
40334
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40335
+ Processing by Contour::SessionsController#create as HTML
40336
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
40337
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40338
+  (0.1ms) SAVEPOINT active_record_1
40339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40340
+ Completed 401 Unauthorized in 32ms
40341
+
40342
+
40343
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40344
+ Processing by Contour::SessionsController#new as HTML
40345
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
40346
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
40347
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
40348
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
40349
+ Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)
40350
+  (0.8ms) rollback transaction
40351
+  (0.1ms) begin transaction
40352
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40353
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40354
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40355
+
40356
+
40357
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40358
+ Processing by WelcomeController#logged_in_page as HTML
40359
+ Completed 401 Unauthorized in 0ms
40360
+  (0.1ms) SAVEPOINT active_record_1
40361
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40362
+ Binary data inserted for `string` type on column `encrypted_password`
40363
+ 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, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nnBlRMq51Q4h0ZR8DunLWuayGAy91NtvTtXtYH0I.bnYn3ngJNVq2"], ["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, 19 Jun 2012 17:00:48 UTC +00:00]]
40364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40365
+  (0.0ms) SAVEPOINT active_record_1
40366
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40368
+  (0.0ms) SAVEPOINT active_record_1
40369
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 17:00:48.357182' WHERE "users"."id" = 999914116
40370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40371
+  (0.0ms) SAVEPOINT active_record_1
40372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40373
+
40374
+
40375
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40376
+ Processing by Contour::SessionsController#create as HTML
40377
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
40378
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40379
+  (0.0ms) SAVEPOINT active_record_1
40380
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 17:00:48.365740', "current_sign_in_at" = '2012-06-19 17:00:48.365740', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 17:00:48.366300' WHERE "users"."id" = 999914116
40381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40382
+ Redirected to http://www.example.com/logged_in_page
40383
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
40384
+
40385
+
40386
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40387
+ Processing by WelcomeController#logged_in_page as HTML
40388
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
40389
+ Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms)
40390
+  (0.8ms) rollback transaction
40391
+  (0.1ms) begin transaction
40392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40393
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40394
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40395
+
40396
+
40397
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40398
+ Processing by WelcomeController#logged_in_page as HTML
40399
+ Completed 401 Unauthorized in 0ms
40400
+  (0.1ms) SAVEPOINT active_record_1
40401
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40402
+ Binary data inserted for `string` type on column `encrypted_password`
40403
+ 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, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Dri3hV4GMZTkjR04fl7B5uofboutNzj83KE8ZcoCPWw5nCxNr5vUG"], ["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, 19 Jun 2012 17:00:48 UTC +00:00]]
40404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40405
+  (0.0ms) SAVEPOINT active_record_1
40406
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40408
+  (0.0ms) SAVEPOINT active_record_1
40409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40410
+  (0.0ms) SAVEPOINT active_record_1
40411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40412
+
40413
+
40414
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40415
+ Processing by Contour::SessionsController#create as HTML
40416
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
40417
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40418
+  (0.0ms) SAVEPOINT active_record_1
40419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40420
+ Completed 401 Unauthorized in 4ms
40421
+
40422
+
40423
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40424
+ Processing by Contour::SessionsController#new as HTML
40425
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
40426
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
40427
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (31.9ms)
40428
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (33.6ms)
40429
+ Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.0ms)
40430
+  (0.8ms) rollback transaction
40431
+  (0.0ms) begin transaction
40432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40433
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40434
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40435
+
40436
+
40437
+ Started GET "/" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40438
+ Processing by WelcomeController#index as HTML
40439
+ Completed 401 Unauthorized in 0ms
40440
+  (0.1ms) rollback transaction
40441
+  (0.0ms) begin transaction
40442
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40443
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40444
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40445
+
40446
+
40447
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40448
+ Processing by WelcomeController#logged_in_page as JSON
40449
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40450
+  (0.1ms) SAVEPOINT active_record_1
40451
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 17:00:48.553356', "current_sign_in_at" = '2012-06-19 17:00:48.553356', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 17:00:48.554036' WHERE "users"."id" = 201799169
40452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40453
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
40454
+  (0.7ms) rollback transaction
40455
+  (0.0ms) begin transaction
40456
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40457
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40458
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40459
+
40460
+
40461
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
40462
+ Processing by WelcomeController#logged_in_page as JSON
40463
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40464
+ Completed 401 Unauthorized in 78ms
40465
+  (0.1ms) rollback transaction
40466
+  (0.1ms) begin transaction
40467
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40468
+  (0.1ms) rollback transaction
40469
+  (0.0ms) begin transaction
40470
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40471
+  (0.0ms) rollback transaction
40472
+ Connecting to database specified by database.yml
40473
+  (0.1ms) begin transaction
40474
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
40475
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 949717663, 201799169)
40476
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 876923740, 201799169)
40477
+ 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-06-19 18:24:47', '2012-06-19 18:24:47', 864673665, 201799169)
40478
+ Fixture Delete (0.1ms) DELETE FROM "users"
40479
+ 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-06-19 18:24:47', '2012-06-19 18:24:47', 201799169)
40480
+ 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-06-19 18:24:47', '2012-06-19 18:24:47', 999914115)
40481
+ 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-06-19 18:24:47', '2012-06-19 18:24:47', 725306934)
40482
+ 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-06-19 18:24:47', '2012-06-19 18:24:47', 349534908)
40483
+  (1.7ms) commit transaction
40484
+  (0.0ms) begin transaction
40485
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
40486
+  (0.1ms) rollback transaction
40487
+  (0.1ms) begin transaction
40488
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40489
+  (0.1ms) rollback transaction
40490
+  (0.1ms) begin transaction
40491
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40492
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40493
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
40494
+ Processing by Contour::AuthenticationsController#create as HTML
40495
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 18:24:47 UTC", "updated_at"=>"2012-06-19 18:24:47 UTC"}}
40496
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
40497
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40498
+ Logged in user found, creating associated authentication.
40499
+  (0.1ms) SAVEPOINT active_record_1
40500
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["user_id", 201799169]]
40501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40502
+ Redirected to http://test.host/authentications
40503
+ Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
40504
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
40505
+  (0.6ms) rollback transaction
40506
+  (0.0ms) begin transaction
40507
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40508
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40509
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
40510
+ Processing by Contour::AuthenticationsController#destroy as HTML
40511
+ Parameters: {"id"=>"949717663"}
40512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40513
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
40514
+  (0.0ms) SAVEPOINT active_record_1
40515
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
40516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40517
+ Redirected to http://test.host/authentications
40518
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
40519
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
40520
+  (0.7ms) rollback transaction
40521
+  (0.0ms) begin transaction
40522
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40523
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40524
+ Processing by Contour::AuthenticationsController#index as HTML
40525
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40526
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
40527
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
40528
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
40529
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
40530
+ Completed 200 OK in 28ms (Views: 26.3ms | ActiveRecord: 0.4ms)
40531
+  (0.1ms) rollback transaction
40532
+  (0.1ms) begin transaction
40533
+ Processing by Contour::PasswordsController#create as HTML
40534
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
40535
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40536
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wzZ8JpzJY8TYAaCS2RW5' LIMIT 1
40537
+  (0.0ms) SAVEPOINT active_record_1
40538
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'wzZ8JpzJY8TYAaCS2RW5', "reset_password_sent_at" = '2012-06-19 18:24:47.644005', "updated_at" = '2012-06-19 18:24:47.644735' WHERE "users"."id" = 201799169
40539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40540
+
40541
+ Sent mail to valid@example.com (60ms)
40542
+ Date: Tue, 19 Jun 2012 14:24:47 -0400
40543
+ From: please-change-me-at-config-initializers-devise@example.com
40544
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
40545
+ To: valid@example.com
40546
+ Message-ID: <4fe0c3efbe2ea_13fae3fdfc5834cdc40824@edge.mail>
40547
+ Subject: Reset password instructions
40548
+ Mime-Version: 1.0
40549
+ Content-Type: text/html;
40550
+ charset=UTF-8
40551
+ Content-Transfer-Encoding: 7bit
40552
+
40553
+ <p>Hello valid@example.com!</p>
40554
+
40555
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
40556
+
40557
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=wzZ8JpzJY8TYAaCS2RW5">Change my password</a></p>
40558
+
40559
+ <p>If you didn't request this, please ignore this email.</p>
40560
+ <p>Your password won't change until you access the link above and create a new one.</p>
40561
+
40562
+ Redirected to http://test.host/users/login
40563
+ Completed 302 Found in 219ms (ActiveRecord: 0.0ms)
40564
+  (0.8ms) rollback transaction
40565
+  (0.0ms) begin transaction
40566
+ Processing by Contour::PasswordsController#new as HTML
40567
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
40568
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
40569
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
40570
+ Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
40571
+  (0.1ms) rollback transaction
40572
+  (0.1ms) begin transaction
40573
+  (0.0ms) rollback transaction
40574
+  (0.0ms) begin transaction
40575
+  (0.0ms) rollback transaction
40576
+  (0.0ms) begin transaction
40577
+  (0.0ms) rollback transaction
40578
+  (0.0ms) begin transaction
40579
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40580
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40581
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40582
+
40583
+
40584
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
40585
+ Processing by WelcomeController#logged_in_page as HTML
40586
+ Completed 401 Unauthorized in 1ms
40587
+  (0.1ms) SAVEPOINT active_record_1
40588
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40589
+ Binary data inserted for `string` type on column `encrypted_password`
40590
+ 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, 19 Jun 2012 18:24:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$C.ox7.xUGc2UQdNTW1Bl3OdbLjoE046ubxDL5n86CPtIlZv9yk/oS"], ["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, 19 Jun 2012 18:24:47 UTC +00:00]]
40591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40592
+  (0.0ms) SAVEPOINT active_record_1
40593
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40595
+  (0.0ms) SAVEPOINT active_record_1
40596
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 18:24:47.915837' WHERE "users"."id" = 999914116
40597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40598
+  (0.0ms) SAVEPOINT active_record_1
40599
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 18:24:47.917052' WHERE "users"."id" = 999914116
40600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40601
+
40602
+
40603
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
40604
+ Processing by Contour::SessionsController#create as HTML
40605
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
40606
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40607
+  (0.1ms) SAVEPOINT active_record_1
40608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40609
+ Completed 401 Unauthorized in 41ms
40610
+
40611
+
40612
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
40613
+ Processing by Contour::SessionsController#new as HTML
40614
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
40615
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
40616
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
40617
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
40618
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
40619
+  (4.7ms) rollback transaction
40620
+  (0.1ms) begin transaction
40621
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40622
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40623
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40624
+
40625
+
40626
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
40627
+ Processing by WelcomeController#logged_in_page as HTML
40628
+ Completed 401 Unauthorized in 0ms
40629
+  (0.1ms) SAVEPOINT active_record_1
40630
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40631
+ Binary data inserted for `string` type on column `encrypted_password`
40632
+ 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, 19 Jun 2012 18:24:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$b0YZUoMbLTknWYSsSM7gxurC/AnQYdtid0Vbjg0pxeF2AF4PmcKv6"], ["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, 19 Jun 2012 18:24:48 UTC +00:00]]
40633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40634
+  (0.0ms) SAVEPOINT active_record_1
40635
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40637
+  (0.0ms) SAVEPOINT active_record_1
40638
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 18:24:48.007010' WHERE "users"."id" = 999914116
40639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40640
+  (0.0ms) SAVEPOINT active_record_1
40641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40642
+
40643
+
40644
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40645
+ Processing by Contour::SessionsController#create as HTML
40646
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
40647
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40648
+  (0.0ms) SAVEPOINT active_record_1
40649
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 18:24:48.015322', "current_sign_in_at" = '2012-06-19 18:24:48.015322', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 18:24:48.015789' WHERE "users"."id" = 999914116
40650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40651
+ Redirected to http://www.example.com/logged_in_page
40652
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
40653
+
40654
+
40655
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40656
+ Processing by WelcomeController#logged_in_page as HTML
40657
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
40658
+ Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms)
40659
+  (0.8ms) rollback transaction
40660
+  (0.1ms) begin transaction
40661
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40662
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40663
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40664
+
40665
+
40666
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40667
+ Processing by WelcomeController#logged_in_page as HTML
40668
+ Completed 401 Unauthorized in 0ms
40669
+  (0.1ms) SAVEPOINT active_record_1
40670
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40671
+ Binary data inserted for `string` type on column `encrypted_password`
40672
+ 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, 19 Jun 2012 18:24:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wHJMIZHE8M/eSuvIMPT.FeqxkZWXFiu30B5.qbEMMfRKcpnHu12yy"], ["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, 19 Jun 2012 18:24:48 UTC +00:00]]
40673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40674
+  (0.0ms) SAVEPOINT active_record_1
40675
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40677
+  (0.0ms) SAVEPOINT active_record_1
40678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40679
+  (0.0ms) SAVEPOINT active_record_1
40680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40681
+
40682
+
40683
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40684
+ Processing by Contour::SessionsController#create as HTML
40685
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
40686
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40687
+  (0.0ms) SAVEPOINT active_record_1
40688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40689
+ Completed 401 Unauthorized in 4ms
40690
+
40691
+
40692
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40693
+ Processing by Contour::SessionsController#new as HTML
40694
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
40695
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
40696
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (32.8ms)
40697
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.9ms)
40698
+ Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)
40699
+  (0.7ms) rollback transaction
40700
+  (0.0ms) begin transaction
40701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40702
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40703
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40704
+
40705
+
40706
+ Started GET "/" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40707
+ Processing by WelcomeController#index as HTML
40708
+ Completed 401 Unauthorized in 1ms
40709
+  (0.1ms) rollback transaction
40710
+  (0.1ms) begin transaction
40711
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40712
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40713
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40714
+
40715
+
40716
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40717
+ Processing by WelcomeController#logged_in_page as JSON
40718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40719
+  (0.1ms) SAVEPOINT active_record_1
40720
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 18:24:48.213969', "current_sign_in_at" = '2012-06-19 18:24:48.213969', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 18:24:48.214665' WHERE "users"."id" = 201799169
40721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40722
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
40723
+  (44.1ms) rollback transaction
40724
+  (0.1ms) begin transaction
40725
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40726
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40727
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40728
+
40729
+
40730
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
40731
+ Processing by WelcomeController#logged_in_page as JSON
40732
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40733
+ Completed 401 Unauthorized in 79ms
40734
+  (0.1ms) rollback transaction
40735
+  (0.0ms) begin transaction
40736
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40737
+  (0.1ms) rollback transaction
40738
+  (0.0ms) begin transaction
40739
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40740
+  (0.0ms) rollback transaction
40741
+ Connecting to database specified by database.yml
40742
+  (0.1ms) begin transaction
40743
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
40744
+ 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-06-19 20:41:53', '2012-06-19 20:41:53', 949717663, 201799169)
40745
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 876923740, 201799169)
40746
+ 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-06-19 20:41:53', '2012-06-19 20:41:53', 864673665, 201799169)
40747
+ Fixture Delete (0.2ms) DELETE FROM "users"
40748
+ 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-06-19 20:41:53', '2012-06-19 20:41:53', 201799169)
40749
+ 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-06-19 20:41:53', '2012-06-19 20:41:53', 999914115)
40750
+ 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-06-19 20:41:53', '2012-06-19 20:41:53', 725306934)
40751
+ 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-06-19 20:41:53', '2012-06-19 20:41:53', 349534908)
40752
+  (1.4ms) commit transaction
40753
+  (0.1ms) begin transaction
40754
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
40755
+  (0.1ms) rollback transaction
40756
+  (0.1ms) begin transaction
40757
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40758
+  (0.1ms) rollback transaction
40759
+  (0.1ms) begin transaction
40760
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40761
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40762
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
40763
+ Processing by Contour::AuthenticationsController#create as HTML
40764
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 20:41:53 UTC", "updated_at"=>"2012-06-19 20:41:53 UTC"}}
40765
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
40766
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40767
+ Logged in user found, creating associated authentication.
40768
+  (0.1ms) SAVEPOINT active_record_1
40769
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["user_id", 201799169]]
40770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40771
+ Redirected to http://test.host/authentications
40772
+ Completed 302 Found in 64ms (ActiveRecord: 1.0ms)
40773
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
40774
+  (0.5ms) rollback transaction
40775
+  (0.1ms) begin transaction
40776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40777
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40778
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
40779
+ Processing by Contour::AuthenticationsController#destroy as HTML
40780
+ Parameters: {"id"=>"949717663"}
40781
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40782
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
40783
+  (0.1ms) SAVEPOINT active_record_1
40784
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
40785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40786
+ Redirected to http://test.host/authentications
40787
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
40788
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
40789
+  (0.5ms) rollback transaction
40790
+  (0.1ms) begin transaction
40791
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40792
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
40793
+ Processing by Contour::AuthenticationsController#index as HTML
40794
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
40795
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
40796
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
40797
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.8ms)
40798
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
40799
+ Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.4ms)
40800
+  (0.1ms) rollback transaction
40801
+  (0.1ms) begin transaction
40802
+ Processing by Contour::PasswordsController#create as HTML
40803
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
40804
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40805
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sAzTXNkZ2xBtRhJ1GwuK' LIMIT 1
40806
+  (0.0ms) SAVEPOINT active_record_1
40807
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'sAzTXNkZ2xBtRhJ1GwuK', "reset_password_sent_at" = '2012-06-19 20:41:53.409013', "updated_at" = '2012-06-19 20:41:53.409814' WHERE "users"."id" = 201799169
40808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40809
+
40810
+ Sent mail to valid@example.com (50ms)
40811
+ Date: Tue, 19 Jun 2012 16:41:53 -0400
40812
+ From: please-change-me-at-config-initializers-devise@example.com
40813
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
40814
+ To: valid@example.com
40815
+ Message-ID: <4fe0e41178b76_148093ff199434cdc76642@edge.mail>
40816
+ Subject: Reset password instructions
40817
+ Mime-Version: 1.0
40818
+ Content-Type: text/html;
40819
+ charset=UTF-8
40820
+ Content-Transfer-Encoding: 7bit
40821
+
40822
+ <p>Hello valid@example.com!</p>
40823
+
40824
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
40825
+
40826
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=sAzTXNkZ2xBtRhJ1GwuK">Change my password</a></p>
40827
+
40828
+ <p>If you didn't request this, please ignore this email.</p>
40829
+ <p>Your password won't change until you access the link above and create a new one.</p>
40830
+
40831
+ Redirected to http://test.host/users/login
40832
+ Completed 302 Found in 154ms (ActiveRecord: 0.0ms)
40833
+  (0.6ms) rollback transaction
40834
+  (0.1ms) begin transaction
40835
+ Processing by Contour::PasswordsController#new as HTML
40836
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms)
40837
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
40838
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms)
40839
+ Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
40840
+  (0.1ms) rollback transaction
40841
+  (0.1ms) begin transaction
40842
+  (0.1ms) rollback transaction
40843
+  (0.1ms) begin transaction
40844
+  (0.1ms) rollback transaction
40845
+  (0.1ms) begin transaction
40846
+  (0.1ms) rollback transaction
40847
+  (0.1ms) begin transaction
40848
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40849
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40850
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40851
+
40852
+
40853
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40854
+ Processing by WelcomeController#logged_in_page as HTML
40855
+ Completed 401 Unauthorized in 1ms
40856
+  (0.1ms) SAVEPOINT active_record_1
40857
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40858
+ Binary data inserted for `string` type on column `encrypted_password`
40859
+ 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", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$MPcTwJU5VLLvc0xpscWxUO0NtJ0YQceaQTEMEpHgjDCXA0fnK98y2"], ["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, 19 Jun 2012 20:41:53 UTC +00:00]]
40860
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40861
+  (0.0ms) SAVEPOINT active_record_1
40862
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40864
+  (0.0ms) SAVEPOINT active_record_1
40865
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 20:41:53.665307' WHERE "users"."id" = 999914116
40866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40867
+  (0.0ms) SAVEPOINT active_record_1
40868
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 20:41:53.666830' WHERE "users"."id" = 999914116
40869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40870
+
40871
+
40872
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40873
+ Processing by Contour::SessionsController#create as HTML
40874
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
40875
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
40876
+  (0.1ms) SAVEPOINT active_record_1
40877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40878
+ Completed 401 Unauthorized in 7ms
40879
+
40880
+
40881
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40882
+ Processing by Contour::SessionsController#new as HTML
40883
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
40884
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
40885
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
40886
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
40887
+ Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms)
40888
+  (1.1ms) rollback transaction
40889
+  (0.1ms) begin transaction
40890
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40891
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40892
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40893
+
40894
+
40895
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40896
+ Processing by WelcomeController#logged_in_page as HTML
40897
+ Completed 401 Unauthorized in 0ms
40898
+  (0.1ms) SAVEPOINT active_record_1
40899
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40900
+ Binary data inserted for `string` type on column `encrypted_password`
40901
+ 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, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$SYpMQcr/a1zzpGvkc3G4w.FAwf1EXpC3NtikdPAWw0JohWGRGvNCW"], ["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, 19 Jun 2012 20:41:53 UTC +00:00]]
40902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40903
+  (0.0ms) SAVEPOINT active_record_1
40904
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40906
+  (0.0ms) SAVEPOINT active_record_1
40907
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 20:41:53.745796' WHERE "users"."id" = 999914116
40908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40909
+  (0.0ms) SAVEPOINT active_record_1
40910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40911
+
40912
+
40913
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40914
+ Processing by Contour::SessionsController#create as HTML
40915
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
40916
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
40917
+  (0.1ms) SAVEPOINT active_record_1
40918
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 20:41:53.756633', "current_sign_in_at" = '2012-06-19 20:41:53.756633', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 20:41:53.757265' WHERE "users"."id" = 999914116
40919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40920
+ Redirected to http://www.example.com/logged_in_page
40921
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
40922
+
40923
+
40924
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40925
+ Processing by WelcomeController#logged_in_page as HTML
40926
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
40927
+ Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)
40928
+  (0.7ms) rollback transaction
40929
+  (0.1ms) begin transaction
40930
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40931
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40933
+
40934
+
40935
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40936
+ Processing by WelcomeController#logged_in_page as HTML
40937
+ Completed 401 Unauthorized in 0ms
40938
+  (0.1ms) SAVEPOINT active_record_1
40939
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40940
+ Binary data inserted for `string` type on column `encrypted_password`
40941
+ 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, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Q.o9Aqvn9Jtphjye16Y0ZufSEdnIee2pcKxQuXWnvGMK4lXyhAsde"], ["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, 19 Jun 2012 20:41:53 UTC +00:00]]
40942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40943
+  (0.0ms) SAVEPOINT active_record_1
40944
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
40945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40946
+  (0.0ms) SAVEPOINT active_record_1
40947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40948
+  (0.0ms) SAVEPOINT active_record_1
40949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40950
+
40951
+
40952
+ Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40953
+ Processing by Contour::SessionsController#create as HTML
40954
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
40955
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
40956
+  (0.1ms) SAVEPOINT active_record_1
40957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40958
+ Completed 401 Unauthorized in 5ms
40959
+
40960
+
40961
+ Started GET "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40962
+ Processing by Contour::SessionsController#new as HTML
40963
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
40964
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
40965
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (38.5ms)
40966
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (40.8ms)
40967
+ Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)
40968
+  (0.6ms) rollback transaction
40969
+  (0.1ms) begin transaction
40970
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40971
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40972
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40973
+
40974
+
40975
+ Started GET "/" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40976
+ Processing by WelcomeController#index as HTML
40977
+ Completed 401 Unauthorized in 1ms
40978
+  (0.1ms) rollback transaction
40979
+  (0.1ms) begin transaction
40980
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40981
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40982
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40983
+
40984
+
40985
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
40986
+ Processing by WelcomeController#logged_in_page as JSON
40987
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
40988
+  (0.1ms) SAVEPOINT active_record_1
40989
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-06-19 20:41:53.969118', "current_sign_in_at" = '2012-06-19 20:41:53.969118', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 20:41:53.969842' WHERE "users"."id" = 201799169
40990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40991
+ Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms)
40992
+  (0.5ms) rollback transaction
40993
+  (0.1ms) begin transaction
40994
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
40995
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
40996
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
40997
+
40998
+
40999
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
41000
+ Processing by WelcomeController#logged_in_page as JSON
41001
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41002
+ Completed 401 Unauthorized in 83ms
41003
+  (0.1ms) rollback transaction
41004
+  (0.1ms) begin transaction
41005
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41006
+  (0.1ms) rollback transaction
41007
+  (0.1ms) begin transaction
41008
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41009
+  (0.1ms) rollback transaction