contour 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.10.1
2
+
3
+ * Enhancements
4
+ * Added options for setting body_background_{image|color} and link_color
5
+ * Setting these as arrays will rotate through on a daily basis
6
+ * Use the month_day configuration to set specific colors/images for select days
7
+
1
8
  == 0.10.0
2
9
 
3
10
  * Enhancements
@@ -2,7 +2,13 @@
2
2
  /* GLOBALS */
3
3
  /**************************************/
4
4
 
5
- body{ color: #404040; overflow-y: scroll; }
5
+ body {
6
+ color: #404040;
7
+ overflow-y: scroll;
8
+ background-repeat: no-repeat;
9
+ background-position: top center;
10
+ background-attachment: fixed;
11
+ }
6
12
 
7
13
  a:link { color: #057080; }
8
14
  a:hover { color: #EB6C20; }
@@ -16,10 +22,18 @@ a:link.positive {
16
22
  color: #529214;
17
23
  }
18
24
 
25
+ a:link, a:visited, #header a:hover, #menu a:hover {
26
+ text-decoration: none;
27
+ }
28
+
29
+ a:hover, a:active, a:focus {
30
+ text-decoration: underline;
31
+ }
32
+
19
33
  #content {
20
34
  margin-top: 10px;
21
35
  padding: 0px 4px 4px 4px;
22
- background-color: #FFF;
36
+ background-color: transparent;
23
37
  }
24
38
 
25
39
  pre {
@@ -69,4 +83,4 @@ table.padded td, table.padded.th {
69
83
 
70
84
  .field_with_errors_cleared input, .field_with_errors_cleared textarea {
71
85
  /* background-color: #66FF66;*/
72
- }
86
+ }
@@ -14,5 +14,10 @@
14
14
  background-repeat: no-repeat;
15
15
  background-attachment: scroll;
16
16
  background-position: top right;
17
- background-color: #FFF;
18
- }
17
+ background-color: transparent;
18
+ }
19
+
20
+ #header a:link, #header a:visited, #header a:active, #header a:focus {
21
+ color: #404040;
22
+ text-decoration: none;
23
+ }
@@ -6,6 +6,16 @@
6
6
  <%= stylesheet_link_tag "application", media: "all" %>
7
7
  <%= javascript_include_tag "application" %>
8
8
  <%= csrf_meta_tags %>
9
+ <style type="text/css">
10
+ body {
11
+ <%= "background-image: url(#{image_path(Contour.body_background_image_select) rescue ''});" unless Contour.body_background_image_select.blank? %>
12
+ <%= "background-color: #{Contour.body_background_color_select};" unless Contour.body_background_color_select.blank? %>
13
+ }
14
+
15
+ a:link, a:visited, a:hover, a:active, a:focus, #header a:hover, #menu a:hover {
16
+ <%= "color: #{Contour.link_color_select};" unless Contour.link_color_select.blank? %>
17
+ }
18
+ </style>
9
19
  </head>
10
20
  <body>
11
21
  <%= javascript_tag "var root_url='#{request.script_name + '/'}';var auth_token='#{form_authenticity_token}';" %>
data/lib/contour.rb CHANGED
@@ -54,7 +54,53 @@ module Contour
54
54
  mattr_accessor :news_feed_items
55
55
  @@news_feed_items = 5
56
56
 
57
+ # A string or array of strings that represent a CSS color code for generic link color
58
+ mattr_accessor :link_color
59
+ @@link_color = nil
60
+
61
+ # A string or array of strings that represent a CSS color code for the body background
62
+ mattr_accessor :body_background_color
63
+ @@body_background_color = nil
64
+
65
+ # A string or array of strings that represent an image url for the body background image
66
+ mattr_accessor :body_background_image
67
+ @@body_background_image = nil
68
+
69
+ # A hash where the key is a string in "month-day" format where values are a hash of the link_color, body_background_color and/or body_background_image
70
+ # An example might be (April 1st), { "4-1" => { body_background_image: 'aprilfools.jpg' } }
71
+ # Note the lack of leading zeros!
72
+ # Special days take precendence over the rotating options given above
73
+ mattr_accessor :month_day
74
+ @@month_day = {}
75
+
57
76
  def self.setup
58
77
  yield self
59
78
  end
79
+
80
+ def self.link_color_select
81
+ retrieve_option(:link_color) || mod_year(link_color)
82
+ end
83
+
84
+ def self.body_background_color_select
85
+ retrieve_option(:body_background_color) || mod_year(body_background_color)
86
+ end
87
+
88
+ def self.body_background_image_select()
89
+ retrieve_option(:body_background_image) || mod_year(body_background_image)
90
+ end
91
+
92
+ def self.retrieve_option(option_name)
93
+ key = Date.today.month.to_s + "-" + Date.today.day.to_s
94
+ if month_day.kind_of?(Hash) and month_day[key] and not month_day[key][option_name.to_sym].blank?
95
+ month_day[key][option_name.to_sym]
96
+ else
97
+ nil
98
+ end
99
+ end
100
+
101
+ # Takes a string or array as input and returns element from location (YearDay % ArraySize)
102
+ def self.mod_year(element)
103
+ array = [element].flatten
104
+ array.size > 0 ? array[Date.today.yday % array.size] : nil
105
+ end
60
106
  end
@@ -2,7 +2,7 @@ module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 10
5
- TINY = 0
5
+ TINY = 1
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
@@ -1,23 +1,23 @@
1
1
  # Use to configure basic appearance of template
2
2
  Contour.setup do |config|
3
-
3
+
4
4
  # Enter your application name here. The name will be displayed in the title of all pages, ex: AppName - PageTitle
5
5
  # config.application_name = 'Application Name'
6
6
 
7
7
  # If you want to style your name using html you can do so here, ex: <b>App</b>Name
8
8
  # config.application_name_html = ''
9
-
9
+
10
10
  # Enter your application version here. Do not include a trailing backslash. Recommend using a predefined constant
11
11
  # config.application_version = ''
12
-
12
+
13
13
  # Enter your application header background image here.
14
14
  # config.header_background_image = 'rails.png'
15
15
 
16
16
  # Enter your application header title image here.
17
17
  # config.header_title_image = ''
18
-
18
+
19
19
  # Enter the items you wish to see in the menu
20
- # config.menu_items =
20
+ # config.menu_items =
21
21
  # [
22
22
  # {
23
23
  # name: 'Login', display: 'not_signed_in', path: 'new_user_session_path', position: 'right', condition: 'true',
@@ -35,11 +35,27 @@ Contour.setup do |config|
35
35
  # links: []
36
36
  # }
37
37
  # ]
38
-
38
+
39
39
  # Enter an address of a valid RSS Feed if you would like to see news on the sign in page.
40
40
  # config.news_feed = ''
41
-
41
+
42
42
  # Enter the max number of items you want to see in the news feed.
43
43
  # config.news_feed_items = 5
44
-
45
- end
44
+
45
+ # The following three parameters can be set as strings, which will rotate through the colors on a daily basis, selecting an index using (YearDay % ArraySize)
46
+
47
+ # A string or array of strings that represent a CSS color code for generic link color
48
+ # config.link_color = nil
49
+
50
+ # A string or array of strings that represent a CSS color code for the body background color
51
+ # config.body_background_color = nil
52
+
53
+ # A string or array of strings that represent an image url for the body background image
54
+ # config.body_background_image = nil
55
+
56
+ # A hash where the key is a string in "month-day" format where values are a hash of the link_color, body_background_color and/or body_background_image
57
+ # An example might be (April 1st), { "4-1" => { body_background_image: 'aprilfools.jpg' } }
58
+ # Note the lack of leading zeros!
59
+ # Special days take precendence over the rotating options given above
60
+ # config.month_day = {}
61
+ end
Binary file
@@ -26510,3 +26510,3890 @@ Completed 401 Unauthorized in 83ms
26510
26510
   (0.0ms) begin transaction
26511
26511
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26512
26512
   (0.0ms) rollback transaction
