contour 1.0.0.beta11 → 1.0.0.beta12

Sign up to get free protection for your applications and to get access to all the features.
@@ -34088,3 +34088,1323 @@ Completed 401 Unauthorized in 77ms
34088
34088
   (0.1ms) begin transaction
34089
34089
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34090
34090
   (0.0ms) rollback transaction
34091
+  (0.1ms) begin transaction
34092
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
34093
+ 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-05-09 14:27:47', '2012-05-09 14:27:47', 949717663, 201799169)
34094
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 876923740, 201799169)
34095
+ 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-05-09 14:27:47', '2012-05-09 14:27:47', 864673665, 201799169)
34096
+ Fixture Delete (0.1ms) DELETE FROM "users"
34097
+ 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-05-09 14:27:47', '2012-05-09 14:27:47', 201799169)
34098
+ 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-05-09 14:27:47', '2012-05-09 14:27:47', 999914115)
34099
+ 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-05-09 14:27:47', '2012-05-09 14:27:47', 725306934)
34100
+ 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-05-09 14:27:47', '2012-05-09 14:27:47', 349534908)
34101
+  (2.0ms) commit transaction
34102
+  (0.0ms) begin transaction
34103
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
34104
+  (0.1ms) rollback transaction
34105
+  (0.1ms) begin transaction
34106
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34107
+  (0.0ms) rollback transaction
34108
+  (0.1ms) begin transaction
34109
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34110
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34111
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34112
+ Processing by Contour::AuthenticationsController#create as HTML
34113
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 14:27:47 UTC", "updated_at"=>"2012-05-09 14:27:47 UTC"}}
34114
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
34115
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34116
+ Logged in user found, creating associated authentication.
34117
+  (0.1ms) SAVEPOINT active_record_1
34118
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:27:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 14:27:47 UTC +00:00], ["user_id", 201799169]]
34119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34120
+ Redirected to http://test.host/authentications
34121
+ Completed 302 Found in 26ms (ActiveRecord: 1.0ms)
34122
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34123
+  (0.8ms) rollback transaction
34124
+  (0.0ms) begin transaction
34125
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34126
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34127
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34128
+ Processing by Contour::AuthenticationsController#destroy as HTML
34129
+ Parameters: {"id"=>"949717663"}
34130
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34131
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
34132
+  (0.0ms) SAVEPOINT active_record_1
34133
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
34134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34135
+ Redirected to http://test.host/authentications
34136
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
34137
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34138
+  (0.7ms) rollback transaction
34139
+  (0.0ms) begin transaction
34140
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34141
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34142
+ Processing by Contour::AuthenticationsController#index as HTML
34143
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34144
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
34145
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
34146
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
34147
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
34148
+ Completed 200 OK in 57ms (Views: 55.8ms | ActiveRecord: 0.4ms)
34149
+  (0.1ms) rollback transaction
34150
+  (0.1ms) begin transaction
34151
+ Processing by Contour::PasswordsController#create as HTML
34152
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
34153
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qokKjzd3NAAL8YWZpaaM' LIMIT 1
34155
+  (0.1ms) SAVEPOINT active_record_1
34156
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'qokKjzd3NAAL8YWZpaaM', "reset_password_sent_at" = '2012-05-09 14:27:47.725801', "updated_at" = '2012-05-09 14:27:47.726909' WHERE "users"."id" = 201799169
34157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34158
+
34159
+ Sent mail to valid@example.com (41ms)
34160
+ Date: Wed, 09 May 2012 10:27:47 -0400
34161
+ From: please-change-me-at-config-initializers-devise@example.com
34162
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
34163
+ To: valid@example.com
34164
+ Message-ID: <4faa7ee3d4455_446d3fd8c6034ce059815@edge.mail>
34165
+ Subject: Reset password instructions
34166
+ Mime-Version: 1.0
34167
+ Content-Type: text/html;
34168
+ charset=UTF-8
34169
+ Content-Transfer-Encoding: 7bit
34170
+
34171
+ <p>Hello valid@example.com!</p>
34172
+
34173
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
34174
+
34175
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=qokKjzd3NAAL8YWZpaaM">Change my password</a></p>
34176
+
34177
+ <p>If you didn't request this, please ignore this email.</p>
34178
+ <p>Your password won't change until you access the link above and create a new one.</p>
34179
+
34180
+ Redirected to http://test.host/users/login
34181
+ Completed 302 Found in 193ms (ActiveRecord: 0.0ms)
34182
+  (0.7ms) rollback transaction
34183
+  (0.0ms) begin transaction
34184
+ Processing by Contour::PasswordsController#new as HTML
34185
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms)
34186
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
34187
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms)
34188
+ Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.0ms)
34189
+  (0.1ms) rollback transaction
34190
+  (0.1ms) begin transaction
34191
+  (0.0ms) rollback transaction
34192
+  (0.0ms) begin transaction
34193
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34194
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34195
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34196
+
34197
+
34198
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:47 -0400
34199
+ Processing by WelcomeController#logged_in_page as HTML
34200
+ Completed 401 Unauthorized in 1ms
34201
+  (0.1ms) SAVEPOINT active_record_1
34202
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34203
+ Binary data inserted for `string` type on column `encrypted_password`
34204
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$ZyIG60Zeahxgq6BMnqWZROtsyDqMyZIhZBIuTYHiXo8Et5T7wgs6q"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:27:48 UTC +00:00]]
34205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34206
+  (0.0ms) SAVEPOINT active_record_1
34207
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34209
+  (0.0ms) SAVEPOINT active_record_1
34210
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:27:48.052716' WHERE "users"."id" = 999914116
34211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34212
+  (0.0ms) SAVEPOINT active_record_1
34213
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 14:27:48.053872' WHERE "users"."id" = 999914116
34214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34215
+
34216
+
34217
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34218
+ Processing by Contour::SessionsController#create as HTML
34219
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
34220
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34221
+  (0.1ms) SAVEPOINT active_record_1
34222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34223
+ Completed 401 Unauthorized in 113ms
34224
+
34225
+
34226
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34227
+ Processing by Contour::SessionsController#new as HTML
34228
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
34229
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
34230
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
34231
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
34232
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
34233
+  (9.1ms) rollback transaction
34234
+  (0.1ms) begin transaction
34235
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34236
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34237
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34238
+
34239
+
34240
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34241
+ Processing by WelcomeController#logged_in_page as HTML
34242
+ Completed 401 Unauthorized in 0ms
34243
+  (0.1ms) SAVEPOINT active_record_1
34244
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
34245
+ Binary data inserted for `string` type on column `encrypted_password`
34246
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$Aq9YvfUmziziJ16cEEVfhembaE6hpa/ZT.A2F8jjI1dFn8NFWX9iC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:27:48 UTC +00:00]]
34247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34248
+  (0.0ms) SAVEPOINT active_record_1
34249
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34251
+  (0.0ms) SAVEPOINT active_record_1
34252
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:27:48.300519' WHERE "users"."id" = 999914116
34253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34254
+  (0.0ms) SAVEPOINT active_record_1
34255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34256
+
34257
+
34258
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34259
+ Processing by Contour::SessionsController#create as HTML
34260
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
34261
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
34262
+  (0.1ms) SAVEPOINT active_record_1
34263
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:27:48.383796', "current_sign_in_at" = '2012-05-09 14:27:48.383796', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:27:48.384311' WHERE "users"."id" = 999914116
34264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34265
+ Redirected to http://www.example.com/logged_in_page
34266
+ Completed 302 Found in 82ms (ActiveRecord: 0.0ms)
34267
+
34268
+
34269
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34270
+ Processing by WelcomeController#logged_in_page as HTML
34271
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
34272
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
34273
+  (1.2ms) rollback transaction
34274
+  (0.0ms) begin transaction
34275
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34276
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34277
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34278
+
34279
+
34280
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34281
+ Processing by WelcomeController#logged_in_page as HTML
34282
+ Completed 401 Unauthorized in 0ms
34283
+  (0.1ms) SAVEPOINT active_record_1
34284
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34285
+ Binary data inserted for `string` type on column `encrypted_password`
34286
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$hSBRnC/RO.I4m5BZRsxUg.l0nC158bhRvmpzekCq6im.V3Wjf1cwa"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:27:48 UTC +00:00]]
34287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34288
+  (0.0ms) SAVEPOINT active_record_1
34289
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34291
+  (0.0ms) SAVEPOINT active_record_1
34292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34293
+  (0.0ms) SAVEPOINT active_record_1
34294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34295
+
34296
+
34297
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34298
+ Processing by Contour::SessionsController#create as HTML
34299
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
34300
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34301
+  (0.1ms) SAVEPOINT active_record_1
34302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34303
+ Completed 401 Unauthorized in 83ms
34304
+
34305
+
34306
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34307
+ Processing by Contour::SessionsController#new as HTML
34308
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
34309
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
34310
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
34311
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
34312
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
34313
+  (57.7ms) rollback transaction
34314
+  (0.1ms) begin transaction
34315
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34316
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34317
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34318
+
34319
+
34320
+ Started GET "/" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34321
+ Processing by WelcomeController#index as HTML
34322
+ Completed 401 Unauthorized in 1ms
34323
+  (0.1ms) rollback transaction
34324
+  (0.0ms) begin transaction
34325
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34326
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34327
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34328
+
34329
+
34330
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34331
+ Processing by WelcomeController#logged_in_page as JSON
34332
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34333
+  (0.1ms) SAVEPOINT active_record_1
34334
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:27:48.745381', "current_sign_in_at" = '2012-05-09 14:27:48.745381', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:27:48.745994' WHERE "users"."id" = 201799169
34335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34336
+ Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.6ms)
34337
+  (0.6ms) rollback transaction
34338
+  (0.0ms) begin transaction
34339
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34340
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34341
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34342
+
34343
+
34344
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:27:48 -0400
34345
+ Processing by WelcomeController#logged_in_page as JSON
34346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34347
+ Completed 401 Unauthorized in 84ms
34348
+  (0.1ms) rollback transaction
34349
+  (0.0ms) begin transaction
34350
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34351
+  (0.1ms) rollback transaction
34352
+  (0.0ms) begin transaction
34353
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34354
+  (0.0ms) rollback transaction
34355
+  (0.1ms) begin transaction
34356
+ Fixture Delete (12.2ms) DELETE FROM "authentications"
34357
+ 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-05-09 14:56:49', '2012-05-09 14:56:49', 949717663, 201799169)
34358
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 876923740, 201799169)
34359
+ 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-05-09 14:56:49', '2012-05-09 14:56:49', 864673665, 201799169)
34360
+ Fixture Delete (0.2ms) DELETE FROM "users"
34361
+ 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 ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 201799169)
34362
+ 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-05-09 14:56:49', '2012-05-09 14:56:49', 999914115)
34363
+ 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 ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 725306934)
34364
+ 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-05-09 14:56:49', '2012-05-09 14:56:49', 349534908)
34365
+  (72.9ms) commit transaction
34366
+  (0.1ms) begin transaction
34367
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
34368
+  (0.1ms) rollback transaction
34369
+  (0.1ms) begin transaction
34370
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34371
+  (0.1ms) rollback transaction
34372
+  (0.1ms) begin transaction
34373
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34374
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34375
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34376
+ Processing by Contour::AuthenticationsController#create as HTML
34377
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 14:56:49 UTC", "updated_at"=>"2012-05-09 14:56:49 UTC"}}
34378
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
34379
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34380
+ Logged in user found, creating associated authentication.
34381
+  (0.1ms) SAVEPOINT active_record_1
34382
+ SQL (17.3ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:56:49 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 14:56:49 UTC +00:00], ["user_id", 201799169]]
34383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34384
+ Redirected to http://test.host/authentications
34385
+ Completed 302 Found in 211ms (ActiveRecord: 17.8ms)
34386
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34387
+  (25.5ms) rollback transaction
34388
+  (0.1ms) begin transaction
34389
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34390
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34391
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34392
+ Processing by Contour::AuthenticationsController#destroy as HTML
34393
+ Parameters: {"id"=>"949717663"}
34394
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34395
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
34396
+  (0.1ms) SAVEPOINT active_record_1
34397
+ SQL (10.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
34398
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34399
+ Redirected to http://test.host/authentications
34400
+ Completed 302 Found in 16ms (ActiveRecord: 10.8ms)
34401
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34402
+  (19.4ms) rollback transaction
34403
+  (0.1ms) begin transaction
34404
+ User Load (8.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34405
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34406
+ Processing by Contour::AuthenticationsController#index as HTML
34407
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34408
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
34409
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
34410
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms)
34411
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms)
34412
+ Completed 200 OK in 148ms (Views: 145.9ms | ActiveRecord: 0.4ms)
34413
+  (0.1ms) rollback transaction
34414
+  (0.1ms) begin transaction
34415
+ Processing by Contour::PasswordsController#create as HTML
34416
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
34417
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34418
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '3LW3YZfb5nJbhn4ujWqE' LIMIT 1
34419
+  (0.1ms) SAVEPOINT active_record_1
34420
+  (0.3ms) UPDATE "users" SET "reset_password_token" = '3LW3YZfb5nJbhn4ujWqE', "reset_password_sent_at" = '2012-05-09 14:56:50.104835', "updated_at" = '2012-05-09 14:56:50.105751' WHERE "users"."id" = 201799169
34421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34422
+
34423
+ Sent mail to valid@example.com (26ms)
34424
+ Date: Wed, 09 May 2012 10:56:50 -0400
34425
+ From: please-change-me-at-config-initializers-devise@example.com
34426
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
34427
+ To: valid@example.com
34428
+ Message-ID: <4faa85b244447_47c33ff765834cd4545ad@edge.mail>
34429
+ Subject: Reset password instructions
34430
+ Mime-Version: 1.0
34431
+ Content-Type: text/html;
34432
+ charset=UTF-8
34433
+ Content-Transfer-Encoding: 7bit
34434
+
34435
+ <p>Hello valid@example.com!</p>
34436
+
34437
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
34438
+
34439
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=3LW3YZfb5nJbhn4ujWqE">Change my password</a></p>
34440
+
34441
+ <p>If you didn't request this, please ignore this email.</p>
34442
+ <p>Your password won't change until you access the link above and create a new one.</p>
34443
+
34444
+ Redirected to http://test.host/users/login
34445
+ Completed 302 Found in 251ms (ActiveRecord: 0.0ms)
34446
+  (0.5ms) rollback transaction
34447
+  (0.1ms) begin transaction
34448
+ Processing by Contour::PasswordsController#new as HTML
34449
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
34450
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
34451
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
34452
+ Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.0ms)
34453
+  (0.1ms) rollback transaction
34454
+  (0.1ms) begin transaction
34455
+  (0.0ms) rollback transaction
34456
+  (0.1ms) begin transaction
34457
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34458
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34459
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34460
+
34461
+
34462
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34463
+ Processing by WelcomeController#logged_in_page as HTML
34464
+ Completed 401 Unauthorized in 1ms
34465
+  (0.1ms) SAVEPOINT active_record_1
34466
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34467
+ Binary data inserted for `string` type on column `encrypted_password`
34468
+ SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:56:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$uGSzJWRRuAJtV0mTHVrrwu.mXG1dBGc5FJL5el34oIV3lLh04AwaK"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:56:50 UTC +00:00]]
34469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34470
+  (0.0ms) SAVEPOINT active_record_1
34471
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34472
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34473
+  (0.0ms) SAVEPOINT active_record_1
34474
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:56:50.541745' WHERE "users"."id" = 999914116
34475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34476
+  (0.0ms) SAVEPOINT active_record_1
34477
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 14:56:50.543448' WHERE "users"."id" = 999914116
34478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34479
+
34480
+
34481
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34482
+ Processing by Contour::SessionsController#create as HTML
34483
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
34484
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34485
+  (0.1ms) SAVEPOINT active_record_1
34486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34487
+ Completed 401 Unauthorized in 124ms
34488
+
34489
+
34490
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34491
+ Processing by Contour::SessionsController#new as HTML
34492
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
34493
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
34494
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
34495
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
34496
+ Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.0ms)
34497
+  (0.7ms) rollback transaction
34498
+  (0.1ms) begin transaction
34499
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34500
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34501
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34502
+
34503
+
34504
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34505
+ Processing by WelcomeController#logged_in_page as HTML
34506
+ Completed 401 Unauthorized in 0ms
34507
+  (0.1ms) SAVEPOINT active_record_1
34508
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
34509
+ Binary data inserted for `string` type on column `encrypted_password`
34510
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:56:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$6oywXtYdhtrutSnk/HwKA.EGdy1BrZakQkhxyichye0o46D50HHqm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:56:50 UTC +00:00]]
34511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34512
+  (0.0ms) SAVEPOINT active_record_1
34513
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34515
+  (0.0ms) SAVEPOINT active_record_1
34516
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:56:50.806576' WHERE "users"."id" = 999914116
34517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34518
+  (0.0ms) SAVEPOINT active_record_1
34519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34520
+
34521
+
34522
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34523
+ Processing by Contour::SessionsController#create as HTML
34524
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
34525
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
34526
+  (0.1ms) SAVEPOINT active_record_1
34527
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:56:50.897622', "current_sign_in_at" = '2012-05-09 14:56:50.897622', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:56:50.898412' WHERE "users"."id" = 999914116
34528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34529
+ Redirected to http://www.example.com/logged_in_page
34530
+ Completed 302 Found in 89ms (ActiveRecord: 0.0ms)
34531
+
34532
+
34533
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34534
+ Processing by WelcomeController#logged_in_page as HTML
34535
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
34536
+ Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
34537
+  (1.2ms) rollback transaction
34538
+  (0.1ms) begin transaction
34539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34540
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34541
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34542
+
34543
+
34544
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400
34545
+ Processing by WelcomeController#logged_in_page as HTML
34546
+ Completed 401 Unauthorized in 1ms
34547
+  (0.1ms) SAVEPOINT active_record_1
34548
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34549
+ Binary data inserted for `string` type on column `encrypted_password`
34550
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:56:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$lVBJCCrNR2jowBRwEDKYIevwC1pIDQ0TDLw6n60Ypih51mDGspw0G"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:56:51 UTC +00:00]]
34551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34552
+  (0.1ms) SAVEPOINT active_record_1
34553
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34555
+  (0.0ms) SAVEPOINT active_record_1
34556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34557
+  (0.0ms) SAVEPOINT active_record_1
34558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34559
+
34560
+
34561
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:56:51 -0400
34562
+ Processing by Contour::SessionsController#create as HTML
34563
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
34564
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34565
+  (0.1ms) SAVEPOINT active_record_1
34566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34567
+ Completed 401 Unauthorized in 84ms
34568
+
34569
+
34570
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:56:51 -0400
34571
+ Processing by Contour::SessionsController#new as HTML
34572
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
34573
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
34574
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
34575
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
34576
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
34577
+  (35.4ms) rollback transaction
34578
+  (0.1ms) begin transaction
34579
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34580
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34581
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34582
+
34583
+
34584
+ Started GET "/" for 127.0.0.1 at 2012-05-09 10:56:51 -0400
34585
+ Processing by WelcomeController#index as HTML
34586
+ Completed 401 Unauthorized in 1ms
34587
+  (0.1ms) rollback transaction
34588
+  (0.0ms) begin transaction
34589
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34590
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34591
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34592
+
34593
+
34594
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:56:51 -0400
34595
+ Processing by WelcomeController#logged_in_page as JSON
34596
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34597
+  (0.1ms) SAVEPOINT active_record_1
34598
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:56:51.255408', "current_sign_in_at" = '2012-05-09 14:56:51.255408', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:56:51.256059' WHERE "users"."id" = 201799169
34599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34600
+ Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.5ms)
34601
+  (0.4ms) rollback transaction
34602
+  (0.1ms) begin transaction
34603
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34604
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34605
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34606
+
34607
+
34608
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:56:51 -0400
34609
+ Processing by WelcomeController#logged_in_page as JSON
34610
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34611
+ Completed 401 Unauthorized in 83ms
34612
+  (0.1ms) rollback transaction
34613
+  (0.1ms) begin transaction
34614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34615
+  (0.1ms) rollback transaction
34616
+  (0.0ms) begin transaction
34617
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34618
+  (0.1ms) rollback transaction
34619
+  (0.1ms) begin transaction
34620
+ Fixture Delete (0.8ms) DELETE FROM "authentications"
34621
+ 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-05-09 15:02:35', '2012-05-09 15:02:35', 949717663, 201799169)
34622
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 876923740, 201799169)
34623
+ 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-05-09 15:02:35', '2012-05-09 15:02:35', 864673665, 201799169)
34624
+ Fixture Delete (0.2ms) DELETE FROM "users"
34625
+ 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-05-09 15:02:35', '2012-05-09 15:02:35', 201799169)
34626
+ 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-05-09 15:02:35', '2012-05-09 15:02:35', 999914115)
34627
+ 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-05-09 15:02:35', '2012-05-09 15:02:35', 725306934)
34628
+ 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-05-09 15:02:35', '2012-05-09 15:02:35', 349534908)
34629
+  (28.5ms) commit transaction
34630
+  (0.1ms) begin transaction
34631
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
34632
+  (0.1ms) rollback transaction
34633
+  (0.1ms) begin transaction
34634
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34635
+  (0.0ms) rollback transaction
34636
+  (0.1ms) begin transaction
34637
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34638
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34639
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34640
+ Processing by Contour::AuthenticationsController#create as HTML
34641
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 15:02:35 UTC", "updated_at"=>"2012-05-09 15:02:35 UTC"}}
34642
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
34643
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34644
+ Logged in user found, creating associated authentication.
34645
+  (0.1ms) SAVEPOINT active_record_1
34646
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["user_id", 201799169]]
34647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34648
+ Redirected to http://test.host/authentications
34649
+ Completed 302 Found in 59ms (ActiveRecord: 1.0ms)
34650
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34651
+  (0.6ms) rollback transaction
34652
+  (0.0ms) begin transaction
34653
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34654
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34655
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34656
+ Processing by Contour::AuthenticationsController#destroy as HTML
34657
+ Parameters: {"id"=>"949717663"}
34658
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34659
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
34660
+  (0.0ms) SAVEPOINT active_record_1
34661
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
34662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34663
+ Redirected to http://test.host/authentications
34664
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
34665
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34666
+  (0.4ms) rollback transaction
34667
+  (0.1ms) begin transaction
34668
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34669
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34670
+ Processing by Contour::AuthenticationsController#index as HTML
34671
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34672
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
34673
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
34674
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
34675
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
34676
+ Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.4ms)
34677
+  (0.1ms) rollback transaction
34678
+  (0.1ms) begin transaction
34679
+ Processing by Contour::PasswordsController#create as HTML
34680
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
34681
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34682
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LxCXfQQrFyYokU8C7Fer' LIMIT 1
34683
+  (0.1ms) SAVEPOINT active_record_1
34684
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'LxCXfQQrFyYokU8C7Fer', "reset_password_sent_at" = '2012-05-09 15:02:36.234878', "updated_at" = '2012-05-09 15:02:36.235869' WHERE "users"."id" = 201799169
34685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34686
+
34687
+ Sent mail to valid@example.com (22ms)
34688
+ Date: Wed, 09 May 2012 11:02:36 -0400
34689
+ From: please-change-me-at-config-initializers-devise@example.com
34690
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
34691
+ To: valid@example.com
34692
+ Message-ID: <4faa870c55fc8_48233fe6e5c34cd478eb@edge.mail>
34693
+ Subject: Reset password instructions
34694
+ Mime-Version: 1.0
34695
+ Content-Type: text/html;
34696
+ charset=UTF-8
34697
+ Content-Transfer-Encoding: 7bit
34698
+
34699
+ <p>Hello valid@example.com!</p>
34700
+
34701
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
34702
+
34703
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=LxCXfQQrFyYokU8C7Fer">Change my password</a></p>
34704
+
34705
+ <p>If you didn't request this, please ignore this email.</p>
34706
+ <p>Your password won't change until you access the link above and create a new one.</p>
34707
+
34708
+ Redirected to http://test.host/users/login
34709
+ Completed 302 Found in 176ms (ActiveRecord: 0.0ms)
34710
+  (0.6ms) rollback transaction
34711
+  (0.1ms) begin transaction
34712
+ Processing by Contour::PasswordsController#new as HTML
34713
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
34714
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
34715
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
34716
+ Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
34717
+  (0.1ms) rollback transaction
34718
+  (0.1ms) begin transaction
34719
+  (0.1ms) rollback transaction
34720
+  (0.1ms) begin transaction
34721
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34722
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34723
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34724
+
34725
+
34726
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34727
+ Processing by WelcomeController#logged_in_page as HTML
34728
+ Completed 401 Unauthorized in 1ms
34729
+  (0.1ms) SAVEPOINT active_record_1
34730
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34731
+ Binary data inserted for `string` type on column `encrypted_password`
34732
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$8MEOA.YIVgbBXGg2e0CsGeD1W/JKtLrNdbkxYHNWMmdWIfm9RqzCe"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 15:02:36 UTC +00:00]]
34733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34734
+  (0.0ms) SAVEPOINT active_record_1
34735
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34737
+  (0.0ms) SAVEPOINT active_record_1
34738
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 15:02:36.565228' WHERE "users"."id" = 999914116
34739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34740
+  (0.0ms) SAVEPOINT active_record_1
34741
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 15:02:36.566933' WHERE "users"."id" = 999914116
34742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34743
+
34744
+
34745
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34746
+ Processing by Contour::SessionsController#create as HTML
34747
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
34748
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34749
+  (0.1ms) SAVEPOINT active_record_1
34750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34751
+ Completed 401 Unauthorized in 121ms
34752
+
34753
+
34754
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34755
+ Processing by Contour::SessionsController#new as HTML
34756
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
34757
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
34758
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
34759
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms)
34760
+ Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
34761
+  (0.6ms) rollback transaction
34762
+  (0.1ms) begin transaction
34763
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34764
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34765
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34766
+
34767
+
34768
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34769
+ Processing by WelcomeController#logged_in_page as HTML
34770
+ Completed 401 Unauthorized in 0ms
34771
+  (0.1ms) SAVEPOINT active_record_1
34772
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
34773
+ Binary data inserted for `string` type on column `encrypted_password`
34774
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$F8YA7LkQ6cPg2N0lLxmRn.0c6BJZc8sdKQYQ7xea9PvgVKhDX2LNC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 15:02:36 UTC +00:00]]
34775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34776
+  (0.0ms) SAVEPOINT active_record_1
34777
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34779
+  (0.0ms) SAVEPOINT active_record_1
34780
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 15:02:36.822592' WHERE "users"."id" = 999914116
34781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34782
+  (0.0ms) SAVEPOINT active_record_1
34783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34784
+
34785
+
34786
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34787
+ Processing by Contour::SessionsController#create as HTML
34788
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
34789
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
34790
+  (0.1ms) SAVEPOINT active_record_1
34791
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 15:02:36.910937', "current_sign_in_at" = '2012-05-09 15:02:36.910937', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 15:02:36.911547' WHERE "users"."id" = 999914116
34792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34793
+ Redirected to http://www.example.com/logged_in_page
34794
+ Completed 302 Found in 87ms (ActiveRecord: 0.0ms)
34795
+
34796
+
34797
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34798
+ Processing by WelcomeController#logged_in_page as HTML
34799
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
34800
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
34801
+  (57.1ms) rollback transaction
34802
+  (0.1ms) begin transaction
34803
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34804
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34805
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34806
+
34807
+
34808
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400
34809
+ Processing by WelcomeController#logged_in_page as HTML
34810
+ Completed 401 Unauthorized in 0ms
34811
+  (0.1ms) SAVEPOINT active_record_1
34812
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34813
+ Binary data inserted for `string` type on column `encrypted_password`
34814
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 15:02:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$KMSTEPcFRaR4L3PPRrGTFejair/GEtd4R8NN3IsD1vCr6llFz2wHS"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 15:02:37 UTC +00:00]]
34815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34816
+  (0.0ms) SAVEPOINT active_record_1
34817
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34819
+  (0.0ms) SAVEPOINT active_record_1
34820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34821
+  (0.0ms) SAVEPOINT active_record_1
34822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34823
+
34824
+
34825
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 11:02:37 -0400
34826
+ Processing by Contour::SessionsController#create as HTML
34827
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
34828
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34829
+  (0.1ms) SAVEPOINT active_record_1
34830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34831
+ Completed 401 Unauthorized in 84ms
34832
+
34833
+
34834
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 11:02:37 -0400
34835
+ Processing by Contour::SessionsController#new as HTML
34836
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
34837
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
34838
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
34839
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
34840
+ Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
34841
+  (0.6ms) rollback transaction
34842
+  (0.1ms) begin transaction
34843
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34844
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34845
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34846
+
34847
+
34848
+ Started GET "/" for 127.0.0.1 at 2012-05-09 11:02:37 -0400
34849
+ Processing by WelcomeController#index as HTML
34850
+ Completed 401 Unauthorized in 1ms
34851
+  (0.1ms) rollback transaction
34852
+  (0.1ms) begin transaction
34853
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34854
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34855
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34856
+
34857
+
34858
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 11:02:37 -0400
34859
+ Processing by WelcomeController#logged_in_page as JSON
34860
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34861
+  (0.1ms) SAVEPOINT active_record_1
34862
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 15:02:37.291157', "current_sign_in_at" = '2012-05-09 15:02:37.291157', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 15:02:37.291852' WHERE "users"."id" = 201799169
34863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34864
+ Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms)
34865
+  (0.4ms) rollback transaction
34866
+  (0.1ms) begin transaction
34867
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34868
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34869
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34870
+
34871
+
34872
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 11:02:37 -0400
34873
+ Processing by WelcomeController#logged_in_page as JSON
34874
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34875
+ Completed 401 Unauthorized in 84ms
34876
+  (0.1ms) rollback transaction
34877
+  (0.1ms) begin transaction
34878
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34879
+  (0.1ms) rollback transaction
34880
+  (0.1ms) begin transaction
34881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34882
+  (0.1ms) rollback transaction
34883
+  (0.1ms) begin transaction
34884
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
34885
+ 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-05-09 16:09:08', '2012-05-09 16:09:08', 949717663, 201799169)
34886
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 876923740, 201799169)
34887
+ 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-05-09 16:09:08', '2012-05-09 16:09:08', 864673665, 201799169)
34888
+ Fixture Delete (0.1ms) DELETE FROM "users"
34889
+ 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-05-09 16:09:08', '2012-05-09 16:09:08', 201799169)
34890
+ 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-05-09 16:09:08', '2012-05-09 16:09:08', 999914115)
34891
+ 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-05-09 16:09:08', '2012-05-09 16:09:08', 725306934)
34892
+ 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-05-09 16:09:08', '2012-05-09 16:09:08', 349534908)
34893
+  (1.1ms) commit transaction
34894
+  (0.0ms) begin transaction
34895
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
34896
+  (0.1ms) rollback transaction
34897
+  (0.1ms) begin transaction
34898
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34899
+  (0.1ms) rollback transaction
34900
+  (0.1ms) begin transaction
34901
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34902
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34903
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34904
+ Processing by Contour::AuthenticationsController#create as HTML
34905
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 16:09:08 UTC", "updated_at"=>"2012-05-09 16:09:08 UTC"}}
34906
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
34907
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34908
+ Logged in user found, creating associated authentication.
34909
+  (0.1ms) SAVEPOINT active_record_1
34910
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["user_id", 201799169]]
34911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34912
+ Redirected to http://test.host/authentications
34913
+ Completed 302 Found in 88ms (ActiveRecord: 1.0ms)
34914
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
34915
+  (0.5ms) rollback transaction
34916
+  (0.1ms) begin transaction
34917
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34918
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34919
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34920
+ Processing by Contour::AuthenticationsController#destroy as HTML
34921
+ Parameters: {"id"=>"949717663"}
34922
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34923
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
34924
+  (0.0ms) SAVEPOINT active_record_1
34925
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
34926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34927
+ Redirected to http://test.host/authentications
34928
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
34929
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
34930
+  (0.4ms) rollback transaction
34931
+  (0.1ms) begin transaction
34932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34933
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
34934
+ Processing by Contour::AuthenticationsController#index as HTML
34935
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
34936
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
34937
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
34938
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.3ms)
34939
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
34940
+ Completed 200 OK in 92ms (Views: 90.2ms | ActiveRecord: 0.4ms)
34941
+  (0.1ms) rollback transaction
34942
+  (0.1ms) begin transaction
34943
+ Processing by Contour::PasswordsController#create as HTML
34944
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
34945
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34946
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'paxo6u4jbsqRMbiEsQTS' LIMIT 1
34947
+  (0.0ms) SAVEPOINT active_record_1
34948
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'paxo6u4jbsqRMbiEsQTS', "reset_password_sent_at" = '2012-05-09 16:09:09.247850', "updated_at" = '2012-05-09 16:09:09.248577' WHERE "users"."id" = 201799169
34949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34950
+
34951
+ Sent mail to valid@example.com (24ms)
34952
+ Date: Wed, 09 May 2012 12:09:09 -0400
34953
+ From: please-change-me-at-config-initializers-devise@example.com
34954
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
34955
+ To: valid@example.com
34956
+ Message-ID: <4faa96a55cc64_4bda3fe9d5c34cdc5928@edge.mail>
34957
+ Subject: Reset password instructions
34958
+ Mime-Version: 1.0
34959
+ Content-Type: text/html;
34960
+ charset=UTF-8
34961
+ Content-Transfer-Encoding: 7bit
34962
+
34963
+ <p>Hello valid@example.com!</p>
34964
+
34965
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
34966
+
34967
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=paxo6u4jbsqRMbiEsQTS">Change my password</a></p>
34968
+
34969
+ <p>If you didn't request this, please ignore this email.</p>
34970
+ <p>Your password won't change until you access the link above and create a new one.</p>
34971
+
34972
+ Redirected to http://test.host/users/login
34973
+ Completed 302 Found in 208ms (ActiveRecord: 0.0ms)
34974
+  (0.5ms) rollback transaction
34975
+  (0.1ms) begin transaction
34976
+ Processing by Contour::PasswordsController#new as HTML
34977
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms)
34978
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
34979
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
34980
+ Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.0ms)
34981
+  (0.1ms) rollback transaction
34982
+  (0.1ms) begin transaction
34983
+  (0.0ms) rollback transaction
34984
+  (0.0ms) begin transaction
34985
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34986
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34987
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34988
+
34989
+
34990
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
34991
+ Processing by WelcomeController#logged_in_page as HTML
34992
+ Completed 401 Unauthorized in 1ms
34993
+  (0.1ms) SAVEPOINT active_record_1
34994
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
34995
+ Binary data inserted for `string` type on column `encrypted_password`
34996
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$YWyLwEuO11opXBwXVFsLtuvtp2VM9KO9WBvKBV4ucuuDDYyHzr1a."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:09:09 UTC +00:00]]
34997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34998
+  (0.0ms) SAVEPOINT active_record_1
34999
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
35000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35001
+  (0.1ms) SAVEPOINT active_record_1
35002
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:09:09.609752' WHERE "users"."id" = 999914116
35003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35004
+  (0.0ms) SAVEPOINT active_record_1
35005
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 16:09:09.611608' WHERE "users"."id" = 999914116
35006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35007
+
35008
+
35009
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
35010
+ Processing by Contour::SessionsController#create as HTML
35011
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
35012
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
35013
+  (0.1ms) SAVEPOINT active_record_1
35014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35015
+ Completed 401 Unauthorized in 119ms
35016
+
35017
+
35018
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
35019
+ Processing by Contour::SessionsController#new as HTML
35020
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
35021
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
35022
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
35023
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
35024
+ Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms)
35025
+  (0.7ms) rollback transaction
35026
+  (0.1ms) begin transaction
35027
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35028
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35029
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35030
+
35031
+
35032
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
35033
+ Processing by WelcomeController#logged_in_page as HTML
35034
+ Completed 401 Unauthorized in 0ms
35035
+  (0.1ms) SAVEPOINT active_record_1
35036
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
35037
+ Binary data inserted for `string` type on column `encrypted_password`
35038
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$7mwVn2YOEyIRN32FNQt6ie/CEIh5ztYAcTsB13yYy8CQZXHBBCGhS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:09:09 UTC +00:00]]
35039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35040
+  (0.0ms) SAVEPOINT active_record_1
35041
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
35042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35043
+  (0.1ms) SAVEPOINT active_record_1
35044
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:09:09.872569' WHERE "users"."id" = 999914116
35045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35046
+  (0.0ms) SAVEPOINT active_record_1
35047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35048
+
35049
+
35050
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
35051
+ Processing by Contour::SessionsController#create as HTML
35052
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
35053
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
35054
+  (0.1ms) SAVEPOINT active_record_1
35055
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:09:09.965712', "current_sign_in_at" = '2012-05-09 16:09:09.965712', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:09:09.966423' WHERE "users"."id" = 999914116
35056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35057
+ Redirected to http://www.example.com/logged_in_page
35058
+ Completed 302 Found in 90ms (ActiveRecord: 0.0ms)
35059
+
35060
+
35061
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
35062
+ Processing by WelcomeController#logged_in_page as HTML
35063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
35064
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
35065
+  (0.6ms) rollback transaction
35066
+  (0.1ms) begin transaction
35067
+ User Load (5.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35068
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35069
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35070
+
35071
+
35072
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400
35073
+ Processing by WelcomeController#logged_in_page as HTML
35074
+ Completed 401 Unauthorized in 0ms
35075
+  (0.1ms) SAVEPOINT active_record_1
35076
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
35077
+ Binary data inserted for `string` type on column `encrypted_password`
35078
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:09:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$/ZmMEHTlp.8RU74mrb3J5ON6a4s5pXq5jvoCMDJhWiWheoJSnIe3u"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:09:10 UTC +00:00]]
35079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35080
+  (0.0ms) SAVEPOINT active_record_1
35081
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
35082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35083
+  (0.0ms) SAVEPOINT active_record_1
35084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35085
+  (0.0ms) SAVEPOINT active_record_1
35086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35087
+
35088
+
35089
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:09:10 -0400
35090
+ Processing by Contour::SessionsController#create as HTML
35091
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
35092
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
35093
+  (0.1ms) SAVEPOINT active_record_1
35094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35095
+ Completed 401 Unauthorized in 85ms
35096
+
35097
+
35098
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:09:10 -0400
35099
+ Processing by Contour::SessionsController#new as HTML
35100
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
35101
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
35102
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
35103
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
35104
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
35105
+  (0.6ms) rollback transaction
35106
+  (0.1ms) begin transaction
35107
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35108
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35109
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35110
+
35111
+
35112
+ Started GET "/" for 127.0.0.1 at 2012-05-09 12:09:10 -0400
35113
+ Processing by WelcomeController#index as HTML
35114
+ Completed 401 Unauthorized in 1ms
35115
+  (0.1ms) rollback transaction
35116
+  (0.0ms) begin transaction
35117
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35118
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35119
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35120
+
35121
+
35122
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:09:10 -0400
35123
+ Processing by WelcomeController#logged_in_page as JSON
35124
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
35125
+  (0.1ms) SAVEPOINT active_record_1
35126
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:09:10.300241', "current_sign_in_at" = '2012-05-09 16:09:10.300241', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:09:10.301093' WHERE "users"."id" = 201799169
35127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35128
+ Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.6ms)
35129
+  (0.5ms) rollback transaction
35130
+  (0.1ms) begin transaction
35131
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35132
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35133
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35134
+
35135
+
35136
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:09:10 -0400
35137
+ Processing by WelcomeController#logged_in_page as JSON
35138
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
35139
+ Completed 401 Unauthorized in 83ms
35140
+  (0.1ms) rollback transaction
35141
+  (0.1ms) begin transaction
35142
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35143
+  (0.1ms) rollback transaction
35144
+  (0.0ms) begin transaction
35145
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35146
+  (0.1ms) rollback transaction
35147
+  (0.1ms) begin transaction
35148
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
35149
+ 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-05-09 16:18:53', '2012-05-09 16:18:53', 949717663, 201799169)
35150
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 876923740, 201799169)
35151
+ 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-05-09 16:18:53', '2012-05-09 16:18:53', 864673665, 201799169)
35152
+ Fixture Delete (0.2ms) DELETE FROM "users"
35153
+ 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-05-09 16:18:53', '2012-05-09 16:18:53', 201799169)
35154
+ 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-05-09 16:18:53', '2012-05-09 16:18:53', 999914115)
35155
+ 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-05-09 16:18:53', '2012-05-09 16:18:53', 725306934)
35156
+ 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-05-09 16:18:53', '2012-05-09 16:18:53', 349534908)
35157
+  (27.3ms) commit transaction
35158
+  (0.1ms) begin transaction
35159
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
35160
+  (0.1ms) rollback transaction
35161
+  (0.1ms) begin transaction
35162
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
35163
+  (0.1ms) rollback transaction
35164
+  (0.1ms) begin transaction
35165
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35166
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
35167
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
35168
+ Processing by Contour::AuthenticationsController#create as HTML
35169
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 16:18:53 UTC", "updated_at"=>"2012-05-09 16:18:53 UTC"}}
35170
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
35171
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
35172
+ Logged in user found, creating associated authentication.
35173
+  (0.1ms) SAVEPOINT active_record_1
35174
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:18:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 16:18:53 UTC +00:00], ["user_id", 201799169]]
35175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35176
+ Redirected to http://test.host/authentications
35177
+ Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
35178
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
35179
+  (1.0ms) rollback transaction
35180
+  (0.1ms) begin transaction
35181
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35182
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
35183
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
35184
+ Processing by Contour::AuthenticationsController#destroy as HTML
35185
+ Parameters: {"id"=>"949717663"}
35186
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
35187
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
35188
+  (0.0ms) SAVEPOINT active_record_1
35189
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
35190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35191
+ Redirected to http://test.host/authentications
35192
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
35193
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
35194
+  (0.7ms) rollback transaction
35195
+  (0.0ms) begin transaction
35196
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35197
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
35198
+ Processing by Contour::AuthenticationsController#index as HTML
35199
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
35200
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
35201
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
35202
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
35203
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
35204
+ Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.3ms)
35205
+  (0.1ms) rollback transaction
35206
+  (0.0ms) begin transaction
35207
+ Processing by Contour::PasswordsController#create as HTML
35208
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
35209
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
35210
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'vQmqrMyup3g1EQNAsXuY' LIMIT 1
35211
+  (0.0ms) SAVEPOINT active_record_1
35212
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'vQmqrMyup3g1EQNAsXuY', "reset_password_sent_at" = '2012-05-09 16:18:53.707021', "updated_at" = '2012-05-09 16:18:53.707692' WHERE "users"."id" = 201799169
35213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35214
+
35215
+ Sent mail to valid@example.com (15ms)
35216
+ Date: Wed, 09 May 2012 12:18:53 -0400
35217
+ From: please-change-me-at-config-initializers-devise@example.com
35218
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
35219
+ To: valid@example.com
35220
+ Message-ID: <4faa98edbdc56_4c803fe6cd434ce0276fc@edge.mail>
35221
+ Subject: Reset password instructions
35222
+ Mime-Version: 1.0
35223
+ Content-Type: text/html;
35224
+ charset=UTF-8
35225
+ Content-Transfer-Encoding: 7bit
35226
+
35227
+ <p>Hello valid@example.com!</p>
35228
+
35229
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
35230
+
35231
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=vQmqrMyup3g1EQNAsXuY">Change my password</a></p>
35232
+
35233
+ <p>If you didn't request this, please ignore this email.</p>
35234
+ <p>Your password won't change until you access the link above and create a new one.</p>
35235
+
35236
+ Redirected to http://test.host/users/login
35237
+ Completed 302 Found in 118ms (ActiveRecord: 0.0ms)
35238
+  (0.8ms) rollback transaction
35239
+  (0.1ms) begin transaction
35240
+ Processing by Contour::PasswordsController#new as HTML
35241
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
35242
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
35243
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
35244
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
35245
+  (0.1ms) rollback transaction
35246
+  (0.0ms) begin transaction
35247
+  (0.0ms) rollback transaction
35248
+  (0.1ms) begin transaction
35249
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35250
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35251
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35252
+
35253
+
35254
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:53 -0400
35255
+ Processing by WelcomeController#logged_in_page as HTML
35256
+ Completed 401 Unauthorized in 0ms
35257
+  (0.1ms) SAVEPOINT active_record_1
35258
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
35259
+ Binary data inserted for `string` type on column `encrypted_password`
35260
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:18:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$BllEVj2azSL2DtNCHb7X2eViPuponvtnk0NDuoOd41cVlHnuuSZye"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:18:53 UTC +00:00]]
35261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35262
+  (0.0ms) SAVEPOINT active_record_1
35263
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
35264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35265
+  (0.0ms) SAVEPOINT active_record_1
35266
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:18:53.958781' WHERE "users"."id" = 999914116
35267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35268
+  (0.0ms) SAVEPOINT active_record_1
35269
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 16:18:53.959953' WHERE "users"."id" = 999914116
35270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35271
+
35272
+
35273
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:18:53 -0400
35274
+ Processing by Contour::SessionsController#create as HTML
35275
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
35276
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
35277
+  (0.1ms) SAVEPOINT active_record_1
35278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35279
+ Completed 401 Unauthorized in 111ms
35280
+
35281
+
35282
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35283
+ Processing by Contour::SessionsController#new as HTML
35284
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
35285
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
35286
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
35287
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
35288
+ Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
35289
+  (18.8ms) rollback transaction
35290
+  (0.1ms) begin transaction
35291
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35293
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35294
+
35295
+
35296
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35297
+ Processing by WelcomeController#logged_in_page as HTML
35298
+ Completed 401 Unauthorized in 0ms
35299
+  (0.1ms) SAVEPOINT active_record_1
35300
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
35301
+ Binary data inserted for `string` type on column `encrypted_password`
35302
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:18:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$xaO5BKQUNoZKQo/u3CnOouWdbC8oGPWMhdCXBqQigMxTO7yILj2iq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:18:54 UTC +00:00]]
35303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35304
+  (0.1ms) SAVEPOINT active_record_1
35305
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
35306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35307
+  (0.0ms) SAVEPOINT active_record_1
35308
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:18:54.213312' WHERE "users"."id" = 999914116
35309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35310
+  (0.0ms) SAVEPOINT active_record_1
35311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35312
+
35313
+
35314
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35315
+ Processing by Contour::SessionsController#create as HTML
35316
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
35317
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
35318
+  (0.1ms) SAVEPOINT active_record_1
35319
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:18:54.302124', "current_sign_in_at" = '2012-05-09 16:18:54.302124', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:18:54.302648' WHERE "users"."id" = 999914116
35320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35321
+ Redirected to http://www.example.com/logged_in_page
35322
+ Completed 302 Found in 86ms (ActiveRecord: 0.0ms)
35323
+
35324
+
35325
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35326
+ Processing by WelcomeController#logged_in_page as HTML
35327
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
35328
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
35329
+  (64.2ms) rollback transaction
35330
+  (0.1ms) begin transaction
35331
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35332
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35333
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35334
+
35335
+
35336
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35337
+ Processing by WelcomeController#logged_in_page as HTML
35338
+ Completed 401 Unauthorized in 0ms
35339
+  (0.1ms) SAVEPOINT active_record_1
35340
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
35341
+ Binary data inserted for `string` type on column `encrypted_password`
35342
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:18:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$wQgtT1egXH/IhQ8oyifxe.f0g1U3HLO3mgUgMfAWaTJXhKXEVln86"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:18:54 UTC +00:00]]
35343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35344
+  (0.0ms) SAVEPOINT active_record_1
35345
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
35346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35347
+  (0.0ms) SAVEPOINT active_record_1
35348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35349
+  (0.0ms) SAVEPOINT active_record_1
35350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35351
+
35352
+
35353
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35354
+ Processing by Contour::SessionsController#create as HTML
35355
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
35356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
35357
+  (0.1ms) SAVEPOINT active_record_1
35358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35359
+ Completed 401 Unauthorized in 83ms
35360
+
35361
+
35362
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35363
+ Processing by Contour::SessionsController#new as HTML
35364
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
35365
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
35366
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
35367
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
35368
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
35369
+  (1.0ms) rollback transaction
35370
+  (0.0ms) begin transaction
35371
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35372
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35373
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35374
+
35375
+
35376
+ Started GET "/" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35377
+ Processing by WelcomeController#index as HTML
35378
+ Completed 401 Unauthorized in 0ms
35379
+  (0.1ms) rollback transaction
35380
+  (0.0ms) begin transaction
35381
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35382
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35383
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35384
+
35385
+
35386
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35387
+ Processing by WelcomeController#logged_in_page as JSON
35388
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
35389
+  (0.1ms) SAVEPOINT active_record_1
35390
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:18:54.672854', "current_sign_in_at" = '2012-05-09 16:18:54.672854', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:18:54.673490' WHERE "users"."id" = 201799169
35391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35392
+ Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
35393
+  (0.5ms) rollback transaction
35394
+  (0.1ms) begin transaction
35395
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35396
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
35397
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
35398
+
35399
+
35400
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:18:54 -0400
35401
+ Processing by WelcomeController#logged_in_page as JSON
35402
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
35403
+ Completed 401 Unauthorized in 86ms
35404
+  (0.1ms) rollback transaction
35405
+  (0.0ms) begin transaction
35406
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35407
+  (0.1ms) rollback transaction
35408
+  (0.1ms) begin transaction
35409
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
35410
+  (0.0ms) rollback transaction