contour 1.0.6 → 1.1.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/CHANGELOG.rdoc +9 -6
  2. data/README.rdoc +1 -1
  3. data/app/assets/images/contour/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  4. data/app/assets/images/contour/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  5. data/app/assets/images/contour/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  6. data/app/assets/images/contour/ui-icons_217bc0_256x240.png +0 -0
  7. data/app/assets/images/contour/ui-icons_d8e7f3_256x240.png +0 -0
  8. data/app/assets/images/contour/ui-icons_f9bd01_256x240.png +0 -0
  9. data/app/assets/images/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/glyphicons-halflings-white.png +0 -0
  10. data/app/assets/images/twitter-bootstrap/v2.1.0-wip/glyphicons-halflings.png +0 -0
  11. data/app/assets/javascripts/contour.js +15 -13
  12. data/app/assets/javascripts/contour/global.js.coffee +3 -0
  13. data/app/assets/javascripts/external/jquery-ui-1.8.22.custom.min.js +93 -0
  14. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/bootstrap.js +247 -152
  15. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-affix.js +104 -0
  16. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-alert.js +0 -0
  17. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-button.js +0 -0
  18. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-carousel.js +11 -4
  19. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-collapse.js +3 -2
  20. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-dropdown.js +64 -14
  21. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-modal.js +94 -73
  22. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-popover.js +7 -3
  23. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-scrollspy.js +8 -8
  24. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-tab.js +1 -1
  25. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-tooltip.js +10 -12
  26. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-transition.js +60 -0
  27. data/app/assets/javascripts/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/plugins/bootstrap-typeahead.js +49 -34
  28. data/app/assets/stylesheets/bootstrap-base-overrides.css +23 -2
  29. data/app/assets/stylesheets/contour.css +3 -3
  30. data/app/assets/stylesheets/{jquery-ui-1.8.10.custom.css → jquery-ui-1.8.22.custom.css} +26 -219
  31. data/app/assets/stylesheets/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/bootstrap-responsive.css +528 -272
  32. data/app/assets/stylesheets/twitter-bootstrap/{v2.0.4 → v2.1.0-wip}/bootstrap.css +1304 -720
  33. data/app/controllers/contour/registrations_controller.rb +1 -1
  34. data/app/controllers/contour/sessions_controller.rb +1 -5
  35. data/app/views/contour/layouts/_menu.html.erb +2 -1
  36. data/app/views/contour/layouts/application.html.erb +25 -39
  37. data/contour.gemspec +1 -1
  38. data/lib/contour/version.rb +3 -3
  39. data/test/dummy/app/models/user.rb +1 -1
  40. data/test/dummy/db/test.sqlite3 +0 -0
  41. data/test/dummy/log/test.log +0 -2096
  42. metadata +27 -25
  43. data/app/assets/images/twitter-bootstrap/v2.0.4/glyphicons-halflings.png +0 -0
  44. data/app/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js +0 -782
@@ -9,7 +9,7 @@ class Contour::RegistrationsController < Devise::RegistrationsController
9
9
  if @user.save
10
10
  respond_to do |format|
11
11
  format.html { redirect_to @user, notice: 'User was successfully created.' }
12
- format.json { render json: @user.as_json( only: [:id, :email, :first_name, :last_name, :authentication_token ] ), status: :created, location: @user }
12
+ format.json { render json: @user, only: [:id, :email], status: :created, location: @user }
13
13
  end
14
14
  else
15
15
  respond_to do |format|
@@ -28,11 +28,7 @@ class Contour::SessionsController < Devise::SessionsController
28
28
  if resource
29
29
  set_flash_message(:notice, :signed_in) if is_navigational_format?
30
30
  sign_in(resource_name, resource)
31
-
32
- respond_to do |format|
33
- format.html { respond_with resource, location: after_sign_in_path_for(resource) }
34
- format.json { render json: { success: true, user: resource.as_json( only: [:id, :email, :first_name, :last_name, :authentication_token ] ) } }
35
- end
31
+ respond_with resource, location: after_sign_in_path_for(resource)
36
32
  else
37
33
  resource = resource_name.to_s.titleize.constantize.find_by_email(params[resource_name][:email])
38
34
  if resource and resource.respond_to?('authentications') and providers = resource.authentications.pluck(:provider).uniq and providers.size > 0
@@ -19,7 +19,8 @@
19
19
  (menu_item[:path].blank? ? '#' : eval(menu_item[:path].to_s)),
20
20
  target: menu_item[:target], style: "#{ 'display:inline-block;padding-right:0px' if has_submenu }")
21
21
  %>
22
- <%= link_to "<b class='caret'></b>".html_safe, '#', 'data-target' => "#menu#{position}#{index}", class: 'dropdown-toggle', 'data-toggle' => 'dropdown', style: 'display:inline-block;padding-left:0px' if has_submenu %>
22
+ <%= link_to "<b class='caret'></b>".html_safe, '#', class: 'dropdown-toggle', 'data-toggle' => 'dropdown', style: 'display:inline-block;padding-left:0px' if has_submenu %>
23
+ <%# , 'data-target' => "#menu#{position}#{index}" %>
23
24
  <% if has_submenu %>
24
25
  <ul class="dropdown-menu">
25
26
  <% menu_item[:links].each do |link| %>
@@ -1,47 +1,33 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <title><%= [Contour.application_name, @title].compact.join(' - ').html_safe %></title>
5
- <%= favicon_link_tag %>
6
- <!--[if lt IE 9]>
7
- <script src="//html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
8
- <![endif]-->
9
- <%= stylesheet_link_tag "application", media: "all" %>
10
- <%= javascript_include_tag "application" %>
11
- <%= csrf_meta_tags %>
12
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
13
- <style type="text/css">
14
- body {
15
- <%= "background-image: url(#{image_path(Contour.body_background_image_select) rescue ''});" unless Contour.body_background_image_select.blank? %>
16
- <%= "background-color: #{Contour.body_background_color_select};" unless Contour.body_background_color_select.blank? %>
17
- }
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title><%= [Contour.application_name, @title].compact.join(' - ').html_safe %></title>
8
+ <%= favicon_link_tag %>
9
+ <%= csrf_meta_tags %>
18
10
 
19
- a:link, a:visited, a:hover, a:active, a:focus, #header a:hover, #menu a:hover {
20
- <%= "color: #{Contour.link_color_select};" unless Contour.link_color_select.blank? %>
21
- }
22
- </style>
23
- </head>
24
- <body data-spy="scroll" data-target=".subnav" data-offset="0">
25
- <%= javascript_tag "var root_url='#{request.script_name + '/'}';var auth_token='#{form_authenticity_token}';" %>
11
+ <!--[if lt IE 9]>
12
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
13
+ <![endif]-->
26
14
 
27
- <% if false %>
28
- <div id="header" class="container" <%= "style='background-image: url(#{request.script_name}/assets/#{Contour.header_background_image});'" unless Contour.header_background_image.blank? %>>
29
- <%= image_tag(Contour.header_title_image, alt: '', style: 'vertical-align:middle') unless Contour.header_title_image.blank? %>
30
- <%= link_to (Contour.application_name_html.blank? ? Contour.application_name : Contour.application_name_html.html_safe), root_path, style: 'text-decoration:none;', onmouseover: "$('#version').show();", onmouseout: "$('#version').hide();" %>
31
- <span id="version" style="display:none;font-size:0.5em;font-variant:normal" class="quiet"><%= Contour.application_version %></span>
32
- </div>
33
- <% end %>
15
+ <%= stylesheet_link_tag "application", media: "all" %>
16
+ </head>
17
+ <body data-spy="scroll" data-target=".subnav" data-offset="0">
18
+ <div class="navbar navbar-inverse navbar-fixed-top">
19
+ <%= render partial: 'contour/layouts/menu' %>
20
+ </div>
34
21
 
35
- <div class="navbar navbar-fixed-top">
36
- <%= render partial: 'contour/layouts/menu' %>
37
- </div>
22
+ <div class="container" data-object="flash-container">
23
+ <%= flash_block %>
24
+ </div>
38
25
 
39
- <div class="container" data-object="flash-container">
40
- <%= flash_block %>
41
- </div>
26
+ <div class="container">
27
+ <%= yield %>
28
+ </div>
42
29
 
43
- <div class="container">
44
- <%= yield %>
45
- </div>
46
- </body>
30
+ <%= javascript_include_tag "application" %>
31
+ <%= javascript_tag "var root_url='#{request.script_name + '/'}';var auth_token='#{form_authenticity_token}';" %>
32
+ </body>
47
33
  </html>
data/contour.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
  s.add_dependency 'omniauth-cas', '~> 0.0.7'
31
31
  s.add_dependency 'omniauth-facebook', '~> 1.4.1'
32
32
  s.add_dependency 'omniauth-ldap', '~> 1.0.2'
33
- s.add_dependency 'omniauth-linkedin', '~> 0.0.6'
33
+ s.add_dependency 'omniauth-linkedin', '~> 0.0.7'
34
34
  s.add_dependency 'omniauth-openid', '~> 1.0.1'
35
35
  s.add_dependency 'omniauth-twitter', '~> 0.0.12'
36
36
 
@@ -1,9 +1,9 @@
1
1
  module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
- MINOR = 0
5
- TINY = 6
6
- BUILD = nil # nil, "pre", "rc", "rc2"
4
+ MINOR = 1
5
+ TINY = 0
6
+ BUILD = "pre" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
@@ -42,4 +42,4 @@ class User < ActiveRecord::Base
42
42
  (authentications.empty? || !password.blank?) && super
43
43
  end
44
44
 
45
- end
45
+ end
Binary file
@@ -44700,2099 +44700,3 @@ Completed 401 Unauthorized in 79ms
44700
44700
   (0.1ms) begin transaction
44701
44701
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44702
44702
   (0.0ms) rollback transaction