26513
+  (0.1ms) begin transaction
26514
+ Fixture Delete (36.7ms) DELETE FROM "authentications"
26515
+ Fixture Insert (0.8ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 14:50:29', '2012-02-14 14:50:29', 949717663, 201799169)
26516
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 14:50:29', '2012-02-14 14:50:29', 876923740, 201799169)
26517
+ 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-02-14 14:50:29', '2012-02-14 14:50:29', 864673665, 201799169)
26518
+ Fixture Delete (1.1ms) DELETE FROM "users"
26519
+ 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-02-14 14:50:30', '2012-02-14 14:50:30', 201799169)
26520
+ 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-02-14 14:50:30', '2012-02-14 14:50:30', 999914115)
26521
+ 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-02-14 14:50:30', '2012-02-14 14:50:30', 725306934)
26522
+ 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-02-14 14:50:30', '2012-02-14 14:50:30', 349534908)
26523
+  (45.6ms) commit transaction
26524
+  (0.1ms) begin transaction
26525
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
26526
+  (0.1ms) rollback transaction
26527
+  (0.0ms) begin transaction
26528
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26529
+  (0.1ms) rollback transaction
26530
+  (0.1ms) begin transaction
26531
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26532
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26533
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
26534
+ Processing by Contour::AuthenticationsController#create as HTML
26535
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 14:50:29 UTC", "updated_at"=>"2012-02-14 14:50:29 UTC"}}
26536
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
26537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
26538
+ Logged in user found, creating associated authentication.
26539
+  (16.7ms) SAVEPOINT active_record_1
26540
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 14:50:30 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 14:50:30 UTC +00:00], ["user_id", 201799169]]
26541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26542
+ Redirected to http://test.host/authentications
26543
+ Completed 302 Found in 271ms (ActiveRecord: 17.8ms)
26544
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
26545
+  (0.8ms) rollback transaction
26546
+  (0.0ms) begin transaction
26547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26548
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26549
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
26550
+ Processing by Contour::AuthenticationsController#destroy as HTML
26551
+ Parameters: {"id"=>"949717663"}
26552
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
26553
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
26554
+  (0.0ms) SAVEPOINT active_record_1
26555
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
26556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26557
+ Redirected to http://test.host/authentications
26558
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
26559
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
26560
+  (0.9ms) rollback transaction
26561
+  (0.0ms) begin transaction
26562
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26563
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26564
+ Processing by Contour::AuthenticationsController#index as HTML
26565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
26566
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
26567
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
26568
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms)
26569
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
26570
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms)
26571
+ Completed 200 OK in 209ms (Views: 207.2ms | ActiveRecord: 0.4ms)
26572
+  (0.1ms) rollback transaction
26573
+  (0.1ms) begin transaction
26574
+ Processing by Contour::PasswordsController#create as HTML
26575
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
26576
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
26577
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DSkaQRYCsVczLG9yrQpv' LIMIT 1
26578
+  (0.0ms) SAVEPOINT active_record_1
26579
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'DSkaQRYCsVczLG9yrQpv', "reset_password_sent_at" = '2012-02-14 14:50:30.861235', "updated_at" = '2012-02-14 14:50:30.862080' WHERE "users"."id" = 201799169
26580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26581
+
26582
+ Sent mail to valid@example.com (47ms)
26583
+ Date: Tue, 14 Feb 2012 09:50:31 -0500
26584
+ From: please-change-me-at-config-initializers-devise@example.com
26585
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
26586
+ To: valid@example.com
26587
+ Message-ID: <4f3a74b7126f_6f1f3fc120434d44665d5@edge.mail>
26588
+ Subject: Reset password instructions
26589
+ Mime-Version: 1.0
26590
+ Content-Type: text/html;
26591
+ charset=UTF-8
26592
+ Content-Transfer-Encoding: 7bit
26593
+
26594
+ <p>Hello valid@example.com!</p>
26595
+
26596
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
26597
+
26598
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=DSkaQRYCsVczLG9yrQpv">Change my password</a></p>
26599
+
26600
+ <p>If you didn't request this, please ignore this email.</p>
26601
+ <p>Your password won't change until you access the link above and create a new one.</p>
26602
+
26603
+ Redirected to http://test.host/users/login
26604
+ Completed 302 Found in 214ms (ActiveRecord: 0.0ms)
26605
+  (0.8ms) rollback transaction
26606
+  (0.0ms) begin transaction
26607
+ Processing by Contour::PasswordsController#new as HTML
26608
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
26609
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms)
26610
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.6ms)
26611
+ Completed 200 OK in 55ms (Views: 53.9ms | ActiveRecord: 0.0ms)
26612
+  (0.1ms) rollback transaction
26613
+  (0.1ms) begin transaction
26614
+  (0.0ms) rollback transaction
26615
+  (0.1ms) begin transaction
26616
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26617
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26618
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26619
+
26620
+
26621
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26622
+ Processing by WelcomeController#logged_in_page as HTML
26623
+ Completed 401 Unauthorized in 1ms
26624
+  (0.1ms) SAVEPOINT active_record_1
26625
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
26626
+ Binary data inserted for `string` type on column `encrypted_password`
26627
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ySorqIoZg9M7iBI.C/eXV.dlhFgTB.esIrE.TQaamRDC1OH1ArU32"], ["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, 14 Feb 2012 14:50:31 UTC +00:00]]
26628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26629
+  (0.0ms) SAVEPOINT active_record_1
26630
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
26631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26632
+  (0.0ms) SAVEPOINT active_record_1
26633
+  (12.9ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 14:50:31.295200' WHERE "users"."id" = 999914116
26634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26635
+  (0.1ms) SAVEPOINT active_record_1
26636
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 14:50:31.309571' WHERE "users"."id" = 999914116
26637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26638
+
26639
+
26640
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26641
+ Processing by Contour::SessionsController#create as HTML
26642
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
26643
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
26644
+  (0.1ms) SAVEPOINT active_record_1
26645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26646
+ Completed 401 Unauthorized in 20ms
26647
+
26648
+
26649
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26650
+ Processing by Contour::SessionsController#new as HTML
26651
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
26652
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
26653
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
26654
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
26655
+ Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms)
26656
+  (0.8ms) rollback transaction
26657
+  (0.1ms) begin transaction
26658
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26659
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26660
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26661
+
26662
+
26663
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26664
+ Processing by WelcomeController#logged_in_page as HTML
26665
+ Completed 401 Unauthorized in 0ms
26666
+  (0.1ms) SAVEPOINT active_record_1
26667
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
26668
+ Binary data inserted for `string` type on column `encrypted_password`
26669
+ 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, 14 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ba/mxEWPN2q8Xr3nbVOpiea1YjdU7bPV/6urrKFBdACh2VODAmWia"], ["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, 14 Feb 2012 14:50:31 UTC +00:00]]
26670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26671
+  (0.0ms) SAVEPOINT active_record_1
26672
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
26673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26674
+  (0.0ms) SAVEPOINT active_record_1
26675
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 14:50:31.393182' WHERE "users"."id" = 999914116
26676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26677
+  (0.0ms) SAVEPOINT active_record_1
26678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26679
+
26680
+
26681
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26682
+ Processing by Contour::SessionsController#create as HTML
26683
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
26684
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
26685
+  (0.0ms) SAVEPOINT active_record_1
26686
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 14:50:31.402094', "current_sign_in_at" = '2012-02-14 14:50:31.402094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 14:50:31.402505' WHERE "users"."id" = 999914116
26687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26688
+ Redirected to http://www.example.com/logged_in_page
26689
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
26690
+
26691
+
26692
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26693
+ Processing by WelcomeController#logged_in_page as HTML
26694
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
26695
+ Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.1ms)
26696
+  (0.9ms) rollback transaction
26697
+  (0.1ms) begin transaction
26698
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26699
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26700
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26701
+
26702
+
26703
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26704
+ Processing by WelcomeController#logged_in_page as HTML
26705
+ Completed 401 Unauthorized in 0ms
26706
+  (0.1ms) SAVEPOINT active_record_1
26707
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
26708
+ Binary data inserted for `string` type on column `encrypted_password`
26709
+ 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, 14 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$plRQ6W9az6iI9Th9E6EEQuz9UBxm.JfHNQkU/90W1pmYYUjwgsy1S"], ["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, 14 Feb 2012 14:50:31 UTC +00:00]]
26710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26711
+  (0.0ms) SAVEPOINT active_record_1
26712
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
26713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26714
+  (0.0ms) SAVEPOINT active_record_1
26715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26716
+  (0.0ms) SAVEPOINT active_record_1
26717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26718
+
26719
+
26720
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26721
+ Processing by Contour::SessionsController#create as HTML
26722
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
26723
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
26724
+  (0.0ms) SAVEPOINT active_record_1
26725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26726
+ Completed 401 Unauthorized in 4ms
26727
+
26728
+
26729
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26730
+ Processing by Contour::SessionsController#new as HTML
26731
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
26732
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
26733
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
26734
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
26735
+ Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms)
26736
+  (1.0ms) rollback transaction
26737
+  (0.1ms) begin transaction
26738
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26739
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26740
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26741
+
26742
+
26743
+ Started GET "/" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26744
+ Processing by WelcomeController#index as HTML
26745
+ Completed 401 Unauthorized in 1ms
26746
+  (0.1ms) rollback transaction
26747
+  (0.0ms) begin transaction
26748
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26749
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26750
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26751
+
26752
+
26753
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26754
+ Processing by WelcomeController#logged_in_page as JSON
26755
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
26756
+  (0.1ms) SAVEPOINT active_record_1
26757
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 14:50:31.605983', "current_sign_in_at" = '2012-02-14 14:50:31.605983', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 14:50:31.606621' WHERE "users"."id" = 201799169
26758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26759
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.4ms)
26760
+  (0.6ms) rollback transaction
26761
+  (0.1ms) begin transaction
26762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26763
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26764
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26765
+
26766
+
26767
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
26768
+ Processing by WelcomeController#logged_in_page as JSON
26769
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
26770
+ Completed 401 Unauthorized in 82ms
26771
+  (0.1ms) rollback transaction
26772
+  (0.1ms) begin transaction
26773
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26774
+  (0.1ms) rollback transaction
26775
+  (0.1ms) begin transaction
26776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26777
+  (0.0ms) rollback transaction
26778
+  (0.1ms) begin transaction
26779
+ Fixture Delete (22.3ms) DELETE FROM "authentications"
26780
+ 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-02-14 15:00:31', '2012-02-14 15:00:31', 949717663, 201799169)
26781
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 876923740, 201799169)
26782
+ 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-02-14 15:00:31', '2012-02-14 15:00:31', 864673665, 201799169)
26783
+ Fixture Delete (1.0ms) DELETE FROM "users"
26784
+ 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-02-14 15:00:31', '2012-02-14 15:00:31', 201799169)
26785
+ 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-02-14 15:00:31', '2012-02-14 15:00:31', 999914115)
26786
+ 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-02-14 15:00:31', '2012-02-14 15:00:31', 725306934)
26787
+ 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-02-14 15:00:31', '2012-02-14 15:00:31', 349534908)
26788
+  (1.9ms) commit transaction
26789
+  (0.0ms) begin transaction
26790
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
26791
+  (0.1ms) rollback transaction
26792
+  (0.1ms) begin transaction
26793
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26794
+  (0.0ms) rollback transaction
26795
+  (0.1ms) begin transaction
26796
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26797
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26798
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
26799
+ Processing by Contour::AuthenticationsController#create as HTML
26800
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:00:31 UTC", "updated_at"=>"2012-02-14 15:00:31 UTC"}}
26801
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
26802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
26803
+ Logged in user found, creating associated authentication.
26804
+  (0.1ms) SAVEPOINT active_record_1
26805
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["user_id", 201799169]]
26806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26807
+ Redirected to http://test.host/authentications
26808
+ Completed 302 Found in 160ms (ActiveRecord: 1.2ms)
26809
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
26810
+  (0.5ms) rollback transaction
26811
+  (0.1ms) begin transaction
26812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26813
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26814
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
26815
+ Processing by Contour::AuthenticationsController#destroy as HTML
26816
+ Parameters: {"id"=>"949717663"}
26817
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
26818
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
26819
+  (0.0ms) SAVEPOINT active_record_1
26820
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
26821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26822
+ Redirected to http://test.host/authentications
26823
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
26824
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
26825
+  (0.6ms) rollback transaction
26826
+  (0.0ms) begin transaction
26827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26828
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
26829
+ Processing by Contour::AuthenticationsController#index as HTML
26830
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
26831
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
26832
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
26833
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
26834
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
26835
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.2ms)
26836
+ Completed 200 OK in 183ms (Views: 181.2ms | ActiveRecord: 0.4ms)
26837
+  (0.1ms) rollback transaction
26838
+  (0.1ms) begin transaction
26839
+ Processing by Contour::PasswordsController#create as HTML
26840
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
26841
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
26842
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'p2LDmyYKyYcU3H94sK4M' LIMIT 1
26843
+  (0.0ms) SAVEPOINT active_record_1
26844
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'p2LDmyYKyYcU3H94sK4M', "reset_password_sent_at" = '2012-02-14 15:00:31.590810', "updated_at" = '2012-02-14 15:00:31.591549' WHERE "users"."id" = 201799169
26845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26846
+
26847
+ Sent mail to valid@example.com (46ms)
26848
+ Date: Tue, 14 Feb 2012 10:00:31 -0500
26849
+ From: please-change-me-at-config-initializers-devise@example.com
26850
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
26851
+ To: valid@example.com
26852
+ Message-ID: <4f3a770fafa78_6fa53fd711034d3c862f2@edge.mail>
26853
+ Subject: Reset password instructions
26854
+ Mime-Version: 1.0
26855
+ Content-Type: text/html;
26856
+ charset=UTF-8
26857
+ Content-Transfer-Encoding: 7bit
26858
+
26859
+ <p>Hello valid@example.com!</p>
26860
+
26861
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
26862
+
26863
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=p2LDmyYKyYcU3H94sK4M">Change my password</a></p>
26864
+
26865
+ <p>If you didn't request this, please ignore this email.</p>
26866
+ <p>Your password won't change until you access the link above and create a new one.</p>
26867
+
26868
+ Redirected to http://test.host/users/login
26869
+ Completed 302 Found in 206ms (ActiveRecord: 0.0ms)
26870
+  (0.7ms) rollback transaction
26871
+  (0.1ms) begin transaction
26872
+ Processing by Contour::PasswordsController#new as HTML
26873
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
26874
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms)
26875
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.3ms)
26876
+ Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.0ms)
26877
+  (0.1ms) rollback transaction
26878
+  (0.1ms) begin transaction
26879
+  (0.0ms) rollback transaction
26880
+  (0.0ms) begin transaction
26881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26882
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26883
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26884
+
26885
+
26886
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:31 -0500
26887
+ Processing by WelcomeController#logged_in_page as HTML
26888
+ Completed 401 Unauthorized in 1ms
26889
+  (0.1ms) SAVEPOINT active_record_1
26890
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
26891
+ Binary data inserted for `string` type on column `encrypted_password`
26892
+ 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, 14 Feb 2012 15:00:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$tr2pFgKx.YaorAADuBYS6uPUIylNLu8QHgZ9Ft904pKb23ywp.LvW"], ["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, 14 Feb 2012 15:00:31 UTC +00:00]]
26893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26894
+  (0.0ms) SAVEPOINT active_record_1
26895
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
26896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26897
+  (0.0ms) SAVEPOINT active_record_1
26898
+  (13.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:00:31.980211' WHERE "users"."id" = 999914116
26899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26900
+  (0.0ms) SAVEPOINT active_record_1
26901
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:00:31.994677' WHERE "users"."id" = 999914116
26902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26903
+
26904
+
26905
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:31 -0500
26906
+ Processing by Contour::SessionsController#create as HTML
26907
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
26908
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
26909
+  (0.1ms) SAVEPOINT active_record_1
26910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26911
+ Completed 401 Unauthorized in 22ms
26912
+
26913
+
26914
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26915
+ Processing by Contour::SessionsController#new as HTML
26916
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
26917
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
26918
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
26919
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
26920
+ Completed 200 OK in 29ms (Views: 27.6ms | ActiveRecord: 0.0ms)
26921
+  (0.7ms) rollback transaction
26922
+  (0.0ms) begin transaction
26923
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26924
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26925
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26926
+
26927
+
26928
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26929
+ Processing by WelcomeController#logged_in_page as HTML
26930
+ Completed 401 Unauthorized in 0ms
26931
+  (0.1ms) SAVEPOINT active_record_1
26932
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
26933
+ Binary data inserted for `string` type on column `encrypted_password`
26934
+ 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, 14 Feb 2012 15:00:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$aUF2Ik.r4p5pgBSxsniroO5PD.WpGy347ySjQS0qOs5TRmOEuERWq"], ["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, 14 Feb 2012 15:00:32 UTC +00:00]]
26935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26936
+  (0.0ms) SAVEPOINT active_record_1
26937
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
26938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26939
+  (0.0ms) SAVEPOINT active_record_1
26940
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:00:32.077058' WHERE "users"."id" = 999914116
26941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26942
+  (0.0ms) SAVEPOINT active_record_1
26943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26944
+
26945
+
26946
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26947
+ Processing by Contour::SessionsController#create as HTML
26948
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
26949
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
26950
+  (0.0ms) SAVEPOINT active_record_1
26951
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:00:32.086736', "current_sign_in_at" = '2012-02-14 15:00:32.086736', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:00:32.087185' WHERE "users"."id" = 999914116
26952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26953
+ Redirected to http://www.example.com/logged_in_page
26954
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
26955
+
26956
+
26957
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26958
+ Processing by WelcomeController#logged_in_page as HTML
26959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
26960
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.1ms)
26961
+  (0.7ms) rollback transaction
26962
+  (0.0ms) begin transaction
26963
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
26964
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
26965
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
26966
+
26967
+
26968
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26969
+ Processing by WelcomeController#logged_in_page as HTML
26970
+ Completed 401 Unauthorized in 0ms
26971
+  (0.1ms) SAVEPOINT active_record_1
26972
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
26973
+ Binary data inserted for `string` type on column `encrypted_password`
26974
+ 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, 14 Feb 2012 15:00:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lUoxI2O1ENgJpalBm55GweY2xtS6RKTgDn6kuGP5iTS.iIkejoDs6"], ["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, 14 Feb 2012 15:00:32 UTC +00:00]]
26975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26976
+  (0.0ms) SAVEPOINT active_record_1
26977
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
26978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26979
+  (0.0ms) SAVEPOINT active_record_1
26980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26981
+  (0.0ms) SAVEPOINT active_record_1
26982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26983
+
26984
+
26985
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26986
+ Processing by Contour::SessionsController#create as HTML
26987
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
26988
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
26989
+  (0.1ms) SAVEPOINT active_record_1
26990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26991
+ Completed 401 Unauthorized in 4ms
26992
+
26993
+
26994
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
26995
+ Processing by Contour::SessionsController#new as HTML
26996
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
26997
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
26998
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
26999
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
27000
+ Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)
27001
+  (1.1ms) rollback transaction
27002
+  (0.1ms) begin transaction
27003
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27004
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27005
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27006
+
27007
+
27008
+ Started GET "/" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
27009
+ Processing by WelcomeController#index as HTML
27010
+ Completed 401 Unauthorized in 0ms
27011
+  (0.1ms) rollback transaction
27012
+  (0.0ms) begin transaction
27013
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27014
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27015
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27016
+
27017
+
27018
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
27019
+ Processing by WelcomeController#logged_in_page as JSON
27020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27021
+  (0.1ms) SAVEPOINT active_record_1
27022
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:00:32.274669', "current_sign_in_at" = '2012-02-14 15:00:32.274669', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:00:32.275289' WHERE "users"."id" = 201799169
27023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27024
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
27025
+  (0.7ms) rollback transaction
27026
+  (0.1ms) begin transaction
27027
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27028
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27029
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27030
+
27031
+
27032
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
27033
+ Processing by WelcomeController#logged_in_page as JSON
27034
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27035
+ Completed 401 Unauthorized in 78ms
27036
+  (0.1ms) rollback transaction
27037
+  (0.0ms) begin transaction
27038
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27039
+  (0.1ms) rollback transaction
27040
+  (0.0ms) begin transaction
27041
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27042
+  (0.0ms) rollback transaction
27043
+  (0.1ms) begin transaction
27044
+ Fixture Delete (22.3ms) DELETE FROM "authentications"
27045
+ Fixture Insert (1.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 949717663, 201799169)
27046
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 876923740, 201799169)
27047
+ 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-02-14 15:25:37', '2012-02-14 15:25:37', 864673665, 201799169)
27048
+ Fixture Delete (1.0ms) DELETE FROM "users"
27049
+ 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-02-14 15:25:37', '2012-02-14 15:25:37', 201799169)
27050
+ 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-02-14 15:25:37', '2012-02-14 15:25:37', 999914115)
27051
+ 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-02-14 15:25:37', '2012-02-14 15:25:37', 725306934)
27052
+ 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-02-14 15:25:37', '2012-02-14 15:25:37', 349534908)
27053
+  (9.9ms) commit transaction
27054
+  (0.0ms) begin transaction
27055
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
27056
+  (0.1ms) rollback transaction
27057
+  (0.0ms) begin transaction
27058
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27059
+  (0.0ms) rollback transaction
27060
+  (0.0ms) begin transaction
27061
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27062
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27063
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27064
+ Processing by Contour::AuthenticationsController#create as HTML
27065
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:25:37 UTC", "updated_at"=>"2012-02-14 15:25:37 UTC"}}
27066
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
27067
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27068
+ Logged in user found, creating associated authentication.
27069
+  (0.1ms) SAVEPOINT active_record_1
27070
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:25:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:25:38 UTC +00:00], ["user_id", 201799169]]
27071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27072
+ Redirected to http://test.host/authentications
27073
+ Completed 302 Found in 749ms (ActiveRecord: 1.0ms)
27074
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27075
+  (2.8ms) rollback transaction
27076
+  (0.1ms) begin transaction
27077
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27078
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27079
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27080
+ Processing by Contour::AuthenticationsController#destroy as HTML
27081
+ Parameters: {"id"=>"949717663"}
27082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27083
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
27084
+  (0.0ms) SAVEPOINT active_record_1
27085
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
27086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27087
+ Redirected to http://test.host/authentications
27088
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
27089
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27090
+  (3.3ms) rollback transaction
27091
+  (0.0ms) begin transaction
27092
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27093
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27094
+ Processing by Contour::AuthenticationsController#index as HTML
27095
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27096
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
27097
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
27098
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.5ms)
27099
+ Completed 500 Internal Server Error in 267ms
27100
+  (0.1ms) rollback transaction
27101
+  (0.1ms) begin transaction
27102
+ Processing by Contour::PasswordsController#create as HTML
27103
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
27104
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dputJKeWcaBGRxzYoHND' LIMIT 1
27106
+  (0.0ms) SAVEPOINT active_record_1
27107
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'dputJKeWcaBGRxzYoHND', "reset_password_sent_at" = '2012-02-14 15:25:38.894132', "updated_at" = '2012-02-14 15:25:38.894917' WHERE "users"."id" = 201799169
27108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27109
+
27110
+ Sent mail to valid@example.com (42ms)
27111
+ Date: Tue, 14 Feb 2012 10:25:39 -0500
27112
+ From: please-change-me-at-config-initializers-devise@example.com
27113
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
27114
+ To: valid@example.com
27115
+ Message-ID: <4f3a7cf368c21_72bb3fd860834d34869c1@edge.mail>
27116
+ Subject: Reset password instructions
27117
+ Mime-Version: 1.0
27118
+ Content-Type: text/html;
27119
+ charset=UTF-8
27120
+ Content-Transfer-Encoding: 7bit
27121
+
27122
+ <p>Hello valid@example.com!</p>
27123
+
27124
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
27125
+
27126
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=dputJKeWcaBGRxzYoHND">Change my password</a></p>
27127
+
27128
+ <p>If you didn't request this, please ignore this email.</p>
27129
+ <p>Your password won't change until you access the link above and create a new one.</p>
27130
+
27131
+ Redirected to http://test.host/users/login
27132
+ Completed 302 Found in 619ms (ActiveRecord: 0.0ms)
27133
+  (2.5ms) rollback transaction
27134
+  (0.1ms) begin transaction
27135
+ Processing by Contour::PasswordsController#new as HTML
27136
+ Completed 500 Internal Server Error in 53ms
27137
+  (0.1ms) rollback transaction
27138
+  (0.1ms) begin transaction
27139
+  (0.0ms) rollback transaction
27140
+  (0.0ms) begin transaction
27141
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27142
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27143
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27144
+
27145
+
27146
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
27147
+ Processing by WelcomeController#logged_in_page as HTML
27148
+ Completed 401 Unauthorized in 1ms
27149
+  (0.1ms) SAVEPOINT active_record_1
27150
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27151
+ Binary data inserted for `string` type on column `encrypted_password`
27152
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:25:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$KvraA6yg3Z9Glp7nzkoEruQNosrzsjT0Gr1S5FVeK1TWLqrFH/432"], ["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, 14 Feb 2012 15:25:39 UTC +00:00]]
27153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27154
+  (0.0ms) SAVEPOINT active_record_1
27155
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27157
+  (0.0ms) SAVEPOINT active_record_1
27158
+  (43.5ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:25:39.729951' WHERE "users"."id" = 999914116
27159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27160
+  (0.0ms) SAVEPOINT active_record_1
27161
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:25:39.774858' WHERE "users"."id" = 999914116
27162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27163
+
27164
+
27165
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
27166
+ Processing by Contour::SessionsController#create as HTML
27167
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
27168
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27169
+  (0.1ms) SAVEPOINT active_record_1
27170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27171
+ Completed 401 Unauthorized in 23ms
27172
+
27173
+
27174
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
27175
+ Processing by Contour::SessionsController#new as HTML
27176
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
27177
+ Completed 500 Internal Server Error in 37ms
27178
+  (39.1ms) rollback transaction
27179
+  (0.1ms) begin transaction
27180
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27181
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27182
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27183
+
27184
+
27185
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
27186
+ Processing by WelcomeController#logged_in_page as HTML
27187
+ Completed 401 Unauthorized in 0ms
27188
+  (0.1ms) SAVEPOINT active_record_1
27189
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27190
+ Binary data inserted for `string` type on column `encrypted_password`
27191
+ 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, 14 Feb 2012 15:25:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NGZrWunKlzIoW9mwEVyRLOxcFYOF4BUF8LWVNKgzAINyOnEIsvr/W"], ["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, 14 Feb 2012 15:25:39 UTC +00:00]]
27192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27193
+  (0.0ms) SAVEPOINT active_record_1
27194
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27196
+  (0.0ms) SAVEPOINT active_record_1
27197
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:25:39.909454' WHERE "users"."id" = 999914116
27198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27199
+  (0.0ms) SAVEPOINT active_record_1
27200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27201
+
27202
+
27203
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
27204
+ Processing by Contour::SessionsController#create as HTML
27205
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
27206
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27207
+  (0.0ms) SAVEPOINT active_record_1
27208
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:25:39.917787', "current_sign_in_at" = '2012-02-14 15:25:39.917787', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:25:39.918199' WHERE "users"."id" = 999914116
27209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27210
+ Redirected to http://www.example.com/logged_in_page
27211
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
27212
+
27213
+
27214
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
27215
+ Processing by WelcomeController#logged_in_page as HTML
27216
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
27217
+ Completed 200 OK in 32ms (Views: 30.4ms | ActiveRecord: 0.1ms)
27218
+  (73.3ms) rollback transaction
27219
+  (0.1ms) begin transaction
27220
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27221
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27222
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27223
+
27224
+
27225
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
27226
+ Processing by WelcomeController#logged_in_page as HTML
27227
+ Completed 401 Unauthorized in 0ms
27228
+  (0.1ms) SAVEPOINT active_record_1
27229
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
27230
+ Binary data inserted for `string` type on column `encrypted_password`
27231
+ 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, 14 Feb 2012 15:25:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qGkMvLybKl7VjqNfgulMV.pRmDdoEjUVtMHSpqZkxoWTdQxoewTcG"], ["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, 14 Feb 2012 15:25:40 UTC +00:00]]
27232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27233
+  (0.0ms) SAVEPOINT active_record_1
27234
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27236
+  (0.0ms) SAVEPOINT active_record_1
27237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27238
+  (0.0ms) SAVEPOINT active_record_1
27239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27240
+
27241
+
27242
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
27243
+ Processing by Contour::SessionsController#create as HTML
27244
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
27245
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
27246
+  (0.0ms) SAVEPOINT active_record_1
27247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27248
+ Completed 401 Unauthorized in 4ms
27249
+
27250
+
27251
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
27252
+ Processing by Contour::SessionsController#new as HTML
27253
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
27254
+ Completed 500 Internal Server Error in 10ms
27255
+  (184.9ms) rollback transaction
27256
+  (0.1ms) begin transaction
27257
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27258
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27259
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27260
+
27261
+
27262
+ Started GET "/" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
27263
+ Processing by WelcomeController#index as HTML
27264
+ Completed 401 Unauthorized in 1ms
27265
+  (0.1ms) rollback transaction
27266
+  (0.1ms) begin transaction
27267
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27268
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27269
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27270
+
27271
+
27272
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
27273
+ Processing by WelcomeController#logged_in_page as JSON
27274
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27275
+  (0.1ms) SAVEPOINT active_record_1
27276
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:25:40.360922', "current_sign_in_at" = '2012-02-14 15:25:40.360922', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:25:40.361576' WHERE "users"."id" = 201799169
27277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27278
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms)
27279
+  (2.9ms) rollback transaction
27280
+  (0.1ms) begin transaction
27281
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27282
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27283
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27284
+
27285
+
27286
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
27287
+ Processing by WelcomeController#logged_in_page as JSON
27288
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27289
+ Completed 401 Unauthorized in 79ms
27290
+  (0.1ms) rollback transaction
27291
+  (0.0ms) begin transaction
27292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27293
+  (0.1ms) rollback transaction
27294
+  (0.0ms) begin transaction
27295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27296
+  (0.0ms) rollback transaction
27297
+  (0.1ms) begin transaction
27298
+ Fixture Delete (0.4ms) DELETE FROM "authentications"
27299
+ 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-02-14 15:27:23', '2012-02-14 15:27:23', 949717663, 201799169)
27300
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 876923740, 201799169)
27301
+ 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-02-14 15:27:23', '2012-02-14 15:27:23', 864673665, 201799169)
27302
+ Fixture Delete (0.1ms) DELETE FROM "users"
27303
+ 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-02-14 15:27:23', '2012-02-14 15:27:23', 201799169)
27304
+ 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-02-14 15:27:23', '2012-02-14 15:27:23', 999914115)
27305
+ 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-02-14 15:27:23', '2012-02-14 15:27:23', 725306934)
27306
+ 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-02-14 15:27:23', '2012-02-14 15:27:23', 349534908)
27307
+  (1.5ms) commit transaction
27308
+  (0.0ms) begin transaction
27309
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
27310
+  (0.1ms) rollback transaction
27311
+  (0.1ms) begin transaction
27312
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27313
+  (0.1ms) rollback transaction
27314
+  (0.1ms) begin transaction
27315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27316
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27317
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27318
+ Processing by Contour::AuthenticationsController#create as HTML
27319
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:27:23 UTC", "updated_at"=>"2012-02-14 15:27:23 UTC"}}
27320
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
27321
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27322
+ Logged in user found, creating associated authentication.
27323
+  (0.1ms) SAVEPOINT active_record_1
27324
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:27:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:27:23 UTC +00:00], ["user_id", 201799169]]
27325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27326
+ Redirected to http://test.host/authentications
27327
+ Completed 302 Found in 213ms (ActiveRecord: 0.9ms)
27328
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27329
+  (0.5ms) rollback transaction
27330
+  (0.1ms) begin transaction
27331
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27332
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27333
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27334
+ Processing by Contour::AuthenticationsController#destroy as HTML
27335
+ Parameters: {"id"=>"949717663"}
27336
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27337
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
27338
+  (0.0ms) SAVEPOINT active_record_1
27339
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
27340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27341
+ Redirected to http://test.host/authentications
27342
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
27343
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27344
+  (0.4ms) rollback transaction
27345
+  (0.1ms) begin transaction
27346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27347
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27348
+ Processing by Contour::AuthenticationsController#index as HTML
27349
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27350
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
27351
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
27352
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (27.4ms)
27353
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms)
27354
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
27355
+ Completed 200 OK in 252ms (Views: 249.5ms | ActiveRecord: 0.5ms)
27356
+  (0.1ms) rollback transaction
27357
+  (0.1ms) begin transaction
27358
+ Processing by Contour::PasswordsController#create as HTML
27359
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
27360
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27361
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1qAytVDxa7zzqwh9WrBR' LIMIT 1
27362
+  (0.0ms) SAVEPOINT active_record_1
27363
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '1qAytVDxa7zzqwh9WrBR', "reset_password_sent_at" = '2012-02-14 15:27:23.738008', "updated_at" = '2012-02-14 15:27:23.738808' WHERE "users"."id" = 201799169
27364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27365
+
27366
+ Sent mail to valid@example.com (19ms)
27367
+ Date: Tue, 14 Feb 2012 10:27:23 -0500
27368
+ From: please-change-me-at-config-initializers-devise@example.com
27369
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
27370
+ To: valid@example.com
27371
+ Message-ID: <4f3a7d5bd06c1_72d43fefd8834d402374a@edge.mail>
27372
+ Subject: Reset password instructions
27373
+ Mime-Version: 1.0
27374
+ Content-Type: text/html;
27375
+ charset=UTF-8
27376
+ Content-Transfer-Encoding: 7bit
27377
+
27378
+ <p>Hello valid@example.com!</p>
27379
+
27380
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
27381
+
27382
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=1qAytVDxa7zzqwh9WrBR">Change my password</a></p>
27383
+
27384
+ <p>If you didn't request this, please ignore this email.</p>
27385
+ <p>Your password won't change until you access the link above and create a new one.</p>
27386
+
27387
+ Redirected to http://test.host/users/login
27388
+ Completed 302 Found in 168ms (ActiveRecord: 0.0ms)
27389
+  (17.7ms) rollback transaction
27390
+  (0.1ms) begin transaction
27391
+ Processing by Contour::PasswordsController#new as HTML
27392
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
27393
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
27394
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.9ms)
27395
+ Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)
27396
+  (0.1ms) rollback transaction
27397
+  (0.1ms) begin transaction
27398
+  (0.1ms) rollback transaction
27399
+  (0.1ms) begin transaction
27400
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27401
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27402
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27403
+
27404
+
27405
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:23 -0500
27406
+ Processing by WelcomeController#logged_in_page as HTML
27407
+ Completed 401 Unauthorized in 1ms
27408
+  (0.1ms) SAVEPOINT active_record_1
27409
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27410
+ Binary data inserted for `string` type on column `encrypted_password`
27411
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$arlQqAm1C2iMSRsH2iswQuyblvGikMKZLFol6f/7t6eubf2Gfe51q"], ["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, 14 Feb 2012 15:27:24 UTC +00:00]]
27412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27413
+  (0.0ms) SAVEPOINT active_record_1
27414
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27416
+  (0.0ms) SAVEPOINT active_record_1
27417
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:27:24.127215' WHERE "users"."id" = 999914116
27418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27419
+  (0.0ms) SAVEPOINT active_record_1
27420
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:27:24.128542' WHERE "users"."id" = 999914116
27421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27422
+
27423
+
27424
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27425
+ Processing by Contour::SessionsController#create as HTML
27426
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
27427
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27428
+  (0.1ms) SAVEPOINT active_record_1
27429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27430
+ Completed 401 Unauthorized in 29ms
27431
+
27432
+
27433
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27434
+ Processing by Contour::SessionsController#new as HTML
27435
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
27436
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
27437
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
27438
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
27439
+ Completed 200 OK in 30ms (Views: 29.2ms | ActiveRecord: 0.0ms)
27440
+  (0.6ms) rollback transaction
27441
+  (0.1ms) begin transaction
27442
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27443
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27444
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27445
+
27446
+
27447
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27448
+ Processing by WelcomeController#logged_in_page as HTML
27449
+ Completed 401 Unauthorized in 0ms
27450
+  (0.1ms) SAVEPOINT active_record_1
27451
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27452
+ Binary data inserted for `string` type on column `encrypted_password`
27453
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BVIab1O47jP/11cc0yTxWOP1TXVnbVCGg7D84cpWK.YBMXDxufuWu"], ["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, 14 Feb 2012 15:27:24 UTC +00:00]]
27454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27455
+  (0.0ms) SAVEPOINT active_record_1
27456
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27458
+  (0.0ms) SAVEPOINT active_record_1
27459
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:27:24.240647' WHERE "users"."id" = 999914116
27460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27461
+  (0.0ms) SAVEPOINT active_record_1
27462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27463
+
27464
+
27465
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27466
+ Processing by Contour::SessionsController#create as HTML
27467
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
27468
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27469
+  (0.1ms) SAVEPOINT active_record_1
27470
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:27:24.250970', "current_sign_in_at" = '2012-02-14 15:27:24.250970', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:27:24.251590' WHERE "users"."id" = 999914116
27471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27472
+ Redirected to http://www.example.com/logged_in_page
27473
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
27474
+
27475
+
27476
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27477
+ Processing by WelcomeController#logged_in_page as HTML
27478
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
27479
+ Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.1ms)
27480
+  (0.6ms) rollback transaction
27481
+  (0.1ms) begin transaction
27482
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27483
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27484
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27485
+
27486
+
27487
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27488
+ Processing by WelcomeController#logged_in_page as HTML
27489
+ Completed 401 Unauthorized in 0ms
27490
+  (0.1ms) SAVEPOINT active_record_1
27491
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
27492
+ Binary data inserted for `string` type on column `encrypted_password`
27493
+ 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, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$BqS1JkBNrUOU391678y1aO30jSW4kjCkGEZ7B8skzJi9DcWGQ/nGu"], ["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, 14 Feb 2012 15:27:24 UTC +00:00]]
27494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27495
+  (0.0ms) SAVEPOINT active_record_1
27496
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27498
+  (0.0ms) SAVEPOINT active_record_1
27499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27500
+  (0.0ms) SAVEPOINT active_record_1
27501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27502
+
27503
+
27504
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27505
+ Processing by Contour::SessionsController#create as HTML
27506
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
27507
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
27508
+  (0.1ms) SAVEPOINT active_record_1
27509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27510
+ Completed 401 Unauthorized in 39ms
27511
+
27512
+
27513
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27514
+ Processing by Contour::SessionsController#new as HTML
27515
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
27516
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
27517
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
27518
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
27519
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
27520
+  (0.6ms) rollback transaction
27521
+  (0.1ms) begin transaction
27522
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27523
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27524
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27525
+
27526
+
27527
+ Started GET "/" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27528
+ Processing by WelcomeController#index as HTML
27529
+ Completed 401 Unauthorized in 1ms
27530
+  (0.1ms) rollback transaction
27531
+  (0.1ms) begin transaction
27532
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27533
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27534
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27535
+
27536
+
27537
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27538
+ Processing by WelcomeController#logged_in_page as JSON
27539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27540
+  (0.1ms) SAVEPOINT active_record_1
27541
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:27:24.459307', "current_sign_in_at" = '2012-02-14 15:27:24.459307', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:27:24.459978' WHERE "users"."id" = 201799169
27542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27543
+ Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms)
27544
+  (0.4ms) rollback transaction
27545
+  (0.1ms) begin transaction
27546
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27548
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27549
+
27550
+
27551
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
27552
+ Processing by WelcomeController#logged_in_page as JSON
27553
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27554
+ Completed 401 Unauthorized in 83ms
27555
+  (0.1ms) rollback transaction
27556
+  (0.1ms) begin transaction
27557
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27558
+  (0.1ms) rollback transaction
27559
+  (0.1ms) begin transaction
27560
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27561
+  (0.0ms) rollback transaction
27562
+  (0.1ms) begin transaction
27563
+ Fixture Delete (22.0ms) DELETE FROM "authentications"
27564
+ Fixture Insert (0.4ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 949717663, 201799169)
27565
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 876923740, 201799169)
27566
+ 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-02-14 16:14:41', '2012-02-14 16:14:41', 864673665, 201799169)
27567
+ Fixture Delete (0.6ms) DELETE FROM "users"
27568
+ 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-02-14 16:14:41', '2012-02-14 16:14:41', 201799169)
27569
+ 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-02-14 16:14:41', '2012-02-14 16:14:41', 999914115)
27570
+ 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-02-14 16:14:41', '2012-02-14 16:14:41', 725306934)
27571
+ 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-02-14 16:14:41', '2012-02-14 16:14:41', 349534908)
27572
+  (1.5ms) commit transaction
27573
+  (0.0ms) begin transaction
27574
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
27575
+  (0.1ms) rollback transaction
27576
+  (0.0ms) begin transaction
27577
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27578
+  (0.1ms) rollback transaction
27579
+  (0.1ms) begin transaction
27580
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27581
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27582
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27583
+ Processing by Contour::AuthenticationsController#create as HTML
27584
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:14:41 UTC", "updated_at"=>"2012-02-14 16:14:41 UTC"}}
27585
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
27586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27587
+ Logged in user found, creating associated authentication.
27588
+  (0.1ms) SAVEPOINT active_record_1
27589
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:14:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:14:41 UTC +00:00], ["user_id", 201799169]]
27590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27591
+ Redirected to http://test.host/authentications
27592
+ Completed 302 Found in 194ms (ActiveRecord: 1.2ms)
27593
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27594
+  (0.5ms) rollback transaction
27595
+  (0.1ms) begin transaction
27596
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27597
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27598
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27599
+ Processing by Contour::AuthenticationsController#destroy as HTML
27600
+ Parameters: {"id"=>"949717663"}
27601
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27602
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
27603
+  (0.1ms) SAVEPOINT active_record_1
27604
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
27605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27606
+ Redirected to http://test.host/authentications
27607
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
27608
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27609
+  (123.5ms) rollback transaction
27610
+  (0.1ms) begin transaction
27611
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27612
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27613
+ Processing by Contour::AuthenticationsController#index as HTML
27614
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27615
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
27616
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
27617
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (38.0ms)
27618
+ Completed 500 Internal Server Error in 189ms
27619
+  (0.1ms) rollback transaction
27620
+  (0.1ms) begin transaction
27621
+ Processing by Contour::PasswordsController#create as HTML
27622
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
27623
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Q72LdC1gVTysJCstqUFZ' LIMIT 1
27625
+  (0.0ms) SAVEPOINT active_record_1
27626
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'Q72LdC1gVTysJCstqUFZ', "reset_password_sent_at" = '2012-02-14 16:14:41.811754', "updated_at" = '2012-02-14 16:14:41.812619' WHERE "users"."id" = 201799169
27627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27628
+
27629
+ Sent mail to valid@example.com (36ms)
27630
+ Date: Tue, 14 Feb 2012 11:14:41 -0500
27631
+ From: please-change-me-at-config-initializers-devise@example.com
27632
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
27633
+ To: valid@example.com
27634
+ Message-ID: <4f3a8871f2cdf_75a23fdac1834d4486738@edge.mail>
27635
+ Subject: Reset password instructions
27636
+ Mime-Version: 1.0
27637
+ Content-Type: text/html;
27638
+ charset=UTF-8
27639
+ Content-Transfer-Encoding: 7bit
27640
+
27641
+ <p>Hello valid@example.com!</p>
27642
+
27643
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
27644
+
27645
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=Q72LdC1gVTysJCstqUFZ">Change my password</a></p>
27646
+
27647
+ <p>If you didn't request this, please ignore this email.</p>
27648
+ <p>Your password won't change until you access the link above and create a new one.</p>
27649
+
27650
+ Redirected to http://test.host/users/login
27651
+ Completed 302 Found in 231ms (ActiveRecord: 0.0ms)
27652
+  (0.5ms) rollback transaction
27653
+  (0.1ms) begin transaction
27654
+ Processing by Contour::PasswordsController#new as HTML
27655
+ Completed 500 Internal Server Error in 40ms
27656
+  (0.1ms) rollback transaction
27657
+  (0.1ms) begin transaction
27658
+  (0.1ms) rollback transaction
27659
+  (0.1ms) begin transaction
27660
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27661
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27662
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27663
+
27664
+
27665
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27666
+ Processing by WelcomeController#logged_in_page as HTML
27667
+ Completed 401 Unauthorized in 1ms
27668
+  (0.1ms) SAVEPOINT active_record_1
27669
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27670
+ Binary data inserted for `string` type on column `encrypted_password`
27671
+ SQL (1.1ms) 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, 14 Feb 2012 16:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$6K1RIMsroi8HvQ/R3FhUDO78naYub6dczOL8xtaalLnCv7CNTiWuq"], ["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, 14 Feb 2012 16:14:42 UTC +00:00]]
27672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27673
+  (0.0ms) SAVEPOINT active_record_1
27674
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27676
+  (0.0ms) SAVEPOINT active_record_1
27677
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:14:42.293814' WHERE "users"."id" = 999914116
27678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27679
+  (0.0ms) SAVEPOINT active_record_1
27680
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:14:42.295205' WHERE "users"."id" = 999914116
27681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27682
+
27683
+
27684
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27685
+ Processing by Contour::SessionsController#create as HTML
27686
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
27687
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27688
+  (0.1ms) SAVEPOINT active_record_1
27689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27690
+ Completed 401 Unauthorized in 32ms
27691
+
27692
+
27693
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27694
+ Processing by Contour::SessionsController#new as HTML
27695
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
27696
+ Completed 500 Internal Server Error in 174ms
27697
+  (123.5ms) rollback transaction
27698
+  (0.1ms) begin transaction
27699
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27700
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27701
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27702
+
27703
+
27704
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27705
+ Processing by WelcomeController#logged_in_page as HTML
27706
+ Completed 401 Unauthorized in 0ms
27707
+  (0.1ms) SAVEPOINT active_record_1
27708
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27709
+ Binary data inserted for `string` type on column `encrypted_password`
27710
+ 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, 14 Feb 2012 16:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7xbolghHsyLSjL/hopSptuH35Ia5BOA3AtMh3yE976AD4PIYuyH.e"], ["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, 14 Feb 2012 16:14:42 UTC +00:00]]
27711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27712
+  (0.0ms) SAVEPOINT active_record_1
27713
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27715
+  (0.0ms) SAVEPOINT active_record_1
27716
+  (0.5ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:14:42.715433' WHERE "users"."id" = 999914116
27717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27718
+  (0.0ms) SAVEPOINT active_record_1
27719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27720
+
27721
+
27722
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27723
+ Processing by Contour::SessionsController#create as HTML
27724
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
27725
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27726
+  (0.0ms) SAVEPOINT active_record_1
27727
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:14:42.724769', "current_sign_in_at" = '2012-02-14 16:14:42.724769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:14:42.725232' WHERE "users"."id" = 999914116
27728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27729
+ Redirected to http://www.example.com/logged_in_page
27730
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
27731
+
27732
+
27733
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27734
+ Processing by WelcomeController#logged_in_page as HTML
27735
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
27736
+ Completed 200 OK in 117ms (Views: 115.5ms | ActiveRecord: 0.1ms)
27737
+  (91.9ms) rollback transaction
27738
+  (0.1ms) begin transaction
27739
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27741
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27742
+
27743
+
27744
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
27745
+ Processing by WelcomeController#logged_in_page as HTML
27746
+ Completed 401 Unauthorized in 0ms
27747
+  (0.1ms) SAVEPOINT active_record_1
27748
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
27749
+ Binary data inserted for `string` type on column `encrypted_password`
27750
+ SQL (7.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, 14 Feb 2012 16:14:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$1tjEtUTWvfDA2tFc4SE9ruKD4zqvUsekOmeDfRc0RgU54lcmQu5EG"], ["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, 14 Feb 2012 16:14:43 UTC +00:00]]
27751
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27752
+  (0.1ms) SAVEPOINT active_record_1
27753
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27755
+  (0.0ms) SAVEPOINT active_record_1
27756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27757
+  (0.0ms) SAVEPOINT active_record_1
27758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27759
+
27760
+
27761
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
27762
+ Processing by Contour::SessionsController#create as HTML
27763
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
27764
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
27765
+  (0.0ms) SAVEPOINT active_record_1
27766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27767
+ Completed 401 Unauthorized in 5ms
27768
+
27769
+
27770
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
27771
+ Processing by Contour::SessionsController#new as HTML
27772
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
27773
+ Completed 500 Internal Server Error in 111ms
27774
+  (174.4ms) rollback transaction
27775
+  (0.1ms) begin transaction
27776
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27777
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27778
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27779
+
27780
+
27781
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
27782
+ Processing by WelcomeController#index as HTML
27783
+ Completed 401 Unauthorized in 1ms
27784
+  (0.1ms) rollback transaction
27785
+  (0.1ms) begin transaction
27786
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27787
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27788
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27789
+
27790
+
27791
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
27792
+ Processing by WelcomeController#logged_in_page as JSON
27793
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27794
+  (0.1ms) SAVEPOINT active_record_1
27795
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:14:43.473468', "current_sign_in_at" = '2012-02-14 16:14:43.473468', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:14:43.474124' WHERE "users"."id" = 201799169
27796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27797
+ Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms)
27798
+  (472.2ms) rollback transaction
27799
+  (0.1ms) begin transaction
27800
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27801
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27802
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27803
+
27804
+
27805
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
27806
+ Processing by WelcomeController#logged_in_page as JSON
27807
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27808
+ Completed 401 Unauthorized in 85ms
27809
+  (0.1ms) rollback transaction
27810
+  (0.0ms) begin transaction
27811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27812
+  (0.1ms) rollback transaction
27813
+  (0.0ms) begin transaction
27814
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27815
+  (0.1ms) rollback transaction
27816
+  (0.1ms) begin transaction
27817
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
27818
+ Fixture Insert (0.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 949717663, 201799169)
27819
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 876923740, 201799169)
27820
+ 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-02-14 16:16:32', '2012-02-14 16:16:32', 864673665, 201799169)
27821
+ Fixture Delete (0.1ms) DELETE FROM "users"
27822
+ 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-02-14 16:16:32', '2012-02-14 16:16:32', 201799169)
27823
+ 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-02-14 16:16:32', '2012-02-14 16:16:32', 999914115)
27824
+ 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-02-14 16:16:32', '2012-02-14 16:16:32', 725306934)
27825
+ 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-02-14 16:16:32', '2012-02-14 16:16:32', 349534908)
27826
+  (1.2ms) commit transaction
27827
+  (0.1ms) begin transaction
27828
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
27829
+  (0.1ms) rollback transaction
27830
+  (0.1ms) begin transaction
27831
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27832
+  (0.1ms) rollback transaction
27833
+  (0.1ms) begin transaction
27834
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27835
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27836
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27837
+ Processing by Contour::AuthenticationsController#create as HTML
27838
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:16:32 UTC", "updated_at"=>"2012-02-14 16:16:32 UTC"}}
27839
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
27840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27841
+ Logged in user found, creating associated authentication.
27842
+  (0.1ms) SAVEPOINT active_record_1
27843
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:16:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:16:32 UTC +00:00], ["user_id", 201799169]]
27844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27845
+ Redirected to http://test.host/authentications
27846
+ Completed 302 Found in 237ms (ActiveRecord: 1.0ms)
27847
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
27848
+  (0.5ms) rollback transaction
27849
+  (0.1ms) begin transaction
27850
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27851
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27852
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27853
+ Processing by Contour::AuthenticationsController#destroy as HTML
27854
+ Parameters: {"id"=>"949717663"}
27855
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27856
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
27857
+  (0.0ms) SAVEPOINT active_record_1
27858
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
27859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27860
+ Redirected to http://test.host/authentications
27861
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
27862
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
27863
+  (0.4ms) rollback transaction
27864
+  (0.1ms) begin transaction
27865
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27866
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
27867
+ Processing by Contour::AuthenticationsController#index as HTML
27868
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
27869
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
27870
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
27871
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (42.1ms)
27872
+ Completed 500 Internal Server Error in 218ms
27873
+  (0.1ms) rollback transaction
27874
+  (0.1ms) begin transaction
27875
+ Processing by Contour::PasswordsController#create as HTML
27876
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
27877
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
27878
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '29qBRzbZnvGszczCAYj8' LIMIT 1
27879
+  (0.0ms) SAVEPOINT active_record_1
27880
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '29qBRzbZnvGszczCAYj8', "reset_password_sent_at" = '2012-02-14 16:16:33.167291', "updated_at" = '2012-02-14 16:16:33.168110' WHERE "users"."id" = 201799169
27881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27882
+
27883
+ Sent mail to valid@example.com (35ms)
27884
+ Date: Tue, 14 Feb 2012 11:16:33 -0500
27885
+ From: please-change-me-at-config-initializers-devise@example.com
27886
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
27887
+ To: valid@example.com
27888
+ Message-ID: <4f3a88e151db8_75c13ffe38834d401749c@edge.mail>
27889
+ Subject: Reset password instructions
27890
+ Mime-Version: 1.0
27891
+ Content-Type: text/html;
27892
+ charset=UTF-8
27893
+ Content-Transfer-Encoding: 7bit
27894
+
27895
+ <p>Hello valid@example.com!</p>
27896
+
27897
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
27898
+
27899
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=29qBRzbZnvGszczCAYj8">Change my password</a></p>
27900
+
27901
+ <p>If you didn't request this, please ignore this email.</p>
27902
+ <p>Your password won't change until you access the link above and create a new one.</p>
27903
+
27904
+ Redirected to http://test.host/users/login
27905
+ Completed 302 Found in 218ms (ActiveRecord: 0.0ms)
27906
+  (1.5ms) rollback transaction
27907
+  (0.1ms) begin transaction
27908
+ Processing by Contour::PasswordsController#new as HTML
27909
+ Completed 500 Internal Server Error in 31ms
27910
+  (0.3ms) rollback transaction
27911
+  (0.1ms) begin transaction
27912
+  (0.1ms) rollback transaction
27913
+  (0.1ms) begin transaction
27914
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27915
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27916
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27917
+
27918
+
27919
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27920
+ Processing by WelcomeController#logged_in_page as HTML
27921
+ Completed 401 Unauthorized in 1ms
27922
+  (0.1ms) SAVEPOINT active_record_1
27923
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27924
+ Binary data inserted for `string` type on column `encrypted_password`
27925
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qsfn1/phWlclTQqO6evMguzjY1NNUT0UJB9k/eEm48Yq5xg1lVpP6"], ["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, 14 Feb 2012 16:16:33 UTC +00:00]]
27926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27927
+  (0.0ms) SAVEPOINT active_record_1
27928
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27930
+  (0.0ms) SAVEPOINT active_record_1
27931
+  (33.9ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:16:33.600620' WHERE "users"."id" = 999914116
27932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27933
+  (0.0ms) SAVEPOINT active_record_1
27934
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:16:33.635981' WHERE "users"."id" = 999914116
27935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27936
+
27937
+
27938
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27939
+ Processing by Contour::SessionsController#create as HTML
27940
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
27941
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
27942
+  (0.1ms) SAVEPOINT active_record_1
27943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27944
+ Completed 401 Unauthorized in 22ms
27945
+
27946
+
27947
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27948
+ Processing by Contour::SessionsController#new as HTML
27949
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
27950
+ Completed 500 Internal Server Error in 28ms
27951
+  (14.0ms) rollback transaction
27952
+  (0.1ms) begin transaction
27953
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27954
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27955
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27956
+
27957
+
27958
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27959
+ Processing by WelcomeController#logged_in_page as HTML
27960
+ Completed 401 Unauthorized in 0ms
27961
+  (0.1ms) SAVEPOINT active_record_1
27962
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27963
+ Binary data inserted for `string` type on column `encrypted_password`
27964
+ 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", Tue, 14 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$uWkRYrVKTJO24.OjKaL0D.ppigc.FsvhMIM7DKQit.Npi5ypv8e8q"], ["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, 14 Feb 2012 16:16:33 UTC +00:00]]
27965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27966
+  (0.0ms) SAVEPOINT active_record_1
27967
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
27968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27969
+  (0.1ms) SAVEPOINT active_record_1
27970
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:16:33.742069' WHERE "users"."id" = 999914116
27971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27972
+  (0.0ms) SAVEPOINT active_record_1
27973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27974
+
27975
+
27976
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27977
+ Processing by Contour::SessionsController#create as HTML
27978
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
27979
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
27980
+  (0.1ms) SAVEPOINT active_record_1
27981
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:16:33.752196', "current_sign_in_at" = '2012-02-14 16:16:33.752196', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:16:33.752939' WHERE "users"."id" = 999914116
27982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27983
+ Redirected to http://www.example.com/logged_in_page
27984
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
27985
+
27986
+
27987
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27988
+ Processing by WelcomeController#logged_in_page as HTML
27989
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
27990
+ Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.1ms)
27991
+  (0.5ms) rollback transaction
27992
+  (0.1ms) begin transaction
27993
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
27994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
27995
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
27996
+
27997
+
27998
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
27999
+ Processing by WelcomeController#logged_in_page as HTML
28000
+ Completed 401 Unauthorized in 0ms
28001
+  (0.1ms) SAVEPOINT active_record_1
28002
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28003
+ Binary data inserted for `string` type on column `encrypted_password`
28004
+ 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, 14 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$uSGUAE43TQh5jyvBPWURrO6i9r0GUh/6XM78.M5a/FAvp7wrMS0Ly"], ["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, 14 Feb 2012 16:16:33 UTC +00:00]]
28005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28006
+  (0.0ms) SAVEPOINT active_record_1
28007
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28009
+  (0.0ms) SAVEPOINT active_record_1
28010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28011
+  (0.0ms) SAVEPOINT active_record_1
28012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28013
+
28014
+
28015
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
28016
+ Processing by Contour::SessionsController#create as HTML
28017
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
28018
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28019
+  (0.1ms) SAVEPOINT active_record_1
28020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28021
+ Completed 401 Unauthorized in 5ms
28022
+
28023
+
28024
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
28025
+ Processing by Contour::SessionsController#new as HTML
28026
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
28027
+ Completed 500 Internal Server Error in 10ms
28028
+  (0.5ms) rollback transaction
28029
+  (0.1ms) begin transaction
28030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28031
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28032
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28033
+
28034
+
28035
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
28036
+ Processing by WelcomeController#index as HTML
28037
+ Completed 401 Unauthorized in 1ms
28038
+  (0.1ms) rollback transaction
28039
+  (0.1ms) begin transaction
28040
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28041
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28042
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28043
+
28044
+
28045
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
28046
+ Processing by WelcomeController#logged_in_page as JSON
28047
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28048
+  (0.1ms) SAVEPOINT active_record_1
28049
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:16:33.935924', "current_sign_in_at" = '2012-02-14 16:16:33.935924', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:16:33.936818' WHERE "users"."id" = 201799169
28050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28051
+ Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 0.5ms)
28052
+  (0.5ms) rollback transaction
28053
+  (0.1ms) begin transaction
28054
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28055
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28056
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28057
+
28058
+
28059
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
28060
+ Processing by WelcomeController#logged_in_page as JSON
28061
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28062
+ Completed 401 Unauthorized in 85ms
28063
+  (0.1ms) rollback transaction
28064
+  (0.1ms) begin transaction
28065
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28066
+  (0.1ms) rollback transaction
28067
+  (0.1ms) begin transaction
28068
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28069
+  (0.1ms) rollback transaction
28070
+  (0.1ms) begin transaction
28071
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
28072
+ 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-02-14 16:18:50', '2012-02-14 16:18:50', 949717663, 201799169)
28073
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 876923740, 201799169)
28074
+ 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-02-14 16:18:50', '2012-02-14 16:18:50', 864673665, 201799169)
28075
+ Fixture Delete (0.1ms) DELETE FROM "users"
28076
+ 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-02-14 16:18:50', '2012-02-14 16:18:50', 201799169)
28077
+ 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-02-14 16:18:50', '2012-02-14 16:18:50', 999914115)
28078
+ 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-02-14 16:18:50', '2012-02-14 16:18:50', 725306934)
28079
+ 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-02-14 16:18:50', '2012-02-14 16:18:50', 349534908)
28080
+  (1.4ms) commit transaction
28081
+  (0.1ms) begin transaction
28082
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
28083
+  (0.1ms) rollback transaction
28084
+  (0.1ms) begin transaction
28085
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28086
+  (0.1ms) rollback transaction
28087
+  (0.1ms) begin transaction
28088
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28089
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28090
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28091
+ Processing by Contour::AuthenticationsController#create as HTML
28092
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:18:50 UTC", "updated_at"=>"2012-02-14 16:18:50 UTC"}}
28093
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
28094
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28095
+ Logged in user found, creating associated authentication.
28096
+  (0.1ms) SAVEPOINT active_record_1
28097
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:18:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:18:50 UTC +00:00], ["user_id", 201799169]]
28098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28099
+ Redirected to http://test.host/authentications
28100
+ Completed 302 Found in 47ms (ActiveRecord: 0.8ms)
28101
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28102
+  (8.1ms) rollback transaction
28103
+  (0.1ms) begin transaction
28104
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28105
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28106
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28107
+ Processing by Contour::AuthenticationsController#destroy as HTML
28108
+ Parameters: {"id"=>"949717663"}
28109
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28110
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
28111
+  (0.0ms) SAVEPOINT active_record_1
28112
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
28113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28114
+ Redirected to http://test.host/authentications
28115
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
28116
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28117
+  (0.7ms) rollback transaction
28118
+  (0.0ms) begin transaction
28119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28120
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28121
+ Processing by Contour::AuthenticationsController#index as HTML
28122
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28123
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
28124
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
28125
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
28126
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
28127
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.8ms)
28128
+ Completed 200 OK in 101ms (Views: 99.7ms | ActiveRecord: 0.4ms)
28129
+  (0.1ms) rollback transaction
28130
+  (0.1ms) begin transaction
28131
+ Processing by Contour::PasswordsController#create as HTML
28132
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
28133
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'cdDeXMYxqc3cBMz3eQEB' LIMIT 1
28135
+  (0.0ms) SAVEPOINT active_record_1
28136
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'cdDeXMYxqc3cBMz3eQEB', "reset_password_sent_at" = '2012-02-14 16:18:50.899132', "updated_at" = '2012-02-14 16:18:50.899836' WHERE "users"."id" = 201799169
28137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28138
+
28139
+ Sent mail to valid@example.com (40ms)
28140
+ Date: Tue, 14 Feb 2012 11:18:50 -0500
28141
+ From: please-change-me-at-config-initializers-devise@example.com
28142
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
28143
+ To: valid@example.com
28144
+ Message-ID: <4f3a896af21c6_75e83fd130434d389598b@edge.mail>
28145
+ Subject: Reset password instructions
28146
+ Mime-Version: 1.0
28147
+ Content-Type: text/html;
28148
+ charset=UTF-8
28149
+ Content-Transfer-Encoding: 7bit
28150
+
28151
+ <p>Hello valid@example.com!</p>
28152
+
28153
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
28154
+
28155
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=cdDeXMYxqc3cBMz3eQEB">Change my password</a></p>
28156
+
28157
+ <p>If you didn't request this, please ignore this email.</p>
28158
+ <p>Your password won't change until you access the link above and create a new one.</p>
28159
+
28160
+ Redirected to http://test.host/users/login
28161
+ Completed 302 Found in 112ms (ActiveRecord: 0.0ms)
28162
+  (1.0ms) rollback transaction
28163
+  (0.0ms) begin transaction
28164
+ Processing by Contour::PasswordsController#new as HTML
28165
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
28166
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
28167
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
28168
+ Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
28169
+  (0.1ms) rollback transaction
28170
+  (0.0ms) begin transaction
28171
+  (0.0ms) rollback transaction
28172
+  (0.0ms) begin transaction
28173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28174
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28175
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28176
+
28177
+
28178
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28179
+ Processing by WelcomeController#logged_in_page as HTML
28180
+ Completed 401 Unauthorized in 1ms
28181
+  (0.1ms) SAVEPOINT active_record_1
28182
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28183
+ Binary data inserted for `string` type on column `encrypted_password`
28184
+ 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, 14 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$CU7fTVAiSGpJjgt1ESSGyeNbAeoYW7uSlCECrpe/RkwWXYrl6Zf9i"], ["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, 14 Feb 2012 16:18:51 UTC +00:00]]
28185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28186
+  (0.0ms) SAVEPOINT active_record_1
28187
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28189
+  (0.0ms) SAVEPOINT active_record_1
28190
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:18:51.096501' WHERE "users"."id" = 999914116
28191
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28192
+  (0.0ms) SAVEPOINT active_record_1
28193
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:18:51.097672' WHERE "users"."id" = 999914116
28194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28195
+
28196
+
28197
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28198
+ Processing by Contour::SessionsController#create as HTML
28199
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
28200
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28201
+  (0.1ms) SAVEPOINT active_record_1
28202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28203
+ Completed 401 Unauthorized in 6ms
28204
+
28205
+
28206
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28207
+ Processing by Contour::SessionsController#new as HTML
28208
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
28209
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
28210
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
28211
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
28212
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
28213
+  (0.9ms) rollback transaction
28214
+  (0.1ms) begin transaction
28215
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28216
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28217
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28218
+
28219
+
28220
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28221
+ Processing by WelcomeController#logged_in_page as HTML
28222
+ Completed 401 Unauthorized in 0ms
28223
+  (0.1ms) SAVEPOINT active_record_1
28224
+ User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28225
+ Binary data inserted for `string` type on column `encrypted_password`
28226
+ 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, 14 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iz.BrYixnq9Fin9PhbDqLOZQ5ESbVQdzSWPoE4jzibY6v/F3M1.8i"], ["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, 14 Feb 2012 16:18:51 UTC +00:00]]
28227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28228
+  (0.0ms) SAVEPOINT active_record_1
28229
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28231
+  (0.0ms) SAVEPOINT active_record_1
28232
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:18:51.148956' WHERE "users"."id" = 999914116
28233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28234
+  (0.0ms) SAVEPOINT active_record_1
28235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28236
+
28237
+
28238
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28239
+ Processing by Contour::SessionsController#create as HTML
28240
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
28241
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28242
+  (0.0ms) SAVEPOINT active_record_1
28243
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:18:51.160519', "current_sign_in_at" = '2012-02-14 16:18:51.160519', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:18:51.161013' WHERE "users"."id" = 999914116
28244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28245
+ Redirected to http://www.example.com/logged_in_page
28246
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
28247
+
28248
+
28249
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28250
+ Processing by WelcomeController#logged_in_page as HTML
28251
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
28252
+ Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
28253
+  (0.8ms) rollback transaction
28254
+  (0.1ms) begin transaction
28255
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28256
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28257
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28258
+
28259
+
28260
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28261
+ Processing by WelcomeController#logged_in_page as HTML
28262
+ Completed 401 Unauthorized in 0ms
28263
+  (0.1ms) SAVEPOINT active_record_1
28264
+ User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28265
+ Binary data inserted for `string` type on column `encrypted_password`
28266
+ 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", Tue, 14 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$DnWIVm5RhT0iPj2wgNk8ruKT2jwIqRmsGSjTpcstm.7YPt/UhJ2Ga"], ["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, 14 Feb 2012 16:18:51 UTC +00:00]]
28267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28268
+  (0.0ms) SAVEPOINT active_record_1
28269
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28271
+  (0.0ms) SAVEPOINT active_record_1
28272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28273
+  (0.0ms) SAVEPOINT active_record_1
28274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28275
+
28276
+
28277
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28278
+ Processing by Contour::SessionsController#create as HTML
28279
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
28280
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28281
+  (0.0ms) SAVEPOINT active_record_1
28282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28283
+ Completed 401 Unauthorized in 5ms
28284
+
28285
+
28286
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28287
+ Processing by Contour::SessionsController#new as HTML
28288
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
28289
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
28290
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
28291
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
28292
+ Completed 200 OK in 40ms (Views: 39.3ms | ActiveRecord: 0.0ms)
28293
+  (1.0ms) rollback transaction
28294
+  (0.0ms) begin transaction
28295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28296
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28297
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28298
+
28299
+
28300
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28301
+ Processing by WelcomeController#index as HTML
28302
+ Completed 401 Unauthorized in 0ms
28303
+  (0.1ms) rollback transaction
28304
+  (0.0ms) begin transaction
28305
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28306
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28307
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28308
+
28309
+
28310
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28311
+ Processing by WelcomeController#logged_in_page as JSON
28312
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28313
+  (0.1ms) SAVEPOINT active_record_1
28314
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:18:51.340572', "current_sign_in_at" = '2012-02-14 16:18:51.340572', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:18:51.341187' WHERE "users"."id" = 201799169
28315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28316
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
28317
+  (0.9ms) rollback transaction
28318
+  (0.1ms) begin transaction
28319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28320
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28321
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28322
+
28323
+
28324
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
28325
+ Processing by WelcomeController#logged_in_page as JSON
28326
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28327
+ Completed 401 Unauthorized in 77ms
28328
+  (0.1ms) rollback transaction
28329
+  (0.0ms) begin transaction
28330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28331
+  (0.1ms) rollback transaction
28332
+  (0.0ms) begin transaction
28333
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28334
+  (0.0ms) rollback transaction
28335
+  (0.1ms) begin transaction
28336
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
28337
+ 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-02-14 16:37:56', '2012-02-14 16:37:56', 949717663, 201799169)
28338
+ Fixture Insert (0.0ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 876923740, 201799169)
28339
+ 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-02-14 16:37:56', '2012-02-14 16:37:56', 864673665, 201799169)
28340
+ Fixture Delete (0.1ms) DELETE FROM "users"
28341
+ 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-02-14 16:37:56', '2012-02-14 16:37:56', 201799169)
28342
+ 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-02-14 16:37:56', '2012-02-14 16:37:56', 999914115)
28343
+ 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-02-14 16:37:56', '2012-02-14 16:37:56', 725306934)
28344
+ 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-02-14 16:37:56', '2012-02-14 16:37:56', 349534908)
28345
+  (1.8ms) commit transaction
28346
+  (0.1ms) begin transaction
28347
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
28348
+  (0.1ms) rollback transaction
28349
+  (0.1ms) begin transaction
28350
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28351
+  (0.0ms) rollback transaction
28352
+  (0.1ms) begin transaction
28353
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28354
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28355
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28356
+ Processing by Contour::AuthenticationsController#create as HTML
28357
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:37:56 UTC", "updated_at"=>"2012-02-14 16:37:56 UTC"}}
28358
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
28359
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28360
+ Logged in user found, creating associated authentication.
28361
+  (0.1ms) SAVEPOINT active_record_1
28362
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["user_id", 201799169]]
28363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28364
+ Redirected to http://test.host/authentications
28365
+ Completed 302 Found in 47ms (ActiveRecord: 0.9ms)
28366
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28367
+  (0.9ms) rollback transaction
28368
+  (0.1ms) begin transaction
28369
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28370
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28371
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28372
+ Processing by Contour::AuthenticationsController#destroy as HTML
28373
+ Parameters: {"id"=>"949717663"}
28374
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28375
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
28376
+  (0.0ms) SAVEPOINT active_record_1
28377
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
28378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28379
+ Redirected to http://test.host/authentications
28380
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
28381
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28382
+  (0.6ms) rollback transaction
28383
+  (0.0ms) begin transaction
28384
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28385
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28386
+ Processing by Contour::AuthenticationsController#index as HTML
28387
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28388
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
28389
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
28390
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
28391
+ Completed 500 Internal Server Error in 60ms
28392
+  (0.1ms) rollback transaction
28393
+  (0.0ms) begin transaction
28394
+ Processing by Contour::PasswordsController#create as HTML
28395
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
28396
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28397
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '11GhrHeEzTv6YCd4613d' LIMIT 1
28398
+  (0.0ms) SAVEPOINT active_record_1
28399
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '11GhrHeEzTv6YCd4613d', "reset_password_sent_at" = '2012-02-14 16:37:57.233612', "updated_at" = '2012-02-14 16:37:57.234381' WHERE "users"."id" = 201799169
28400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28401
+
28402
+ Sent mail to valid@example.com (15ms)
28403
+ Date: Tue, 14 Feb 2012 11:37:57 -0500
28404
+ From: please-change-me-at-config-initializers-devise@example.com
28405
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
28406
+ To: valid@example.com
28407
+ Message-ID: <4f3a8de54fb3e_76e73fc338c34d4053437@edge.mail>
28408
+ Subject: Reset password instructions
28409
+ Mime-Version: 1.0
28410
+ Content-Type: text/html;
28411
+ charset=UTF-8
28412
+ Content-Transfer-Encoding: 7bit
28413
+
28414
+ <p>Hello valid@example.com!</p>
28415
+
28416
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
28417
+
28418
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=11GhrHeEzTv6YCd4613d">Change my password</a></p>
28419
+
28420
+ <p>If you didn't request this, please ignore this email.</p>
28421
+ <p>Your password won't change until you access the link above and create a new one.</p>
28422
+
28423
+ Redirected to http://test.host/users/login
28424
+ Completed 302 Found in 109ms (ActiveRecord: 0.0ms)
28425
+  (1.0ms) rollback transaction
28426
+  (0.1ms) begin transaction
28427
+ Processing by Contour::PasswordsController#new as HTML
28428
+ Completed 500 Internal Server Error in 8ms
28429
+  (0.1ms) rollback transaction
28430
+  (0.0ms) begin transaction
28431
+  (0.0ms) rollback transaction
28432
+  (0.0ms) begin transaction
28433
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28434
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28435
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28436
+
28437
+
28438
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28439
+ Processing by WelcomeController#logged_in_page as HTML
28440
+ Completed 401 Unauthorized in 1ms
28441
+  (0.1ms) SAVEPOINT active_record_1
28442
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28443
+ Binary data inserted for `string` type on column `encrypted_password`
28444
+ 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, 14 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JIOIwzB1r2vaccr7Aoa/iu4oXkFYBSH1paNayv3lpGbmqPhydQm9m"], ["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, 14 Feb 2012 16:37:57 UTC +00:00]]
28445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28446
+  (0.0ms) SAVEPOINT active_record_1
28447
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28449
+  (0.0ms) SAVEPOINT active_record_1
28450
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:37:57.425959' WHERE "users"."id" = 999914116
28451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28452
+  (0.0ms) SAVEPOINT active_record_1
28453
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:37:57.427166' WHERE "users"."id" = 999914116
28454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28455
+
28456
+
28457
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28458
+ Processing by Contour::SessionsController#create as HTML
28459
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
28460
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28461
+  (0.1ms) SAVEPOINT active_record_1
28462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28463
+ Completed 401 Unauthorized in 8ms
28464
+
28465
+
28466
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28467
+ Processing by Contour::SessionsController#new as HTML
28468
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
28469
+ Completed 500 Internal Server Error in 11ms
28470
+  (1.0ms) rollback transaction
28471
+  (0.0ms) begin transaction
28472
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28473
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28474
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28475
+
28476
+
28477
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28478
+ Processing by WelcomeController#logged_in_page as HTML
28479
+ Completed 401 Unauthorized in 0ms
28480
+  (0.1ms) SAVEPOINT active_record_1
28481
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28482
+ Binary data inserted for `string` type on column `encrypted_password`
28483
+ 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, 14 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ws4CJ1bUxbY/2h5vQ0T8z.PdBOlWlEEtPo2GFi77oUflcOMw6mIP2"], ["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, 14 Feb 2012 16:37:57 UTC +00:00]]
28484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28485
+  (0.0ms) SAVEPOINT active_record_1
28486
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28488
+  (0.0ms) SAVEPOINT active_record_1
28489
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:37:57.478274' WHERE "users"."id" = 999914116
28490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28491
+  (0.0ms) SAVEPOINT active_record_1
28492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28493
+
28494
+
28495
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28496
+ Processing by Contour::SessionsController#create as HTML
28497
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
28498
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28499
+  (0.1ms) SAVEPOINT active_record_1
28500
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:37:57.486266', "current_sign_in_at" = '2012-02-14 16:37:57.486266', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:37:57.487092' WHERE "users"."id" = 999914116
28501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28502
+ Redirected to http://www.example.com/logged_in_page
28503
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
28504
+
28505
+
28506
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28507
+ Processing by WelcomeController#logged_in_page as HTML
28508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
28509
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
28510
+  (0.7ms) rollback transaction
28511
+  (0.1ms) begin transaction
28512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28513
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28514
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28515
+
28516
+
28517
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28518
+ Processing by WelcomeController#logged_in_page as HTML
28519
+ Completed 401 Unauthorized in 0ms
28520
+  (0.1ms) SAVEPOINT active_record_1
28521
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28522
+ Binary data inserted for `string` type on column `encrypted_password`
28523
+ 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, 14 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CF/swc45WSRX1q402EIUFeV6Yqrt7tReak4NYFU6rKXgThkZN5Qna"], ["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, 14 Feb 2012 16:37:57 UTC +00:00]]
28524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28525
+  (0.0ms) SAVEPOINT active_record_1
28526
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28528
+  (0.0ms) SAVEPOINT active_record_1
28529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28530
+  (0.0ms) SAVEPOINT active_record_1
28531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28532
+
28533
+
28534
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28535
+ Processing by Contour::SessionsController#create as HTML
28536
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
28537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28538
+  (0.0ms) SAVEPOINT active_record_1
28539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28540
+ Completed 401 Unauthorized in 4ms
28541
+
28542
+
28543
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28544
+ Processing by Contour::SessionsController#new as HTML
28545
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
28546
+ Completed 500 Internal Server Error in 8ms
28547
+  (0.6ms) rollback transaction
28548
+  (0.1ms) begin transaction
28549
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28550
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28551
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28552
+
28553
+
28554
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28555
+ Processing by WelcomeController#index as HTML
28556
+ Completed 401 Unauthorized in 0ms
28557
+  (0.1ms) rollback transaction
28558
+  (0.1ms) begin transaction
28559
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28560
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28561
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28562
+
28563
+
28564
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28565
+ Processing by WelcomeController#logged_in_page as JSON
28566
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28567
+  (0.1ms) SAVEPOINT active_record_1
28568
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:37:57.638772', "current_sign_in_at" = '2012-02-14 16:37:57.638772', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:37:57.639380' WHERE "users"."id" = 201799169
28569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28570
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
28571
+  (0.7ms) rollback transaction
28572
+  (0.1ms) begin transaction
28573
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28574
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28575
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28576
+
28577
+
28578
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
28579
+ Processing by WelcomeController#logged_in_page as JSON
28580
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28581
+ Completed 401 Unauthorized in 81ms
28582
+  (0.1ms) rollback transaction
28583
+  (0.1ms) begin transaction
28584
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28585
+  (0.1ms) rollback transaction
28586
+  (0.0ms) begin transaction
28587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28588
+  (0.0ms) rollback transaction
28589
+  (0.1ms) begin transaction
28590
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
28591
+ 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-02-14 16:39:07', '2012-02-14 16:39:07', 949717663, 201799169)
28592
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 876923740, 201799169)
28593
+ 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-02-14 16:39:07', '2012-02-14 16:39:07', 864673665, 201799169)
28594
+ Fixture Delete (0.1ms) DELETE FROM "users"
28595
+ 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-02-14 16:39:07', '2012-02-14 16:39:07', 201799169)
28596
+ 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-02-14 16:39:07', '2012-02-14 16:39:07', 999914115)
28597
+ 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-02-14 16:39:07', '2012-02-14 16:39:07', 725306934)
28598
+ 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-02-14 16:39:07', '2012-02-14 16:39:07', 349534908)
28599
+  (2.6ms) commit transaction
28600
+  (0.1ms) begin transaction
28601
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
28602
+  (0.1ms) rollback transaction
28603
+  (0.1ms) begin transaction
28604
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28605
+  (0.0ms) rollback transaction
28606
+  (0.1ms) begin transaction
28607
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28608
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28609
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28610
+ Processing by Contour::AuthenticationsController#create as HTML
28611
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:39:07 UTC", "updated_at"=>"2012-02-14 16:39:07 UTC"}}
28612
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
28613
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28614
+ Logged in user found, creating associated authentication.
28615
+  (0.1ms) SAVEPOINT active_record_1
28616
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["user_id", 201799169]]
28617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28618
+ Redirected to http://test.host/authentications
28619
+ Completed 302 Found in 52ms (ActiveRecord: 1.0ms)
28620
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28621
+  (0.9ms) rollback transaction
28622
+  (0.1ms) begin transaction
28623
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28624
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28625
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28626
+ Processing by Contour::AuthenticationsController#destroy as HTML
28627
+ Parameters: {"id"=>"949717663"}
28628
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28629
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
28630
+  (0.0ms) SAVEPOINT active_record_1
28631
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
28632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28633
+ Redirected to http://test.host/authentications
28634
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
28635
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28636
+  (0.7ms) rollback transaction
28637
+  (0.0ms) begin transaction
28638
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28639
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28640
+ Processing by Contour::AuthenticationsController#index as HTML
28641
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28642
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
28643
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
28644
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.9ms)
28645
+ Completed 500 Internal Server Error in 59ms
28646
+  (0.1ms) rollback transaction
28647
+  (0.1ms) begin transaction
28648
+ Processing by Contour::PasswordsController#create as HTML
28649
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
28650
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28651
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9sZFeK4Diu9EVHApQt76' LIMIT 1
28652
+  (0.1ms) SAVEPOINT active_record_1
28653
+  (0.4ms) UPDATE "users" SET "reset_password_token" = '9sZFeK4Diu9EVHApQt76', "reset_password_sent_at" = '2012-02-14 16:39:08.160150', "updated_at" = '2012-02-14 16:39:08.161402' WHERE "users"."id" = 201799169
28654
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28655
+
28656
+ Sent mail to valid@example.com (15ms)
28657
+ Date: Tue, 14 Feb 2012 11:39:08 -0500
28658
+ From: please-change-me-at-config-initializers-devise@example.com
28659
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
28660
+ To: valid@example.com
28661
+ Message-ID: <4f3a8e2c38660_76f83ffd5dc34d40849d3@edge.mail>
28662
+ Subject: Reset password instructions
28663
+ Mime-Version: 1.0
28664
+ Content-Type: text/html;
28665
+ charset=UTF-8
28666
+ Content-Transfer-Encoding: 7bit
28667
+
28668
+ <p>Hello valid@example.com!</p>
28669
+
28670
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
28671
+
28672
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=9sZFeK4Diu9EVHApQt76">Change my password</a></p>
28673
+
28674
+ <p>If you didn't request this, please ignore this email.</p>
28675
+ <p>Your password won't change until you access the link above and create a new one.</p>
28676
+
28677
+ Redirected to http://test.host/users/login
28678
+ Completed 302 Found in 88ms (ActiveRecord: 0.0ms)
28679
+  (15.5ms) rollback transaction
28680
+  (0.1ms) begin transaction
28681
+ Processing by Contour::PasswordsController#new as HTML
28682
+ Completed 500 Internal Server Error in 12ms
28683
+  (0.1ms) rollback transaction
28684
+  (0.1ms) begin transaction
28685
+  (0.1ms) rollback transaction
28686
+  (0.1ms) begin transaction
28687
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28688
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28689
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28690
+
28691
+
28692
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28693
+ Processing by WelcomeController#logged_in_page as HTML
28694
+ Completed 401 Unauthorized in 0ms
28695
+  (0.1ms) SAVEPOINT active_record_1
28696
+ User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28697
+ Binary data inserted for `string` type on column `encrypted_password`
28698
+ 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, 14 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$7xnpu/ew8D2LqwbHd00ysuUFWo8dLKQN/VzkPN09hJnoEs9UDx2dO"], ["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, 14 Feb 2012 16:39:08 UTC +00:00]]
28699
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28700
+  (0.0ms) SAVEPOINT active_record_1
28701
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28703
+  (0.0ms) SAVEPOINT active_record_1
28704
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:39:08.354442' WHERE "users"."id" = 999914116
28705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28706
+  (0.0ms) SAVEPOINT active_record_1
28707
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:39:08.355635' WHERE "users"."id" = 999914116
28708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28709
+
28710
+
28711
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28712
+ Processing by Contour::SessionsController#create as HTML
28713
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
28714
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28715
+  (0.1ms) SAVEPOINT active_record_1
28716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28717
+ Completed 401 Unauthorized in 8ms
28718
+
28719
+
28720
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28721
+ Processing by Contour::SessionsController#new as HTML
28722
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
28723
+ Completed 500 Internal Server Error in 11ms
28724
+  (0.6ms) rollback transaction
28725
+  (0.0ms) begin transaction
28726
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28727
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28728
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28729
+
28730
+
28731
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28732
+ Processing by WelcomeController#logged_in_page as HTML
28733
+ Completed 401 Unauthorized in 0ms
28734
+  (0.1ms) SAVEPOINT active_record_1
28735
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28736
+ Binary data inserted for `string` type on column `encrypted_password`
28737
+ 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, 14 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Uv6/azflzJ5mCuaav52Fau.CQFEveGsU1PSxdN8LD/cYqpzR/9Q4W"], ["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, 14 Feb 2012 16:39:08 UTC +00:00]]
28738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28739
+  (0.0ms) SAVEPOINT active_record_1
28740
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28742
+  (0.0ms) SAVEPOINT active_record_1
28743
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:39:08.405756' WHERE "users"."id" = 999914116
28744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28745
+  (0.0ms) SAVEPOINT active_record_1
28746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28747
+
28748
+
28749
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28750
+ Processing by Contour::SessionsController#create as HTML
28751
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
28752
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28753
+  (0.0ms) SAVEPOINT active_record_1
28754
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:39:08.413727', "current_sign_in_at" = '2012-02-14 16:39:08.413727', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:39:08.414136' WHERE "users"."id" = 999914116
28755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28756
+ Redirected to http://www.example.com/logged_in_page
28757
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
28758
+
28759
+
28760
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28761
+ Processing by WelcomeController#logged_in_page as HTML
28762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
28763
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
28764
+  (0.6ms) rollback transaction
28765
+  (0.1ms) begin transaction
28766
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28767
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28768
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28769
+
28770
+
28771
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28772
+ Processing by WelcomeController#logged_in_page as HTML
28773
+ Completed 401 Unauthorized in 0ms
28774
+  (0.1ms) SAVEPOINT active_record_1
28775
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28776
+ Binary data inserted for `string` type on column `encrypted_password`
28777
+ 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, 14 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$XccntoqJqMRG1lqLz0vXY.tLyQGkzWRhPstrWwrbwuFsxdbTDjMHG"], ["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, 14 Feb 2012 16:39:08 UTC +00:00]]
28778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28779
+  (0.0ms) SAVEPOINT active_record_1
28780
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28782
+  (0.0ms) SAVEPOINT active_record_1
28783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28784
+  (0.0ms) SAVEPOINT active_record_1
28785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28786
+
28787
+
28788
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28789
+ Processing by Contour::SessionsController#create as HTML
28790
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
28791
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
28792
+  (0.0ms) SAVEPOINT active_record_1
28793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28794
+ Completed 401 Unauthorized in 4ms
28795
+
28796
+
28797
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28798
+ Processing by Contour::SessionsController#new as HTML
28799
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
28800
+ Completed 500 Internal Server Error in 8ms
28801
+  (0.6ms) rollback transaction
28802
+  (0.1ms) begin transaction
28803
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28804
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28805
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28806
+
28807
+
28808
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28809
+ Processing by WelcomeController#index as HTML
28810
+ Completed 401 Unauthorized in 1ms
28811
+  (0.1ms) rollback transaction
28812
+  (0.1ms) begin transaction
28813
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28814
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28815
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28816
+
28817
+
28818
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28819
+ Processing by WelcomeController#logged_in_page as JSON
28820
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28821
+  (0.1ms) SAVEPOINT active_record_1
28822
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:39:08.562754', "current_sign_in_at" = '2012-02-14 16:39:08.562754', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:39:08.563356' WHERE "users"."id" = 201799169
28823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28824
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
28825
+  (0.9ms) rollback transaction
28826
+  (0.1ms) begin transaction
28827
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28828
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28829
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28830
+
28831
+
28832
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
28833
+ Processing by WelcomeController#logged_in_page as JSON
28834
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28835
+ Completed 401 Unauthorized in 78ms
28836
+  (0.1ms) rollback transaction
28837
+  (0.0ms) begin transaction
28838
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28839
+  (0.1ms) rollback transaction
28840
+  (0.1ms) begin transaction
28841
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28842
+  (0.1ms) rollback transaction
28843
+  (0.1ms) begin transaction
28844
+ Fixture Delete (0.7ms) DELETE FROM "authentications"
28845
+ 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-02-14 16:40:33', '2012-02-14 16:40:33', 949717663, 201799169)
28846
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 876923740, 201799169)
28847
+ 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-02-14 16:40:33', '2012-02-14 16:40:33', 864673665, 201799169)
28848
+ Fixture Delete (0.1ms) DELETE FROM "users"
28849
+ 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-02-14 16:40:33', '2012-02-14 16:40:33', 201799169)
28850
+ 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-02-14 16:40:33', '2012-02-14 16:40:33', 999914115)
28851
+ 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-02-14 16:40:33', '2012-02-14 16:40:33', 725306934)
28852
+ 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-02-14 16:40:33', '2012-02-14 16:40:33', 349534908)
28853
+  (3.1ms) commit transaction
28854
+  (0.1ms) begin transaction
28855
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
28856
+  (0.1ms) rollback transaction
28857
+  (0.1ms) begin transaction
28858
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28859
+  (0.0ms) rollback transaction
28860
+  (0.1ms) begin transaction
28861
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28862
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28863
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28864
+ Processing by Contour::AuthenticationsController#create as HTML
28865
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:40:33 UTC", "updated_at"=>"2012-02-14 16:40:33 UTC"}}
28866
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
28867
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28868
+ Logged in user found, creating associated authentication.
28869
+  (0.1ms) SAVEPOINT active_record_1
28870
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["user_id", 201799169]]
28871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28872
+ Redirected to http://test.host/authentications
28873
+ Completed 302 Found in 54ms (ActiveRecord: 0.9ms)
28874
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
28875
+  (0.8ms) rollback transaction
28876
+  (0.0ms) begin transaction
28877
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28878
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28879
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28880
+ Processing by Contour::AuthenticationsController#destroy as HTML
28881
+ Parameters: {"id"=>"949717663"}
28882
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28883
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
28884
+  (0.0ms) SAVEPOINT active_record_1
28885
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
28886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28887
+ Redirected to http://test.host/authentications
28888
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
28889
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
28890
+  (0.9ms) rollback transaction
28891
+  (0.0ms) begin transaction
28892
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28893
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
28894
+ Processing by Contour::AuthenticationsController#index as HTML
28895
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
28896
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
28897
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
28898
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
28899
+ Completed 500 Internal Server Error in 59ms
28900
+  (0.1ms) rollback transaction
28901
+  (0.1ms) begin transaction
28902
+ Processing by Contour::PasswordsController#create as HTML
28903
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
28904
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
28905
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XHDsfY7LcyTFvFs2EyxL' LIMIT 1
28906
+  (0.0ms) SAVEPOINT active_record_1
28907
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'XHDsfY7LcyTFvFs2EyxL', "reset_password_sent_at" = '2012-02-14 16:40:33.582853', "updated_at" = '2012-02-14 16:40:33.583585' WHERE "users"."id" = 201799169
28908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28909
+
28910
+ Sent mail to valid@example.com (15ms)
28911
+ Date: Tue, 14 Feb 2012 11:40:33 -0500
28912
+ From: please-change-me-at-config-initializers-devise@example.com
28913
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
28914
+ To: valid@example.com
28915
+ Message-ID: <4f3a8e819f616_770b3ff2e4834d40836eb@edge.mail>
28916
+ Subject: Reset password instructions
28917
+ Mime-Version: 1.0
28918
+ Content-Type: text/html;
28919
+ charset=UTF-8
28920
+ Content-Transfer-Encoding: 7bit
28921
+
28922
+ <p>Hello valid@example.com!</p>
28923
+
28924
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
28925
+
28926
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=XHDsfY7LcyTFvFs2EyxL">Change my password</a></p>
28927
+
28928
+ <p>If you didn't request this, please ignore this email.</p>
28929
+ <p>Your password won't change until you access the link above and create a new one.</p>
28930
+
28931
+ Redirected to http://test.host/users/login
28932
+ Completed 302 Found in 87ms (ActiveRecord: 0.0ms)
28933
+  (23.8ms) rollback transaction
28934
+  (0.1ms) begin transaction
28935
+ Processing by Contour::PasswordsController#new as HTML
28936
+ Completed 500 Internal Server Error in 9ms
28937
+  (0.1ms) rollback transaction
28938
+  (0.1ms) begin transaction
28939
+  (0.0ms) rollback transaction
28940
+  (0.0ms) begin transaction
28941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28942
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28943
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28944
+
28945
+
28946
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
28947
+ Processing by WelcomeController#logged_in_page as HTML
28948
+ Completed 401 Unauthorized in 1ms
28949
+  (0.1ms) SAVEPOINT active_record_1
28950
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28951
+ Binary data inserted for `string` type on column `encrypted_password`
28952
+ 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, 14 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZssKLL58gaLxjgbGo03EveITe6bxSLS6DLQXbiJp16EVFRv/F8dJm"], ["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, 14 Feb 2012 16:40:33 UTC +00:00]]
28953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28954
+  (0.0ms) SAVEPOINT active_record_1
28955
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28957
+  (0.0ms) SAVEPOINT active_record_1
28958
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:40:33.775679' WHERE "users"."id" = 999914116
28959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28960
+  (0.0ms) SAVEPOINT active_record_1
28961
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:40:33.776978' WHERE "users"."id" = 999914116
28962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28963
+
28964
+
28965
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
28966
+ Processing by Contour::SessionsController#create as HTML
28967
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
28968
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
28969
+  (0.1ms) SAVEPOINT active_record_1
28970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28971
+ Completed 401 Unauthorized in 6ms
28972
+
28973
+
28974
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
28975
+ Processing by Contour::SessionsController#new as HTML
28976
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
28977
+ Completed 500 Internal Server Error in 11ms
28978
+  (0.6ms) rollback transaction
28979
+  (0.0ms) begin transaction
28980
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
28981
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
28982
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
28983
+
28984
+
28985
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
28986
+ Processing by WelcomeController#logged_in_page as HTML
28987
+ Completed 401 Unauthorized in 0ms
28988
+  (0.1ms) SAVEPOINT active_record_1
28989
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
28990
+ Binary data inserted for `string` type on column `encrypted_password`
28991
+ 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, 14 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N3ufIhyXXGw9GcXyyhigc.Tc6setlFGFYLkRZrOS/mYCzMUDiGMJe"], ["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, 14 Feb 2012 16:40:33 UTC +00:00]]
28992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
28993
+  (0.0ms) SAVEPOINT active_record_1
28994
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
28995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28996
+  (0.0ms) SAVEPOINT active_record_1
28997
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:40:33.827376' WHERE "users"."id" = 999914116
28998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28999
+  (0.0ms) SAVEPOINT active_record_1
29000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29001
+
29002
+
29003
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29004
+ Processing by Contour::SessionsController#create as HTML
29005
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
29006
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29007
+  (0.0ms) SAVEPOINT active_record_1
29008
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:40:33.836432', "current_sign_in_at" = '2012-02-14 16:40:33.836432', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:40:33.836852' WHERE "users"."id" = 999914116
29009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29010
+ Redirected to http://www.example.com/logged_in_page
29011
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
29012
+
29013
+
29014
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29015
+ Processing by WelcomeController#logged_in_page as HTML
29016
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
29017
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
29018
+  (0.9ms) rollback transaction
29019
+  (0.0ms) begin transaction
29020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29021
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29022
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29023
+
29024
+
29025
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29026
+ Processing by WelcomeController#logged_in_page as HTML
29027
+ Completed 401 Unauthorized in 0ms
29028
+  (0.1ms) SAVEPOINT active_record_1
29029
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29030
+ Binary data inserted for `string` type on column `encrypted_password`
29031
+ 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, 14 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$4KLQknP/uzol9ISipHLVpOyzNccUfjpsF0Rpvj3LL5Pc5a9WfmNKa"], ["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, 14 Feb 2012 16:40:33 UTC +00:00]]
29032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29033
+  (0.0ms) SAVEPOINT active_record_1
29034
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29036
+  (0.0ms) SAVEPOINT active_record_1
29037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29038
+  (0.0ms) SAVEPOINT active_record_1
29039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29040
+
29041
+
29042
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29043
+ Processing by Contour::SessionsController#create as HTML
29044
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
29045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29046
+  (0.0ms) SAVEPOINT active_record_1
29047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29048
+ Completed 401 Unauthorized in 4ms
29049
+
29050
+
29051
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29052
+ Processing by Contour::SessionsController#new as HTML
29053
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
29054
+ Completed 500 Internal Server Error in 6ms
29055
+  (0.7ms) rollback transaction
29056
+  (0.1ms) begin transaction
29057
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29058
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29059
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29060
+
29061
+
29062
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29063
+ Processing by WelcomeController#index as HTML
29064
+ Completed 401 Unauthorized in 1ms
29065
+  (0.1ms) rollback transaction
29066
+  (0.0ms) begin transaction
29067
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29068
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29069
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29070
+
29071
+
29072
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29073
+ Processing by WelcomeController#logged_in_page as JSON
29074
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29075
+  (0.1ms) SAVEPOINT active_record_1
29076
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:40:33.981938', "current_sign_in_at" = '2012-02-14 16:40:33.981938', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:40:33.982582' WHERE "users"."id" = 201799169
29077
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29078
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
29079
+  (0.9ms) rollback transaction
29080
+  (0.1ms) begin transaction
29081
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29083
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29084
+
29085
+
29086
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
29087
+ Processing by WelcomeController#logged_in_page as JSON
29088
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29089
+ Completed 401 Unauthorized in 79ms
29090
+  (0.1ms) rollback transaction
29091
+  (0.0ms) begin transaction
29092
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29093
+  (0.1ms) rollback transaction
29094
+  (0.0ms) begin transaction
29095
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29096
+  (0.0ms) rollback transaction
29097
+  (0.1ms) begin transaction
29098
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
29099
+ Fixture Insert (0.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 949717663, 201799169)
29100
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 876923740, 201799169)
29101
+ 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-02-14 16:44:35', '2012-02-14 16:44:35', 864673665, 201799169)
29102
+ Fixture Delete (0.1ms) DELETE FROM "users"
29103
+ 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-02-14 16:44:35', '2012-02-14 16:44:35', 201799169)
29104
+ 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-02-14 16:44:35', '2012-02-14 16:44:35', 999914115)
29105
+ 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-02-14 16:44:35', '2012-02-14 16:44:35', 725306934)
29106
+ 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-02-14 16:44:35', '2012-02-14 16:44:35', 349534908)
29107
+  (14.8ms) commit transaction
29108
+  (0.1ms) begin transaction
29109
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
29110
+  (0.1ms) rollback transaction
29111
+  (0.0ms) begin transaction
29112
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29113
+  (0.0ms) rollback transaction
29114
+  (0.1ms) begin transaction
29115
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29116
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29117
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29118
+ Processing by Contour::AuthenticationsController#create as HTML
29119
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:44:35 UTC", "updated_at"=>"2012-02-14 16:44:35 UTC"}}
29120
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
29121
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29122
+ Logged in user found, creating associated authentication.
29123
+  (0.1ms) SAVEPOINT active_record_1
29124
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["user_id", 201799169]]
29125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29126
+ Redirected to http://test.host/authentications
29127
+ Completed 302 Found in 49ms (ActiveRecord: 1.0ms)
29128
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29129
+  (0.8ms) rollback transaction
29130
+  (0.1ms) begin transaction
29131
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29132
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29133
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29134
+ Processing by Contour::AuthenticationsController#destroy as HTML
29135
+ Parameters: {"id"=>"949717663"}
29136
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29137
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
29138
+  (0.0ms) SAVEPOINT active_record_1
29139
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
29140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29141
+ Redirected to http://test.host/authentications
29142
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
29143
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29144
+  (0.7ms) rollback transaction
29145
+  (0.0ms) begin transaction
29146
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29147
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29148
+ Processing by Contour::AuthenticationsController#index as HTML
29149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29150
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
29151
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
29152
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.0ms)
29153
+ Completed 500 Internal Server Error in 59ms
29154
+  (0.1ms) rollback transaction
29155
+  (0.0ms) begin transaction
29156
+ Processing by Contour::PasswordsController#create as HTML
29157
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
29158
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XRAFUNmsZER4Gcn32vL4' LIMIT 1
29160
+  (0.0ms) SAVEPOINT active_record_1
29161
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'XRAFUNmsZER4Gcn32vL4', "reset_password_sent_at" = '2012-02-14 16:44:35.790359', "updated_at" = '2012-02-14 16:44:35.791034' WHERE "users"."id" = 201799169
29162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29163
+
29164
+ Sent mail to valid@example.com (15ms)
29165
+ Date: Tue, 14 Feb 2012 11:44:35 -0500
29166
+ From: please-change-me-at-config-initializers-devise@example.com
29167
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
29168
+ To: valid@example.com
29169
+ Message-ID: <4f3a8f73d137c_773d3fd821434d4015893@edge.mail>
29170
+ Subject: Reset password instructions
29171
+ Mime-Version: 1.0
29172
+ Content-Type: text/html;
29173
+ charset=UTF-8
29174
+ Content-Transfer-Encoding: 7bit
29175
+
29176
+ <p>Hello valid@example.com!</p>
29177
+
29178
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
29179
+
29180
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=XRAFUNmsZER4Gcn32vL4">Change my password</a></p>
29181
+
29182
+ <p>If you didn't request this, please ignore this email.</p>
29183
+ <p>Your password won't change until you access the link above and create a new one.</p>
29184
+
29185
+ Redirected to http://test.host/users/login
29186
+ Completed 302 Found in 83ms (ActiveRecord: 0.0ms)
29187
+  (0.7ms) rollback transaction
29188
+  (0.1ms) begin transaction
29189
+ Processing by Contour::PasswordsController#new as HTML
29190
+ Completed 500 Internal Server Error in 8ms
29191
+  (0.1ms) rollback transaction
29192
+  (0.1ms) begin transaction
29193
+  (0.0ms) rollback transaction
29194
+  (0.0ms) begin transaction
29195
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29196
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29197
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29198
+
29199
+
29200
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:35 -0500
29201
+ Processing by WelcomeController#logged_in_page as HTML
29202
+ Completed 401 Unauthorized in 1ms
29203
+  (0.1ms) SAVEPOINT active_record_1
29204
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29205
+ Binary data inserted for `string` type on column `encrypted_password`
29206
+ 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, 14 Feb 2012 16:44:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$fz0jtQFdACiQdiYchh1k3uPrvKjGb/6XrpbaSe23RfWyFYUgIxEEi"], ["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, 14 Feb 2012 16:44:35 UTC +00:00]]
29207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29208
+  (0.0ms) SAVEPOINT active_record_1
29209
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29211
+  (0.0ms) SAVEPOINT active_record_1
29212
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:44:35.957677' WHERE "users"."id" = 999914116
29213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29214
+  (0.0ms) SAVEPOINT active_record_1
29215
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:44:35.958858' WHERE "users"."id" = 999914116
29216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29217
+
29218
+
29219
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:35 -0500
29220
+ Processing by Contour::SessionsController#create as HTML
29221
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
29222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29223
+  (0.1ms) SAVEPOINT active_record_1
29224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29225
+ Completed 401 Unauthorized in 6ms
29226
+
29227
+
29228
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:44:35 -0500
29229
+ Processing by Contour::SessionsController#new as HTML
29230
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
29231
+ Completed 500 Internal Server Error in 10ms
29232
+  (6.7ms) rollback transaction
29233
+  (0.1ms) begin transaction
29234
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29235
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29236
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29237
+
29238
+
29239
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29240
+ Processing by WelcomeController#logged_in_page as HTML
29241
+ Completed 401 Unauthorized in 0ms
29242
+  (0.1ms) SAVEPOINT active_record_1
29243
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29244
+ Binary data inserted for `string` type on column `encrypted_password`
29245
+ 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, 14 Feb 2012 16:44:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$yNJkM9qmwcysTu9a1RQfm.J/Hyk2TMkyzk.w1Mo/DSYDGb/jfFdy."], ["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, 14 Feb 2012 16:44:36 UTC +00:00]]
29246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29247
+  (0.0ms) SAVEPOINT active_record_1
29248
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29250
+  (0.0ms) SAVEPOINT active_record_1
29251
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:44:36.015150' WHERE "users"."id" = 999914116
29252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29253
+  (0.0ms) SAVEPOINT active_record_1
29254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29255
+
29256
+
29257
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29258
+ Processing by Contour::SessionsController#create as HTML
29259
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
29260
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29261
+  (0.1ms) SAVEPOINT active_record_1
29262
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:44:36.023646', "current_sign_in_at" = '2012-02-14 16:44:36.023646', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:44:36.024334' WHERE "users"."id" = 999914116
29263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29264
+ Redirected to http://www.example.com/logged_in_page
29265
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
29266
+
29267
+
29268
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29269
+ Processing by WelcomeController#logged_in_page as HTML
29270
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
29271
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
29272
+  (1.1ms) rollback transaction
29273
+  (0.1ms) begin transaction
29274
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29275
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29276
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29277
+
29278
+
29279
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29280
+ Processing by WelcomeController#logged_in_page as HTML
29281
+ Completed 401 Unauthorized in 0ms
29282
+  (0.1ms) SAVEPOINT active_record_1
29283
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29284
+ Binary data inserted for `string` type on column `encrypted_password`
29285
+ 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, 14 Feb 2012 16:44:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$LhRP3Gzgiwh6dR/4dmdb7OqrqIJywKqbkkdT.1P2KcuLavMFMjW/W"], ["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, 14 Feb 2012 16:44:36 UTC +00:00]]
29286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29287
+  (0.0ms) SAVEPOINT active_record_1
29288
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29290
+  (0.0ms) SAVEPOINT active_record_1
29291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29292
+  (0.0ms) SAVEPOINT active_record_1
29293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29294
+
29295
+
29296
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29297
+ Processing by Contour::SessionsController#create as HTML
29298
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
29299
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29300
+  (0.0ms) SAVEPOINT active_record_1
29301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29302
+ Completed 401 Unauthorized in 4ms
29303
+
29304
+
29305
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29306
+ Processing by Contour::SessionsController#new as HTML
29307
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
29308
+ Completed 500 Internal Server Error in 8ms
29309
+  (0.6ms) rollback transaction
29310
+  (0.0ms) begin transaction
29311
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29312
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29313
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29314
+
29315
+
29316
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29317
+ Processing by WelcomeController#index as HTML
29318
+ Completed 401 Unauthorized in 0ms
29319
+  (0.1ms) rollback transaction
29320
+  (0.0ms) begin transaction
29321
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29322
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29323
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29324
+
29325
+
29326
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29327
+ Processing by WelcomeController#logged_in_page as JSON
29328
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29329
+  (0.1ms) SAVEPOINT active_record_1
29330
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:44:36.168374', "current_sign_in_at" = '2012-02-14 16:44:36.168374', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:44:36.168982' WHERE "users"."id" = 201799169
29331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29332
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
29333
+  (0.7ms) rollback transaction
29334
+  (0.0ms) begin transaction
29335
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29336
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29337
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29338
+
29339
+
29340
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
29341
+ Processing by WelcomeController#logged_in_page as JSON
29342
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29343
+ Completed 401 Unauthorized in 78ms
29344
+  (0.1ms) rollback transaction
29345
+  (0.0ms) begin transaction
29346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29347
+  (0.1ms) rollback transaction
29348
+  (0.1ms) begin transaction
29349
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29350
+  (0.0ms) rollback transaction
29351
+  (0.1ms) begin transaction
29352
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
29353
+ 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-02-14 16:45:11', '2012-02-14 16:45:11', 949717663, 201799169)
29354
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 876923740, 201799169)
29355
+ 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-02-14 16:45:11', '2012-02-14 16:45:11', 864673665, 201799169)
29356
+ Fixture Delete (0.2ms) DELETE FROM "users"
29357
+ 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-02-14 16:45:11', '2012-02-14 16:45:11', 201799169)
29358
+ 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-02-14 16:45:11', '2012-02-14 16:45:11', 999914115)
29359
+ 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-02-14 16:45:11', '2012-02-14 16:45:11', 725306934)
29360
+ 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-02-14 16:45:11', '2012-02-14 16:45:11', 349534908)
29361
+  (2.4ms) commit transaction
29362
+  (0.1ms) begin transaction
29363
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
29364
+  (0.1ms) rollback transaction
29365
+  (0.0ms) begin transaction
29366
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29367
+  (0.0ms) rollback transaction
29368
+  (0.1ms) begin transaction
29369
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29370
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29371
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29372
+ Processing by Contour::AuthenticationsController#create as HTML
29373
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:45:11 UTC", "updated_at"=>"2012-02-14 16:45:11 UTC"}}
29374
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
29375
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29376
+ Logged in user found, creating associated authentication.
29377
+  (0.1ms) SAVEPOINT active_record_1
29378
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["user_id", 201799169]]
29379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29380
+ Redirected to http://test.host/authentications
29381
+ Completed 302 Found in 50ms (ActiveRecord: 0.9ms)
29382
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29383
+  (1.0ms) rollback transaction
29384
+  (0.1ms) begin transaction
29385
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29386
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29387
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29388
+ Processing by Contour::AuthenticationsController#destroy as HTML
29389
+ Parameters: {"id"=>"949717663"}
29390
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29391
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
29392
+  (0.0ms) SAVEPOINT active_record_1
29393
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
29394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29395
+ Redirected to http://test.host/authentications
29396
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
29397
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29398
+  (0.7ms) rollback transaction
29399
+  (0.0ms) begin transaction
29400
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29401
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29402
+ Processing by Contour::AuthenticationsController#index as HTML
29403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29404
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
29405
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
29406
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.3ms)
29407
+ Completed 500 Internal Server Error in 60ms
29408
+  (0.1ms) rollback transaction
29409
+  (0.0ms) begin transaction
29410
+ Processing by Contour::PasswordsController#create as HTML
29411
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
29412
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29413
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8xrqHjKXXtREqpNtjAS6' LIMIT 1
29414
+  (0.0ms) SAVEPOINT active_record_1
29415
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '8xrqHjKXXtREqpNtjAS6', "reset_password_sent_at" = '2012-02-14 16:45:11.687035', "updated_at" = '2012-02-14 16:45:11.687736' WHERE "users"."id" = 201799169
29416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29417
+
29418
+ Sent mail to valid@example.com (15ms)
29419
+ Date: Tue, 14 Feb 2012 11:45:11 -0500
29420
+ From: please-change-me-at-config-initializers-devise@example.com
29421
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
29422
+ To: valid@example.com
29423
+ Message-ID: <4f3a8f97b86c1_77463fe81e034d3c632f6@edge.mail>
29424
+ Subject: Reset password instructions
29425
+ Mime-Version: 1.0
29426
+ Content-Type: text/html;
29427
+ charset=UTF-8
29428
+ Content-Transfer-Encoding: 7bit
29429
+
29430
+ <p>Hello valid@example.com!</p>
29431
+
29432
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
29433
+
29434
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=8xrqHjKXXtREqpNtjAS6">Change my password</a></p>
29435
+
29436
+ <p>If you didn't request this, please ignore this email.</p>
29437
+ <p>Your password won't change until you access the link above and create a new one.</p>
29438
+
29439
+ Redirected to http://test.host/users/login
29440
+ Completed 302 Found in 85ms (ActiveRecord: 0.0ms)
29441
+  (1.2ms) rollback transaction
29442
+  (0.1ms) begin transaction
29443
+ Processing by Contour::PasswordsController#new as HTML
29444
+ Completed 500 Internal Server Error in 8ms
29445
+  (0.1ms) rollback transaction
29446
+  (0.1ms) begin transaction
29447
+  (0.0ms) rollback transaction
29448
+  (0.0ms) begin transaction
29449
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29450
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29451
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29452
+
29453
+
29454
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29455
+ Processing by WelcomeController#logged_in_page as HTML
29456
+ Completed 401 Unauthorized in 1ms
29457
+  (0.1ms) SAVEPOINT active_record_1
29458
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29459
+ Binary data inserted for `string` type on column `encrypted_password`
29460
+ 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, 14 Feb 2012 16:45: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$pwJT6S7zyD7VvGMrl5Y/duX5JIfza4mJDaBbrWo2OW7gmTy8G.eb6"], ["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, 14 Feb 2012 16:45:11 UTC +00:00]]
29461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29462
+  (0.0ms) SAVEPOINT active_record_1
29463
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29465
+  (0.0ms) SAVEPOINT active_record_1
29466
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:45:11.856147' WHERE "users"."id" = 999914116
29467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29468
+  (0.0ms) SAVEPOINT active_record_1
29469
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:45:11.857331' WHERE "users"."id" = 999914116
29470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29471
+
29472
+
29473
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29474
+ Processing by Contour::SessionsController#create as HTML
29475
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
29476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29477
+  (0.1ms) SAVEPOINT active_record_1
29478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29479
+ Completed 401 Unauthorized in 6ms
29480
+
29481
+
29482
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29483
+ Processing by Contour::SessionsController#new as HTML
29484
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
29485
+ Completed 500 Internal Server Error in 11ms
29486
+  (5.8ms) rollback transaction
29487
+  (0.1ms) begin transaction
29488
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29489
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29490
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29491
+
29492
+
29493
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29494
+ Processing by WelcomeController#logged_in_page as HTML
29495
+ Completed 401 Unauthorized in 1ms
29496
+  (0.1ms) SAVEPOINT active_record_1
29497
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29498
+ Binary data inserted for `string` type on column `encrypted_password`
29499
+ 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, 14 Feb 2012 16:45: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$pSoLRQX7HkM.EqNiRn8a0elqzjFWAFG/i5etvSoKqXoW1jVUM7cnS"], ["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, 14 Feb 2012 16:45:11 UTC +00:00]]
29500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29501
+  (0.0ms) SAVEPOINT active_record_1
29502
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29504
+  (0.0ms) SAVEPOINT active_record_1
29505
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:45:11.915004' WHERE "users"."id" = 999914116
29506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29507
+  (0.0ms) SAVEPOINT active_record_1
29508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29509
+
29510
+
29511
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29512
+ Processing by Contour::SessionsController#create as HTML
29513
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
29514
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29515
+  (0.1ms) SAVEPOINT active_record_1
29516
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:45:11.925029', "current_sign_in_at" = '2012-02-14 16:45:11.925029', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:45:11.925709' WHERE "users"."id" = 999914116
29517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29518
+ Redirected to http://www.example.com/logged_in_page
29519
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
29520
+
29521
+
29522
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29523
+ Processing by WelcomeController#logged_in_page as HTML
29524
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
29525
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
29526
+  (1.1ms) rollback transaction
29527
+  (0.0ms) begin transaction
29528
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29529
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29530
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29531
+
29532
+
29533
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29534
+ Processing by WelcomeController#logged_in_page as HTML
29535
+ Completed 401 Unauthorized in 0ms
29536
+  (0.1ms) SAVEPOINT active_record_1
29537
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29538
+ Binary data inserted for `string` type on column `encrypted_password`
29539
+ 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, 14 Feb 2012 16:45: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$OWwngWgiaELdy0FqkvPr4eDBCtUdN5O5KsOi286xILTCufUkHa1fG"], ["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, 14 Feb 2012 16:45:11 UTC +00:00]]
29540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29541
+  (0.0ms) SAVEPOINT active_record_1
29542
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29544
+  (0.0ms) SAVEPOINT active_record_1
29545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29546
+  (0.0ms) SAVEPOINT active_record_1
29547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29548
+
29549
+
29550
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29551
+ Processing by Contour::SessionsController#create as HTML
29552
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
29553
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29554
+  (0.0ms) SAVEPOINT active_record_1
29555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29556
+ Completed 401 Unauthorized in 4ms
29557
+
29558
+
29559
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29560
+ Processing by Contour::SessionsController#new as HTML
29561
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
29562
+ Completed 500 Internal Server Error in 6ms
29563
+  (0.6ms) rollback transaction
29564
+  (0.1ms) begin transaction
29565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29566
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29567
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29568
+
29569
+
29570
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29571
+ Processing by WelcomeController#index as HTML
29572
+ Completed 401 Unauthorized in 1ms
29573
+  (0.1ms) rollback transaction
29574
+  (0.0ms) begin transaction
29575
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29576
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29577
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29578
+
29579
+
29580
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
29581
+ Processing by WelcomeController#logged_in_page as JSON
29582
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29583
+  (0.1ms) SAVEPOINT active_record_1
29584
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:45:12.074843', "current_sign_in_at" = '2012-02-14 16:45:12.074843', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:45:12.075515' WHERE "users"."id" = 201799169
29585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29586
+ Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms)
29587
+  (0.7ms) rollback transaction
29588
+  (0.1ms) begin transaction
29589
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29590
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29591
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29592
+
29593
+
29594
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:45:12 -0500
29595
+ Processing by WelcomeController#logged_in_page as JSON
29596
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29597
+ Completed 401 Unauthorized in 81ms
29598
+  (0.1ms) rollback transaction
29599
+  (0.0ms) begin transaction
29600
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29601
+  (0.1ms) rollback transaction
29602
+  (0.0ms) begin transaction
29603
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29604
+  (0.0ms) rollback transaction
29605
+  (0.1ms) begin transaction
29606
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
29607
+ Fixture Insert (0.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 949717663, 201799169)
29608
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 876923740, 201799169)
29609
+ 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-02-14 16:46:31', '2012-02-14 16:46:31', 864673665, 201799169)
29610
+ Fixture Delete (0.2ms) DELETE FROM "users"
29611
+ 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-02-14 16:46:31', '2012-02-14 16:46:31', 201799169)
29612
+ 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-02-14 16:46:31', '2012-02-14 16:46:31', 999914115)
29613
+ 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-02-14 16:46:31', '2012-02-14 16:46:31', 725306934)
29614
+ 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-02-14 16:46:31', '2012-02-14 16:46:31', 349534908)
29615
+  (2.8ms) commit transaction
29616
+  (0.0ms) begin transaction
29617
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
29618
+  (0.1ms) rollback transaction
29619
+  (0.0ms) begin transaction
29620
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29621
+  (0.0ms) rollback transaction
29622
+  (0.1ms) begin transaction
29623
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29624
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29625
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29626
+ Processing by Contour::AuthenticationsController#create as HTML
29627
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:46:31 UTC", "updated_at"=>"2012-02-14 16:46:31 UTC"}}
29628
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
29629
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29630
+ Logged in user found, creating associated authentication.
29631
+  (0.1ms) SAVEPOINT active_record_1
29632
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["user_id", 201799169]]
29633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29634
+ Redirected to http://test.host/authentications
29635
+ Completed 302 Found in 58ms (ActiveRecord: 0.9ms)
29636
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29637
+  (0.7ms) rollback transaction
29638
+  (0.0ms) begin transaction
29639
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29640
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29641
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29642
+ Processing by Contour::AuthenticationsController#destroy as HTML
29643
+ Parameters: {"id"=>"949717663"}
29644
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29645
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
29646
+  (0.0ms) SAVEPOINT active_record_1
29647
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
29648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29649
+ Redirected to http://test.host/authentications
29650
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
29651
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29652
+  (0.8ms) rollback transaction
29653
+  (0.0ms) begin transaction
29654
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29655
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29656
+ Processing by Contour::AuthenticationsController#index as HTML
29657
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29658
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
29659
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
29660
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.1ms)
29661
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
29662
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.8ms)
29663
+ Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.4ms)
29664
+  (0.1ms) rollback transaction
29665
+  (0.1ms) begin transaction
29666
+ Processing by Contour::PasswordsController#create as HTML
29667
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
29668
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29669
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ciY7FhskrtwixbcuFgic' LIMIT 1
29670
+  (0.0ms) SAVEPOINT active_record_1
29671
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'ciY7FhskrtwixbcuFgic', "reset_password_sent_at" = '2012-02-14 16:46:31.816725', "updated_at" = '2012-02-14 16:46:31.817411' WHERE "users"."id" = 201799169
29672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29673
+
29674
+ Sent mail to valid@example.com (15ms)
29675
+ Date: Tue, 14 Feb 2012 11:46:31 -0500
29676
+ From: please-change-me-at-config-initializers-devise@example.com
29677
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
29678
+ To: valid@example.com
29679
+ Message-ID: <4f3a8fe7d827c_77583fc889034d3c330b3@edge.mail>
29680
+ Subject: Reset password instructions
29681
+ Mime-Version: 1.0
29682
+ Content-Type: text/html;
29683
+ charset=UTF-8
29684
+ Content-Transfer-Encoding: 7bit
29685
+
29686
+ <p>Hello valid@example.com!</p>
29687
+
29688
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
29689
+
29690
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=ciY7FhskrtwixbcuFgic">Change my password</a></p>
29691
+
29692
+ <p>If you didn't request this, please ignore this email.</p>
29693
+ <p>Your password won't change until you access the link above and create a new one.</p>
29694
+
29695
+ Redirected to http://test.host/users/login
29696
+ Completed 302 Found in 88ms (ActiveRecord: 0.0ms)
29697
+  (1.0ms) rollback transaction
29698
+  (0.1ms) begin transaction
29699
+ Processing by Contour::PasswordsController#new as HTML
29700
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
29701
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
29702
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms)
29703
+ Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
29704
+  (0.1ms) rollback transaction
29705
+  (0.0ms) begin transaction
29706
+  (0.0ms) rollback transaction
29707
+  (0.0ms) begin transaction
29708
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29709
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29710
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29711
+
29712
+
29713
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:31 -0500
29714
+ Processing by WelcomeController#logged_in_page as HTML
29715
+ Completed 401 Unauthorized in 0ms
29716
+  (0.1ms) SAVEPOINT active_record_1
29717
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29718
+ Binary data inserted for `string` type on column `encrypted_password`
29719
+ 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, 14 Feb 2012 16:46:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$iGLtWMEkQEqo6/al7Mxx/./YAI8EVUhqp4JwI4ip4fyKVsFjzJ8fq"], ["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, 14 Feb 2012 16:46:31 UTC +00:00]]
29720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29721
+  (0.0ms) SAVEPOINT active_record_1
29722
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29724
+  (0.0ms) SAVEPOINT active_record_1
29725
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:46:31.992747' WHERE "users"."id" = 999914116
29726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29727
+  (0.0ms) SAVEPOINT active_record_1
29728
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:46:31.993905' WHERE "users"."id" = 999914116
29729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29730
+
29731
+
29732
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:31 -0500
29733
+ Processing by Contour::SessionsController#create as HTML
29734
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
29735
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29736
+  (0.1ms) SAVEPOINT active_record_1
29737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29738
+ Completed 401 Unauthorized in 6ms
29739
+
29740
+
29741
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29742
+ Processing by Contour::SessionsController#new as HTML
29743
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
29744
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms)
29745
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
29746
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
29747
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
29748
+  (1.6ms) rollback transaction
29749
+  (0.1ms) begin transaction
29750
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29751
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29752
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29753
+
29754
+
29755
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29756
+ Processing by WelcomeController#logged_in_page as HTML
29757
+ Completed 401 Unauthorized in 0ms
29758
+  (0.1ms) SAVEPOINT active_record_1
29759
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29760
+ Binary data inserted for `string` type on column `encrypted_password`
29761
+ 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, 14 Feb 2012 16:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZpQcfsQ6Fs/gUajWrbabPe6t.KZheVsithOpEdltFFoRDbNvHcgpO"], ["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, 14 Feb 2012 16:46:32 UTC +00:00]]
29762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29763
+  (0.0ms) SAVEPOINT active_record_1
29764
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29766
+  (0.0ms) SAVEPOINT active_record_1
29767
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:46:32.043815' WHERE "users"."id" = 999914116
29768
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29769
+  (0.0ms) SAVEPOINT active_record_1
29770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29771
+
29772
+
29773
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29774
+ Processing by Contour::SessionsController#create as HTML
29775
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
29776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
29777
+  (0.0ms) SAVEPOINT active_record_1
29778
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:46:32.052071', "current_sign_in_at" = '2012-02-14 16:46:32.052071', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:46:32.052511' WHERE "users"."id" = 999914116
29779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29780
+ Redirected to http://www.example.com/logged_in_page
29781
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
29782
+
29783
+
29784
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29785
+ Processing by WelcomeController#logged_in_page as HTML
29786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
29787
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
29788
+  (0.6ms) rollback transaction
29789
+  (0.1ms) begin transaction
29790
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29791
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29792
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29793
+
29794
+
29795
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29796
+ Processing by WelcomeController#logged_in_page as HTML
29797
+ Completed 401 Unauthorized in 0ms
29798
+  (0.1ms) SAVEPOINT active_record_1
29799
+ User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29800
+ Binary data inserted for `string` type on column `encrypted_password`
29801
+ 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, 14 Feb 2012 16:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GiwmGUKW6gHOVLP5Jq.ODefw01U.TYDaIpEAhAIkwwB.JFEI3a6Pa"], ["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, 14 Feb 2012 16:46:32 UTC +00:00]]
29802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29803
+  (0.0ms) SAVEPOINT active_record_1
29804
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29806
+  (0.0ms) SAVEPOINT active_record_1
29807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29808
+  (0.0ms) SAVEPOINT active_record_1
29809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29810
+
29811
+
29812
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29813
+ Processing by Contour::SessionsController#create as HTML
29814
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
29815
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
29816
+  (0.0ms) SAVEPOINT active_record_1
29817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29818
+ Completed 401 Unauthorized in 34ms
29819
+
29820
+
29821
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29822
+ Processing by Contour::SessionsController#new as HTML
29823
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
29824
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
29825
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
29826
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
29827
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
29828
+  (0.9ms) rollback transaction
29829
+  (0.1ms) begin transaction
29830
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29831
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29832
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29833
+
29834
+
29835
+ Started GET "/" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29836
+ Processing by WelcomeController#index as HTML
29837
+ Completed 401 Unauthorized in 1ms
29838
+  (0.1ms) rollback transaction
29839
+  (0.1ms) begin transaction
29840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29841
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29842
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29843
+
29844
+
29845
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29846
+ Processing by WelcomeController#logged_in_page as JSON
29847
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29848
+  (0.1ms) SAVEPOINT active_record_1
29849
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:46:32.228209', "current_sign_in_at" = '2012-02-14 16:46:32.228209', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:46:32.228813' WHERE "users"."id" = 201799169
29850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29851
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
29852
+  (7.7ms) rollback transaction
29853
+  (0.1ms) begin transaction
29854
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29855
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29856
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29857
+
29858
+
29859
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
29860
+ Processing by WelcomeController#logged_in_page as JSON
29861
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29862
+ Completed 401 Unauthorized in 82ms
29863
+  (0.1ms) rollback transaction
29864
+  (0.1ms) begin transaction
29865
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29866
+  (0.1ms) rollback transaction
29867
+  (0.0ms) begin transaction
29868
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29869
+  (0.0ms) rollback transaction
29870
+  (0.1ms) begin transaction
29871
+ Fixture Delete (30.4ms) DELETE FROM "authentications"
29872
+ 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-02-14 18:12:41', '2012-02-14 18:12:41', 949717663, 201799169)
29873
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 876923740, 201799169)
29874
+ 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-02-14 18:12:41', '2012-02-14 18:12:41', 864673665, 201799169)
29875
+ Fixture Delete (0.9ms) DELETE FROM "users"
29876
+ 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-02-14 18:12:41', '2012-02-14 18:12:41', 201799169)
29877
+ 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-02-14 18:12:41', '2012-02-14 18:12:41', 999914115)
29878
+ 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-02-14 18:12:41', '2012-02-14 18:12:41', 725306934)
29879
+ 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-02-14 18:12:41', '2012-02-14 18:12:41', 349534908)
29880
+  (1.9ms) commit transaction
29881
+  (0.0ms) begin transaction
29882
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
29883
+  (0.1ms) rollback transaction
29884
+  (0.0ms) begin transaction
29885
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29886
+  (0.0ms) rollback transaction
29887
+  (0.1ms) begin transaction
29888
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29889
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29890
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29891
+ Processing by Contour::AuthenticationsController#create as HTML
29892
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 18:12:41 UTC", "updated_at"=>"2012-02-14 18:12:41 UTC"}}
29893
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
29894
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29895
+ Logged in user found, creating associated authentication.
29896
+  (19.5ms) SAVEPOINT active_record_1
29897
+ SQL (0.9ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:12:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 18:12:42 UTC +00:00], ["user_id", 201799169]]
29898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29899
+ Redirected to http://test.host/authentications
29900
+ Completed 302 Found in 291ms (ActiveRecord: 20.7ms)
29901
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
29902
+  (0.7ms) rollback transaction
29903
+  (0.0ms) begin transaction
29904
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29905
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29906
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29907
+ Processing by Contour::AuthenticationsController#destroy as HTML
29908
+ Parameters: {"id"=>"949717663"}
29909
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29910
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
29911
+  (0.0ms) SAVEPOINT active_record_1
29912
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
29913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29914
+ Redirected to http://test.host/authentications
29915
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
29916
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
29917
+  (0.6ms) rollback transaction
29918
+  (0.0ms) begin transaction
29919
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29920
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
29921
+ Processing by Contour::AuthenticationsController#index as HTML
29922
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
29923
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
29924
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
29925
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.1ms)
29926
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
29927
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms)
29928
+ Completed 200 OK in 228ms (Views: 226.6ms | ActiveRecord: 0.4ms)
29929
+  (0.1ms) rollback transaction
29930
+  (0.1ms) begin transaction
29931
+ Processing by Contour::PasswordsController#create as HTML
29932
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
29933
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
29934
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KEA6RYDKr6s4k4hkJ9bu' LIMIT 1
29935
+  (0.0ms) SAVEPOINT active_record_1
29936
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'KEA6RYDKr6s4k4hkJ9bu', "reset_password_sent_at" = '2012-02-14 18:12:42.654156', "updated_at" = '2012-02-14 18:12:42.654981' WHERE "users"."id" = 201799169
29937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29938
+
29939
+ Sent mail to valid@example.com (44ms)
29940
+ Date: Tue, 14 Feb 2012 13:12:42 -0500
29941
+ From: please-change-me-at-config-initializers-devise@example.com
29942
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
29943
+ To: valid@example.com
29944
+ Message-ID: <4f3aa41ac2c62_7da43fd608434d38957d9@edge.mail>
29945
+ Subject: Reset password instructions
29946
+ Mime-Version: 1.0
29947
+ Content-Type: text/html;
29948
+ charset=UTF-8
29949
+ Content-Transfer-Encoding: 7bit
29950
+
29951
+ <p>Hello valid@example.com!</p>
29952
+
29953
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
29954
+
29955
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=KEA6RYDKr6s4k4hkJ9bu">Change my password</a></p>
29956
+
29957
+ <p>If you didn't request this, please ignore this email.</p>
29958
+ <p>Your password won't change until you access the link above and create a new one.</p>
29959
+
29960
+ Redirected to http://test.host/users/login
29961
+ Completed 302 Found in 263ms (ActiveRecord: 0.0ms)
29962
+  (0.7ms) rollback transaction
29963
+  (0.0ms) begin transaction
29964
+ Processing by Contour::PasswordsController#new as HTML
29965
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
29966
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
29967
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.1ms)
29968
+ Completed 200 OK in 66ms (Views: 65.2ms | ActiveRecord: 0.0ms)
29969
+  (0.1ms) rollback transaction
29970
+  (0.0ms) begin transaction
29971
+  (0.1ms) rollback transaction
29972
+  (0.0ms) begin transaction
29973
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
29974
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
29975
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
29976
+
29977
+
29978
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:42 -0500
29979
+ Processing by WelcomeController#logged_in_page as HTML
29980
+ Completed 401 Unauthorized in 1ms
29981
+  (0.1ms) SAVEPOINT active_record_1
29982
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
29983
+ Binary data inserted for `string` type on column `encrypted_password`
29984
+ 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", Tue, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZBZpXtKXGwm9jHTESbXmg.6z6MruEdDTBn7wWjwNTl0Vyv5DV1lMW"], ["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, 14 Feb 2012 18:12:43 UTC +00:00]]
29985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29986
+  (0.0ms) SAVEPOINT active_record_1
29987
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
29988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29989
+  (0.0ms) SAVEPOINT active_record_1
29990
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:12:43.156834' WHERE "users"."id" = 999914116
29991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29992
+  (0.0ms) SAVEPOINT active_record_1
29993
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 18:12:43.158436' WHERE "users"."id" = 999914116
29994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29995
+
29996
+
29997
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
29998
+ Processing by Contour::SessionsController#create as HTML
29999
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
30000
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30001
+  (0.1ms) SAVEPOINT active_record_1
30002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30003
+ Completed 401 Unauthorized in 21ms
30004
+
30005
+
30006
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30007
+ Processing by Contour::SessionsController#new as HTML
30008
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
30009
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
30010
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
30011
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
30012
+ Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.0ms)
30013
+  (0.8ms) rollback transaction
30014
+  (0.0ms) begin transaction
30015
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30016
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30017
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30018
+
30019
+
30020
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30021
+ Processing by WelcomeController#logged_in_page as HTML
30022
+ Completed 401 Unauthorized in 0ms
30023
+  (0.1ms) SAVEPOINT active_record_1
30024
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30025
+ Binary data inserted for `string` type on column `encrypted_password`
30026
+ 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, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2SYqKGsfq8Cw8DKcOb4vqOyKbLqQqy.Fj9daR.VWyH0BDHoo8f9oe"], ["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, 14 Feb 2012 18:12:43 UTC +00:00]]
30027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30028
+  (0.0ms) SAVEPOINT active_record_1
30029
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30031
+  (0.0ms) SAVEPOINT active_record_1
30032
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:12:43.282015' WHERE "users"."id" = 999914116
30033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30034
+  (0.0ms) SAVEPOINT active_record_1
30035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30036
+
30037
+
30038
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30039
+ Processing by Contour::SessionsController#create as HTML
30040
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
30041
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30042
+  (0.0ms) SAVEPOINT active_record_1
30043
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:12:43.290419', "current_sign_in_at" = '2012-02-14 18:12:43.290419', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:12:43.290882' WHERE "users"."id" = 999914116
30044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30045
+ Redirected to http://www.example.com/logged_in_page
30046
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
30047
+
30048
+
30049
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30050
+ Processing by WelcomeController#logged_in_page as HTML
30051
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
30052
+ Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms)
30053
+  (0.7ms) rollback transaction
30054
+  (0.0ms) begin transaction
30055
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30056
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30057
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30058
+
30059
+
30060
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30061
+ Processing by WelcomeController#logged_in_page as HTML
30062
+ Completed 401 Unauthorized in 0ms
30063
+  (0.1ms) SAVEPOINT active_record_1
30064
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30065
+ Binary data inserted for `string` type on column `encrypted_password`
30066
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nzAcDNmoU0b.Q2IuLc6ia.eAumXlz5xX.FB7fpyglX9VOx5MMVhSG"], ["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, 14 Feb 2012 18:12:43 UTC +00:00]]
30067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30068
+  (0.0ms) SAVEPOINT active_record_1
30069
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30070
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30071
+  (0.0ms) SAVEPOINT active_record_1
30072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30073
+  (0.0ms) SAVEPOINT active_record_1
30074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30075
+
30076
+
30077
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30078
+ Processing by Contour::SessionsController#create as HTML
30079
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
30080
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30081
+  (0.0ms) SAVEPOINT active_record_1
30082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30083
+ Completed 401 Unauthorized in 4ms
30084
+
30085
+
30086
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30087
+ Processing by Contour::SessionsController#new as HTML
30088
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
30089
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30090
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
30091
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
30092
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
30093
+  (0.6ms) rollback transaction
30094
+  (0.0ms) begin transaction
30095
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30096
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30097
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30098
+
30099
+
30100
+ Started GET "/" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30101
+ Processing by WelcomeController#index as HTML
30102
+ Completed 401 Unauthorized in 0ms
30103
+  (0.1ms) rollback transaction
30104
+  (0.0ms) begin transaction
30105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30106
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30107
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30108
+
30109
+
30110
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30111
+ Processing by WelcomeController#logged_in_page as JSON
30112
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30113
+  (0.1ms) SAVEPOINT active_record_1
30114
+  (0.9ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:12:43.487069', "current_sign_in_at" = '2012-02-14 18:12:43.487069', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:12:43.488058' WHERE "users"."id" = 201799169
30115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30116
+ Completed 200 OK in 90ms (Views: 0.4ms | ActiveRecord: 1.2ms)
30117
+  (0.4ms) rollback transaction
30118
+  (0.1ms) begin transaction
30119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30120
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30121
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30122
+
30123
+
30124
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
30125
+ Processing by WelcomeController#logged_in_page as JSON
30126
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30127
+ Completed 401 Unauthorized in 83ms
30128
+  (0.1ms) rollback transaction
30129
+  (0.1ms) begin transaction
30130
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30131
+  (0.1ms) rollback transaction
30132
+  (0.1ms) begin transaction
30133
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30134
+  (0.0ms) rollback transaction
30135
+  (0.1ms) begin transaction
30136
+ Fixture Delete (19.1ms) DELETE FROM "authentications"
30137
+ 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-02-14 18:24:17', '2012-02-14 18:24:17', 949717663, 201799169)
30138
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 876923740, 201799169)
30139
+ 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-02-14 18:24:17', '2012-02-14 18:24:17', 864673665, 201799169)
30140
+ Fixture Delete (1.1ms) DELETE FROM "users"
30141
+ 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-02-14 18:24:17', '2012-02-14 18:24:17', 201799169)
30142
+ 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-02-14 18:24:17', '2012-02-14 18:24:17', 999914115)
30143
+ 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-02-14 18:24:17', '2012-02-14 18:24:17', 725306934)
30144
+ 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-02-14 18:24:17', '2012-02-14 18:24:17', 349534908)
30145
+  (1.8ms) commit transaction
30146
+  (0.0ms) begin transaction
30147
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
30148
+  (0.1ms) rollback transaction
30149
+  (0.0ms) begin transaction
30150
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30151
+  (0.1ms) rollback transaction
30152
+  (0.0ms) begin transaction
30153
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30154
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30155
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30156
+ Processing by Contour::AuthenticationsController#create as HTML
30157
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 18:24:17 UTC", "updated_at"=>"2012-02-14 18:24:17 UTC"}}
30158
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
30159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30160
+ Logged in user found, creating associated authentication.
30161
+  (0.1ms) SAVEPOINT active_record_1
30162
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:24:17 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 18:24:17 UTC +00:00], ["user_id", 201799169]]
30163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30164
+ Redirected to http://test.host/authentications
30165
+ Completed 302 Found in 192ms (ActiveRecord: 1.0ms)
30166
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
30167
+  (0.7ms) rollback transaction
30168
+  (0.0ms) begin transaction
30169
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30170
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30171
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30172
+ Processing by Contour::AuthenticationsController#destroy as HTML
30173
+ Parameters: {"id"=>"949717663"}
30174
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30175
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
30176
+  (0.0ms) SAVEPOINT active_record_1
30177
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
30178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30179
+ Redirected to http://test.host/authentications
30180
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
30181
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
30182
+  (0.6ms) rollback transaction
30183
+  (0.0ms) begin transaction
30184
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30185
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
30186
+ Processing by Contour::AuthenticationsController#index as HTML
30187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
30188
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
30189
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
30190
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.3ms)
30191
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
30192
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
30193
+ Completed 200 OK in 219ms (Views: 217.0ms | ActiveRecord: 0.4ms)
30194
+  (0.1ms) rollback transaction
30195
+  (0.1ms) begin transaction
30196
+ Processing by Contour::PasswordsController#create as HTML
30197
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
30198
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30199
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '3nc74dsUPjfTT46XB3ds' LIMIT 1
30200
+  (0.1ms) SAVEPOINT active_record_1
30201
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '3nc74dsUPjfTT46XB3ds', "reset_password_sent_at" = '2012-02-14 18:24:17.874751', "updated_at" = '2012-02-14 18:24:17.875777' WHERE "users"."id" = 201799169
30202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30203
+
30204
+ Sent mail to valid@example.com (26ms)
30205
+ Date: Tue, 14 Feb 2012 13:24:18 -0500
30206
+ From: please-change-me-at-config-initializers-devise@example.com
30207
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
30208
+ To: valid@example.com
30209
+ Message-ID: <4f3aa6d248b0_7e673fd530c34d40344f2@edge.mail>
30210
+ Subject: Reset password instructions
30211
+ Mime-Version: 1.0
30212
+ Content-Type: text/html;
30213
+ charset=UTF-8
30214
+ Content-Transfer-Encoding: 7bit
30215
+
30216
+ <p>Hello valid@example.com!</p>
30217
+
30218
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
30219
+
30220
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=3nc74dsUPjfTT46XB3ds">Change my password</a></p>
30221
+
30222
+ <p>If you didn't request this, please ignore this email.</p>
30223
+ <p>Your password won't change until you access the link above and create a new one.</p>
30224
+
30225
+ Redirected to http://test.host/users/login
30226
+ Completed 302 Found in 217ms (ActiveRecord: 0.0ms)
30227
+  (48.5ms) rollback transaction
30228
+  (0.1ms) begin transaction
30229
+ Processing by Contour::PasswordsController#new as HTML
30230
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30231
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
30232
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.9ms)
30233
+ Completed 200 OK in 139ms (Views: 137.9ms | ActiveRecord: 0.0ms)
30234
+  (0.1ms) rollback transaction
30235
+  (0.1ms) begin transaction
30236
+  (0.1ms) rollback transaction
30237
+  (0.1ms) begin transaction
30238
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30239
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30240
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30241
+
30242
+
30243
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30244
+ Processing by WelcomeController#logged_in_page as HTML
30245
+ Completed 401 Unauthorized in 1ms
30246
+  (0.1ms) SAVEPOINT active_record_1
30247
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30248
+ Binary data inserted for `string` type on column `encrypted_password`
30249
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$0if/oeezZVC04zNMQbGV6Oq6ZkFduAs2C8J9H.TQX...nBxAuGRaS"], ["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, 14 Feb 2012 18:24:18 UTC +00:00]]
30250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30251
+  (0.0ms) SAVEPOINT active_record_1
30252
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30254
+  (0.0ms) SAVEPOINT active_record_1
30255
+  (38.0ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:24:18.442045' WHERE "users"."id" = 999914116
30256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30257
+  (0.0ms) SAVEPOINT active_record_1
30258
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 18:24:18.481711' WHERE "users"."id" = 999914116
30259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30260
+
30261
+
30262
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30263
+ Processing by Contour::SessionsController#create as HTML
30264
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
30265
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
30266
+  (0.1ms) SAVEPOINT active_record_1
30267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30268
+ Completed 401 Unauthorized in 27ms
30269
+
30270
+
30271
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30272
+ Processing by Contour::SessionsController#new as HTML
30273
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
30274
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30275
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
30276
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
30277
+ Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms)
30278
+  (0.6ms) rollback transaction
30279
+  (0.1ms) begin transaction
30280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30281
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30282
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30283
+
30284
+
30285
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30286
+ Processing by WelcomeController#logged_in_page as HTML
30287
+ Completed 401 Unauthorized in 0ms
30288
+  (0.1ms) SAVEPOINT active_record_1
30289
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30290
+ Binary data inserted for `string` type on column `encrypted_password`
30291
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$V6PyVue0DMxS60RlfzO39O5AlD.nv/0z3zc8ghbczSGLJV75gOyIK"], ["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, 14 Feb 2012 18:24:18 UTC +00:00]]
30292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30293
+  (0.0ms) SAVEPOINT active_record_1
30294
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30296
+  (0.0ms) SAVEPOINT active_record_1
30297
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:24:18.572809' WHERE "users"."id" = 999914116
30298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30299
+  (0.0ms) SAVEPOINT active_record_1
30300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30301
+
30302
+
30303
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30304
+ Processing by Contour::SessionsController#create as HTML
30305
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
30306
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
30307
+  (0.0ms) SAVEPOINT active_record_1
30308
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:24:18.582056', "current_sign_in_at" = '2012-02-14 18:24:18.582056', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:24:18.582509' WHERE "users"."id" = 999914116
30309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30310
+ Redirected to http://www.example.com/logged_in_page
30311
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
30312
+
30313
+
30314
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30315
+ Processing by WelcomeController#logged_in_page as HTML
30316
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
30317
+ Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.2ms)
30318
+  (0.8ms) rollback transaction
30319
+  (0.1ms) begin transaction
30320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30321
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30322
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30323
+
30324
+
30325
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30326
+ Processing by WelcomeController#logged_in_page as HTML
30327
+ Completed 401 Unauthorized in 0ms
30328
+  (0.1ms) SAVEPOINT active_record_1
30329
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30330
+ Binary data inserted for `string` type on column `encrypted_password`
30331
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Gj5frd6ar5g5Huisfr8WU.lXJy2vzen0YRWu/fjZ4UDHICplwT9.m"], ["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, 14 Feb 2012 18:24:18 UTC +00:00]]
30332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30333
+  (0.0ms) SAVEPOINT active_record_1
30334
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
30335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30336
+  (0.0ms) SAVEPOINT active_record_1
30337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30338
+  (0.0ms) SAVEPOINT active_record_1
30339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30340
+
30341
+
30342
+ Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30343
+ Processing by Contour::SessionsController#create as HTML
30344
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
30345
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
30346
+  (0.0ms) SAVEPOINT active_record_1
30347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30348
+ Completed 401 Unauthorized in 5ms
30349
+
30350
+
30351
+ Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30352
+ Processing by Contour::SessionsController#new as HTML
30353
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
30354
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
30355
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
30356
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
30357
+ Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
30358
+  (0.7ms) rollback transaction
30359
+  (0.1ms) begin transaction
30360
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30361
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30362
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30363
+
30364
+
30365
+ Started GET "/" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30366
+ Processing by WelcomeController#index as HTML
30367
+ Completed 401 Unauthorized in 1ms
30368
+  (0.1ms) rollback transaction
30369
+  (0.0ms) begin transaction
30370
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30371
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30372
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30373
+
30374
+
30375
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30376
+ Processing by WelcomeController#logged_in_page as JSON
30377
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30378
+  (0.1ms) SAVEPOINT active_record_1
30379
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:24:18.785205', "current_sign_in_at" = '2012-02-14 18:24:18.785205', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:24:18.785854' WHERE "users"."id" = 201799169
30380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30381
+ Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms)
30382
+  (41.3ms) rollback transaction
30383
+  (0.1ms) begin transaction
30384
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30385
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
30386
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
30387
+
30388
+
30389
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
30390
+ Processing by WelcomeController#logged_in_page as JSON
30391
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
30392
+ Completed 401 Unauthorized in 82ms
30393
+  (0.1ms) rollback transaction
30394
+  (0.0ms) begin transaction
30395
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30396
+  (0.1ms) rollback transaction
30397
+  (0.1ms) begin transaction
30398
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
30399
+  (0.0ms) rollback transaction