contour 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,16 @@
1
+ == 1.0.4
2
+
3
+ * Enhancements
4
+ * Rails updated to minimum 3.2.8
5
+ * Removed deprecated use of update_attribute for Rails 4.0 compatibility
6
+ * Cancel button no longer uses btn-danger class for consistency with Bootstrap cancel button defaults
7
+ * <tt>devise.failure.unauthenticated</tt> message is no longer displayed when navigating to the root_url
8
+ * <tt>rails g contour:scaffold</tt> updated to include better ordering and object counts on index pages
9
+ * Sign in with PROVIDER buttons added to sign in page
10
+
11
+ * Testing
12
+ * Use ActionDispatch for Integration tests instead of ActionController
13
+
1
14
  == 1.0.3
2
15
 
3
16
  * Enhancements
@@ -14,7 +14,7 @@ Or update your <tt>Gemfile</tt> to include
14
14
 
15
15
  == Getting started
16
16
 
17
- Make sure you have Rails 3.2.6
17
+ Make sure you have Rails 3.2.8
18
18
 
19
19
  rails -v
20
20
 
@@ -24,7 +24,7 @@ Make sure you have Rails 3.2.6
24
24
 
25
25
  Modify <tt>Gemfile</tt> and add
26
26
 
27
- gem 'contour', '~> 1.0.3'
27
+ gem 'contour', '~> 1.0.4'
28
28
 
29
29
  Run Bundle install
30
30
 
@@ -1,7 +1,7 @@
1
1
  module ContourHelper
2
2
 
3
3
  def cancel
4
- link_to 'Cancel', URI.parse(request.referer.to_s).path.blank? ? root_path : (URI.parse(request.referer.to_s).path), class: 'btn btn-danger'
4
+ link_to 'Cancel', URI.parse(request.referer.to_s).path.blank? ? root_path : (URI.parse(request.referer.to_s).path), class: 'btn'
5
5
  end
6
6
 
7
7
  def sort_field_helper(order, sort_field, display_name, search_form_id = 'search_form')
@@ -17,7 +17,9 @@ module ContourHelper
17
17
  def flash_block
18
18
  output = ''
19
19
  flash.each do |type, message|
20
- output += flash_container(type, message) if ['alert', 'notice', 'error', 'warning', 'success', 'info'].include?(type.to_s)
20
+ unless session["user_return_to"] == root_path and I18n.t("devise.failure.unauthenticated") == message
21
+ output += flash_container(type, message) if ['alert', 'notice', 'error', 'warning', 'success', 'info'].include?(type.to_s)
22
+ end
21
23
  end
22
24
 
23
25
  raw(output)
@@ -0,0 +1,14 @@
1
+ <% if PROVIDERS.size > 0 %>
2
+ <div class="control-group">
3
+ <label class="control-label">Sign in with</label>
4
+ <div class="controls">
5
+ <% PROVIDERS.each do |provider| %>
6
+ <% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
7
+ <% image_name = provider.to_s.downcase %>
8
+ <a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="btn" style="white-space:nowrap" rel='tooltip' data-title='<%= provider_name %>' data-placement='bottom'>
9
+ <%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px" %>
10
+ </a>
11
+ <% end %>
12
+ </div>
13
+ </div>
14
+ <% end %>
@@ -33,6 +33,8 @@
33
33
  <%= f.submit "Sign in", class: 'btn btn-primary' %>
34
34
  <%= render partial: 'contour/links' %>
35
35
  </div>
36
+
37
+ <%= render partial: 'contour/authentications/login_table' %>
36
38
  <% end %>
37
39
  </div>
38
40
 
@@ -1,6 +1,6 @@
1
1
  # Compiling the Gem
2
2
  # gem build contour.gemspec
3
- # gem install ./contour-x.x.x.gem --no-ri --no-rdoc
3
+ # gem install ./contour-x.x.x.gem --no-ri --no-rdoc --local
4
4
  #
5
5
  # gem push contour-x.x.x.gem
6
6
  # gem list -r contour
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.files = Dir["{app,config,db,lib}/**/*"] + ["CHANGELOG.rdoc", "contour.gemspec", "LICENSE", "Rakefile", "README.rdoc"]
24
24
  s.test_files = Dir["test/**/*"]
25
25
 
26
- s.add_dependency 'rails', '~> 3.2.6'
26
+ s.add_dependency 'rails', '~> 3.2.8'
27
27
  s.add_dependency 'jquery-rails', '~> 2.0.2'
28
28
  s.add_dependency 'devise', '~> 2.1.2'
29
29
  s.add_dependency 'omniauth', '~> 1.1.0'
@@ -2,7 +2,7 @@ module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 3
5
+ TINY = 4
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
@@ -1,4 +1,4 @@
1
- <%%= render partial: 'contour/layouts/per_page', locals: { type: '<%= resource_name_plural %>', per_page: 20 } %>
1
+ <%%= render partial: 'contour/layouts/per_page', locals: { type: '<%= resource_name_plural %>', per_page: 20, object_count: @<%= resource_name %>_count } %>
2
2
 
3
3
  <table class="table table-striped table-bordered" style="width:100%">
4
4
  <thead>
@@ -5,8 +5,9 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
5
5
  # GET /<%= resource_name_plural %>.json
6
6
  def index
7
7
  <%= resource_name %>_scope = <%= resource_class_name %>.current
8
- @order = <%= resource_class_name %>.column_names.collect{|column_name| "<%= resource_name_plural %>.#{column_name}"}.include?(params[:order].to_s.split(' ').first) ? params[:order] : "<%= resource_name_plural %>.name"
8
+ @order = scrub_order(<%= resource_class_name %>, params[:order], "<%= resource_name_plural %>.name")
9
9
  <%= resource_name %>_scope = <%= resource_name %>_scope.order(@order)
10
+ @<%= resource_name %>_count = <%= resource_name %>_scope.count
10
11
  @<%= resource_name_plural %> = <%= resource_name %>_scope.page(params[:page]).per( 20 )
11
12
 
12
13
  respond_to do |format|
@@ -89,10 +90,6 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
89
90
 
90
91
  private
91
92
 
92
- def parse_date(date_string)
93
- date_string.to_s.split('/').last.size == 2 ? Date.strptime(date_string, "%m/%d/%y") : Date.strptime(date_string, "%m/%d/%Y") rescue ""
94
- end
95
-
96
93
  def post_params
97
94
  params[:<%= resource_name %>] ||= {}
98
95
 
@@ -104,4 +101,17 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
104
101
  <%= columns.collect{|c| ":#{c.name}"}.join(', ') %>
105
102
  )
106
103
  end
104
+
105
+ # Scrub order and parse_date can be moved to your ApplicationController
106
+ def scrub_order(model, params_order, default_order)
107
+ (params_column, params_direction) = params_order.to_s.strip.downcase.split(' ')
108
+ direction = (params_direction == 'desc' ? 'DESC' : nil)
109
+ column_name = (model.column_names.collect{|c| model.table_name + "." + c}.select{|c| c == params_column}.first)
110
+ order = column_name.blank? ? default_order : [column_name, direction].compact.join(' ')
111
+ order
112
+ end
113
+
114
+ def parse_date(date_string, default_date = '')
115
+ date_string.to_s.split('/').last.size == 2 ? Date.strptime(date_string, "%m/%d/%y") : Date.strptime(date_string, "%m/%d/%Y") rescue default_date
116
+ end
107
117
  end
@@ -1,5 +1,5 @@
1
1
  class ApplicationController < ActionController::Base
2
2
  protect_from_forgery
3
-
3
+
4
4
  layout "contour/layouts/application"
5
5
  end
Binary file
@@ -42083,3 +42083,2358 @@ Completed 401 Unauthorized in 78ms
42083
42083
   (0.0ms) begin transaction
42084
42084
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42085
42085
   (0.0ms) rollback transaction