44703
- Connecting to database specified by database.yml
44704
-  (0.1ms) begin transaction
44705
- Fixture Delete (53.3ms) DELETE FROM "authentications"
44706
- Fixture Insert (0.7ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 949717663, 201799169)
44707
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 876923740, 201799169)
44708
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 864673665, 201799169)
44709
- Fixture Delete (1.1ms) DELETE FROM "users"
44710
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 201799169)
44711
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 999914115)
44712
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 725306934)
44713
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 349534908)
44714
-  (17.4ms) commit transaction
44715
-  (0.1ms) begin transaction
44716
- Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44717
-  (0.1ms) rollback transaction
44718
-  (0.1ms) begin transaction
44719
- Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44720
-  (0.1ms) rollback transaction
44721
-  (0.1ms) begin transaction
44722
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44723
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44724
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44725
- Processing by Contour::AuthenticationsController#create as HTML
44726
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 12:41:03 UTC", "updated_at"=>"2012-08-16 12:41:03 UTC"}}
44727
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44728
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44729
- Logged in user found, creating associated authentication.
44730
-  (0.1ms) SAVEPOINT active_record_1
44731
- SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["user_id", 201799169]]
44732
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44733
- Redirected to http://test.host/authentications
44734
- Completed 302 Found in 78ms (ActiveRecord: 0.9ms)
44735
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44736
-  (5.4ms) rollback transaction
44737
-  (0.1ms) begin transaction
44738
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44739
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44740
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
44741
- Processing by Contour::AuthenticationsController#destroy as HTML
44742
- Parameters: {"id"=>"949717663"}
44743
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44744
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
44745
-  (0.0ms) SAVEPOINT active_record_1
44746
- SQL (19.9ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
44747
-  (0.1ms) RELEASE SAVEPOINT active_record_1
44748
- Redirected to http://test.host/authentications
44749
- Completed 302 Found in 24ms (ActiveRecord: 20.3ms)
44750
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
44751
-  (0.7ms) rollback transaction
44752
-  (0.1ms) begin transaction
44753
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44754
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44755
- Processing by Contour::AuthenticationsController#index as HTML
44756
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44757
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
44758
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
44759
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
44760
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
44761
- Completed 200 OK in 123ms (Views: 121.5ms | ActiveRecord: 0.4ms)
44762
-  (0.1ms) rollback transaction
44763
-  (0.1ms) begin transaction
44764
- Processing by Contour::PasswordsController#create as HTML
44765
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
44766
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44767
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf' LIMIT 1
44768
-  (0.0ms) SAVEPOINT active_record_1
44769
-  (0.3ms) UPDATE "users" SET "reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf', "reset_password_sent_at" = '2012-08-16 12:41:03.830927', "updated_at" = '2012-08-16 12:41:03.831681' WHERE "users"."id" = 201799169
44770
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44771
-
44772
- Sent mail to valid@example.com (85ms)
44773
- Date: Thu, 16 Aug 2012 08:41:04 -0400
44774
- From: please-change-me-at-config-initializers-devise@example.com
44775
- Reply-To: please-change-me-at-config-initializers-devise@example.com
44776
- To: valid@example.com
44777
- Message-ID: <502cea6011157_149683fce44435ad816ef@edge.partners.org.mail>
44778
- Subject: Reset password instructions
44779
- Mime-Version: 1.0
44780
- Content-Type: text/html;
44781
- charset=UTF-8
44782
- Content-Transfer-Encoding: 7bit
44783
-
44784
- <p>Hello valid@example.com!</p>
44785
-
44786
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
44787
-
44788
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=F4ZHCymBXsg7kDgrZkXf">Change my password</a></p>
44789
-
44790
- <p>If you didn't request this, please ignore this email.</p>
44791
- <p>Your password won't change until you access the link above and create a new one.</p>
44792
-
44793
- Redirected to http://test.host/users/login
44794
- Completed 302 Found in 351ms (ActiveRecord: 0.0ms)
44795
-  (0.7ms) rollback transaction
44796
-  (0.0ms) begin transaction
44797
- Processing by Contour::PasswordsController#new as HTML
44798
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
44799
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
44800
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
44801
- Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
44802
-  (0.1ms) rollback transaction
44803
-  (0.0ms) begin transaction
44804
-  (0.0ms) rollback transaction
44805
-  (0.1ms) begin transaction
44806
-  (0.0ms) rollback transaction
44807
-  (0.1ms) begin transaction
44808
-  (0.0ms) rollback transaction
44809
-  (0.0ms) begin transaction
44810
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44811
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44812
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44813
-
44814
-
44815
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44816
- Processing by WelcomeController#logged_in_page as HTML
44817
- Completed 401 Unauthorized in 1ms
44818
-  (0.1ms) SAVEPOINT active_record_1
44819
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44820
- Binary data inserted for `string` type on column `encrypted_password`
44821
- SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Gma20YUE2LVK626UmUEETul0/VpBrH1ZquSdY4gAXK86FZcezB3R."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]]
44822
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44823
-  (0.0ms) SAVEPOINT active_record_1
44824
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44825
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44826
- SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44827
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
44828
-
44829
-
44830
- Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44831
- Processing by Contour::SessionsController#create as HTML
44832
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
44833
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44834
-  (0.1ms) SAVEPOINT active_record_1
44835
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44836
- Completed 401 Unauthorized in 7ms
44837
-
44838
-
44839
- Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44840
- Processing by Contour::SessionsController#new as HTML
44841
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
44842
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms)
44843
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
44844
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
44845
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
44846
- Completed 200 OK in 83ms (Views: 81.6ms | ActiveRecord: 0.0ms)
44847
-  (5.8ms) rollback transaction
44848
-  (0.1ms) begin transaction
44849
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44850
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44851
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44852
-
44853
-
44854
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44855
- Processing by WelcomeController#logged_in_page as HTML
44856
- Completed 401 Unauthorized in 0ms
44857
-  (0.1ms) SAVEPOINT active_record_1
44858
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44859
- Binary data inserted for `string` type on column `encrypted_password`
44860
- SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$HnVfn.WWgis0GXSN3q9Jh.Y0nwInAXMHjAbWxusPM4ZooG7WmPoE6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]]
44861
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44862
-  (0.0ms) SAVEPOINT active_record_1
44863
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44864
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44865
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44866
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44867
-
44868
-
44869
- Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44870
- Processing by Contour::SessionsController#create as HTML
44871
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
44872
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44873
-  (0.1ms) SAVEPOINT active_record_1
44874
-  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.496028', "current_sign_in_at" = '2012-08-16 12:41:04.496028', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.496655' WHERE "users"."id" = 999914116
44875
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44876
- Redirected to http://www.example.com/logged_in_page
44877
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
44878
-
44879
-
44880
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44881
- Processing by WelcomeController#logged_in_page as HTML
44882
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
44883
- Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.1ms)
44884
-  (12.3ms) rollback transaction
44885
-  (0.1ms) begin transaction
44886
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44887
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44888
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44889
-
44890
-
44891
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44892
- Processing by WelcomeController#logged_in_page as HTML
44893
- Completed 401 Unauthorized in 0ms
44894
-  (0.1ms) SAVEPOINT active_record_1
44895
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44896
- Binary data inserted for `string` type on column `encrypted_password`
44897
- SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HEd3hRQG99xiXjQNoRssTeoW5bUoqRuqOtuigxRun4pBi9QFa53IC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]]
44898
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44899
-  (0.0ms) SAVEPOINT active_record_1
44900
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44901
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44902
- SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
44903
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44904
-
44905
-
44906
- Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44907
- Processing by Contour::SessionsController#create as HTML
44908
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
44909
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44910
-  (0.0ms) SAVEPOINT active_record_1
44911
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44912
- Completed 401 Unauthorized in 4ms
44913
-
44914
-
44915
- Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44916
- Processing by Contour::SessionsController#new as HTML
44917
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
44918
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
44919
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
44920
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
44921
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
44922
- Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
44923
-  (3.2ms) rollback transaction
44924
-  (0.1ms) begin transaction
44925
- User Load (36.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44926
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44927
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44928
-
44929
-
44930
- Started GET "/" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44931
- Processing by WelcomeController#index as HTML
44932
- Completed 401 Unauthorized in 0ms
44933
-  (0.1ms) rollback transaction
44934
-  (0.0ms) begin transaction
44935
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44936
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44937
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44938
-
44939
-
44940
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44941
- Processing by WelcomeController#logged_in_page as JSON
44942
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44943
-  (0.1ms) SAVEPOINT active_record_1
44944
-  (0.4ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.713992' WHERE "users"."id" = 201799169
44945
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44946
- Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms)
44947
-  (448.4ms) rollback transaction
44948
-  (0.1ms) begin transaction
44949
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44950
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44951
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44952
-
44953
-
44954
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:05 -0400
44955
- Processing by WelcomeController#logged_in_page as JSON
44956
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44957
- Completed 401 Unauthorized in 84ms
44958
-  (0.1ms) rollback transaction
44959
-  (0.1ms) begin transaction
44960
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44961
-  (0.1ms) rollback transaction
44962
-  (0.0ms) begin transaction
44963
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44964
-  (0.0ms) rollback transaction
44965
- Connecting to database specified by database.yml
44966
-  (0.1ms) begin transaction
44967
- Fixture Delete (14.6ms) DELETE FROM "authentications"
44968
- Fixture Insert (0.7ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 949717663, 201799169)
44969
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 876923740, 201799169)
44970
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 864673665, 201799169)
44971
- Fixture Delete (0.8ms) DELETE FROM "users"
44972
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 201799169)
44973
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 999914115)
44974
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 725306934)
44975
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 349534908)
44976
-  (1.6ms) commit transaction
44977
-  (0.0ms) begin transaction
44978
- Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44979
-  (0.1ms) rollback transaction
44980
-  (0.1ms) begin transaction
44981
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44982
-  (0.0ms) rollback transaction
44983
-  (0.0ms) begin transaction
44984
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44985
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44986
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44987
- Processing by Contour::AuthenticationsController#create as HTML
44988
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 18:09:58 UTC", "updated_at"=>"2012-08-16 18:09:58 UTC"}}
44989
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44990
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44991
- Logged in user found, creating associated authentication.
44992
-  (0.1ms) SAVEPOINT active_record_1
44993
- SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["user_id", 201799169]]
44994
-  (0.1ms) RELEASE SAVEPOINT active_record_1
44995
- Redirected to http://test.host/authentications
44996
- Completed 302 Found in 70ms (ActiveRecord: 0.9ms)
44997
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44998
-  (0.5ms) rollback transaction
44999
-  (0.0ms) begin transaction
45000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45001
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45002
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45003
- Processing by Contour::AuthenticationsController#destroy as HTML
45004
- Parameters: {"id"=>"949717663"}
45005
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45006
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45007
-  (0.0ms) SAVEPOINT active_record_1
45008
- SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45009
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45010
- Redirected to http://test.host/authentications
45011
- Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
45012
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45013
-  (0.6ms) rollback transaction
45014
-  (0.0ms) begin transaction
45015
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45016
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45017
- Processing by Contour::AuthenticationsController#index as HTML
45018
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45019
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45020
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
45021
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
45022
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
45023
- Completed 200 OK in 170ms (Views: 168.8ms | ActiveRecord: 0.4ms)
45024
-  (0.1ms) rollback transaction
45025
-  (0.1ms) begin transaction
45026
- Processing by Contour::PasswordsController#create as HTML
45027
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
45028
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45029
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'scjYKdaSxtMvF1bLyDpV' LIMIT 1
45030
-  (0.1ms) SAVEPOINT active_record_1
45031
-  (0.4ms) UPDATE "users" SET "reset_password_token" = 'scjYKdaSxtMvF1bLyDpV', "reset_password_sent_at" = '2012-08-16 18:09:59.032068', "updated_at" = '2012-08-16 18:09:59.033111' WHERE "users"."id" = 201799169
45032
-  (0.1ms) RELEASE SAVEPOINT active_record_1
45033
-
45034
- Sent mail to valid@example.com (38ms)
45035
- Date: Thu, 16 Aug 2012 14:09:59 -0400
45036
- From: please-change-me-at-config-initializers-devise@example.com
45037
- Reply-To: please-change-me-at-config-initializers-devise@example.com
45038
- To: valid@example.com
45039
- Message-ID: <502d377747691_161fc3fdc61835ae084227@edge.partners.org.mail>
45040
- Subject: Reset password instructions
45041
- Mime-Version: 1.0
45042
- Content-Type: text/html;
45043
- charset=UTF-8
45044
- Content-Transfer-Encoding: 7bit
45045
-
45046
- <p>Hello valid@example.com!</p>
45047
-
45048
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
45049
-
45050
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=scjYKdaSxtMvF1bLyDpV">Change my password</a></p>
45051
-
45052
- <p>If you didn't request this, please ignore this email.</p>
45053
- <p>Your password won't change until you access the link above and create a new one.</p>
45054
-
45055
- Redirected to http://test.host/users/login
45056
- Completed 302 Found in 321ms (ActiveRecord: 0.0ms)
45057
-  (0.7ms) rollback transaction
45058
-  (0.0ms) begin transaction
45059
- Processing by Contour::PasswordsController#new as HTML
45060
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms)
45061
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
45062
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
45063
- Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 0.0ms)
45064
-  (0.1ms) rollback transaction
45065
-  (0.0ms) begin transaction
45066
-  (0.0ms) rollback transaction
45067
-  (0.0ms) begin transaction
45068
-  (0.0ms) rollback transaction
45069
-  (0.0ms) begin transaction
45070
-  (0.0ms) rollback transaction
45071
-  (0.0ms) begin transaction
45072
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45073
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45074
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45075
-
45076
-
45077
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45078
- Processing by WelcomeController#logged_in_page as HTML
45079
- Completed 401 Unauthorized in 1ms
45080
-  (0.1ms) SAVEPOINT active_record_1
45081
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45082
- Binary data inserted for `string` type on column `encrypted_password`
45083
- SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ad0Ey65CSKy62m0EoRVI9O7Ilhh0LzhpRe/GiADTduB1qQAuDLZ1W"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]]
45084
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45085
-  (0.0ms) SAVEPOINT active_record_1
45086
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45087
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45088
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45089
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
45090
-
45091
-
45092
- Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45093
- Processing by Contour::SessionsController#create as HTML
45094
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
45095
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45096
-  (0.1ms) SAVEPOINT active_record_1
45097
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45098
- Completed 401 Unauthorized in 26ms
45099
-
45100
-
45101
- Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45102
- Processing by Contour::SessionsController#new as HTML
45103
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
45104
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms)
45105
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
45106
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
45107
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
45108
- Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms)
45109
-  (0.6ms) rollback transaction
45110
-  (0.1ms) begin transaction
45111
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45112
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45113
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45114
-
45115
-
45116
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45117
- Processing by WelcomeController#logged_in_page as HTML
45118
- Completed 401 Unauthorized in 0ms
45119
-  (0.1ms) SAVEPOINT active_record_1
45120
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45121
- Binary data inserted for `string` type on column `encrypted_password`
45122
- SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$W.6IyoZElSy0Y/cCOmtVZuVL53eilcRkFvQW/jbivHFl6ybZbaJSi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]]
45123
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45124
-  (0.0ms) SAVEPOINT active_record_1
45125
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45126
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45127
- SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45128
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45129
-
45130
-
45131
- Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45132
- Processing by Contour::SessionsController#create as HTML
45133
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
45134
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45135
-  (0.0ms) SAVEPOINT active_record_1
45136
-  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.636504', "current_sign_in_at" = '2012-08-16 18:09:59.636504', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.637066' WHERE "users"."id" = 999914116
45137
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45138
- Redirected to http://www.example.com/logged_in_page
45139
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
45140
-
45141
-
45142
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45143
- Processing by WelcomeController#logged_in_page as HTML
45144
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45145
- Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms)
45146
-  (1.1ms) rollback transaction
45147
-  (0.1ms) begin transaction
45148
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45149
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45150
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45151
-
45152
-
45153
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45154
- Processing by WelcomeController#logged_in_page as HTML
45155
- Completed 401 Unauthorized in 0ms
45156
-  (0.1ms) SAVEPOINT active_record_1
45157
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45158
- Binary data inserted for `string` type on column `encrypted_password`
45159
- SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$p.IhpYscxpiXJJVkyQ7WFOd/9tE2Ha8NVIeB16/9pYfpagyuJcA76"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]]
45160
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45161
-  (0.0ms) SAVEPOINT active_record_1
45162
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45163
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45164
- SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45165
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45166
-
45167
-
45168
- Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45169
- Processing by Contour::SessionsController#create as HTML
45170
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
45171
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45172
-  (0.0ms) SAVEPOINT active_record_1
45173
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45174
- Completed 401 Unauthorized in 4ms
45175
-
45176
-
45177
- Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45178
- Processing by Contour::SessionsController#new as HTML
45179
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
45180
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
45181
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
45182
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
45183
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
45184
- Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
45185
-  (1.0ms) rollback transaction
45186
-  (0.1ms) begin transaction
45187
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45188
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45189
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45190
-
45191
-
45192
- Started GET "/" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45193
- Processing by WelcomeController#index as HTML
45194
- Completed 401 Unauthorized in 1ms
45195
-  (0.1ms) rollback transaction
45196
-  (0.1ms) begin transaction
45197
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45198
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45199
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45200
-
45201
-
45202
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45203
- Processing by WelcomeController#logged_in_page as JSON
45204
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45205
-  (0.1ms) SAVEPOINT active_record_1
45206
-  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.806795' WHERE "users"."id" = 201799169
45207
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45208
- Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45209
-  (0.7ms) rollback transaction
45210
-  (0.1ms) begin transaction
45211
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45212
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45213
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45214
-
45215
-
45216
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45217
- Processing by WelcomeController#logged_in_page as JSON
45218
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45219
- Completed 401 Unauthorized in 81ms
45220
-  (0.1ms) rollback transaction
45221
-  (0.0ms) begin transaction
45222
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45223
-  (0.1ms) rollback transaction
45224
-  (0.1ms) begin transaction
45225
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45226
-  (0.1ms) rollback transaction
45227
- Connecting to database specified by database.yml
45228
-  (0.1ms) begin transaction
45229
- Fixture Delete (0.3ms) DELETE FROM "authentications"
45230
- Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 949717663, 201799169)
45231
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 876923740, 201799169)
45232
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 864673665, 201799169)
45233
- Fixture Delete (0.1ms) DELETE FROM "users"
45234
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 201799169)
45235
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 999914115)
45236
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 725306934)
45237
- Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 349534908)
45238
-  (2.0ms) commit transaction
45239
-  (0.0ms) begin transaction
45240
- Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
45241
-  (0.1ms) rollback transaction
45242
-  (0.0ms) begin transaction
45243
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45244
-  (0.0ms) rollback transaction
45245
-  (0.0ms) begin transaction
45246
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45247
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45248
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45249
- Processing by Contour::AuthenticationsController#create as HTML
45250
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-21 15:59:11 UTC", "updated_at"=>"2012-08-21 15:59:11 UTC"}}
45251
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
45252
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45253
- Logged in user found, creating associated authentication.
45254
-  (0.1ms) SAVEPOINT active_record_1
45255
- SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["user_id", 201799169]]
45256
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45257
- Redirected to http://test.host/authentications
45258
- Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
45259
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45260
-  (18.1ms) rollback transaction
45261
-  (0.1ms) begin transaction
45262
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45263
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45264
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45265
- Processing by Contour::AuthenticationsController#destroy as HTML
45266
- Parameters: {"id"=>"949717663"}
45267
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45268
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45269
-  (0.0ms) SAVEPOINT active_record_1
45270
- SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45271
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45272
- Redirected to http://test.host/authentications
45273
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
45274
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45275
-  (0.7ms) rollback transaction
45276
-  (0.0ms) begin transaction
45277
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45278
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45279
- Processing by Contour::AuthenticationsController#index as HTML
45280
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45281
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45282
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
45283
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
45284
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms)
45285
- Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.4ms)
45286
-  (0.1ms) rollback transaction
45287
-  (0.1ms) begin transaction
45288
- Processing by Contour::PasswordsController#create as HTML
45289
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
45290
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45291
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1' LIMIT 1
45292
-  (0.0ms) SAVEPOINT active_record_1
45293
-  (0.3ms) UPDATE "users" SET "reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1', "reset_password_sent_at" = '2012-08-21 15:59:11.277994', "updated_at" = '2012-08-21 15:59:11.278779' WHERE "users"."id" = 201799169
45294
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45295
-
45296
- Sent mail to valid@example.com (15ms)
45297
- Date: Tue, 21 Aug 2012 11:59:11 -0400
45298
- From: please-change-me-at-config-initializers-devise@example.com
45299
- Reply-To: please-change-me-at-config-initializers-devise@example.com
45300
- To: valid@example.com
45301
- Message-ID: <5033b04f59b80_159d23fcde9c35ae0114c3@edge.partners.org.mail>
45302
- Subject: Reset password instructions
45303
- Mime-Version: 1.0
45304
- Content-Type: text/html;
45305
- charset=UTF-8
45306
- Content-Transfer-Encoding: 7bit
45307
-
45308
- <p>Hello valid@example.com!</p>
45309
-
45310
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
45311
-
45312
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=pMY8RdeJdDcFrrpqgcP1">Change my password</a></p>
45313
-
45314
- <p>If you didn't request this, please ignore this email.</p>
45315
- <p>Your password won't change until you access the link above and create a new one.</p>
45316
-
45317
- Redirected to http://test.host/users/login
45318
- Completed 302 Found in 110ms (ActiveRecord: 0.0ms)
45319
-  (0.9ms) rollback transaction
45320
-  (0.0ms) begin transaction
45321
- Processing by Contour::PasswordsController#new as HTML
45322
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
45323
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
45324
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms)
45325
- Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
45326
-  (0.1ms) rollback transaction
45327
-  (0.1ms) begin transaction
45328
-  (0.0ms) rollback transaction
45329
-  (0.0ms) begin transaction
45330
-  (0.0ms) rollback transaction
45331
-  (0.0ms) begin transaction
45332
-  (0.0ms) rollback transaction
45333
-  (0.0ms) begin transaction
45334
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45335
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45336
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45337
-
45338
-
45339
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45340
- Processing by WelcomeController#logged_in_page as HTML
45341
- Completed 401 Unauthorized in 1ms
45342
-  (0.1ms) SAVEPOINT active_record_1
45343
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45344
- Binary data inserted for `string` type on column `encrypted_password`
45345
- SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$SMea1HQQhbrmI1yDOeu5leUUCKxNmXUZYrRzfi6U9HFYpG5.n8yXq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00]]
45346
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45347
-  (0.0ms) SAVEPOINT active_record_1
45348
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45349
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45350
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45351
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
45352
-
45353
-
45354
- Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45355
- Processing by Contour::SessionsController#create as HTML
45356
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
45357
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45358
-  (0.1ms) SAVEPOINT active_record_1
45359
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45360
- Completed 401 Unauthorized in 6ms
45361
-
45362
-
45363
- Started GET "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45364
- Processing by Contour::SessionsController#new as HTML
45365
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
45366
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms)
45367
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
45368
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
45369
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
45370
- Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.0ms)
45371
-  (0.8ms) rollback transaction
45372
-  (0.1ms) begin transaction
45373
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45374
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45375
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45376
-
45377
-
45378
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45379
- Processing by WelcomeController#logged_in_page as HTML
45380
- Completed 401 Unauthorized in 0ms
45381
-  (0.1ms) SAVEPOINT active_record_1
45382
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45383
- Binary data inserted for `string` type on column `encrypted_password`
45384
- SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$eBb2BAlHiEheWF0rgIlLLu1LYnbhRvN/gLA/HnBPAZZsgQhAtMN7S"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00]]
45385
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45386
-  (0.0ms) SAVEPOINT active_record_1
45387
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45388
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45389
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45390
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45391
-
45392
-
45393
- Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45394
- Processing by Contour::SessionsController#create as HTML
45395
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
45396
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45397
-  (0.0ms) SAVEPOINT active_record_1
45398
-  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-21 15:59:11.546808', "current_sign_in_at" = '2012-08-21 15:59:11.546808', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-21 15:59:11.547258' WHERE "users"."id" = 999914116
45399
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45400
- Redirected to http://www.example.com/logged_in_page
45401
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
45402
-
45403
-
45404
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45405
- Processing by WelcomeController#logged_in_page as HTML
45406
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45407
- Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
45408
-  (0.7ms) rollback transaction
45409
-  (0.1ms) begin transaction
45410
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45411
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45412
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45413
-
45414
-
45415
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45416
- Processing by WelcomeController#logged_in_page as HTML
45417
- Completed 401 Unauthorized in 0ms
45418
-  (0.1ms) SAVEPOINT active_record_1
45419
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45420
- Binary data inserted for `string` type on column `encrypted_password`
45421
- SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$W.N2DdtAAGPILkqc/PulUupqpcrIcgdJWj9pAeUiBXVXD5YPPzcZW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00]]
45422
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45423
-  (0.0ms) SAVEPOINT active_record_1
45424
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45425
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45426
- SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45427
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45428
-
45429
-
45430
- Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45431
- Processing by Contour::SessionsController#create as HTML
45432
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
45433
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45434
-  (0.0ms) SAVEPOINT active_record_1
45435
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45436
- Completed 401 Unauthorized in 5ms
45437
-
45438
-
45439
- Started GET "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45440
- Processing by Contour::SessionsController#new as HTML
45441
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
45442
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
45443
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
45444
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
45445
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
45446
- Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
45447
-  (0.7ms) rollback transaction
45448
-  (0.0ms) begin transaction
45449
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45450
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45451
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45452
-
45453
-
45454
- Started GET "/" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45455
- Processing by WelcomeController#index as HTML
45456
- Completed 401 Unauthorized in 0ms
45457
-  (0.1ms) rollback transaction
45458
-  (0.0ms) begin transaction
45459
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45460
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45461
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45462
-
45463
-
45464
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45465
- Processing by WelcomeController#logged_in_page as JSON
45466
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45467
-  (0.1ms) SAVEPOINT active_record_1
45468
-  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-21 15:59:11.697154', "current_sign_in_at" = '2012-08-21 15:59:11.697154', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-21 15:59:11.697870' WHERE "users"."id" = 201799169
45469
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45470
- Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45471
-  (1.0ms) rollback transaction
45472
-  (0.1ms) begin transaction
45473
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45474
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45475
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45476
-
45477
-
45478
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-21 11:59:11 -0400
45479
- Processing by WelcomeController#logged_in_page as JSON
45480
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45481
- Completed 401 Unauthorized in 77ms
45482
-  (0.1ms) rollback transaction
45483
-  (0.1ms) begin transaction
45484
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45485
-  (0.1ms) rollback transaction
45486
-  (0.0ms) begin transaction
45487
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45488
-  (0.1ms) rollback transaction
45489
- Connecting to database specified by database.yml
45490
-  (0.1ms) begin transaction
45491
- Fixture Delete (0.3ms) DELETE FROM "authentications"
45492
- 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-09-04 13:26:18', '2012-09-04 13:26:18', 949717663, 201799169)
45493
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 876923740, 201799169)
45494
- 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-09-04 13:26:18', '2012-09-04 13:26:18', 864673665, 201799169)
45495
- Fixture Delete (0.1ms) DELETE FROM "users"
45496
- 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-09-04 13:26:18', '2012-09-04 13:26:18', 201799169)
45497
- 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-09-04 13:26:18', '2012-09-04 13:26:18', 999914115)
45498
- 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-09-04 13:26:18', '2012-09-04 13:26:18', 725306934)
45499
- 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-09-04 13:26:18', '2012-09-04 13:26:18', 349534908)
45500
-  (51.3ms) commit transaction
45501
-  (0.1ms) begin transaction
45502
- Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
45503
-  (0.1ms) rollback transaction
45504
-  (0.1ms) begin transaction
45505
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45506
-  (0.0ms) rollback transaction
45507
-  (0.1ms) begin transaction
45508
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45509
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45510
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45511
- Processing by Contour::AuthenticationsController#create as HTML
45512
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-04 13:26:18 UTC", "updated_at"=>"2012-09-04 13:26:18 UTC"}}
45513
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
45514
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45515
- Logged in user found, creating associated authentication.
45516
-  (0.1ms) SAVEPOINT active_record_1
45517
- SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 04 Sep 2012 13:26:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 04 Sep 2012 13:26:18 UTC +00:00], ["user_id", 201799169]]
45518
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45519
- Redirected to http://test.host/authentications
45520
- Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
45521
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45522
-  (0.7ms) rollback transaction
45523
-  (0.0ms) begin transaction
45524
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45525
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45526
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45527
- Processing by Contour::AuthenticationsController#destroy as HTML
45528
- Parameters: {"id"=>"949717663"}
45529
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45530
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45531
-  (0.1ms) SAVEPOINT active_record_1
45532
- SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45533
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45534
- Redirected to http://test.host/authentications
45535
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
45536
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45537
-  (0.7ms) rollback transaction
45538
-  (0.0ms) begin transaction
45539
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45540
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45541
- Processing by Contour::AuthenticationsController#index as HTML
45542
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45543
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45544
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
45545
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms)
45546
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
45547
- Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.3ms)
45548
-  (0.1ms) rollback transaction
45549
-  (0.1ms) begin transaction
45550
- Processing by Contour::PasswordsController#create as HTML
45551
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
45552
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45553
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LDQEbcVH2sqXsUFgKVUX' LIMIT 1
45554
-  (0.0ms) SAVEPOINT active_record_1
45555
-  (0.3ms) UPDATE "users" SET "reset_password_token" = 'LDQEbcVH2sqXsUFgKVUX', "reset_password_sent_at" = '2012-09-04 13:26:18.770428', "updated_at" = '2012-09-04 13:26:18.771188' WHERE "users"."id" = 201799169
45556
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45557
-
45558
- Sent mail to valid@example.com (16ms)
45559
- Date: Tue, 04 Sep 2012 09:26:18 -0400
45560
- From: please-change-me-at-config-initializers-devise@example.com
45561
- Reply-To: please-change-me-at-config-initializers-devise@example.com
45562
- To: valid@example.com
45563
- Message-ID: <5046017ae8d65_d6543febadc35ae0583c2@edge.partners.org.mail>
45564
- Subject: Reset password instructions
45565
- Mime-Version: 1.0
45566
- Content-Type: text/html;
45567
- charset=UTF-8
45568
- Content-Transfer-Encoding: 7bit
45569
-
45570
- <p>Hello valid@example.com!</p>
45571
-
45572
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
45573
-
45574
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=LDQEbcVH2sqXsUFgKVUX">Change my password</a></p>
45575
-
45576
- <p>If you didn't request this, please ignore this email.</p>
45577
- <p>Your password won't change until you access the link above and create a new one.</p>
45578
-
45579
- Redirected to http://test.host/users/login
45580
- Completed 302 Found in 233ms (ActiveRecord: 0.0ms)
45581
-  (1.1ms) rollback transaction
45582
-  (0.0ms) begin transaction
45583
- Processing by Contour::PasswordsController#new as HTML
45584
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
45585
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
45586
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
45587
- Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
45588
-  (0.1ms) rollback transaction
45589
-  (0.0ms) begin transaction
45590
-  (0.0ms) rollback transaction
45591
-  (0.0ms) begin transaction
45592
-  (0.0ms) rollback transaction
45593
-  (0.0ms) begin transaction
45594
-  (0.0ms) rollback transaction
45595
-  (0.0ms) begin transaction
45596
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45597
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45598
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45599
-
45600
-
45601
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45602
- Processing by WelcomeController#logged_in_page as HTML
45603
- Completed 401 Unauthorized in 1ms
45604
-  (0.1ms) SAVEPOINT active_record_1
45605
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45606
- Binary data inserted for `string` type on column `encrypted_password`
45607
- 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, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$QhaeN2QKkQc8CH0FNno/he95by2eihxrGEtkT1/OfdsSyEVhgRolq"], ["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, 04 Sep 2012 13:26:19 UTC +00:00]]
45608
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45609
-  (0.0ms) SAVEPOINT active_record_1
45610
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45611
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45612
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45613
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
45614
-
45615
-
45616
- Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45617
- Processing by Contour::SessionsController#create as HTML
45618
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
45619
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45620
-  (0.1ms) SAVEPOINT active_record_1
45621
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45622
- Completed 401 Unauthorized in 6ms
45623
-
45624
-
45625
- Started GET "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45626
- Processing by Contour::SessionsController#new as HTML
45627
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
45628
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
45629
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
45630
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
45631
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.9ms)
45632
- Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms)
45633
-  (0.8ms) rollback transaction
45634
-  (0.1ms) begin transaction
45635
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45636
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45637
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45638
-
45639
-
45640
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45641
- Processing by WelcomeController#logged_in_page as HTML
45642
- Completed 401 Unauthorized in 0ms
45643
-  (0.1ms) SAVEPOINT active_record_1
45644
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45645
- Binary data inserted for `string` type on column `encrypted_password`
45646
- 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, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$gJ/nGq86a6g7e8EAxyS5j.iyNGbEFdf3utHVWTQSevz9QQWnhtBNW"], ["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, 04 Sep 2012 13:26:19 UTC +00:00]]
45647
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45648
-  (0.0ms) SAVEPOINT active_record_1
45649
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45650
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45651
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45652
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45653
-
45654
-
45655
- Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45656
- Processing by Contour::SessionsController#create as HTML
45657
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
45658
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45659
-  (0.0ms) SAVEPOINT active_record_1
45660
-  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-04 13:26:19.170591', "current_sign_in_at" = '2012-09-04 13:26:19.170591', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-04 13:26:19.171047' WHERE "users"."id" = 999914116
45661
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45662
- Redirected to http://www.example.com/logged_in_page
45663
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
45664
-
45665
-
45666
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45667
- Processing by WelcomeController#logged_in_page as HTML
45668
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45669
- Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
45670
-  (0.6ms) rollback transaction
45671
-  (0.1ms) begin transaction
45672
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45673
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45674
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45675
-
45676
-
45677
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45678
- Processing by WelcomeController#logged_in_page as HTML
45679
- Completed 401 Unauthorized in 0ms
45680
-  (0.1ms) SAVEPOINT active_record_1
45681
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45682
- Binary data inserted for `string` type on column `encrypted_password`
45683
- 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, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SCzkCZgplkcmyZtf/POSL.Ecw/R1bS.r6AIY5WkEZZaIcv.Vdwbiu"], ["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, 04 Sep 2012 13:26:19 UTC +00:00]]
45684
-  (0.1ms) RELEASE SAVEPOINT active_record_1
45685
-  (0.0ms) SAVEPOINT active_record_1
45686
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45687
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45688
- SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45689
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45690
-
45691
-
45692
- Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45693
- Processing by Contour::SessionsController#create as HTML
45694
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
45695
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45696
-  (0.1ms) SAVEPOINT active_record_1
45697
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45698
- Completed 401 Unauthorized in 6ms
45699
-
45700
-
45701
- Started GET "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45702
- Processing by Contour::SessionsController#new as HTML
45703
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
45704
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.4ms)
45705
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
45706
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
45707
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
45708
- Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
45709
-  (0.7ms) rollback transaction
45710
-  (0.1ms) begin transaction
45711
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45712
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45713
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45714
-
45715
-
45716
- Started GET "/" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45717
- Processing by WelcomeController#index as HTML
45718
- Completed 401 Unauthorized in 0ms
45719
-  (0.1ms) rollback transaction
45720
-  (0.1ms) begin transaction
45721
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45722
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45723
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45724
-
45725
-
45726
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45727
- Processing by WelcomeController#logged_in_page as JSON
45728
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45729
-  (0.1ms) SAVEPOINT active_record_1
45730
-  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-04 13:26:19.328427', "current_sign_in_at" = '2012-09-04 13:26:19.328427', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-04 13:26:19.329120' WHERE "users"."id" = 201799169
45731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45732
- Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45733
-  (0.8ms) rollback transaction
45734
-  (0.1ms) begin transaction
45735
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45736
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45737
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45738
-
45739
-
45740
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
45741
- Processing by WelcomeController#logged_in_page as JSON
45742
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45743
- Completed 401 Unauthorized in 78ms
45744
-  (0.1ms) rollback transaction
45745
-  (0.0ms) begin transaction
45746
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45747
-  (0.1ms) rollback transaction
45748
-  (0.1ms) begin transaction
45749
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45750
-  (0.0ms) rollback transaction
45751
- Connecting to database specified by database.yml
45752
-  (0.1ms) begin transaction
45753
- Fixture Delete (0.3ms) DELETE FROM "authentications"
45754
- 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-09-05 13:39:48', '2012-09-05 13:39:48', 949717663, 201799169)
45755
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 876923740, 201799169)
45756
- 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-09-05 13:39:48', '2012-09-05 13:39:48', 864673665, 201799169)
45757
- Fixture Delete (0.1ms) DELETE FROM "users"
45758
- 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-09-05 13:39:48', '2012-09-05 13:39:48', 201799169)
45759
- 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-09-05 13:39:48', '2012-09-05 13:39:48', 999914115)
45760
- 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-09-05 13:39:48', '2012-09-05 13:39:48', 725306934)
45761
- 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-09-05 13:39:48', '2012-09-05 13:39:48', 349534908)
45762
-  (1.7ms) commit transaction
45763
-  (0.0ms) begin transaction
45764
- Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
45765
-  (0.1ms) rollback transaction
45766
-  (0.1ms) begin transaction
45767
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45768
-  (0.1ms) rollback transaction
45769
-  (0.1ms) begin transaction
45770
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45771
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45772
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45773
- Processing by Contour::AuthenticationsController#create as HTML
45774
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-05 13:39:48 UTC", "updated_at"=>"2012-09-05 13:39:48 UTC"}}
45775
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
45776
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45777
- Logged in user found, creating associated authentication.
45778
-  (0.1ms) SAVEPOINT active_record_1
45779
- SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 13:39:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Sep 2012 13:39:48 UTC +00:00], ["user_id", 201799169]]
45780
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45781
- Redirected to http://test.host/authentications
45782
- Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
45783
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
45784
-  (0.8ms) rollback transaction
45785
-  (0.0ms) begin transaction
45786
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45787
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45788
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45789
- Processing by Contour::AuthenticationsController#destroy as HTML
45790
- Parameters: {"id"=>"949717663"}
45791
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45792
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45793
-  (0.0ms) SAVEPOINT active_record_1
45794
- SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45795
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45796
- Redirected to http://test.host/authentications
45797
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
45798
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
45799
-  (0.7ms) rollback transaction
45800
-  (0.0ms) begin transaction
45801
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45802
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45803
- Processing by Contour::AuthenticationsController#index as HTML
45804
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45805
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45806
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
45807
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.3ms)
45808
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
45809
- Completed 200 OK in 96ms (Views: 65.1ms | ActiveRecord: 0.4ms)
45810
-  (0.1ms) rollback transaction
45811
-  (0.1ms) begin transaction
45812
- Processing by Contour::PasswordsController#create as HTML
45813
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
45814
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45815
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'PjfLsyWZsM2d7GCGv8e2' LIMIT 1
45816
-  (0.0ms) SAVEPOINT active_record_1
45817
-  (0.3ms) UPDATE "users" SET "reset_password_token" = 'PjfLsyWZsM2d7GCGv8e2', "reset_password_sent_at" = '2012-09-05 13:39:49.117902', "updated_at" = '2012-09-05 13:39:49.118624' WHERE "users"."id" = 201799169
45818
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45819
-
45820
- Sent mail to valid@example.com (15ms)
45821
- Date: Wed, 05 Sep 2012 09:39:49 -0400
45822
- From: please-change-me-at-config-initializers-devise@example.com
45823
- Reply-To: please-change-me-at-config-initializers-devise@example.com
45824
- To: valid@example.com
45825
- Message-ID: <5047562534d48_12ed93ff49e035ad4390ad@edge2.partners.org.mail>
45826
- Subject: Reset password instructions
45827
- Mime-Version: 1.0
45828
- Content-Type: text/html;
45829
- charset=UTF-8
45830
- Content-Transfer-Encoding: 7bit
45831
-
45832
- <p>Hello valid@example.com!</p>
45833
-
45834
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
45835
-
45836
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=PjfLsyWZsM2d7GCGv8e2">Change my password</a></p>
45837
-
45838
- <p>If you didn't request this, please ignore this email.</p>
45839
- <p>Your password won't change until you access the link above and create a new one.</p>
45840
-
45841
- Redirected to http://test.host/users/login
45842
- Completed 302 Found in 146ms (ActiveRecord: 0.0ms)
45843
-  (1.1ms) rollback transaction
45844
-  (0.0ms) begin transaction
45845
- Processing by Contour::PasswordsController#new as HTML
45846
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms)
45847
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms)
45848
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms)
45849
- Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms)
45850
-  (0.1ms) rollback transaction
45851
-  (0.1ms) begin transaction
45852
-  (0.0ms) rollback transaction
45853
-  (0.1ms) begin transaction
45854
-  (0.0ms) rollback transaction
45855
-  (0.0ms) begin transaction
45856
-  (0.0ms) rollback transaction
45857
-  (0.0ms) begin transaction
45858
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45859
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45860
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45861
-
45862
-
45863
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45864
- Processing by WelcomeController#logged_in_page as HTML
45865
- Completed 401 Unauthorized in 1ms
45866
-  (0.1ms) SAVEPOINT active_record_1
45867
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45868
- Binary data inserted for `string` type on column `encrypted_password`
45869
- 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", Wed, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$8XKPvD6OrBuqa7NfTSS5vuhZ7HeLKXc3YlDVhLmGildQcD5IqLYTy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00]]
45870
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45871
-  (0.0ms) SAVEPOINT active_record_1
45872
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45873
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45874
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45875
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
45876
-
45877
-
45878
- Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45879
- Processing by Contour::SessionsController#create as HTML
45880
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
45881
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45882
-  (0.1ms) SAVEPOINT active_record_1
45883
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45884
- Completed 401 Unauthorized in 6ms
45885
-
45886
-
45887
- Started GET "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45888
- Processing by Contour::SessionsController#new as HTML
45889
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
45890
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms)
45891
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
45892
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
45893
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
45894
- Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
45895
-  (0.6ms) rollback transaction
45896
-  (0.1ms) begin transaction
45897
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45898
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45899
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45900
-
45901
-
45902
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45903
- Processing by WelcomeController#logged_in_page as HTML
45904
- Completed 401 Unauthorized in 0ms
45905
-  (0.1ms) SAVEPOINT active_record_1
45906
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45907
- Binary data inserted for `string` type on column `encrypted_password`
45908
- 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, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZqTLa0jFc4aQChlOD/4CI.pQweY8Civ/1SiYovRdJd.HAbGfK5VCm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00]]
45909
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45910
-  (0.0ms) SAVEPOINT active_record_1
45911
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45912
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45913
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45914
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45915
-
45916
-
45917
- Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45918
- Processing by Contour::SessionsController#create as HTML
45919
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
45920
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45921
-  (0.0ms) SAVEPOINT active_record_1
45922
-  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-05 13:39:49.459868', "current_sign_in_at" = '2012-09-05 13:39:49.459868', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-05 13:39:49.460314' WHERE "users"."id" = 999914116
45923
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45924
- Redirected to http://www.example.com/logged_in_page
45925
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
45926
-
45927
-
45928
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45929
- Processing by WelcomeController#logged_in_page as HTML
45930
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45931
- Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
45932
-  (0.6ms) rollback transaction
45933
-  (0.1ms) begin transaction
45934
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45935
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45936
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45937
-
45938
-
45939
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45940
- Processing by WelcomeController#logged_in_page as HTML
45941
- Completed 401 Unauthorized in 0ms
45942
-  (0.1ms) SAVEPOINT active_record_1
45943
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45944
- Binary data inserted for `string` type on column `encrypted_password`
45945
- 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, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$tcnAbLuusn9W2A/.fHY2f.qP/zwhopAagvR1REHfLO3w/qmquNzgu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00]]
45946
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45947
-  (0.0ms) SAVEPOINT active_record_1
45948
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45949
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45950
- SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45951
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45952
-
45953
-
45954
- Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45955
- Processing by Contour::SessionsController#create as HTML
45956
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
45957
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45958
-  (0.0ms) SAVEPOINT active_record_1
45959
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45960
- Completed 401 Unauthorized in 4ms
45961
-
45962
-
45963
- Started GET "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45964
- Processing by Contour::SessionsController#new as HTML
45965
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
45966
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
45967
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
45968
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
45969
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
45970
- Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)
45971
-  (0.6ms) rollback transaction
45972
-  (0.1ms) begin transaction
45973
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45974
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45975
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45976
-
45977
-
45978
- Started GET "/" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45979
- Processing by WelcomeController#index as HTML
45980
- Completed 401 Unauthorized in 0ms
45981
-  (0.1ms) rollback transaction
45982
-  (0.1ms) begin transaction
45983
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45984
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45985
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45986
-
45987
-
45988
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
45989
- Processing by WelcomeController#logged_in_page as JSON
45990
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45991
-  (0.1ms) SAVEPOINT active_record_1
45992
-  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-05 13:39:49.607213', "current_sign_in_at" = '2012-09-05 13:39:49.607213', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-05 13:39:49.607899' WHERE "users"."id" = 201799169
45993
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45994
- Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45995
-  (0.7ms) rollback transaction
45996
-  (0.0ms) begin transaction
45997
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45998
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45999
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46000
-
46001
-
46002
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
46003
- Processing by WelcomeController#logged_in_page as JSON
46004
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46005
- Completed 401 Unauthorized in 78ms
46006
-  (0.1ms) rollback transaction
46007
-  (0.1ms) begin transaction
46008
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46009
-  (0.1ms) rollback transaction
46010
-  (0.0ms) begin transaction
46011
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46012
-  (0.0ms) rollback transaction
46013
- Connecting to database specified by database.yml
46014
-  (0.1ms) begin transaction
46015
- Fixture Delete (30.7ms) DELETE FROM "authentications"
46016
- Fixture Insert (0.6ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 949717663, 201799169)
46017
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 876923740, 201799169)
46018
- 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-09-10 18:31:33', '2012-09-10 18:31:33', 864673665, 201799169)
46019
- Fixture Delete (0.9ms) DELETE FROM "users"
46020
- 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-09-10 18:31:33', '2012-09-10 18:31:33', 201799169)
46021
- 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-09-10 18:31:33', '2012-09-10 18:31:33', 999914115)
46022
- 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-09-10 18:31:33', '2012-09-10 18:31:33', 725306934)
46023
- 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-09-10 18:31:33', '2012-09-10 18:31:33', 349534908)
46024
-  (1.8ms) commit transaction
46025
-  (0.0ms) begin transaction
46026
- Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
46027
-  (0.1ms) rollback transaction
46028
-  (0.1ms) begin transaction
46029
- Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46030
-  (0.0ms) rollback transaction
46031
-  (0.0ms) begin transaction
46032
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46033
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46034
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
46035
- Processing by Contour::AuthenticationsController#create as HTML
46036
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:31:33 UTC", "updated_at"=>"2012-09-10 18:31:33 UTC"}}
46037
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
46038
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46039
- Logged in user found, creating associated authentication.
46040
-  (0.1ms) SAVEPOINT active_record_1
46041
- SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["user_id", 201799169]]
46042
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46043
- Redirected to http://test.host/authentications
46044
- Completed 302 Found in 33ms (ActiveRecord: 0.8ms)
46045
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
46046
-  (20.4ms) rollback transaction
46047
-  (0.1ms) begin transaction
46048
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46049
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46050
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
46051
- Processing by Contour::AuthenticationsController#destroy as HTML
46052
- Parameters: {"id"=>"949717663"}
46053
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46054
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
46055
-  (0.0ms) SAVEPOINT active_record_1
46056
- SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
46057
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46058
- Redirected to http://test.host/authentications
46059
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
46060
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
46061
-  (0.6ms) rollback transaction
46062
-  (0.0ms) begin transaction
46063
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46064
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46065
- Processing by Contour::AuthenticationsController#index as HTML
46066
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46067
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
46068
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
46069
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
46070
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
46071
- Completed 200 OK in 184ms (Views: 181.9ms | ActiveRecord: 0.3ms)
46072
-  (0.1ms) rollback transaction
46073
-  (0.1ms) begin transaction
46074
- Processing by Contour::PasswordsController#create as HTML
46075
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
46076
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46077
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX' LIMIT 1
46078
-  (0.1ms) SAVEPOINT active_record_1
46079
-  (0.5ms) UPDATE "users" SET "reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX', "reset_password_sent_at" = '2012-09-10 18:31:33.572646', "updated_at" = '2012-09-10 18:31:33.574102' WHERE "users"."id" = 201799169
46080
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46081
-
46082
- Sent mail to valid@example.com (128ms)
46083
- Date: Mon, 10 Sep 2012 14:31:33 -0400
46084
- From: please-change-me-at-config-initializers-devise@example.com
46085
- Reply-To: please-change-me-at-config-initializers-devise@example.com
46086
- To: valid@example.com
46087
- Message-ID: <504e3205cca82_af433fe4acc35ad434623@edge2.partners.org.mail>
46088
- Subject: Reset password instructions
46089
- Mime-Version: 1.0
46090
- Content-Type: text/html;
46091
- charset=UTF-8
46092
- Content-Transfer-Encoding: 7bit
46093
-
46094
- <p>Hello valid@example.com!</p>
46095
-
46096
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
46097
-
46098
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=zKqe7VLs7uVvRFf6nyGX">Change my password</a></p>
46099
-
46100
- <p>If you didn't request this, please ignore this email.</p>
46101
- <p>Your password won't change until you access the link above and create a new one.</p>
46102
-
46103
- Redirected to http://test.host/users/login
46104
- Completed 302 Found in 377ms (ActiveRecord: 0.0ms)
46105
-  (0.8ms) rollback transaction
46106
-  (0.1ms) begin transaction
46107
- Processing by Contour::PasswordsController#new as HTML
46108
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
46109
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
46110
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms)
46111
- Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.0ms)
46112
-  (0.1ms) rollback transaction
46113
-  (0.1ms) begin transaction
46114
-  (0.0ms) rollback transaction
46115
-  (0.0ms) begin transaction
46116
-  (0.1ms) rollback transaction
46117
-  (0.0ms) begin transaction
46118
-  (0.0ms) rollback transaction
46119
-  (0.0ms) begin transaction
46120
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46121
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46122
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46123
-
46124
-
46125
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:33 -0400
46126
- Processing by WelcomeController#logged_in_page as HTML
46127
- Completed 401 Unauthorized in 1ms
46128
-  (0.1ms) SAVEPOINT active_record_1
46129
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
46130
- Binary data inserted for `string` type on column `encrypted_password`
46131
- 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", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$DwAlA3jInjonmwy0ucL9i.MKCfvtEwcBOkpjS7oE1Yxe8Z8wFkYf6"], ["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", Mon, 10 Sep 2012 18:31:34 UTC +00:00]]
46132
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46133
-  (0.0ms) SAVEPOINT active_record_1
46134
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46135
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46136
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
46137
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
46138
-
46139
-
46140
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46141
- Processing by Contour::SessionsController#create as HTML
46142
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
46143
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
46144
-  (0.1ms) SAVEPOINT active_record_1
46145
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46146
- Completed 401 Unauthorized in 7ms
46147
-
46148
-
46149
- Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46150
- Processing by Contour::SessionsController#new as HTML
46151
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
46152
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (29.9ms)
46153
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
46154
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
46155
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
46156
- Completed 200 OK in 63ms (Views: 62.5ms | ActiveRecord: 0.0ms)
46157
-  (0.8ms) rollback transaction
46158
-  (0.1ms) begin transaction
46159
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46160
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46161
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46162
-
46163
-
46164
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46165
- Processing by WelcomeController#logged_in_page as HTML
46166
- Completed 401 Unauthorized in 0ms
46167
-  (0.1ms) SAVEPOINT active_record_1
46168
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
46169
- Binary data inserted for `string` type on column `encrypted_password`
46170
- 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", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N2JtWevvgI/xfVhlIxM0Ru2aGTAXjy4zrfT77KSnvGt3Rhm/9.SGe"], ["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", Mon, 10 Sep 2012 18:31:34 UTC +00:00]]
46171
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46172
-  (0.0ms) SAVEPOINT active_record_1
46173
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46174
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46175
- SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
46176
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
46177
-
46178
-
46179
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46180
- Processing by Contour::SessionsController#create as HTML
46181
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
46182
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
46183
-  (0.0ms) SAVEPOINT active_record_1
46184
-  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.202552', "current_sign_in_at" = '2012-09-10 18:31:34.202552', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.203113' WHERE "users"."id" = 999914116
46185
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46186
- Redirected to http://www.example.com/logged_in_page
46187
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
46188
-
46189
-
46190
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46191
- Processing by WelcomeController#logged_in_page as HTML
46192
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
46193
- Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.1ms)
46194
-  (0.9ms) rollback transaction
46195
-  (0.1ms) begin transaction
46196
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46197
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46198
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46199
-
46200
-
46201
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46202
- Processing by WelcomeController#logged_in_page as HTML
46203
- Completed 401 Unauthorized in 0ms
46204
-  (0.1ms) SAVEPOINT active_record_1
46205
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
46206
- Binary data inserted for `string` type on column `encrypted_password`
46207
- 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", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$aHdyDHWDVzsBMDkQuxVdG.nryVS9Q8PFjLD9B.Q7oQMMgtN4bFcDW"], ["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", Mon, 10 Sep 2012 18:31:34 UTC +00:00]]
46208
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46209
-  (0.0ms) SAVEPOINT active_record_1
46210
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46211
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46212
- SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
46213
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
46214
-
46215
-
46216
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46217
- Processing by Contour::SessionsController#create as HTML
46218
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
46219
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
46220
-  (0.0ms) SAVEPOINT active_record_1
46221
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46222
- Completed 401 Unauthorized in 4ms
46223
-
46224
-
46225
- Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46226
- Processing by Contour::SessionsController#new as HTML
46227
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
46228
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
46229
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
46230
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
46231
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
46232
- Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
46233
-  (0.7ms) rollback transaction
46234
-  (0.1ms) begin transaction
46235
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46236
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46237
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46238
-
46239
-
46240
- Started GET "/" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46241
- Processing by WelcomeController#index as HTML
46242
- Completed 401 Unauthorized in 0ms
46243
-  (0.1ms) rollback transaction
46244
-  (0.0ms) begin transaction
46245
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46246
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46247
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46248
-
46249
-
46250
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46251
- Processing by WelcomeController#logged_in_page as JSON
46252
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46253
-  (0.1ms) SAVEPOINT active_record_1
46254
-  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.382469' WHERE "users"."id" = 201799169
46255
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46256
- Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
46257
-  (0.6ms) rollback transaction
46258
-  (0.1ms) begin transaction
46259
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46260
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46261
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46262
-
46263
-
46264
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
46265
- Processing by WelcomeController#logged_in_page as JSON
46266
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46267
- Completed 401 Unauthorized in 79ms
46268
-  (0.1ms) rollback transaction
46269
-  (0.0ms) begin transaction
46270
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46271
-  (0.1ms) rollback transaction
46272
-  (0.0ms) begin transaction
46273
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46274
-  (0.0ms) rollback transaction
46275
- Connecting to database specified by database.yml
46276
-  (0.1ms) begin transaction
46277
- Fixture Delete (0.5ms) DELETE FROM "authentications"
46278
- 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-09-10 18:46:37', '2012-09-10 18:46:37', 949717663, 201799169)
46279
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 876923740, 201799169)
46280
- 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-09-10 18:46:37', '2012-09-10 18:46:37', 864673665, 201799169)
46281
- Fixture Delete (0.2ms) DELETE FROM "users"
46282
- 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-09-10 18:46:37', '2012-09-10 18:46:37', 201799169)
46283
- Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 999914115)
46284
- 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-09-10 18:46:37', '2012-09-10 18:46:37', 725306934)
46285
- 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-09-10 18:46:37', '2012-09-10 18:46:37', 349534908)
46286
-  (1.1ms) commit transaction
46287
-  (0.1ms) begin transaction
46288
- Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
46289
-  (0.1ms) rollback transaction
46290
-  (0.1ms) begin transaction
46291
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46292
-  (0.1ms) rollback transaction
46293
-  (0.1ms) begin transaction
46294
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46295
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46296
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
46297
- Processing by Contour::AuthenticationsController#create as HTML
46298
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:46:37 UTC", "updated_at"=>"2012-09-10 18:46:37 UTC"}}
46299
- Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
46300
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46301
- Logged in user found, creating associated authentication.
46302
-  (0.1ms) SAVEPOINT active_record_1
46303
- SQL (38.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["user_id", 201799169]]
46304
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46305
- Redirected to http://test.host/authentications
46306
- Completed 302 Found in 81ms (ActiveRecord: 39.2ms)
46307
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
46308
-  (33.7ms) rollback transaction
46309
-  (0.1ms) begin transaction
46310
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46311
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46312
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
46313
- Processing by Contour::AuthenticationsController#destroy as HTML
46314
- Parameters: {"id"=>"949717663"}
46315
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46316
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
46317
-  (0.0ms) SAVEPOINT active_record_1
46318
- SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
46319
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46320
- Redirected to http://test.host/authentications
46321
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
46322
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
46323
-  (3.3ms) rollback transaction
46324
-  (0.1ms) begin transaction
46325
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46326
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46327
- Processing by Contour::AuthenticationsController#index as HTML
46328
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46329
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
46330
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
46331
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
46332
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
46333
- Completed 200 OK in 145ms (Views: 142.8ms | ActiveRecord: 0.4ms)
46334
-  (0.1ms) rollback transaction
46335
-  (0.1ms) begin transaction
46336
- Processing by Contour::PasswordsController#create as HTML
46337
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
46338
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46339
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GgquaUa2pL6WvAWGCas3' LIMIT 1
46340
-  (0.1ms) SAVEPOINT active_record_1
46341
-  (0.4ms) UPDATE "users" SET "reset_password_token" = 'GgquaUa2pL6WvAWGCas3', "reset_password_sent_at" = '2012-09-10 18:46:38.047598', "updated_at" = '2012-09-10 18:46:38.048660' WHERE "users"."id" = 201799169
46342
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46343
-
46344
- Sent mail to valid@example.com (70ms)
46345
- Date: Mon, 10 Sep 2012 14:46:38 -0400
46346
- From: please-change-me-at-config-initializers-devise@example.com
46347
- Reply-To: please-change-me-at-config-initializers-devise@example.com
46348
- To: valid@example.com
46349
- Message-ID: <504e358e49683_b1013fc9c8835adc1644b@edge2.partners.org.mail>
46350
- Subject: Reset password instructions
46351
- Mime-Version: 1.0
46352
- Content-Type: text/html;
46353
- charset=UTF-8
46354
- Content-Transfer-Encoding: 7bit
46355
-
46356
- <p>Hello valid@example.com!</p>
46357
-
46358
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
46359
-
46360
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=GgquaUa2pL6WvAWGCas3">Change my password</a></p>
46361
-
46362
- <p>If you didn't request this, please ignore this email.</p>
46363
- <p>Your password won't change until you access the link above and create a new one.</p>
46364
-
46365
- Redirected to http://test.host/users/login
46366
- Completed 302 Found in 392ms (ActiveRecord: 0.0ms)
46367
-  (0.6ms) rollback transaction
46368
-  (0.1ms) begin transaction
46369
- Processing by Contour::PasswordsController#new as HTML
46370
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms)
46371
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
46372
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
46373
- Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
46374
-  (0.1ms) rollback transaction
46375
-  (0.1ms) begin transaction
46376
-  (0.0ms) rollback transaction
46377
-  (0.0ms) begin transaction
46378
-  (0.0ms) rollback transaction
46379
-  (0.1ms) begin transaction
46380
-  (0.0ms) rollback transaction
46381
-  (0.1ms) begin transaction
46382
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46383
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46384
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46385
-
46386
-
46387
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46388
- Processing by WelcomeController#logged_in_page as HTML
46389
- Completed 401 Unauthorized in 1ms
46390
-  (0.1ms) SAVEPOINT active_record_1
46391
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
46392
- Binary data inserted for `string` type on column `encrypted_password`
46393
- 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", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$k1YnZJhyITnicXIimOa.5eSTSF/Dcd3iqVhTLBll0Sf2ydEdnT/sa"], ["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", Mon, 10 Sep 2012 18:46:38 UTC +00:00]]
46394
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46395
-  (0.0ms) SAVEPOINT active_record_1
46396
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46397
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46398
- SQL (0.5ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
46399
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
46400
-
46401
-
46402
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46403
- Processing by Contour::SessionsController#create as HTML
46404
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
46405
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
46406
-  (0.1ms) SAVEPOINT active_record_1
46407
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46408
- Completed 401 Unauthorized in 8ms
46409
-
46410
-
46411
- Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46412
- Processing by Contour::SessionsController#new as HTML
46413
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
46414
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms)
46415
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
46416
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
46417
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
46418
- Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)
46419
-  (0.6ms) rollback transaction
46420
-  (0.1ms) begin transaction
46421
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46422
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46423
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46424
-
46425
-
46426
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46427
- Processing by WelcomeController#logged_in_page as HTML
46428
- Completed 401 Unauthorized in 0ms
46429
-  (0.1ms) SAVEPOINT active_record_1
46430
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
46431
- Binary data inserted for `string` type on column `encrypted_password`
46432
- 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", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$G57Zblb/A9U4WCQuI5f6fuqYuw0X/SWOzYH8jTfuIjKYCq7cyciD6"], ["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", Mon, 10 Sep 2012 18:46:38 UTC +00:00]]
46433
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46434
-  (0.0ms) SAVEPOINT active_record_1
46435
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46436
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46437
- SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
46438
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
46439
-
46440
-
46441
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46442
- Processing by Contour::SessionsController#create as HTML
46443
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
46444
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
46445
-  (0.1ms) SAVEPOINT active_record_1
46446
-  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.667006', "current_sign_in_at" = '2012-09-10 18:46:38.667006', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.667723' WHERE "users"."id" = 999914116
46447
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46448
- Redirected to http://www.example.com/logged_in_page
46449
- Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
46450
-
46451
-
46452
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46453
- Processing by WelcomeController#logged_in_page as HTML
46454
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
46455
- Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.2ms)
46456
-  (20.6ms) rollback transaction
46457
-  (0.1ms) begin transaction
46458
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46459
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46460
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46461
-
46462
-
46463
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46464
- Processing by WelcomeController#logged_in_page as HTML
46465
- Completed 401 Unauthorized in 0ms
46466
-  (0.1ms) SAVEPOINT active_record_1
46467
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
46468
- Binary data inserted for `string` type on column `encrypted_password`
46469
- 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", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$0rHzFelYVGcrF5Wc4DrMtO9x5pwcDR7xUJkVm77cUX2buEj/QyXs2"], ["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", Mon, 10 Sep 2012 18:46:38 UTC +00:00]]
46470
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46471
-  (0.0ms) SAVEPOINT active_record_1
46472
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46473
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46474
- SQL (7.6ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
46475
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
46476
-
46477
-
46478
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46479
- Processing by Contour::SessionsController#create as HTML
46480
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
46481
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
46482
-  (0.1ms) SAVEPOINT active_record_1
46483
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46484
- Completed 401 Unauthorized in 5ms
46485
-
46486
-
46487
- Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46488
- Processing by Contour::SessionsController#new as HTML
46489
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
46490
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
46491
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
46492
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
46493
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
46494
- Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
46495
-  (19.0ms) rollback transaction
46496
-  (0.1ms) begin transaction
46497
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46498
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46499
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46500
-
46501
-
46502
- Started GET "/" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46503
- Processing by WelcomeController#index as HTML
46504
- Completed 401 Unauthorized in 1ms
46505
-  (0.1ms) rollback transaction
46506
-  (0.1ms) begin transaction
46507
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46508
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46509
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46510
-
46511
-
46512
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
46513
- Processing by WelcomeController#logged_in_page as JSON
46514
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46515
-  (0.1ms) SAVEPOINT active_record_1
46516
-  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.924080' WHERE "users"."id" = 201799169
46517
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46518
- Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.6ms)
46519
-  (137.2ms) rollback transaction
46520
-  (0.1ms) begin transaction
46521
- User Load (7.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46522
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46523
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46524
-
46525
-
46526
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:39 -0400
46527
- Processing by WelcomeController#logged_in_page as JSON
46528
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46529
- Completed 401 Unauthorized in 79ms
46530
-  (0.1ms) rollback transaction
46531
-  (0.1ms) begin transaction
46532
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46533
-  (0.1ms) rollback transaction
46534
-  (0.0ms) begin transaction
46535
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46536
-  (0.0ms) rollback transaction
46537
- Connecting to database specified by database.yml
46538
-  (0.1ms) begin transaction
46539
- Fixture Delete (8.1ms) DELETE FROM "authentications"
46540
- Fixture Insert (0.5ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 949717663, 201799169)
46541
- Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 876923740, 201799169)
46542
- 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-09-10 18:52:14', '2012-09-10 18:52:14', 864673665, 201799169)
46543
- Fixture Delete (1.4ms) DELETE FROM "users"
46544
- 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-09-10 18:52:14', '2012-09-10 18:52:14', 201799169)
46545
- 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-09-10 18:52:14', '2012-09-10 18:52:14', 999914115)
46546
- 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-09-10 18:52:14', '2012-09-10 18:52:14', 725306934)
46547
- 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-09-10 18:52:14', '2012-09-10 18:52:14', 349534908)
46548
-  (2.1ms) commit transaction
46549
-  (0.0ms) begin transaction
46550
- Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
46551
-  (0.1ms) rollback transaction
46552
-  (0.1ms) begin transaction
46553
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46554
-  (0.0ms) rollback transaction
46555
-  (0.1ms) begin transaction
46556
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46557
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46558
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
46559
- Processing by Contour::AuthenticationsController#create as HTML
46560
- Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:52:14 UTC", "updated_at"=>"2012-09-10 18:52:14 UTC"}}
46561
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
46562
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46563
- Logged in user found, creating associated authentication.
46564
-  (0.1ms) SAVEPOINT active_record_1
46565
- SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["user_id", 201799169]]
46566
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46567
- Redirected to http://test.host/authentications
46568
- Completed 302 Found in 52ms (ActiveRecord: 1.1ms)
46569
-  (0.1ms) SELECT COUNT(*) FROM "authentications" 
46570
-  (0.5ms) rollback transaction
46571
-  (0.1ms) begin transaction
46572
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46573
- Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46574
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
46575
- Processing by Contour::AuthenticationsController#destroy as HTML
46576
- Parameters: {"id"=>"949717663"}
46577
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46578
- Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
46579
-  (0.1ms) SAVEPOINT active_record_1
46580
- SQL (0.9ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
46581
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46582
- Redirected to http://test.host/authentications
46583
- Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
46584
-  (0.1ms) SELECT COUNT(*) FROM "authentications"
46585
-  (0.4ms) rollback transaction
46586
-  (0.1ms) begin transaction
46587
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46588
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
46589
- Processing by Contour::AuthenticationsController#index as HTML
46590
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
46591
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
46592
- Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
46593
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
46594
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
46595
- Completed 200 OK in 147ms (Views: 144.8ms | ActiveRecord: 0.4ms)
46596
-  (0.1ms) rollback transaction
46597
-  (0.1ms) begin transaction
46598
- Processing by Contour::PasswordsController#create as HTML
46599
- Parameters: {"user"=>{"email"=>"valid@example.com"}}
46600
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46601
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx' LIMIT 1
46602
-  (0.1ms) SAVEPOINT active_record_1
46603
-  (0.4ms) UPDATE "users" SET "reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx', "reset_password_sent_at" = '2012-09-10 18:52:15.147756', "updated_at" = '2012-09-10 18:52:15.149159' WHERE "users"."id" = 201799169
46604
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46605
-
46606
- Sent mail to valid@example.com (74ms)
46607
- Date: Mon, 10 Sep 2012 14:52:15 -0400
46608
- From: please-change-me-at-config-initializers-devise@example.com
46609
- Reply-To: please-change-me-at-config-initializers-devise@example.com
46610
- To: valid@example.com
46611
- Message-ID: <504e36df6bdf5_b1aa3ffc4d835ad4887c0@edge2.partners.org.mail>
46612
- Subject: Reset password instructions
46613
- Mime-Version: 1.0
46614
- Content-Type: text/html;
46615
- charset=UTF-8
46616
- Content-Transfer-Encoding: 7bit
46617
-
46618
- <p>Hello valid@example.com!</p>
46619
-
46620
- <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
46621
-
46622
- <p><a href="http://localhost:3000/users/password/edit?reset_password_token=rLcHTFNPKGXUu5Qq3CRx">Change my password</a></p>
46623
-
46624
- <p>If you didn't request this, please ignore this email.</p>
46625
- <p>Your password won't change until you access the link above and create a new one.</p>
46626
-
46627
- Redirected to http://test.host/users/login
46628
- Completed 302 Found in 416ms (ActiveRecord: 0.0ms)
46629
-  (0.6ms) rollback transaction
46630
-  (0.1ms) begin transaction
46631
- Processing by Contour::PasswordsController#new as HTML
46632
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms)
46633
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
46634
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms)
46635
- Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.0ms)
46636
-  (0.1ms) rollback transaction
46637
-  (0.1ms) begin transaction
46638
-  (0.0ms) rollback transaction
46639
-  (0.0ms) begin transaction
46640
-  (0.0ms) rollback transaction
46641
-  (0.1ms) begin transaction
46642
-  (0.0ms) rollback transaction
46643
-  (0.1ms) begin transaction
46644
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46645
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46646
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46647
-
46648
-
46649
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46650
- Processing by WelcomeController#logged_in_page as HTML
46651
- Completed 401 Unauthorized in 1ms
46652
-  (0.1ms) SAVEPOINT active_record_1
46653
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
46654
- Binary data inserted for `string` type on column `encrypted_password`
46655
- SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:52: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$zaTDlrcmvornfxQwcHcdheqy8WCGuMIlOoLiR6jRroF9ZSL.nAdpe"], ["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", Mon, 10 Sep 2012 18:52:15 UTC +00:00]]
46656
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46657
-  (0.0ms) SAVEPOINT active_record_1
46658
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46659
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46660
- SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
46661
- SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
46662
-
46663
-
46664
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46665
- Processing by Contour::SessionsController#create as HTML
46666
- Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
46667
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
46668
-  (0.1ms) SAVEPOINT active_record_1
46669
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46670
- Completed 401 Unauthorized in 33ms
46671
-
46672
-
46673
- Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46674
- Processing by Contour::SessionsController#new as HTML
46675
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
46676
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
46677
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
46678
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
46679
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
46680
- Completed 200 OK in 47ms (Views: 45.9ms | ActiveRecord: 0.0ms)
46681
-  (0.8ms) rollback transaction
46682
-  (0.1ms) begin transaction
46683
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46684
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46685
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46686
-
46687
-
46688
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46689
- Processing by WelcomeController#logged_in_page as HTML
46690
- Completed 401 Unauthorized in 0ms
46691
-  (0.1ms) SAVEPOINT active_record_1
46692
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
46693
- Binary data inserted for `string` type on column `encrypted_password`
46694
- 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", Mon, 10 Sep 2012 18:52: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$Rx5HH42oS1OQVe38cBwoSuHyZUnquuWvMlyWDoIIzXJjXTw3SarHC"], ["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", Mon, 10 Sep 2012 18:52:15 UTC +00:00]]
46695
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46696
-  (0.0ms) SAVEPOINT active_record_1
46697
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46698
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46699
- SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
46700
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
46701
-
46702
-
46703
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46704
- Processing by Contour::SessionsController#create as HTML
46705
- Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
46706
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
46707
-  (0.1ms) SAVEPOINT active_record_1
46708
-  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.822608', "current_sign_in_at" = '2012-09-10 18:52:15.822608', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.823390' WHERE "users"."id" = 999914116
46709
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46710
- Redirected to http://www.example.com/logged_in_page
46711
- Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
46712
-
46713
-
46714
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46715
- Processing by WelcomeController#logged_in_page as HTML
46716
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
46717
- Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.1ms)
46718
-  (0.8ms) rollback transaction
46719
-  (0.1ms) begin transaction
46720
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46721
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46722
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46723
-
46724
-
46725
- Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46726
- Processing by WelcomeController#logged_in_page as HTML
46727
- Completed 401 Unauthorized in 0ms
46728
-  (0.1ms) SAVEPOINT active_record_1
46729
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
46730
- Binary data inserted for `string` type on column `encrypted_password`
46731
- 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", Mon, 10 Sep 2012 18:52: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$WBcH8fjU.Ny8O/.8wYS.y.xEQxTDtDU5CAh5zxR4Gc8YyOLZfoBZK"], ["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", Mon, 10 Sep 2012 18:52:15 UTC +00:00]]
46732
-  (0.1ms) RELEASE SAVEPOINT active_record_1
46733
-  (0.0ms) SAVEPOINT active_record_1
46734
-  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
46735
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46736
- SQL (0.4ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
46737
- SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
46738
-
46739
-
46740
- Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46741
- Processing by Contour::SessionsController#create as HTML
46742
- Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
46743
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
46744
-  (0.0ms) SAVEPOINT active_record_1
46745
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46746
- Completed 401 Unauthorized in 4ms
46747
-
46748
-
46749
- Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46750
- Processing by Contour::SessionsController#new as HTML
46751
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
46752
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
46753
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
46754
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
46755
- Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
46756
- Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
46757
-  (0.8ms) rollback transaction
46758
-  (0.1ms) begin transaction
46759
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46760
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46761
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46762
-
46763
-
46764
- Started GET "/" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46765
- Processing by WelcomeController#index as HTML
46766
- Completed 401 Unauthorized in 1ms
46767
-  (0.1ms) rollback transaction
46768
-  (0.0ms) begin transaction
46769
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46770
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46771
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46772
-
46773
-
46774
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
46775
- Processing by WelcomeController#logged_in_page as JSON
46776
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46777
-  (0.1ms) SAVEPOINT active_record_1
46778
-  (0.5ms) UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.999303' WHERE "users"."id" = 201799169
46779
-  (0.0ms) RELEASE SAVEPOINT active_record_1
46780
- Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.7ms)
46781
-  (0.7ms) rollback transaction
46782
-  (0.0ms) begin transaction
46783
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46784
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
46785
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
46786
-
46787
-
46788
- Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:16 -0400
46789
- Processing by WelcomeController#logged_in_page as JSON
46790
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
46791
- Completed 401 Unauthorized in 82ms
46792
-  (0.1ms) rollback transaction
46793
-  (0.1ms) begin transaction
46794
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46795
-  (0.1ms) rollback transaction
46796
-  (0.1ms) begin transaction
46797
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
46798
-  (0.0ms) rollback transaction