42086
+ Connecting to database specified by database.yml
42087
+  (0.1ms) begin transaction
42088
+ Fixture Delete (19.8ms) DELETE FROM "authentications"
42089
+ Fixture Insert (0.7ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 949717663, 201799169)
42090
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 876923740, 201799169)
42091
+ 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-08-14 14:44:38', '2012-08-14 14:44:38', 864673665, 201799169)
42092
+ Fixture Delete (1.5ms) DELETE FROM "users"
42093
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 201799169)
42094
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 999914115)
42095
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 725306934)
42096
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 349534908)
42097
+  (2.1ms) commit transaction
42098
+  (0.0ms) begin transaction
42099
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
42100
+  (0.1ms) rollback transaction
42101
+  (0.1ms) begin transaction
42102
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42103
+  (0.1ms) rollback transaction
42104
+  (0.1ms) begin transaction
42105
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42106
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42107
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42108
+ Processing by Contour::AuthenticationsController#create as HTML
42109
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:44:38 UTC", "updated_at"=>"2012-08-14 14:44:38 UTC"}}
42110
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
42111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42112
+ Logged in user found, creating associated authentication.
42113
+  (0.1ms) SAVEPOINT active_record_1
42114
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["user_id", 201799169]]
42115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42116
+ Redirected to http://test.host/authentications
42117
+ Completed 302 Found in 86ms (ActiveRecord: 0.9ms)
42118
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42119
+  (15.7ms) rollback transaction
42120
+  (0.1ms) begin transaction
42121
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42122
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42123
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42124
+ Processing by Contour::AuthenticationsController#destroy as HTML
42125
+ Parameters: {"id"=>"949717663"}
42126
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42127
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
42128
+  (0.1ms) SAVEPOINT active_record_1
42129
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
42130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42131
+ Redirected to http://test.host/authentications
42132
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
42133
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42134
+  (0.9ms) rollback transaction
42135
+  (0.0ms) begin transaction
42136
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42137
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42138
+ Processing by Contour::AuthenticationsController#index as HTML
42139
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42140
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
42141
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
42142
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.4ms)
42143
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
42144
+ Completed 200 OK in 91ms (Views: 88.9ms | ActiveRecord: 0.3ms)
42145
+  (0.1ms) rollback transaction
42146
+  (0.1ms) begin transaction
42147
+ Processing by Contour::PasswordsController#create as HTML
42148
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
42149
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42150
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ZPqoWRTQGpsFKqnRGkct' LIMIT 1
42151
+  (0.0ms) SAVEPOINT active_record_1
42152
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'ZPqoWRTQGpsFKqnRGkct', "reset_password_sent_at" = '2012-08-14 14:44:39.207238', "updated_at" = '2012-08-14 14:44:39.207989' WHERE "users"."id" = 201799169
42153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42154
+
42155
+ Sent mail to valid@example.com (61ms)
42156
+ Date: Tue, 14 Aug 2012 10:44:39 -0400
42157
+ From: please-change-me-at-config-initializers-devise@example.com
42158
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
42159
+ To: valid@example.com
42160
+ Message-ID: <502a64577665f_956f3fc5b6035adc185e9@edge2.partners.org.mail>
42161
+ Subject: Reset password instructions
42162
+ Mime-Version: 1.0
42163
+ Content-Type: text/html;
42164
+ charset=UTF-8
42165
+ Content-Transfer-Encoding: 7bit
42166
+
42167
+ <p>Hello valid@example.com!</p>
42168
+
42169
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
42170
+
42171
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=ZPqoWRTQGpsFKqnRGkct">Change my password</a></p>
42172
+
42173
+ <p>If you didn't request this, please ignore this email.</p>
42174
+ <p>Your password won't change until you access the link above and create a new one.</p>
42175
+
42176
+ Redirected to http://test.host/users/login
42177
+ Completed 302 Found in 365ms (ActiveRecord: 0.0ms)
42178
+  (0.7ms) rollback transaction
42179
+  (0.0ms) begin transaction
42180
+ Processing by Contour::PasswordsController#new as HTML
42181
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
42182
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
42183
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
42184
+ Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms)
42185
+  (0.1ms) rollback transaction
42186
+  (0.1ms) begin transaction
42187
+  (0.1ms) rollback transaction
42188
+  (0.1ms) begin transaction
42189
+  (0.1ms) rollback transaction
42190
+  (0.1ms) begin transaction
42191
+  (0.0ms) rollback transaction
42192
+  (0.1ms) begin transaction
42193
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42194
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42195
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42196
+
42197
+
42198
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42199
+ Processing by WelcomeController#logged_in_page as HTML
42200
+ Completed 401 Unauthorized in 1ms
42201
+  (0.1ms) SAVEPOINT active_record_1
42202
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42203
+ Binary data inserted for `string` type on column `encrypted_password`
42204
+ 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 Aug 2012 14:44: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$FcB671znoFX64u1k9WWXVO7JOhZqQWQdid2dd4.YzQWf3QYTs/vqa"], ["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 Aug 2012 14:44:39 UTC +00:00]]
42205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42206
+  (0.1ms) SAVEPOINT active_record_1
42207
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42209
+  (0.0ms) SAVEPOINT active_record_1
42210
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-08-14 14:44:39.691934' WHERE "users"."id" = 999914116
42211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42212
+  (0.0ms) SAVEPOINT active_record_1
42213
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-08-14 14:44:39.693224' WHERE "users"."id" = 999914116
42214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42215
+
42216
+
42217
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42218
+ Processing by Contour::SessionsController#create as HTML
42219
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
42220
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42221
+  (0.1ms) SAVEPOINT active_record_1
42222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42223
+ Completed 401 Unauthorized in 6ms
42224
+
42225
+
42226
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42227
+ Processing by Contour::SessionsController#new as HTML
42228
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
42229
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
42230
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
42231
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
42232
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
42233
+  (0.6ms) rollback transaction
42234
+  (0.1ms) begin transaction
42235
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42236
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42237
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42238
+
42239
+
42240
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42241
+ Processing by WelcomeController#logged_in_page as HTML
42242
+ Completed 401 Unauthorized in 0ms
42243
+  (0.1ms) SAVEPOINT active_record_1
42244
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
42245
+ Binary data inserted for `string` type on column `encrypted_password`
42246
+ 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 Aug 2012 14:44: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$0AYchuOTTA5QFFQpQiKZueOb1jsVM8B5TZiUoO68UDUAyc0G5/dQq"], ["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 Aug 2012 14:44:39 UTC +00:00]]
42247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42248
+  (0.0ms) SAVEPOINT active_record_1
42249
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42251
+  (0.0ms) SAVEPOINT active_record_1
42252
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-08-14 14:44:39.748190' WHERE "users"."id" = 999914116
42253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42254
+  (0.0ms) SAVEPOINT active_record_1
42255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42256
+
42257
+
42258
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42259
+ Processing by Contour::SessionsController#create as HTML
42260
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
42261
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
42262
+  (0.0ms) SAVEPOINT active_record_1
42263
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:44:39.757638', "current_sign_in_at" = '2012-08-14 14:44:39.757638', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:44:39.758123' WHERE "users"."id" = 999914116
42264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42265
+ Redirected to http://www.example.com/logged_in_page
42266
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
42267
+
42268
+
42269
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42270
+ Processing by WelcomeController#logged_in_page as HTML
42271
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
42272
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
42273
+  (30.2ms) rollback transaction
42274
+  (0.1ms) begin transaction
42275
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42276
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42277
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42278
+
42279
+
42280
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42281
+ Processing by WelcomeController#logged_in_page as HTML
42282
+ Completed 401 Unauthorized in 0ms
42283
+  (0.1ms) SAVEPOINT active_record_1
42284
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42285
+ Binary data inserted for `string` type on column `encrypted_password`
42286
+ 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 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CeaoXCK1rXsyx4kxNKeEuOk0yOB7wBMQmI2Xqc.RdcWYqvGId0ioO"], ["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 Aug 2012 14:44:39 UTC +00:00]]
42287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42288
+  (0.0ms) SAVEPOINT active_record_1
42289
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42291
+  (0.0ms) SAVEPOINT active_record_1
42292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42293
+  (0.1ms) SAVEPOINT active_record_1
42294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42295
+
42296
+
42297
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42298
+ Processing by Contour::SessionsController#create as HTML
42299
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
42300
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42301
+  (0.0ms) SAVEPOINT active_record_1
42302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42303
+ Completed 401 Unauthorized in 4ms
42304
+
42305
+
42306
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42307
+ Processing by Contour::SessionsController#new as HTML
42308
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
42309
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
42310
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
42311
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
42312
+ Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)
42313
+  (47.4ms) rollback transaction
42314
+  (0.1ms) begin transaction
42315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42316
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42317
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42318
+
42319
+
42320
+ Started GET "/" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42321
+ Processing by WelcomeController#index as HTML
42322
+ Completed 401 Unauthorized in 1ms
42323
+  (0.1ms) rollback transaction
42324
+  (0.0ms) begin transaction
42325
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42326
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42327
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42328
+
42329
+
42330
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
42331
+ Processing by WelcomeController#logged_in_page as JSON
42332
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42333
+  (0.1ms) SAVEPOINT active_record_1
42334
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:44:40.003961', "current_sign_in_at" = '2012-08-14 14:44:40.003961', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:44:40.004718' WHERE "users"."id" = 201799169
42335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42336
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms)
42337
+  (0.4ms) rollback transaction
42338
+  (0.1ms) begin transaction
42339
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42340
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42341
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42342
+
42343
+
42344
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:44:40 -0400
42345
+ Processing by WelcomeController#logged_in_page as JSON
42346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42347
+ Completed 401 Unauthorized in 82ms
42348
+  (0.1ms) rollback transaction
42349
+  (0.0ms) begin transaction
42350
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42351
+  (0.1ms) rollback transaction
42352
+  (0.0ms) begin transaction
42353
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42354
+  (0.0ms) rollback transaction
42355
+ Connecting to database specified by database.yml
42356
+  (0.1ms) begin transaction
42357
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
42358
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 949717663, 201799169)
42359
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 876923740, 201799169)
42360
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 864673665, 201799169)
42361
+ Fixture Delete (0.2ms) DELETE FROM "users"
42362
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 201799169)
42363
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 999914115)
42364
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 725306934)
42365
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 349534908)
42366
+  (1.4ms) commit transaction
42367
+  (0.1ms) begin transaction
42368
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
42369
+  (0.1ms) rollback transaction
42370
+  (0.1ms) begin transaction
42371
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42372
+  (0.1ms) rollback transaction
42373
+  (0.1ms) begin transaction
42374
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42375
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42376
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42377
+ Processing by Contour::AuthenticationsController#create as HTML
42378
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:48:36 UTC", "updated_at"=>"2012-08-14 14:48:36 UTC"}}
42379
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
42380
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42381
+ Logged in user found, creating associated authentication.
42382
+  (0.1ms) SAVEPOINT active_record_1
42383
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["user_id", 201799169]]
42384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42385
+ Redirected to http://test.host/authentications
42386
+ Completed 302 Found in 58ms (ActiveRecord: 1.0ms)
42387
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42388
+  (4.6ms) rollback transaction
42389
+  (0.1ms) begin transaction
42390
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42391
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42392
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42393
+ Processing by Contour::AuthenticationsController#destroy as HTML
42394
+ Parameters: {"id"=>"949717663"}
42395
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42396
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
42397
+  (0.0ms) SAVEPOINT active_record_1
42398
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
42399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42400
+ Redirected to http://test.host/authentications
42401
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
42402
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42403
+  (0.7ms) rollback transaction
42404
+  (0.0ms) begin transaction
42405
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42406
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42407
+ Processing by Contour::AuthenticationsController#index as HTML
42408
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42409
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
42410
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
42411
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
42412
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms)
42413
+ Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.4ms)
42414
+  (0.1ms) rollback transaction
42415
+  (0.2ms) begin transaction
42416
+ Processing by Contour::PasswordsController#create as HTML
42417
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
42418
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42419
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LdBL7JyN5NaKjyEJRkNG' LIMIT 1
42420
+  (0.1ms) SAVEPOINT active_record_1
42421
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'LdBL7JyN5NaKjyEJRkNG', "reset_password_sent_at" = '2012-08-14 14:48:36.301022', "updated_at" = '2012-08-14 14:48:36.302235' WHERE "users"."id" = 201799169
42422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42423
+
42424
+ Sent mail to valid@example.com (42ms)
42425
+ Date: Tue, 14 Aug 2012 10:48:36 -0400
42426
+ From: please-change-me-at-config-initializers-devise@example.com
42427
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
42428
+ To: valid@example.com
42429
+ Message-ID: <502a65445ce39_95ab3fe675835ae082992@edge2.partners.org.mail>
42430
+ Subject: Reset password instructions
42431
+ Mime-Version: 1.0
42432
+ Content-Type: text/html;
42433
+ charset=UTF-8
42434
+ Content-Transfer-Encoding: 7bit
42435
+
42436
+ <p>Hello valid@example.com!</p>
42437
+
42438
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
42439
+
42440
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=LdBL7JyN5NaKjyEJRkNG">Change my password</a></p>
42441
+
42442
+ <p>If you didn't request this, please ignore this email.</p>
42443
+ <p>Your password won't change until you access the link above and create a new one.</p>
42444
+
42445
+ Redirected to http://test.host/users/login
42446
+ Completed 302 Found in 105ms (ActiveRecord: 0.0ms)
42447
+  (0.8ms) rollback transaction
42448
+  (0.1ms) begin transaction
42449
+ Processing by Contour::PasswordsController#new as HTML
42450
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.7ms)
42451
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
42452
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
42453
+ Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
42454
+  (0.1ms) rollback transaction
42455
+  (0.1ms) begin transaction
42456
+  (0.1ms) rollback transaction
42457
+  (0.0ms) begin transaction
42458
+  (0.1ms) rollback transaction
42459
+  (0.1ms) begin transaction
42460
+  (0.0ms) rollback transaction
42461
+  (0.0ms) begin transaction
42462
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42463
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42464
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42465
+
42466
+
42467
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42468
+ Processing by WelcomeController#logged_in_page as HTML
42469
+ Completed 401 Unauthorized in 1ms
42470
+  (0.1ms) SAVEPOINT active_record_1
42471
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42472
+ Binary data inserted for `string` type on column `encrypted_password`
42473
+ 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 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9AS/Lbe.fDRZlarkBu/7fuF0Q./Vm6YyUw/bTt8OV0p8qAh23aSwy"], ["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 Aug 2012 14:48:36 UTC +00:00]]
42474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42475
+  (0.0ms) SAVEPOINT active_record_1
42476
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42478
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
42479
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
42480
+
42481
+
42482
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42483
+ Processing by Contour::SessionsController#create as HTML
42484
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
42485
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42486
+  (0.1ms) SAVEPOINT active_record_1
42487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42488
+ Completed 401 Unauthorized in 7ms
42489
+
42490
+
42491
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42492
+ Processing by Contour::SessionsController#new as HTML
42493
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
42494
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
42495
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
42496
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
42497
+ Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
42498
+  (0.6ms) rollback transaction
42499
+  (0.1ms) begin transaction
42500
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42501
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42502
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42503
+
42504
+
42505
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42506
+ Processing by WelcomeController#logged_in_page as HTML
42507
+ Completed 401 Unauthorized in 0ms
42508
+  (0.1ms) SAVEPOINT active_record_1
42509
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
42510
+ Binary data inserted for `string` type on column `encrypted_password`
42511
+ 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 Aug 2012 14:48: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$n.s4EyGSGcvARXRITZf0ceKZY9ZPM1APJa5XT5BfQwiyvauJ/OOfq"], ["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 Aug 2012 14:48:36 UTC +00:00]]
42512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42513
+  (0.0ms) SAVEPOINT active_record_1
42514
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42516
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
42517
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
42518
+
42519
+
42520
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42521
+ Processing by Contour::SessionsController#create as HTML
42522
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
42523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
42524
+  (0.0ms) SAVEPOINT active_record_1
42525
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:48:36.566913', "current_sign_in_at" = '2012-08-14 14:48:36.566913', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:48:36.567571' WHERE "users"."id" = 999914116
42526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42527
+ Redirected to http://www.example.com/logged_in_page
42528
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
42529
+
42530
+
42531
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42532
+ Processing by WelcomeController#logged_in_page as HTML
42533
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
42534
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
42535
+  (0.8ms) rollback transaction
42536
+  (0.1ms) begin transaction
42537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42538
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42539
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42540
+
42541
+
42542
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42543
+ Processing by WelcomeController#logged_in_page as HTML
42544
+ Completed 401 Unauthorized in 0ms
42545
+  (0.1ms) SAVEPOINT active_record_1
42546
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42547
+ Binary data inserted for `string` type on column `encrypted_password`
42548
+ 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 Aug 2012 14:48: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$M62lom3ck1bWE6gkK97nLOjRcnWlUk6YYpXw/U85V4yhur15omELm"], ["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 Aug 2012 14:48:36 UTC +00:00]]
42549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42550
+  (0.0ms) SAVEPOINT active_record_1
42551
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42553
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
42554
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
42555
+
42556
+
42557
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42558
+ Processing by Contour::SessionsController#create as HTML
42559
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
42560
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42561
+  (0.0ms) SAVEPOINT active_record_1
42562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42563
+ Completed 401 Unauthorized in 4ms
42564
+
42565
+
42566
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42567
+ Processing by Contour::SessionsController#new as HTML
42568
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
42569
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
42570
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
42571
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
42572
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
42573
+  (0.6ms) rollback transaction
42574
+  (0.1ms) begin transaction
42575
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42576
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42577
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42578
+
42579
+
42580
+ Started GET "/" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42581
+ Processing by WelcomeController#index as HTML
42582
+ Completed 401 Unauthorized in 0ms
42583
+  (0.1ms) rollback transaction
42584
+  (0.0ms) begin transaction
42585
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42586
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42587
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42588
+
42589
+
42590
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42591
+ Processing by WelcomeController#logged_in_page as JSON
42592
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42593
+  (0.1ms) SAVEPOINT active_record_1
42594
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:48:36.721081', "current_sign_in_at" = '2012-08-14 14:48:36.721081', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:48:36.722173' WHERE "users"."id" = 201799169
42595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42596
+ Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms)
42597
+  (3.3ms) rollback transaction
42598
+  (0.1ms) begin transaction
42599
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42600
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42601
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42602
+
42603
+
42604
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
42605
+ Processing by WelcomeController#logged_in_page as JSON
42606
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42607
+ Completed 401 Unauthorized in 82ms
42608
+  (0.1ms) rollback transaction
42609
+  (0.1ms) begin transaction
42610
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42611
+  (0.1ms) rollback transaction
42612
+  (0.1ms) begin transaction
42613
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42614
+  (0.1ms) rollback transaction
42615
+ Connecting to database specified by database.yml
42616
+  (0.1ms) begin transaction
42617
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
42618
+ 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-08-14 14:50:34', '2012-08-14 14:50:34', 949717663, 201799169)
42619
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 876923740, 201799169)
42620
+ 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-08-14 14:50:34', '2012-08-14 14:50:34', 864673665, 201799169)
42621
+ Fixture Delete (0.1ms) DELETE FROM "users"
42622
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 201799169)
42623
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 999914115)
42624
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 725306934)
42625
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 349534908)
42626
+  (2.2ms) commit transaction
42627
+  (0.1ms) begin transaction
42628
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
42629
+  (0.1ms) rollback transaction
42630
+  (0.0ms) begin transaction
42631
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42632
+  (0.0ms) rollback transaction
42633
+  (0.0ms) begin transaction
42634
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42635
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42636
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42637
+ Processing by Contour::AuthenticationsController#create as HTML
42638
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:50:34 UTC", "updated_at"=>"2012-08-14 14:50:34 UTC"}}
42639
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
42640
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42641
+ Logged in user found, creating associated authentication.
42642
+  (0.1ms) SAVEPOINT active_record_1
42643
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["user_id", 201799169]]
42644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42645
+ Redirected to http://test.host/authentications
42646
+ Completed 302 Found in 53ms (ActiveRecord: 0.9ms)
42647
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42648
+  (0.5ms) rollback transaction
42649
+  (0.1ms) begin transaction
42650
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42651
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42652
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42653
+ Processing by Contour::AuthenticationsController#destroy as HTML
42654
+ Parameters: {"id"=>"949717663"}
42655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42656
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
42657
+  (0.1ms) SAVEPOINT active_record_1
42658
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
42659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42660
+ Redirected to http://test.host/authentications
42661
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
42662
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42663
+  (0.7ms) rollback transaction
42664
+  (0.0ms) begin transaction
42665
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42666
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42667
+ Processing by Contour::AuthenticationsController#index as HTML
42668
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42669
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
42670
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
42671
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.0ms)
42672
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
42673
+ Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.4ms)
42674
+  (0.1ms) rollback transaction
42675
+  (0.1ms) begin transaction
42676
+ Processing by Contour::PasswordsController#create as HTML
42677
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
42678
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42679
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wMv66W2sGuwdznpDKpAp' LIMIT 1
42680
+  (0.1ms) SAVEPOINT active_record_1
42681
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'wMv66W2sGuwdznpDKpAp', "reset_password_sent_at" = '2012-08-14 14:50:34.506413', "updated_at" = '2012-08-14 14:50:34.507432' WHERE "users"."id" = 201799169
42682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42683
+
42684
+ Sent mail to valid@example.com (51ms)
42685
+ Date: Tue, 14 Aug 2012 10:50:34 -0400
42686
+ From: please-change-me-at-config-initializers-devise@example.com
42687
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
42688
+ To: valid@example.com
42689
+ Message-ID: <502a65ba913b9_95cf3fbff5435ae09221f@edge2.partners.org.mail>
42690
+ Subject: Reset password instructions
42691
+ Mime-Version: 1.0
42692
+ Content-Type: text/html;
42693
+ charset=UTF-8
42694
+ Content-Transfer-Encoding: 7bit
42695
+
42696
+ <p>Hello valid@example.com!</p>
42697
+
42698
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
42699
+
42700
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=wMv66W2sGuwdznpDKpAp">Change my password</a></p>
42701
+
42702
+ <p>If you didn't request this, please ignore this email.</p>
42703
+ <p>Your password won't change until you access the link above and create a new one.</p>
42704
+
42705
+ Redirected to http://test.host/users/login
42706
+ Completed 302 Found in 118ms (ActiveRecord: 0.0ms)
42707
+  (1.6ms) rollback transaction
42708
+  (0.1ms) begin transaction
42709
+ Processing by Contour::PasswordsController#new as HTML
42710
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
42711
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
42712
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
42713
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
42714
+  (0.1ms) rollback transaction
42715
+  (0.1ms) begin transaction
42716
+  (0.0ms) rollback transaction
42717
+  (0.0ms) begin transaction
42718
+  (0.0ms) rollback transaction
42719
+  (0.1ms) begin transaction
42720
+  (0.0ms) rollback transaction
42721
+  (0.0ms) begin transaction
42722
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42723
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42724
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42725
+
42726
+
42727
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42728
+ Processing by WelcomeController#logged_in_page as HTML
42729
+ Completed 401 Unauthorized in 1ms
42730
+  (0.1ms) SAVEPOINT active_record_1
42731
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42732
+ Binary data inserted for `string` type on column `encrypted_password`
42733
+ 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 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$TTjyjlJd2ZEAKAjStNK6De1pHKodH/6twAmuauGXre7R4aHarnuIq"], ["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 Aug 2012 14:50:34 UTC +00:00]]
42734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42735
+  (0.0ms) SAVEPOINT active_record_1
42736
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42738
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
42739
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
42740
+
42741
+
42742
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42743
+ Processing by Contour::SessionsController#create as HTML
42744
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
42745
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42746
+  (0.1ms) SAVEPOINT active_record_1
42747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42748
+ Completed 401 Unauthorized in 8ms
42749
+
42750
+
42751
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42752
+ Processing by Contour::SessionsController#new as HTML
42753
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
42754
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
42755
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
42756
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
42757
+ Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
42758
+  (1.6ms) rollback transaction
42759
+  (0.1ms) begin transaction
42760
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42761
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42763
+
42764
+
42765
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42766
+ Processing by WelcomeController#logged_in_page as HTML
42767
+ Completed 401 Unauthorized in 0ms
42768
+  (0.1ms) SAVEPOINT active_record_1
42769
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
42770
+ Binary data inserted for `string` type on column `encrypted_password`
42771
+ 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 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iYvOwKCNekSElYuZQIi3auqKgg3BUbRVdkiNHKInQE8IUYa6QUZzW"], ["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 Aug 2012 14:50:34 UTC +00:00]]
42772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42773
+  (0.0ms) SAVEPOINT active_record_1
42774
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42776
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
42777
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
42778
+
42779
+
42780
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42781
+ Processing by Contour::SessionsController#create as HTML
42782
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
42783
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
42784
+  (0.1ms) SAVEPOINT active_record_1
42785
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:50:34.784263', "current_sign_in_at" = '2012-08-14 14:50:34.784263', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:50:34.784775' WHERE "users"."id" = 999914116
42786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42787
+ Redirected to http://www.example.com/logged_in_page
42788
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
42789
+
42790
+
42791
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42792
+ Processing by WelcomeController#logged_in_page as HTML
42793
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
42794
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
42795
+  (35.6ms) rollback transaction
42796
+  (0.1ms) begin transaction
42797
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42798
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42799
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42800
+
42801
+
42802
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42803
+ Processing by WelcomeController#logged_in_page as HTML
42804
+ Completed 401 Unauthorized in 0ms
42805
+  (0.1ms) SAVEPOINT active_record_1
42806
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42807
+ Binary data inserted for `string` type on column `encrypted_password`
42808
+ 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 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$vpwjAd.BWH5Ov87qRmUXIuh85yY7LsOD49unGFfzUetMRyQnzitda"], ["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 Aug 2012 14:50:34 UTC +00:00]]
42809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42810
+  (0.0ms) SAVEPOINT active_record_1
42811
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42813
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
42814
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
42815
+
42816
+
42817
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42818
+ Processing by Contour::SessionsController#create as HTML
42819
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
42820
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42821
+  (0.1ms) SAVEPOINT active_record_1
42822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42823
+ Completed 401 Unauthorized in 5ms
42824
+
42825
+
42826
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42827
+ Processing by Contour::SessionsController#new as HTML
42828
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
42829
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
42830
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
42831
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
42832
+ Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)
42833
+  (30.2ms) rollback transaction
42834
+  (0.1ms) begin transaction
42835
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42836
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42837
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42838
+
42839
+
42840
+ Started GET "/" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42841
+ Processing by WelcomeController#index as HTML
42842
+ Completed 401 Unauthorized in 1ms
42843
+  (0.1ms) rollback transaction
42844
+  (0.1ms) begin transaction
42845
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42846
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42847
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42848
+
42849
+
42850
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
42851
+ Processing by WelcomeController#logged_in_page as JSON
42852
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42853
+  (0.1ms) SAVEPOINT active_record_1
42854
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:50:35.032559', "current_sign_in_at" = '2012-08-14 14:50:35.032559', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:50:35.033279' WHERE "users"."id" = 201799169
42855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42856
+ Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms)
42857
+  (41.0ms) rollback transaction
42858
+  (0.1ms) begin transaction
42859
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42860
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42861
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42862
+
42863
+
42864
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:50:35 -0400
42865
+ Processing by WelcomeController#logged_in_page as JSON
42866
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42867
+ Completed 401 Unauthorized in 81ms
42868
+  (0.1ms) rollback transaction
42869
+  (0.1ms) begin transaction
42870
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42871
+  (0.1ms) rollback transaction
42872
+  (0.1ms) begin transaction
42873
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42874
+  (0.0ms) rollback transaction
42875
+ Connecting to database specified by database.yml
42876
+  (0.1ms) begin transaction
42877
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
42878
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 949717663, 201799169)
42879
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 876923740, 201799169)
42880
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 864673665, 201799169)
42881
+ Fixture Delete (0.2ms) DELETE FROM "users"
42882
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 201799169)
42883
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 999914115)
42884
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 725306934)
42885
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 349534908)
42886
+  (2.0ms) commit transaction
42887
+  (0.0ms) begin transaction
42888
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
42889
+  (0.1ms) rollback transaction
42890
+  (0.0ms) begin transaction
42891
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42892
+  (0.0ms) rollback transaction
42893
+  (0.0ms) begin transaction
42894
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42895
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42896
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42897
+ Processing by Contour::AuthenticationsController#create as HTML
42898
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 15:25:06 UTC", "updated_at"=>"2012-08-14 15:25:06 UTC"}}
42899
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
42900
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42901
+ Logged in user found, creating associated authentication.
42902
+  (0.1ms) SAVEPOINT active_record_1
42903
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:25:06 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 15:25:06 UTC +00:00], ["user_id", 201799169]]
42904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42905
+ Redirected to http://test.host/authentications
42906
+ Completed 302 Found in 100ms (ActiveRecord: 1.2ms)
42907
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
42908
+  (0.5ms) rollback transaction
42909
+  (0.1ms) begin transaction
42910
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42911
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42912
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42913
+ Processing by Contour::AuthenticationsController#destroy as HTML
42914
+ Parameters: {"id"=>"949717663"}
42915
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42916
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
42917
+  (0.1ms) SAVEPOINT active_record_1
42918
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
42919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42920
+ Redirected to http://test.host/authentications
42921
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
42922
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
42923
+  (0.5ms) rollback transaction
42924
+  (0.1ms) begin transaction
42925
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42926
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
42927
+ Processing by Contour::AuthenticationsController#index as HTML
42928
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
42929
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
42930
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
42931
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms)
42932
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
42933
+ Completed 200 OK in 107ms (Views: 105.0ms | ActiveRecord: 0.4ms)
42934
+  (0.1ms) rollback transaction
42935
+  (0.1ms) begin transaction
42936
+ Processing by Contour::PasswordsController#create as HTML
42937
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
42938
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42939
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'EjaptxwLdgzhyfkL2Rni' LIMIT 1
42940
+  (0.1ms) SAVEPOINT active_record_1
42941
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'EjaptxwLdgzhyfkL2Rni', "reset_password_sent_at" = '2012-08-14 15:25:06.842675', "updated_at" = '2012-08-14 15:25:06.843992' WHERE "users"."id" = 201799169
42942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42943
+
42944
+ Sent mail to valid@example.com (40ms)
42945
+ Date: Tue, 14 Aug 2012 11:25:07 -0400
42946
+ From: please-change-me-at-config-initializers-devise@example.com
42947
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
42948
+ To: valid@example.com
42949
+ Message-ID: <502a6dd34d08_98c63fc7b5835ad8708f3@edge2.partners.org.mail>
42950
+ Subject: Reset password instructions
42951
+ Mime-Version: 1.0
42952
+ Content-Type: text/html;
42953
+ charset=UTF-8
42954
+ Content-Transfer-Encoding: 7bit
42955
+
42956
+ <p>Hello valid@example.com!</p>
42957
+
42958
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
42959
+
42960
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=EjaptxwLdgzhyfkL2Rni">Change my password</a></p>
42961
+
42962
+ <p>If you didn't request this, please ignore this email.</p>
42963
+ <p>Your password won't change until you access the link above and create a new one.</p>
42964
+
42965
+ Redirected to http://test.host/users/login
42966
+ Completed 302 Found in 240ms (ActiveRecord: 0.0ms)
42967
+  (0.5ms) rollback transaction
42968
+  (0.1ms) begin transaction
42969
+ Processing by Contour::PasswordsController#new as HTML
42970
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
42971
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
42972
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms)
42973
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
42974
+  (0.1ms) rollback transaction
42975
+  (0.1ms) begin transaction
42976
+  (0.0ms) rollback transaction
42977
+  (0.1ms) begin transaction
42978
+  (0.1ms) rollback transaction
42979
+  (0.1ms) begin transaction
42980
+  (0.1ms) rollback transaction
42981
+  (0.1ms) begin transaction
42982
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42983
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42984
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42985
+
42986
+
42987
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
42988
+ Processing by WelcomeController#logged_in_page as HTML
42989
+ Completed 401 Unauthorized in 1ms
42990
+  (0.1ms) SAVEPOINT active_record_1
42991
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
42992
+ Binary data inserted for `string` type on column `encrypted_password`
42993
+ 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 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$NSBJ5Vvy2v7hqC3mLKk3we60S9h0ODcdgaTSfMojUv4CjiXD1I1Um"], ["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 Aug 2012 15:25:07 UTC +00:00]]
42994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42995
+  (0.0ms) SAVEPOINT active_record_1
42996
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42998
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
42999
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
43000
+
43001
+
43002
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43003
+ Processing by Contour::SessionsController#create as HTML
43004
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
43005
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43006
+  (0.1ms) SAVEPOINT active_record_1
43007
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43008
+ Completed 401 Unauthorized in 21ms
43009
+
43010
+
43011
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43012
+ Processing by Contour::SessionsController#new as HTML
43013
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
43014
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
43015
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
43016
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
43017
+ Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms)
43018
+  (0.5ms) rollback transaction
43019
+  (0.1ms) begin transaction
43020
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43021
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43022
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43023
+
43024
+
43025
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43026
+ Processing by WelcomeController#logged_in_page as HTML
43027
+ Completed 401 Unauthorized in 0ms
43028
+  (0.1ms) SAVEPOINT active_record_1
43029
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43030
+ Binary data inserted for `string` type on column `encrypted_password`
43031
+ 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 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZubOp9Fw4JZUsO.b0.nNwOFl6wZskkc.9j0H5qu3XZUMLakI9ODny"], ["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 Aug 2012 15:25:07 UTC +00:00]]
43032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43033
+  (0.0ms) SAVEPOINT active_record_1
43034
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43036
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43037
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43038
+
43039
+
43040
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43041
+ Processing by Contour::SessionsController#create as HTML
43042
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
43043
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43044
+  (0.0ms) SAVEPOINT active_record_1
43045
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:25:07.348792', "current_sign_in_at" = '2012-08-14 15:25:07.348792', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:25:07.349336' WHERE "users"."id" = 999914116
43046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43047
+ Setting Flash Message
43048
+ Redirected to http://www.example.com/logged_in_page
43049
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
43050
+
43051
+
43052
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43053
+ Processing by WelcomeController#logged_in_page as HTML
43054
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
43055
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.1ms)
43056
+  (0.5ms) rollback transaction
43057
+  (0.1ms) begin transaction
43058
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43059
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43060
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43061
+
43062
+
43063
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43064
+ Processing by WelcomeController#logged_in_page as HTML
43065
+ Completed 401 Unauthorized in 0ms
43066
+  (0.1ms) SAVEPOINT active_record_1
43067
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43068
+ Binary data inserted for `string` type on column `encrypted_password`
43069
+ 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 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$77Z6uJAShOaoyDwm/pJxGOc7YsfYm9/2CxcXKYF7s1EPN/lGreAMu"], ["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 Aug 2012 15:25:07 UTC +00:00]]
43070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43071
+  (0.0ms) SAVEPOINT active_record_1
43072
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43074
+ SQL (0.4ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
43075
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43076
+
43077
+
43078
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43079
+ Processing by Contour::SessionsController#create as HTML
43080
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
43081
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43082
+  (0.1ms) SAVEPOINT active_record_1
43083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43084
+ Completed 401 Unauthorized in 6ms
43085
+
43086
+
43087
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43088
+ Processing by Contour::SessionsController#new as HTML
43089
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
43090
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
43091
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
43092
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
43093
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
43094
+  (0.6ms) rollback transaction
43095
+  (0.1ms) begin transaction
43096
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43097
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43098
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43099
+
43100
+
43101
+ Started GET "/" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43102
+ Processing by WelcomeController#index as HTML
43103
+ Completed 401 Unauthorized in 1ms
43104
+  (0.1ms) rollback transaction
43105
+  (0.1ms) begin transaction
43106
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43107
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43108
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43109
+
43110
+
43111
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43112
+ Processing by WelcomeController#logged_in_page as JSON
43113
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43114
+  (0.1ms) SAVEPOINT active_record_1
43115
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:25:07.541370', "current_sign_in_at" = '2012-08-14 15:25:07.541370', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:25:07.542368' WHERE "users"."id" = 201799169
43116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43117
+ Completed 200 OK in 89ms (Views: 0.3ms | ActiveRecord: 0.6ms)
43118
+  (1.8ms) rollback transaction
43119
+  (0.1ms) begin transaction
43120
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43121
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43122
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43123
+
43124
+
43125
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
43126
+ Processing by WelcomeController#logged_in_page as JSON
43127
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43128
+ Completed 401 Unauthorized in 87ms
43129
+  (0.1ms) rollback transaction
43130
+  (0.1ms) begin transaction
43131
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43132
+  (0.1ms) rollback transaction
43133
+  (0.1ms) begin transaction
43134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43135
+  (0.1ms) rollback transaction
43136
+ Connecting to database specified by database.yml
43137
+  (0.1ms) begin transaction
43138
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
43139
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 949717663, 201799169)
43140
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 876923740, 201799169)
43141
+ 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-08-14 15:44:05', '2012-08-14 15:44:05', 864673665, 201799169)
43142
+ Fixture Delete (0.1ms) DELETE FROM "users"
43143
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 201799169)
43144
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 999914115)
43145
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 725306934)
43146
+ Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 349534908)
43147
+  (1.5ms) commit transaction
43148
+  (0.1ms) begin transaction
43149
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
43150
+  (0.1ms) rollback transaction
43151
+  (0.0ms) begin transaction
43152
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43153
+  (0.0ms) rollback transaction
43154
+  (0.1ms) begin transaction
43155
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43156
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43157
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43158
+ Processing by Contour::AuthenticationsController#create as HTML
43159
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 15:44:05 UTC", "updated_at"=>"2012-08-14 15:44:05 UTC"}}
43160
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
43161
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43162
+ Logged in user found, creating associated authentication.
43163
+  (0.1ms) SAVEPOINT active_record_1
43164
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:44:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 15:44:05 UTC +00:00], ["user_id", 201799169]]
43165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43166
+ Redirected to http://test.host/authentications
43167
+ Completed 302 Found in 80ms (ActiveRecord: 0.9ms)
43168
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43169
+  (0.5ms) rollback transaction
43170
+  (0.0ms) begin transaction
43171
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43172
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43173
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43174
+ Processing by Contour::AuthenticationsController#destroy as HTML
43175
+ Parameters: {"id"=>"949717663"}
43176
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43177
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
43178
+  (0.0ms) SAVEPOINT active_record_1
43179
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
43180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43181
+ Redirected to http://test.host/authentications
43182
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
43183
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43184
+  (0.4ms) rollback transaction
43185
+  (0.1ms) begin transaction
43186
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43187
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43188
+ Processing by Contour::AuthenticationsController#index as HTML
43189
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43190
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
43191
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
43192
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms)
43193
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
43194
+ Completed 200 OK in 61ms (Views: 59.4ms | ActiveRecord: 0.4ms)
43195
+  (0.1ms) rollback transaction
43196
+  (0.1ms) begin transaction
43197
+ Processing by Contour::PasswordsController#create as HTML
43198
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
43199
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43200
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'vEm7weMoQPYtYzSs4Vaw' LIMIT 1
43201
+  (0.1ms) SAVEPOINT active_record_1
43202
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'vEm7weMoQPYtYzSs4Vaw', "reset_password_sent_at" = '2012-08-14 15:44:06.065607', "updated_at" = '2012-08-14 15:44:06.066699' WHERE "users"."id" = 201799169
43203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43204
+
43205
+ Sent mail to valid@example.com (30ms)
43206
+ Date: Tue, 14 Aug 2012 11:44:06 -0400
43207
+ From: please-change-me-at-config-initializers-devise@example.com
43208
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
43209
+ To: valid@example.com
43210
+ Message-ID: <502a7246393bc_9a723ffd46035ad8589ee@edge2.partners.org.mail>
43211
+ Subject: Reset password instructions
43212
+ Mime-Version: 1.0
43213
+ Content-Type: text/html;
43214
+ charset=UTF-8
43215
+ Content-Transfer-Encoding: 7bit
43216
+
43217
+ <p>Hello valid@example.com!</p>
43218
+
43219
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
43220
+
43221
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=vEm7weMoQPYtYzSs4Vaw">Change my password</a></p>
43222
+
43223
+ <p>If you didn't request this, please ignore this email.</p>
43224
+ <p>Your password won't change until you access the link above and create a new one.</p>
43225
+
43226
+ Redirected to http://test.host/users/login
43227
+ Completed 302 Found in 196ms (ActiveRecord: 0.0ms)
43228
+  (0.7ms) rollback transaction
43229
+  (0.1ms) begin transaction
43230
+ Processing by Contour::PasswordsController#new as HTML
43231
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
43232
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
43233
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
43234
+ Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
43235
+  (0.1ms) rollback transaction
43236
+  (0.1ms) begin transaction
43237
+  (0.1ms) rollback transaction
43238
+  (0.1ms) begin transaction
43239
+  (0.0ms) rollback transaction
43240
+  (0.1ms) begin transaction
43241
+  (0.1ms) rollback transaction
43242
+  (0.1ms) begin transaction
43243
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43244
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43245
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43246
+
43247
+
43248
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43249
+ Processing by WelcomeController#logged_in_page as HTML
43250
+ Completed 401 Unauthorized in 1ms
43251
+  (0.1ms) SAVEPOINT active_record_1
43252
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43253
+ Binary data inserted for `string` type on column `encrypted_password`
43254
+ 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 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$KnLkUCYAxuyNw8mccGCQ4eOsfKZipT9P86TWQWAsSYedUV20JLd/e"], ["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 Aug 2012 15:44:06 UTC +00:00]]
43255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43256
+  (0.0ms) SAVEPOINT active_record_1
43257
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43259
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43260
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
43261
+
43262
+
43263
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43264
+ Processing by Contour::SessionsController#create as HTML
43265
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
43266
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43267
+  (0.1ms) SAVEPOINT active_record_1
43268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43269
+ Completed 401 Unauthorized in 7ms
43270
+
43271
+
43272
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43273
+ Processing by Contour::SessionsController#new as HTML
43274
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
43275
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
43276
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
43277
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
43278
+ Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms)
43279
+  (0.6ms) rollback transaction
43280
+  (0.1ms) begin transaction
43281
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43282
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43283
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43284
+
43285
+
43286
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43287
+ Processing by WelcomeController#logged_in_page as HTML
43288
+ Completed 401 Unauthorized in 1ms
43289
+  (0.1ms) SAVEPOINT active_record_1
43290
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43291
+ Binary data inserted for `string` type on column `encrypted_password`
43292
+ 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 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$5lBcYFrWoHfw13AiOFPwKeFGVJPAQ.kEc/xpL03kK5aOFkvthiEv6"], ["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 Aug 2012 15:44:06 UTC +00:00]]
43293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43294
+  (0.0ms) SAVEPOINT active_record_1
43295
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43297
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43298
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43299
+
43300
+
43301
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43302
+ Processing by Contour::SessionsController#create as HTML
43303
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
43304
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43305
+  (0.0ms) SAVEPOINT active_record_1
43306
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:44:06.471540', "current_sign_in_at" = '2012-08-14 15:44:06.471540', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:44:06.472080' WHERE "users"."id" = 999914116
43307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43308
+ Setting Flash Message
43309
+ Redirected to http://www.example.com/logged_in_page
43310
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
43311
+
43312
+
43313
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43314
+ Processing by WelcomeController#logged_in_page as HTML
43315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
43316
+ Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.2ms)
43317
+  (0.9ms) rollback transaction
43318
+  (0.1ms) begin transaction
43319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43320
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43321
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43322
+
43323
+
43324
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43325
+ Processing by WelcomeController#logged_in_page as HTML
43326
+ Completed 401 Unauthorized in 0ms
43327
+  (0.1ms) SAVEPOINT active_record_1
43328
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43329
+ Binary data inserted for `string` type on column `encrypted_password`
43330
+ 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 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$fPEBm.mng5ZBM2Y0FIKv0uyt8K2xryPKVTm5nhzdO8a0UY.Bk2NGe"], ["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 Aug 2012 15:44:06 UTC +00:00]]
43331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43332
+  (0.0ms) SAVEPOINT active_record_1
43333
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43335
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
43336
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43337
+
43338
+
43339
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43340
+ Processing by Contour::SessionsController#create as HTML
43341
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
43342
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43343
+  (0.1ms) SAVEPOINT active_record_1
43344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43345
+ Completed 401 Unauthorized in 4ms
43346
+
43347
+
43348
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43349
+ Processing by Contour::SessionsController#new as HTML
43350
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
43351
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
43352
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
43353
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
43354
+ Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
43355
+  (0.8ms) rollback transaction
43356
+  (0.0ms) begin transaction
43357
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43358
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43359
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43360
+
43361
+
43362
+ Started GET "/" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43363
+ Processing by WelcomeController#index as HTML
43364
+ Completed 401 Unauthorized in 1ms
43365
+  (0.1ms) rollback transaction
43366
+  (0.1ms) begin transaction
43367
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43368
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43369
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43370
+
43371
+
43372
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43373
+ Processing by WelcomeController#logged_in_page as JSON
43374
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43375
+  (0.1ms) SAVEPOINT active_record_1
43376
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:44:06.651276', "current_sign_in_at" = '2012-08-14 15:44:06.651276', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:44:06.652210' WHERE "users"."id" = 201799169
43377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43378
+ Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms)
43379
+  (0.5ms) rollback transaction
43380
+  (0.1ms) begin transaction
43381
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43382
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43383
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43384
+
43385
+
43386
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
43387
+ Processing by WelcomeController#logged_in_page as JSON
43388
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43389
+ Completed 401 Unauthorized in 79ms
43390
+  (0.1ms) rollback transaction
43391
+  (0.1ms) begin transaction
43392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43393
+  (0.1ms) rollback transaction
43394
+  (0.0ms) begin transaction
43395
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43396
+  (0.0ms) rollback transaction
43397
+ Connecting to database specified by database.yml
43398
+  (0.1ms) begin transaction
43399
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
43400
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 949717663, 201799169)
43401
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 876923740, 201799169)
43402
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 864673665, 201799169)
43403
+ Fixture Delete (0.1ms) DELETE FROM "users"
43404
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 201799169)
43405
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 999914115)
43406
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 725306934)
43407
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 349534908)
43408
+  (2.0ms) commit transaction
43409
+  (0.0ms) begin transaction
43410
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
43411
+  (0.1ms) rollback transaction
43412
+  (0.0ms) begin transaction
43413
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43414
+  (0.0ms) rollback transaction
43415
+  (0.1ms) begin transaction
43416
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43417
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43418
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43419
+ Processing by Contour::AuthenticationsController#create as HTML
43420
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 16:19:35 UTC", "updated_at"=>"2012-08-14 16:19:35 UTC"}}
43421
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
43422
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43423
+ Logged in user found, creating associated authentication.
43424
+  (0.1ms) SAVEPOINT active_record_1
43425
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:19:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 16:19:35 UTC +00:00], ["user_id", 201799169]]
43426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43427
+ Redirected to http://test.host/authentications
43428
+ Completed 302 Found in 50ms (ActiveRecord: 0.9ms)
43429
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43430
+  (0.7ms) rollback transaction
43431
+  (0.1ms) begin transaction
43432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43433
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43434
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43435
+ Processing by Contour::AuthenticationsController#destroy as HTML
43436
+ Parameters: {"id"=>"949717663"}
43437
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43438
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
43439
+  (0.0ms) SAVEPOINT active_record_1
43440
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
43441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43442
+ Redirected to http://test.host/authentications
43443
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
43444
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43445
+  (0.5ms) rollback transaction
43446
+  (0.1ms) begin transaction
43447
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43448
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43449
+ Processing by Contour::AuthenticationsController#index as HTML
43450
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43451
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
43452
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
43453
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.4ms)
43454
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
43455
+ Completed 200 OK in 75ms (Views: 73.0ms | ActiveRecord: 0.5ms)
43456
+  (0.1ms) rollback transaction
43457
+  (0.1ms) begin transaction
43458
+ Processing by Contour::PasswordsController#create as HTML
43459
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
43460
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43461
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KyC7sCmVuGsJCx2acwwY' LIMIT 1
43462
+  (0.0ms) SAVEPOINT active_record_1
43463
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'KyC7sCmVuGsJCx2acwwY', "reset_password_sent_at" = '2012-08-14 16:19:35.825240', "updated_at" = '2012-08-14 16:19:35.826070' WHERE "users"."id" = 201799169
43464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43465
+
43466
+ Sent mail to valid@example.com (48ms)
43467
+ Date: Tue, 14 Aug 2012 12:19:36 -0400
43468
+ From: please-change-me-at-config-initializers-devise@example.com
43469
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
43470
+ To: valid@example.com
43471
+ Message-ID: <502a7a9870c_9d323fda15435ad826a0@edge2.partners.org.mail>
43472
+ Subject: Reset password instructions
43473
+ Mime-Version: 1.0
43474
+ Content-Type: text/html;
43475
+ charset=UTF-8
43476
+ Content-Transfer-Encoding: 7bit
43477
+
43478
+ <p>Hello valid@example.com!</p>
43479
+
43480
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
43481
+
43482
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=KyC7sCmVuGsJCx2acwwY">Change my password</a></p>
43483
+
43484
+ <p>If you didn't request this, please ignore this email.</p>
43485
+ <p>Your password won't change until you access the link above and create a new one.</p>
43486
+
43487
+ Redirected to http://test.host/users/login
43488
+ Completed 302 Found in 217ms (ActiveRecord: 0.0ms)
43489
+  (0.5ms) rollback transaction
43490
+  (0.1ms) begin transaction
43491
+ Processing by Contour::PasswordsController#new as HTML
43492
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
43493
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
43494
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
43495
+ Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms)
43496
+  (0.1ms) rollback transaction
43497
+  (0.1ms) begin transaction
43498
+  (0.1ms) rollback transaction
43499
+  (0.1ms) begin transaction
43500
+  (0.1ms) rollback transaction
43501
+  (0.1ms) begin transaction
43502
+  (0.1ms) rollback transaction
43503
+  (0.1ms) begin transaction
43504
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43505
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43506
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43507
+
43508
+
43509
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43510
+ Processing by WelcomeController#logged_in_page as HTML
43511
+ Completed 401 Unauthorized in 1ms
43512
+  (0.1ms) SAVEPOINT active_record_1
43513
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43514
+ Binary data inserted for `string` type on column `encrypted_password`
43515
+ 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 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$8G1SSUapKyakQizsQ62qKOUh4.U/IlkqQj4n5yaWPgsARHpmo7DI."], ["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 Aug 2012 16:19:36 UTC +00:00]]
43516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43517
+  (0.0ms) SAVEPOINT active_record_1
43518
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43520
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43521
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
43522
+
43523
+
43524
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43525
+ Processing by Contour::SessionsController#create as HTML
43526
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
43527
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43528
+  (0.1ms) SAVEPOINT active_record_1
43529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43530
+ Completed 401 Unauthorized in 21ms
43531
+
43532
+
43533
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43534
+ Processing by Contour::SessionsController#new as HTML
43535
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
43536
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
43537
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
43538
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
43539
+ Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
43540
+  (0.9ms) rollback transaction
43541
+  (0.1ms) begin transaction
43542
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43543
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43544
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43545
+
43546
+
43547
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43548
+ Processing by WelcomeController#logged_in_page as HTML
43549
+ Completed 401 Unauthorized in 0ms
43550
+  (0.1ms) SAVEPOINT active_record_1
43551
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43552
+ Binary data inserted for `string` type on column `encrypted_password`
43553
+ 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 Aug 2012 16:19: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$dLgia8zeNXkHX6If0dAbiuuqVXUMMR9H3CbzScfhOGoMMe6jZzyFS"], ["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 Aug 2012 16:19:36 UTC +00:00]]
43554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43555
+  (0.0ms) SAVEPOINT active_record_1
43556
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43558
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43559
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43560
+
43561
+
43562
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43563
+ Processing by Contour::SessionsController#create as HTML
43564
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
43565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43566
+  (0.1ms) SAVEPOINT active_record_1
43567
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:19:36.267083', "current_sign_in_at" = '2012-08-14 16:19:36.267083', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:19:36.267676' WHERE "users"."id" = 999914116
43568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43569
+ Redirected to http://www.example.com/logged_in_page
43570
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
43571
+
43572
+
43573
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43574
+ Processing by WelcomeController#logged_in_page as HTML
43575
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
43576
+ Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.1ms)
43577
+  (0.8ms) rollback transaction
43578
+  (0.0ms) begin transaction
43579
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43580
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43581
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43582
+
43583
+
43584
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43585
+ Processing by WelcomeController#logged_in_page as HTML
43586
+ Completed 401 Unauthorized in 0ms
43587
+  (0.1ms) SAVEPOINT active_record_1
43588
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43589
+ Binary data inserted for `string` type on column `encrypted_password`
43590
+ 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 Aug 2012 16:19: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$ptab13mVIlTPr0ACZnrMJekMKP2VO5vkOSfKsWS2sTC1JzIxJJq3u"], ["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 Aug 2012 16:19:36 UTC +00:00]]
43591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43592
+  (0.0ms) SAVEPOINT active_record_1
43593
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43595
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
43596
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43597
+
43598
+
43599
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43600
+ Processing by Contour::SessionsController#create as HTML
43601
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
43602
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43603
+  (0.1ms) SAVEPOINT active_record_1
43604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43605
+ Completed 401 Unauthorized in 5ms
43606
+
43607
+
43608
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43609
+ Processing by Contour::SessionsController#new as HTML
43610
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
43611
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
43612
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
43613
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
43614
+ Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
43615
+  (0.6ms) rollback transaction
43616
+  (0.1ms) begin transaction
43617
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43618
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43619
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43620
+
43621
+
43622
+ Started GET "/" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43623
+ Processing by WelcomeController#index as HTML
43624
+ Completed 401 Unauthorized in 1ms
43625
+  (0.1ms) rollback transaction
43626
+  (0.1ms) begin transaction
43627
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43628
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43629
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43630
+
43631
+
43632
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43633
+ Processing by WelcomeController#logged_in_page as JSON
43634
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43635
+  (0.1ms) SAVEPOINT active_record_1
43636
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:19:36.442689', "current_sign_in_at" = '2012-08-14 16:19:36.442689', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:19:36.443414' WHERE "users"."id" = 201799169
43637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43638
+ Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
43639
+  (0.4ms) rollback transaction
43640
+  (0.1ms) begin transaction
43641
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43642
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43643
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43644
+
43645
+
43646
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
43647
+ Processing by WelcomeController#logged_in_page as JSON
43648
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43649
+ Completed 401 Unauthorized in 85ms
43650
+  (0.1ms) rollback transaction
43651
+  (0.1ms) begin transaction
43652
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43653
+  (0.1ms) rollback transaction
43654
+  (0.1ms) begin transaction
43655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43656
+  (0.1ms) rollback transaction
43657
+ Connecting to database specified by database.yml
43658
+  (0.1ms) begin transaction
43659
+ Fixture Delete (0.4ms) DELETE FROM "authentications"
43660
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 949717663, 201799169)
43661
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 876923740, 201799169)
43662
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 864673665, 201799169)
43663
+ Fixture Delete (0.1ms) DELETE FROM "users"
43664
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 201799169)
43665
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 999914115)
43666
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 725306934)
43667
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 349534908)
43668
+  (1.0ms) commit transaction
43669
+  (0.0ms) begin transaction
43670
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
43671
+  (0.1ms) rollback transaction
43672
+  (0.1ms) begin transaction
43673
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43674
+  (0.1ms) rollback transaction
43675
+  (0.1ms) begin transaction
43676
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43677
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43678
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43679
+ Processing by Contour::AuthenticationsController#create as HTML
43680
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 16:32:37 UTC", "updated_at"=>"2012-08-14 16:32:37 UTC"}}
43681
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
43682
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43683
+ Logged in user found, creating associated authentication.
43684
+  (0.1ms) SAVEPOINT active_record_1
43685
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:32:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 16:32:37 UTC +00:00], ["user_id", 201799169]]
43686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43687
+ Redirected to http://test.host/authentications
43688
+ Completed 302 Found in 64ms (ActiveRecord: 1.1ms)
43689
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43690
+  (0.5ms) rollback transaction
43691
+  (0.1ms) begin transaction
43692
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43693
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43694
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43695
+ Processing by Contour::AuthenticationsController#destroy as HTML
43696
+ Parameters: {"id"=>"949717663"}
43697
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43698
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
43699
+  (0.1ms) SAVEPOINT active_record_1
43700
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
43701
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43702
+ Redirected to http://test.host/authentications
43703
+ Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
43704
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43705
+  (0.6ms) rollback transaction
43706
+  (0.1ms) begin transaction
43707
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43708
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43709
+ Processing by Contour::AuthenticationsController#index as HTML
43710
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43711
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
43712
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
43713
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.0ms)
43714
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
43715
+ Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.6ms)
43716
+  (0.1ms) rollback transaction
43717
+  (0.1ms) begin transaction
43718
+ Processing by Contour::PasswordsController#create as HTML
43719
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
43720
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43721
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'y81pakDk2sA4ssLG6Lns' LIMIT 1
43722
+  (0.1ms) SAVEPOINT active_record_1
43723
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'y81pakDk2sA4ssLG6Lns', "reset_password_sent_at" = '2012-08-14 16:32:37.805532', "updated_at" = '2012-08-14 16:32:37.806637' WHERE "users"."id" = 201799169
43724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43725
+
43726
+ Sent mail to valid@example.com (26ms)
43727
+ Date: Tue, 14 Aug 2012 12:32:37 -0400
43728
+ From: please-change-me-at-config-initializers-devise@example.com
43729
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
43730
+ To: valid@example.com
43731
+ Message-ID: <502a7da5e1388_9dfd3fef15835ad8270b@edge2.partners.org.mail>
43732
+ Subject: Reset password instructions
43733
+ Mime-Version: 1.0
43734
+ Content-Type: text/html;
43735
+ charset=UTF-8
43736
+ Content-Transfer-Encoding: 7bit
43737
+
43738
+ <p>Hello valid@example.com!</p>
43739
+
43740
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
43741
+
43742
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=y81pakDk2sA4ssLG6Lns">Change my password</a></p>
43743
+
43744
+ <p>If you didn't request this, please ignore this email.</p>
43745
+ <p>Your password won't change until you access the link above and create a new one.</p>
43746
+
43747
+ Redirected to http://test.host/users/login
43748
+ Completed 302 Found in 146ms (ActiveRecord: 0.0ms)
43749
+  (0.5ms) rollback transaction
43750
+  (0.1ms) begin transaction
43751
+ Processing by Contour::PasswordsController#new as HTML
43752
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
43753
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
43754
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
43755
+ Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.0ms)
43756
+  (0.1ms) rollback transaction
43757
+  (0.1ms) begin transaction
43758
+  (0.1ms) rollback transaction
43759
+  (0.1ms) begin transaction
43760
+  (0.1ms) rollback transaction
43761
+  (0.1ms) begin transaction
43762
+  (0.1ms) rollback transaction
43763
+  (0.1ms) begin transaction
43764
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43765
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43767
+
43768
+
43769
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:37 -0400
43770
+ Processing by WelcomeController#logged_in_page as HTML
43771
+ Completed 401 Unauthorized in 1ms
43772
+  (0.1ms) SAVEPOINT active_record_1
43773
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43774
+ Binary data inserted for `string` type on column `encrypted_password`
43775
+ 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 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$hsPTwHkanbRUSWIAAylRnefxt6XR7KzKRQ6YOyZPzCbP437PxsDDq"], ["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 Aug 2012 16:32:38 UTC +00:00]]
43776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43777
+  (0.0ms) SAVEPOINT active_record_1
43778
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43780
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43781
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
43782
+
43783
+
43784
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43785
+ Processing by Contour::SessionsController#create as HTML
43786
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
43787
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
43788
+  (0.1ms) SAVEPOINT active_record_1
43789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43790
+ Completed 401 Unauthorized in 7ms
43791
+
43792
+
43793
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43794
+ Processing by Contour::SessionsController#new as HTML
43795
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
43796
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
43797
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
43798
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
43799
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
43800
+  (0.8ms) rollback transaction
43801
+  (0.1ms) begin transaction
43802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43803
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43804
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43805
+
43806
+
43807
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43808
+ Processing by WelcomeController#logged_in_page as HTML
43809
+ Completed 401 Unauthorized in 0ms
43810
+  (0.1ms) SAVEPOINT active_record_1
43811
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43812
+ Binary data inserted for `string` type on column `encrypted_password`
43813
+ 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 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NhBVP5fwolXLPrbhlNPk4Or061nU3CnkvqHivhJzaT.MOrLocmFWe"], ["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 Aug 2012 16:32:38 UTC +00:00]]
43814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43815
+  (0.0ms) SAVEPOINT active_record_1
43816
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43818
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
43819
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43820
+
43821
+
43822
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43823
+ Processing by Contour::SessionsController#create as HTML
43824
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
43825
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
43826
+  (0.0ms) SAVEPOINT active_record_1
43827
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:32:38.132749', "current_sign_in_at" = '2012-08-14 16:32:38.132749', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:32:38.133287' WHERE "users"."id" = 999914116
43828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43829
+ Redirected to http://www.example.com/logged_in_page
43830
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
43831
+
43832
+
43833
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43834
+ Processing by WelcomeController#logged_in_page as HTML
43835
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
43836
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
43837
+  (0.7ms) rollback transaction
43838
+  (0.1ms) begin transaction
43839
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43840
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43841
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43842
+
43843
+
43844
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43845
+ Processing by WelcomeController#logged_in_page as HTML
43846
+ Completed 401 Unauthorized in 0ms
43847
+  (0.1ms) SAVEPOINT active_record_1
43848
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43849
+ Binary data inserted for `string` type on column `encrypted_password`
43850
+ 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 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qwvpfG7TXeRM8efkFuWMZuqSF0E/85.N1YtLhyVZ1IaBez/tUMjyK"], ["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 Aug 2012 16:32:38 UTC +00:00]]
43851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43852
+  (0.0ms) SAVEPOINT active_record_1
43853
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
43854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43855
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
43856
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
43857
+
43858
+
43859
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43860
+ Processing by Contour::SessionsController#create as HTML
43861
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
43862
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
43863
+  (0.1ms) SAVEPOINT active_record_1
43864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43865
+ Completed 401 Unauthorized in 4ms
43866
+
43867
+
43868
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43869
+ Processing by Contour::SessionsController#new as HTML
43870
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
43871
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
43872
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
43873
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
43874
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
43875
+  (0.5ms) rollback transaction
43876
+  (0.1ms) begin transaction
43877
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43878
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43879
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43880
+
43881
+
43882
+ Started GET "/" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43883
+ Processing by WelcomeController#index as HTML
43884
+ Completed 401 Unauthorized in 1ms
43885
+  (0.1ms) rollback transaction
43886
+  (0.0ms) begin transaction
43887
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43888
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43889
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43890
+
43891
+
43892
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43893
+ Processing by WelcomeController#logged_in_page as JSON
43894
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43895
+  (0.1ms) SAVEPOINT active_record_1
43896
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:32:38.289217', "current_sign_in_at" = '2012-08-14 16:32:38.289217', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:32:38.289916' WHERE "users"."id" = 201799169
43897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43898
+ Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
43899
+  (0.7ms) rollback transaction
43900
+  (0.1ms) begin transaction
43901
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43902
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
43903
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
43904
+
43905
+
43906
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
43907
+ Processing by WelcomeController#logged_in_page as JSON
43908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43909
+ Completed 401 Unauthorized in 79ms
43910
+  (0.1ms) rollback transaction
43911
+  (0.1ms) begin transaction
43912
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43913
+  (0.1ms) rollback transaction
43914
+  (0.0ms) begin transaction
43915
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43916
+  (0.0ms) rollback transaction
43917
+ Connecting to database specified by database.yml
43918
+  (0.1ms) begin transaction
43919
+ Fixture Delete (19.1ms) DELETE FROM "authentications"
43920
+ Fixture Insert (0.4ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 949717663, 201799169)
43921
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 876923740, 201799169)
43922
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 864673665, 201799169)
43923
+ Fixture Delete (0.7ms) DELETE FROM "users"
43924
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 201799169)
43925
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 999914115)
43926
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 725306934)
43927
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 349534908)
43928
+  (1.5ms) commit transaction
43929
+  (0.1ms) begin transaction
43930
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
43931
+  (0.1ms) rollback transaction
43932
+  (0.1ms) begin transaction
43933
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43934
+  (0.1ms) rollback transaction
43935
+  (0.1ms) begin transaction
43936
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43937
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43938
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43939
+ Processing by Contour::AuthenticationsController#create as HTML
43940
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 17:32:54 UTC", "updated_at"=>"2012-08-14 17:32:54 UTC"}}
43941
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
43942
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43943
+ Logged in user found, creating associated authentication.
43944
+  (0.1ms) SAVEPOINT active_record_1
43945
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:32:54 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 17:32:54 UTC +00:00], ["user_id", 201799169]]
43946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43947
+ Redirected to http://test.host/authentications
43948
+ Completed 302 Found in 90ms (ActiveRecord: 1.0ms)
43949
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
43950
+  (0.4ms) rollback transaction
43951
+  (0.1ms) begin transaction
43952
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43953
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43954
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43955
+ Processing by Contour::AuthenticationsController#destroy as HTML
43956
+ Parameters: {"id"=>"949717663"}
43957
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43958
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
43959
+  (0.0ms) SAVEPOINT active_record_1
43960
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
43961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
43962
+ Redirected to http://test.host/authentications
43963
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
43964
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
43965
+  (0.4ms) rollback transaction
43966
+  (0.1ms) begin transaction
43967
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
43968
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
43969
+ Processing by Contour::AuthenticationsController#index as HTML
43970
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
43971
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
43972
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
43973
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (6.4ms)
43974
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
43975
+ Completed 200 OK in 174ms (Views: 172.3ms | ActiveRecord: 0.4ms)
43976
+  (0.1ms) rollback transaction
43977
+  (0.1ms) begin transaction
43978
+ Processing by Contour::PasswordsController#create as HTML
43979
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
43980
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
43981
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KSr7pk7S7qacmypxpky6' LIMIT 1
43982
+  (0.1ms) SAVEPOINT active_record_1
43983
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'KSr7pk7S7qacmypxpky6', "reset_password_sent_at" = '2012-08-14 17:32:55.086213', "updated_at" = '2012-08-14 17:32:55.087522' WHERE "users"."id" = 201799169
43984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43985
+
43986
+ Sent mail to valid@example.com (97ms)
43987
+ Date: Tue, 14 Aug 2012 13:32:55 -0400
43988
+ From: please-change-me-at-config-initializers-devise@example.com
43989
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
43990
+ To: valid@example.com
43991
+ Message-ID: <502a8bc77fd5b_a43f3fcac8435ad063692@edge2.partners.org.mail>
43992
+ Subject: Reset password instructions
43993
+ Mime-Version: 1.0
43994
+ Content-Type: text/html;
43995
+ charset=UTF-8
43996
+ Content-Transfer-Encoding: 7bit
43997
+
43998
+ <p>Hello valid@example.com!</p>
43999
+
44000
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
44001
+
44002
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=KSr7pk7S7qacmypxpky6">Change my password</a></p>
44003
+
44004
+ <p>If you didn't request this, please ignore this email.</p>
44005
+ <p>Your password won't change until you access the link above and create a new one.</p>
44006
+
44007
+ Redirected to http://test.host/users/login
44008
+ Completed 302 Found in 571ms (ActiveRecord: 0.0ms)
44009
+  (16.0ms) rollback transaction
44010
+  (0.1ms) begin transaction
44011
+ Processing by Contour::PasswordsController#new as HTML
44012
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
44013
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms)
44014
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.0ms)
44015
+ Completed 200 OK in 117ms (Views: 116.7ms | ActiveRecord: 0.0ms)
44016
+  (0.1ms) rollback transaction
44017
+  (0.1ms) begin transaction
44018
+  (0.1ms) rollback transaction
44019
+  (0.0ms) begin transaction
44020
+  (0.0ms) rollback transaction
44021
+  (0.1ms) begin transaction
44022
+  (0.1ms) rollback transaction
44023
+  (0.1ms) begin transaction
44024
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44025
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44026
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44027
+
44028
+
44029
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:55 -0400
44030
+ Processing by WelcomeController#logged_in_page as HTML
44031
+ Completed 401 Unauthorized in 1ms
44032
+  (0.1ms) SAVEPOINT active_record_1
44033
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44034
+ Binary data inserted for `string` type on column `encrypted_password`
44035
+ 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 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$wS98Pc4v03XVTgIUXuPxiuV7UvJq6DWK2enzO2CswvWFmiYhs5jJC"], ["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 Aug 2012 17:32:56 UTC +00:00]]
44036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44037
+  (0.0ms) SAVEPOINT active_record_1
44038
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44040
+ SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44041
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
44042
+
44043
+
44044
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44045
+ Processing by Contour::SessionsController#create as HTML
44046
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
44047
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44048
+  (0.1ms) SAVEPOINT active_record_1
44049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44050
+ Completed 401 Unauthorized in 43ms
44051
+
44052
+
44053
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44054
+ Processing by Contour::SessionsController#new as HTML
44055
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
44056
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms)
44057
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
44058
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
44059
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
44060
+ Completed 200 OK in 70ms (Views: 68.8ms | ActiveRecord: 0.0ms)
44061
+  (24.7ms) rollback transaction
44062
+  (0.1ms) begin transaction
44063
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44064
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44065
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44066
+
44067
+
44068
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44069
+ Processing by WelcomeController#logged_in_page as HTML
44070
+ Completed 401 Unauthorized in 0ms
44071
+  (0.1ms) SAVEPOINT active_record_1
44072
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44073
+ Binary data inserted for `string` type on column `encrypted_password`
44074
+ 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 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$x2xE5JX231XShQY049L3WOeXb5Iscl3tsyvLUHqHKI/IjzybhTFBu"], ["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 Aug 2012 17:32:56 UTC +00:00]]
44075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44076
+  (0.0ms) SAVEPOINT active_record_1
44077
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44079
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44080
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44081
+
44082
+
44083
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44084
+ Processing by Contour::SessionsController#create as HTML
44085
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
44086
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44087
+  (0.0ms) SAVEPOINT active_record_1
44088
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:32:56.387536', "current_sign_in_at" = '2012-08-14 17:32:56.387536', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:32:56.388067' WHERE "users"."id" = 999914116
44089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44090
+ Redirected to http://www.example.com/logged_in_page
44091
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
44092
+
44093
+
44094
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44095
+ Processing by WelcomeController#logged_in_page as HTML
44096
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
44097
+ Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.1ms)
44098
+  (8.9ms) rollback transaction
44099
+  (0.1ms) begin transaction
44100
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44101
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44102
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44103
+
44104
+
44105
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44106
+ Processing by WelcomeController#logged_in_page as HTML
44107
+ Completed 401 Unauthorized in 0ms
44108
+  (0.1ms) SAVEPOINT active_record_1
44109
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44110
+ Binary data inserted for `string` type on column `encrypted_password`
44111
+ 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 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$N.W9mNYyDjNwRF4y5uME0O28aqG.Ho0ibuZI8Ym.jOzRrukwiUR46"], ["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 Aug 2012 17:32:56 UTC +00:00]]
44112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44113
+  (0.0ms) SAVEPOINT active_record_1
44114
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44116
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
44117
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44118
+
44119
+
44120
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44121
+ Processing by Contour::SessionsController#create as HTML
44122
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
44123
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44124
+  (0.1ms) SAVEPOINT active_record_1
44125
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44126
+ Completed 401 Unauthorized in 7ms
44127
+
44128
+
44129
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44130
+ Processing by Contour::SessionsController#new as HTML
44131
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
44132
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
44133
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
44134
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
44135
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
44136
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
44137
+  (23.1ms) rollback transaction
44138
+  (0.1ms) begin transaction
44139
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44140
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44141
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44142
+
44143
+
44144
+ Started GET "/" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44145
+ Processing by WelcomeController#index as HTML
44146
+ Completed 401 Unauthorized in 1ms
44147
+  (0.1ms) rollback transaction
44148
+  (0.1ms) begin transaction
44149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44150
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44151
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44152
+
44153
+
44154
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44155
+ Processing by WelcomeController#logged_in_page as JSON
44156
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44157
+  (0.1ms) SAVEPOINT active_record_1
44158
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:32:56.610668', "current_sign_in_at" = '2012-08-14 17:32:56.610668', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:32:56.611665' WHERE "users"."id" = 201799169
44159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44160
+ Completed 200 OK in 89ms (Views: 0.2ms | ActiveRecord: 0.5ms)
44161
+  (87.9ms) rollback transaction
44162
+  (0.1ms) begin transaction
44163
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44164
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44165
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44166
+
44167
+
44168
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
44169
+ Processing by WelcomeController#logged_in_page as JSON
44170
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44171
+ Completed 401 Unauthorized in 85ms
44172
+  (0.2ms) rollback transaction
44173
+  (0.1ms) begin transaction
44174
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44175
+  (0.1ms) rollback transaction
44176
+  (0.0ms) begin transaction
44177
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44178
+  (0.0ms) rollback transaction
44179
+ Connecting to database specified by database.yml
44180
+  (0.1ms) begin transaction
44181
+ Fixture Delete (16.3ms) DELETE FROM "authentications"
44182
+ Fixture Insert (0.7ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 949717663, 201799169)
44183
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 876923740, 201799169)
44184
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 864673665, 201799169)
44185
+ Fixture Delete (1.2ms) DELETE FROM "users"
44186
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 201799169)
44187
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 999914115)
44188
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 725306934)
44189
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 349534908)
44190
+  (1.7ms) commit transaction
44191
+  (0.0ms) begin transaction
44192
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44193
+  (0.1ms) rollback transaction
44194
+  (0.0ms) begin transaction
44195
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44196
+  (0.0ms) rollback transaction
44197
+  (0.1ms) begin transaction
44198
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44199
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44200
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44201
+ Processing by Contour::AuthenticationsController#create as HTML
44202
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 17:37:04 UTC", "updated_at"=>"2012-08-14 17:37:04 UTC"}}
44203
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44205
+ Logged in user found, creating associated authentication.
44206
+  (0.1ms) SAVEPOINT active_record_1
44207
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["user_id", 201799169]]
44208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44209
+ Redirected to http://test.host/authentications
44210
+ Completed 302 Found in 84ms (ActiveRecord: 1.0ms)
44211
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44212
+  (0.4ms) rollback transaction
44213
+  (0.1ms) begin transaction
44214
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44215
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44216
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44217
+ Processing by Contour::AuthenticationsController#destroy as HTML
44218
+ Parameters: {"id"=>"949717663"}
44219
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44220
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
44221
+  (0.0ms) SAVEPOINT active_record_1
44222
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
44223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44224
+ Redirected to http://test.host/authentications
44225
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
44226
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44227
+  (0.5ms) rollback transaction
44228
+  (0.1ms) begin transaction
44229
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44230
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44231
+ Processing by Contour::AuthenticationsController#index as HTML
44232
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44233
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
44234
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
44235
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
44236
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
44237
+ Completed 200 OK in 152ms (Views: 149.8ms | ActiveRecord: 0.4ms)
44238
+  (0.1ms) rollback transaction
44239
+  (0.1ms) begin transaction
44240
+ Processing by Contour::PasswordsController#create as HTML
44241
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
44242
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44243
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qbxtCtTydzSczQpNbBRf' LIMIT 1
44244
+  (0.1ms) SAVEPOINT active_record_1
44245
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'qbxtCtTydzSczQpNbBRf', "reset_password_sent_at" = '2012-08-14 17:37:05.395731', "updated_at" = '2012-08-14 17:37:05.396869' WHERE "users"."id" = 201799169
44246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44247
+
44248
+ Sent mail to valid@example.com (71ms)
44249
+ Date: Tue, 14 Aug 2012 13:37:05 -0400
44250
+ From: please-change-me-at-config-initializers-devise@example.com
44251
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
44252
+ To: valid@example.com
44253
+ Message-ID: <502a8cc1a98ed_a49f3fdfd9035ae0794b8@edge2.partners.org.mail>
44254
+ Subject: Reset password instructions
44255
+ Mime-Version: 1.0
44256
+ Content-Type: text/html;
44257
+ charset=UTF-8
44258
+ Content-Transfer-Encoding: 7bit
44259
+
44260
+ <p>Hello valid@example.com!</p>
44261
+
44262
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
44263
+
44264
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=qbxtCtTydzSczQpNbBRf">Change my password</a></p>
44265
+
44266
+ <p>If you didn't request this, please ignore this email.</p>
44267
+ <p>Your password won't change until you access the link above and create a new one.</p>
44268
+
44269
+ Redirected to http://test.host/users/login
44270
+ Completed 302 Found in 367ms (ActiveRecord: 0.0ms)
44271
+  (0.8ms) rollback transaction
44272
+  (0.1ms) begin transaction
44273
+ Processing by Contour::PasswordsController#new as HTML
44274
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
44275
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
44276
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.7ms)
44277
+ Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms)
44278
+  (0.1ms) rollback transaction
44279
+  (0.1ms) begin transaction
44280
+  (0.0ms) rollback transaction
44281
+  (0.0ms) begin transaction
44282
+  (0.0ms) rollback transaction
44283
+  (0.0ms) begin transaction
44284
+  (0.0ms) rollback transaction
44285
+  (0.0ms) begin transaction
44286
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44287
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44288
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44289
+
44290
+
44291
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:05 -0400
44292
+ Processing by WelcomeController#logged_in_page as HTML
44293
+ Completed 401 Unauthorized in 1ms
44294
+  (0.1ms) SAVEPOINT active_record_1
44295
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44296
+ Binary data inserted for `string` type on column `encrypted_password`
44297
+ 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 Aug 2012 17:37:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$dtSNOAkC.llB3cTs9E6l9eoc5gjRglKjvDsUZWyRuy.E2GKk79xH2"], ["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 Aug 2012 17:37:05 UTC +00:00]]
44298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44299
+  (0.0ms) SAVEPOINT active_record_1
44300
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44302
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44303
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
44304
+
44305
+
44306
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:05 -0400
44307
+ Processing by Contour::SessionsController#create as HTML
44308
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
44309
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44310
+  (0.1ms) SAVEPOINT active_record_1
44311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44312
+ Completed 401 Unauthorized in 23ms
44313
+
44314
+
44315
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:37:05 -0400
44316
+ Processing by Contour::SessionsController#new as HTML
44317
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
44318
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms)
44319
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
44320
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
44321
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
44322
+ Completed 200 OK in 51ms (Views: 50.1ms | ActiveRecord: 0.0ms)
44323
+  (6.9ms) rollback transaction
44324
+  (0.1ms) begin transaction
44325
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44326
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44327
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44328
+
44329
+
44330
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44331
+ Processing by WelcomeController#logged_in_page as HTML
44332
+ Completed 401 Unauthorized in 0ms
44333
+  (0.1ms) SAVEPOINT active_record_1
44334
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44335
+ Binary data inserted for `string` type on column `encrypted_password`
44336
+ 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 Aug 2012 17:37:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$SbQ.vq8Qnpmx627bOzDEIuKUsFwTDbVaApL4hs.zd79m5dXZEM4TG"], ["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 Aug 2012 17:37:06 UTC +00:00]]
44337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44338
+  (0.0ms) SAVEPOINT active_record_1
44339
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44341
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44342
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44343
+
44344
+
44345
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44346
+ Processing by Contour::SessionsController#create as HTML
44347
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
44348
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44349
+  (0.1ms) SAVEPOINT active_record_1
44350
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:37:06.042032', "current_sign_in_at" = '2012-08-14 17:37:06.042032', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:37:06.042653' WHERE "users"."id" = 999914116
44351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44352
+ Redirected to http://www.example.com/logged_in_page
44353
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
44354
+
44355
+
44356
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44357
+ Processing by WelcomeController#logged_in_page as HTML
44358
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
44359
+ Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.1ms)
44360
+  (1.1ms) rollback transaction
44361
+  (0.1ms) begin transaction
44362
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44363
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44364
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44365
+
44366
+
44367
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44368
+ Processing by WelcomeController#logged_in_page as HTML
44369
+ Completed 401 Unauthorized in 0ms
44370
+  (0.1ms) SAVEPOINT active_record_1
44371
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44372
+ Binary data inserted for `string` type on column `encrypted_password`
44373
+ 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 Aug 2012 17:37:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$UEVSbKKiIdm//ev/uSohouDj98N1DVRdJh6ElkC1J8B34RggwztM."], ["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 Aug 2012 17:37:06 UTC +00:00]]
44374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44375
+  (0.0ms) SAVEPOINT active_record_1
44376
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44378
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
44379
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44380
+
44381
+
44382
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44383
+ Processing by Contour::SessionsController#create as HTML
44384
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
44385
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44386
+  (0.0ms) SAVEPOINT active_record_1
44387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44388
+ Completed 401 Unauthorized in 4ms
44389
+
44390
+
44391
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44392
+ Processing by Contour::SessionsController#new as HTML
44393
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
44394
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
44395
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
44396
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
44397
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
44398
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
44399
+  (0.8ms) rollback transaction
44400
+  (0.1ms) begin transaction
44401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44402
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44403
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44404
+
44405
+
44406
+ Started GET "/" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44407
+ Processing by WelcomeController#index as HTML
44408
+ Completed 401 Unauthorized in 1ms
44409
+  (0.1ms) rollback transaction
44410
+  (0.0ms) begin transaction
44411
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44412
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44413
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44414
+
44415
+
44416
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44417
+ Processing by WelcomeController#logged_in_page as JSON
44418
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44419
+  (0.1ms) SAVEPOINT active_record_1
44420
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:37:06.220602', "current_sign_in_at" = '2012-08-14 17:37:06.220602', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:37:06.221359' WHERE "users"."id" = 201799169
44421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44422
+ Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
44423
+  (0.4ms) rollback transaction
44424
+  (0.1ms) begin transaction
44425
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44426
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44427
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44428
+
44429
+
44430
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
44431
+ Processing by WelcomeController#logged_in_page as JSON
44432
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44433
+ Completed 401 Unauthorized in 84ms
44434
+  (0.1ms) rollback transaction
44435
+  (0.1ms) begin transaction
44436
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44437
+  (0.1ms) rollback transaction
44438
+  (0.1ms) begin transaction
44439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44440
+  (0.1ms) rollback transaction