contour 1.2.1 → 1.3.0.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,14 @@
1
+ ## 1.3.0
2
+
3
+ ### Breaking Changes
4
+ - Removed qTip^2 JavaScript to reduce overall JavaScript footprint
5
+
6
+ ### Enhancements
7
+ - **Gem Changes**
8
+ - Updated to omniauth 1.1.3
9
+ - Updated to omniauth-ldap 1.0.3
10
+ - Updated to omniauth-linkedin 0.1.0
11
+
1
12
  ## 1.2.1 (February 20, 2013)
2
13
 
3
14
  ### Enhancements
@@ -5,7 +5,6 @@
5
5
  //= require jquery_ujs
6
6
  //
7
7
  //= require external/jquery-ui-1.10.0.custom.min.js
8
- //= require external/jquery.qtip.js
9
8
  //
10
9
  //= require twitter-bootstrap/v2.3.0/bootstrap
11
10
  //
@@ -9,7 +9,6 @@
9
9
  *= require twitter-bootstrap/v2.3.0/bootstrap-responsive
10
10
  *= require bootstrap-responsive-overrides
11
11
  *= require jquery-ui-1.10.0.custom
12
- *= require jquery.qtip
13
12
  *= require datepicker
14
13
  *= require timepicker
15
14
  *= require contour/about
@@ -26,11 +26,11 @@ Gem::Specification.new do |s|
26
26
  s.add_dependency 'rails', '~> 3.2.12'
27
27
  s.add_dependency 'jquery-rails', '~> 2.2.1'
28
28
  s.add_dependency 'devise', '~> 2.2.3'
29
- s.add_dependency 'omniauth', '~> 1.1.1'
29
+ s.add_dependency 'omniauth', '~> 1.1.3'
30
30
  s.add_dependency 'omniauth-cas', '~> 1.0.1'
31
31
  s.add_dependency 'omniauth-facebook', '~> 1.4.1'
32
- s.add_dependency 'omniauth-ldap', '~> 1.0.2'
33
- s.add_dependency 'omniauth-linkedin', '~> 0.0.8'
32
+ s.add_dependency 'omniauth-ldap', '~> 1.0.3'
33
+ s.add_dependency 'omniauth-linkedin', '~> 0.1.0'
34
34
  s.add_dependency 'omniauth-openid', '~> 1.0.1'
35
35
  s.add_dependency 'omniauth-twitter', '~> 0.0.14'
36
36
 
@@ -1,9 +1,9 @@
1
1
  module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
- MINOR = 2
5
- TINY = 1
6
- BUILD = nil # nil, "pre", "rc", "rc2"
4
+ MINOR = 3
5
+ TINY = 0
6
+ BUILD = "pre" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -50176,3 +50176,717 @@ Completed 401 Unauthorized in 291ms
50176
50176
   (0.1ms) begin transaction
50177
50177
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50178
50178
   (0.1ms) rollback transaction
50179
+ Connecting to database specified by database.yml
50180
+  (0.1ms) begin transaction
50181
+ Fixture Delete (6.9ms) DELETE FROM "authentications"
50182
+ Fixture Insert (12.4ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 949717663, 201799169)
50183
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 876923740, 201799169)
50184
+ 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', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 864673665, 201799169)
50185
+ Fixture Delete (1.1ms) DELETE FROM "users"
50186
+ 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', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 201799169)
50187
+ 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', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 999914115)
50188
+ 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', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 725306934)
50189
+ 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', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 349534908)
50190
+  (1.8ms) commit transaction
50191
+  (0.1ms) begin transaction
50192
+ Authentication Load (16.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
50193
+  (0.1ms) rollback transaction
50194
+  (0.1ms) begin transaction
50195
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50196
+  (0.1ms) rollback transaction
50197
+  (0.1ms) begin transaction
50198
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50199
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50200
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
50201
+ Processing by Contour::AuthenticationsController#create as HTML
50202
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-21 14:27:53 UTC", "updated_at"=>"2013-02-21 14:27:53 UTC"}}
50203
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
50204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50205
+ Logged in user found, creating associated authentication.
50206
+  (0.1ms) SAVEPOINT active_record_1
50207
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:27:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 21 Feb 2013 14:27:53 UTC +00:00], ["user_id", 201799169]]
50208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50209
+ Redirected to http://test.host/authentications
50210
+ Completed 302 Found in 114ms (ActiveRecord: 1.2ms)
50211
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
50212
+  (0.7ms) rollback transaction
50213
+  (0.1ms) begin transaction
50214
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50215
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50216
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
50217
+ Processing by Contour::AuthenticationsController#destroy as HTML
50218
+ Parameters: {"id"=>"949717663"}
50219
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50220
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
50221
+  (0.1ms) SAVEPOINT active_record_1
50222
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
50223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50224
+ Redirected to http://test.host/authentications
50225
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
50226
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
50227
+  (0.8ms) rollback transaction
50228
+  (0.1ms) begin transaction
50229
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50230
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50231
+ Processing by Contour::AuthenticationsController#index as HTML
50232
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50233
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
50234
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
50235
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.3ms)
50236
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.7ms)
50237
+ Completed 200 OK in 204ms (Views: 201.0ms | ActiveRecord: 0.5ms)
50238
+  (0.1ms) rollback transaction
50239
+  (0.1ms) begin transaction
50240
+ Processing by Contour::PasswordsController#create as HTML
50241
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
50242
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50243
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'yPxB2E5Rs1oyQz59sDXN' LIMIT 1
50244
+  (0.1ms) SAVEPOINT active_record_1
50245
+  (0.5ms) UPDATE "users" SET "reset_password_token" = 'yPxB2E5Rs1oyQz59sDXN', "reset_password_sent_at" = '2013-02-21 14:27:53.672323', "updated_at" = '2013-02-21 14:27:53.674570' WHERE "users"."id" = 201799169
50246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50247
+
50248
+ Sent mail to valid@example.com (90ms)
50249
+ Date: Thu, 21 Feb 2013 09:27:54 -0500
50250
+ From: please-change-me-at-config-initializers-devise@example.com
50251
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
50252
+ To: valid@example.com
50253
+ Message-ID: <51262eeaaee1_c4ef3fc4c9c35adc670f2@edge.partners.org.mail>
50254
+ Subject: Reset password instructions
50255
+ Mime-Version: 1.0
50256
+ Content-Type: text/html;
50257
+ charset=UTF-8
50258
+ Content-Transfer-Encoding: 7bit
50259
+
50260
+ <p>Hello valid@example.com!</p>
50261
+
50262
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
50263
+
50264
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=yPxB2E5Rs1oyQz59sDXN">Change my password</a></p>
50265
+
50266
+ <p>If you didn't request this, please ignore this email.</p>
50267
+ <p>Your password won't change until you access the link above and create a new one.</p>
50268
+
50269
+ Redirected to http://test.host/users/login
50270
+ Completed 302 Found in 469ms (ActiveRecord: 0.0ms)
50271
+  (0.6ms) rollback transaction
50272
+  (0.1ms) begin transaction
50273
+ Processing by Contour::PasswordsController#new as HTML
50274
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.8ms)
50275
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms)
50276
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.7ms)
50277
+ Completed 200 OK in 82ms (Views: 80.7ms | ActiveRecord: 0.0ms)
50278
+  (0.1ms) rollback transaction
50279
+  (0.1ms) begin transaction
50280
+  (0.1ms) rollback transaction
50281
+  (0.1ms) begin transaction
50282
+  (0.1ms) rollback transaction
50283
+  (0.1ms) begin transaction
50284
+  (0.1ms) rollback transaction
50285
+  (0.1ms) begin transaction
50286
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50288
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50289
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50290
+ Processing by WelcomeController#logged_in_page as HTML
50291
+ Completed 401 Unauthorized in 1ms
50292
+  (0.1ms) SAVEPOINT active_record_1
50293
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
50294
+ Binary data inserted for `string` type on column `encrypted_password`
50295
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JMXkTJTuvhGkvcCQ6A4E2.P4d5AyUaB2NmShQr0LhygwPGQmTB5gG"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00]]
50296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50297
+  (0.1ms) SAVEPOINT active_record_1
50298
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50300
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
50301
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
50302
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50303
+ Processing by Contour::SessionsController#create as HTML
50304
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
50305
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
50306
+  (0.1ms) SAVEPOINT active_record_1
50307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50308
+ Completed 401 Unauthorized in 21ms
50309
+ Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50310
+ Processing by Contour::SessionsController#new as HTML
50311
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
50312
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.9ms)
50313
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms)
50314
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms)
50315
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.1ms)
50316
+ Completed 200 OK in 79ms (Views: 76.7ms | ActiveRecord: 0.0ms)
50317
+  (0.8ms) rollback transaction
50318
+  (0.1ms) begin transaction
50319
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50321
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50322
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50323
+ Processing by WelcomeController#logged_in_page as HTML
50324
+ Completed 401 Unauthorized in 1ms
50325
+  (0.1ms) SAVEPOINT active_record_1
50326
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
50327
+ Binary data inserted for `string` type on column `encrypted_password`
50328
+ 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", Thu, 21 Feb 2013 14:27:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$qX1tB3SfRWwngN8du6GEmOMWb3PofAqjSoZ1OrK99EzDlvU6ykTaS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00]]
50329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50330
+  (0.1ms) SAVEPOINT active_record_1
50331
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50333
+ SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
50334
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
50335
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50336
+ Processing by Contour::SessionsController#create as HTML
50337
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
50338
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
50339
+  (0.1ms) SAVEPOINT active_record_1
50340
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:27:54.536631', "current_sign_in_at" = '2013-02-21 14:27:54.536631', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:27:54.537789' WHERE "users"."id" = 999914116
50341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50342
+ Redirected to http://www.example.com/logged_in_page
50343
+ Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
50344
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50345
+ Processing by WelcomeController#logged_in_page as HTML
50346
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
50347
+ Completed 200 OK in 64ms (Views: 61.6ms | ActiveRecord: 0.2ms)
50348
+  (0.8ms) rollback transaction
50349
+  (0.1ms) begin transaction
50350
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50351
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50352
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50353
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50354
+ Processing by WelcomeController#logged_in_page as HTML
50355
+ Completed 401 Unauthorized in 1ms
50356
+  (0.1ms) SAVEPOINT active_record_1
50357
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
50358
+ Binary data inserted for `string` type on column `encrypted_password`
50359
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$0R781FI9QStrkbD4LDl14ugxw.XDrvQioPXuoz/QBl645tbVl.Kga"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00]]
50360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50361
+  (0.1ms) SAVEPOINT active_record_1
50362
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50364
+ SQL (0.5ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
50365
+ SQL (0.3ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
50366
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50367
+ Processing by Contour::SessionsController#create as HTML
50368
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
50369
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
50370
+  (0.1ms) SAVEPOINT active_record_1
50371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50372
+ Completed 401 Unauthorized in 13ms
50373
+ Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50374
+ Processing by Contour::SessionsController#new as HTML
50375
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms)
50376
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.5ms)
50377
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
50378
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
50379
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.9ms)
50380
+ Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.0ms)
50381
+  (0.8ms) rollback transaction
50382
+  (0.1ms) begin transaction
50383
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50384
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50385
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50386
+ Started GET "/" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50387
+ Processing by WelcomeController#index as HTML
50388
+ Completed 401 Unauthorized in 1ms
50389
+  (0.1ms) rollback transaction
50390
+  (0.1ms) begin transaction
50391
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50393
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50394
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:27:54 -0500
50395
+ Processing by WelcomeController#logged_in_page as JSON
50396
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50397
+  (0.1ms) SAVEPOINT active_record_1
50398
+  (0.4ms) UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:27:55.061788', "current_sign_in_at" = '2013-02-21 14:27:55.061788', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:27:55.064159' WHERE "users"."id" = 201799169
50399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50400
+ Completed 200 OK in 315ms (Views: 0.6ms | ActiveRecord: 1.0ms)
50401
+  (0.6ms) rollback transaction
50402
+  (0.1ms) begin transaction
50403
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50404
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50405
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50406
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:27:55 -0500
50407
+ Processing by WelcomeController#logged_in_page as JSON
50408
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50409
+ Completed 401 Unauthorized in 317ms
50410
+  (0.1ms) rollback transaction
50411
+  (0.1ms) begin transaction
50412
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50413
+  (0.1ms) rollback transaction
50414
+  (0.1ms) begin transaction
50415
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50416
+  (0.1ms) rollback transaction
50417
+ Connecting to database specified by database.yml
50418
+  (0.2ms) begin transaction
50419
+ Fixture Delete (0.9ms) DELETE FROM "authentications"
50420
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 949717663, 201799169)
50421
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 876923740, 201799169)
50422
+ 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', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 864673665, 201799169)
50423
+ Fixture Delete (0.2ms) DELETE FROM "users"
50424
+ 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', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 201799169)
50425
+ Fixture Insert (0.2ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 999914115)
50426
+ 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', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 725306934)
50427
+ 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', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 349534908)
50428
+  (16.8ms) commit transaction
50429
+  (0.1ms) begin transaction
50430
+ Authentication Load (28.8ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
50431
+  (0.1ms) rollback transaction
50432
+  (0.1ms) begin transaction
50433
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50434
+  (0.1ms) rollback transaction
50435
+  (0.1ms) begin transaction
50436
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50437
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50438
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
50439
+ Processing by Contour::AuthenticationsController#create as HTML
50440
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-21 14:40:56 UTC", "updated_at"=>"2013-02-21 14:40:56 UTC"}}
50441
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
50442
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50443
+ Logged in user found, creating associated authentication.
50444
+  (0.1ms) SAVEPOINT active_record_1
50445
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:40:56 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 21 Feb 2013 14:40:56 UTC +00:00], ["user_id", 201799169]]
50446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50447
+ Redirected to http://test.host/authentications
50448
+ Completed 302 Found in 171ms (ActiveRecord: 1.4ms)
50449
+  (0.2ms) SELECT COUNT(*) FROM "authentications" 
50450
+  (17.4ms) rollback transaction
50451
+  (0.1ms) begin transaction
50452
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50453
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50454
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
50455
+ Processing by Contour::AuthenticationsController#destroy as HTML
50456
+ Parameters: {"id"=>"949717663"}
50457
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50458
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
50459
+  (0.1ms) SAVEPOINT active_record_1
50460
+ SQL (0.5ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
50461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50462
+ Redirected to http://test.host/authentications
50463
+ Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
50464
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
50465
+  (0.7ms) rollback transaction
50466
+  (0.1ms) begin transaction
50467
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50468
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50469
+ Processing by Contour::AuthenticationsController#index as HTML
50470
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50471
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
50472
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
50473
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.9ms)
50474
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.9ms)
50475
+ Completed 200 OK in 311ms (Views: 305.9ms | ActiveRecord: 0.6ms)
50476
+  (0.2ms) rollback transaction
50477
+  (0.1ms) begin transaction
50478
+ Processing by Contour::PasswordsController#create as HTML
50479
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
50480
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50481
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zXSsfJs3iBhqVozjszag' LIMIT 1
50482
+  (0.1ms) SAVEPOINT active_record_1
50483
+  (0.6ms) UPDATE "users" SET "reset_password_token" = 'zXSsfJs3iBhqVozjszag', "reset_password_sent_at" = '2013-02-21 14:40:57.248605', "updated_at" = '2013-02-21 14:40:57.250259' WHERE "users"."id" = 201799169
50484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50485
+
50486
+ Sent mail to valid@example.com (95ms)
50487
+ Date: Thu, 21 Feb 2013 09:40:57 -0500
50488
+ From: please-change-me-at-config-initializers-devise@example.com
50489
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
50490
+ To: valid@example.com
50491
+ Message-ID: <512631f99d690_c73d3fdb50435ad848843@edge.partners.org.mail>
50492
+ Subject: Reset password instructions
50493
+ Mime-Version: 1.0
50494
+ Content-Type: text/html;
50495
+ charset=UTF-8
50496
+ Content-Transfer-Encoding: 7bit
50497
+
50498
+ <p>Hello valid@example.com!</p>
50499
+
50500
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
50501
+
50502
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=zXSsfJs3iBhqVozjszag">Change my password</a></p>
50503
+
50504
+ <p>If you didn't request this, please ignore this email.</p>
50505
+ <p>Your password won't change until you access the link above and create a new one.</p>
50506
+
50507
+ Redirected to http://test.host/users/login
50508
+ Completed 302 Found in 516ms (ActiveRecord: 0.0ms)
50509
+  (0.6ms) rollback transaction
50510
+  (0.1ms) begin transaction
50511
+ Processing by Contour::PasswordsController#new as HTML
50512
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.9ms)
50513
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.7ms)
50514
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.9ms)
50515
+ Completed 200 OK in 121ms (Views: 119.8ms | ActiveRecord: 0.0ms)
50516
+  (0.1ms) rollback transaction
50517
+  (0.1ms) begin transaction
50518
+  (0.1ms) rollback transaction
50519
+  (0.1ms) begin transaction
50520
+  (0.1ms) rollback transaction
50521
+  (0.1ms) begin transaction
50522
+  (0.1ms) rollback transaction
50523
+  (0.1ms) begin transaction
50524
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50525
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50527
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:57 -0500
50528
+ Processing by WelcomeController#logged_in_page as HTML
50529
+ Completed 401 Unauthorized in 1ms
50530
+  (0.1ms) SAVEPOINT active_record_1
50531
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
50532
+ Binary data inserted for `string` type on column `encrypted_password`
50533
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$MSSs7UiCan4J/bs3q/PIC.bRzd/1nXa6pPEeCghVq39OxN8Dxjw0q"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00]]
50534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50535
+  (0.1ms) SAVEPOINT active_record_1
50536
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50538
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
50539
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
50540
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50541
+ Processing by Contour::SessionsController#create as HTML
50542
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
50543
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
50544
+  (0.1ms) SAVEPOINT active_record_1
50545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50546
+ Completed 401 Unauthorized in 43ms
50547
+ Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50548
+ Processing by Contour::SessionsController#new as HTML
50549
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
50550
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.0ms)
50551
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.6ms)
50552
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
50553
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.0ms)
50554
+ Completed 200 OK in 100ms (Views: 98.1ms | ActiveRecord: 0.0ms)
50555
+  (19.4ms) rollback transaction
50556
+  (0.1ms) begin transaction
50557
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50558
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50559
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50560
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50561
+ Processing by WelcomeController#logged_in_page as HTML
50562
+ Completed 401 Unauthorized in 1ms
50563
+  (0.1ms) SAVEPOINT active_record_1
50564
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
50565
+ Binary data inserted for `string` type on column `encrypted_password`
50566
+ 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", Thu, 21 Feb 2013 14:40:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$1YHqPkdG6vIb6eRqNjfXqOEEmFZsSTlXnTz5TZ6ve/KiWZbnI9aR6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00]]
50567
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50568
+  (0.0ms) SAVEPOINT active_record_1
50569
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50571
+ SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
50572
+ SQL (0.2ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
50573
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50574
+ Processing by Contour::SessionsController#create as HTML
50575
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
50576
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
50577
+  (0.1ms) SAVEPOINT active_record_1
50578
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:40:58.299467', "current_sign_in_at" = '2013-02-21 14:40:58.299467', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:40:58.300677' WHERE "users"."id" = 999914116
50579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50580
+ Redirected to http://www.example.com/logged_in_page
50581
+ Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
50582
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50583
+ Processing by WelcomeController#logged_in_page as HTML
50584
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
50585
+ Completed 200 OK in 84ms (Views: 81.4ms | ActiveRecord: 0.2ms)
50586
+  (413.5ms) rollback transaction
50587
+  (0.1ms) begin transaction
50588
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50589
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50590
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50591
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50592
+ Processing by WelcomeController#logged_in_page as HTML
50593
+ Completed 401 Unauthorized in 1ms
50594
+  (0.1ms) SAVEPOINT active_record_1
50595
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
50596
+ Binary data inserted for `string` type on column `encrypted_password`
50597
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$H5DG8DadPOkV1JHWM.2Y7ObWNM.6LW7og3y4bnCgXL2.BwfVzR76O"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00]]
50598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50599
+  (0.0ms) SAVEPOINT active_record_1
50600
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50602
+ SQL (0.5ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
50603
+ SQL (0.2ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
50604
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50605
+ Processing by Contour::SessionsController#create as HTML
50606
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
50607
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
50608
+  (0.1ms) SAVEPOINT active_record_1
50609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50610
+ Completed 401 Unauthorized in 11ms
50611
+ Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50612
+ Processing by Contour::SessionsController#new as HTML
50613
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
50614
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.6ms)
50615
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms)
50616
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
50617
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.1ms)
50618
+ Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms)
50619
+  (9.8ms) rollback transaction
50620
+  (0.1ms) begin transaction
50621
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50622
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50623
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50624
+ Started GET "/" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50625
+ Processing by WelcomeController#index as HTML
50626
+ Completed 401 Unauthorized in 1ms
50627
+  (0.1ms) rollback transaction
50628
+  (0.1ms) begin transaction
50629
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50630
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50631
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50632
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:40:58 -0500
50633
+ Processing by WelcomeController#logged_in_page as JSON
50634
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50635
+  (0.1ms) SAVEPOINT active_record_1
50636
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:40:59.271661', "current_sign_in_at" = '2013-02-21 14:40:59.271661', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:40:59.273166' WHERE "users"."id" = 201799169
50637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50638
+ Completed 200 OK in 327ms (Views: 0.5ms | ActiveRecord: 0.8ms)
50639
+  (15.8ms) rollback transaction
50640
+  (0.1ms) begin transaction
50641
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50642
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50643
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50644
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:40:59 -0500
50645
+ Processing by WelcomeController#logged_in_page as JSON
50646
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50647
+ Completed 401 Unauthorized in 317ms
50648
+  (0.1ms) rollback transaction
50649
+  (0.1ms) begin transaction
50650
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50651
+  (0.1ms) rollback transaction
50652
+  (0.1ms) begin transaction
50653
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50654
+  (0.1ms) rollback transaction
50655
+ Connecting to database specified by database.yml
50656
+  (0.1ms) begin transaction
50657
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
50658
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 949717663, 201799169)
50659
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 876923740, 201799169)
50660
+ 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', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 864673665, 201799169)
50661
+ Fixture Delete (0.2ms) DELETE FROM "users"
50662
+ 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', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 201799169)
50663
+ 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', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 999914115)
50664
+ Fixture Insert (0.3ms) 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', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 725306934)
50665
+ 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', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 349534908)
50666
+  (8.6ms) commit transaction
50667
+  (0.1ms) begin transaction
50668
+ Authentication Load (16.6ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
50669
+  (0.1ms) rollback transaction
50670
+  (0.1ms) begin transaction
50671
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50672
+  (0.1ms) rollback transaction
50673
+  (0.1ms) begin transaction
50674
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50675
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50676
+  (0.2ms) SELECT COUNT(*) FROM "authentications" 
50677
+ Processing by Contour::AuthenticationsController#create as HTML
50678
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-21 14:42:08 UTC", "updated_at"=>"2013-02-21 14:42:08 UTC"}}
50679
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
50680
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50681
+ Logged in user found, creating associated authentication.
50682
+  (0.1ms) SAVEPOINT active_record_1
50683
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:42:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 21 Feb 2013 14:42:09 UTC +00:00], ["user_id", 201799169]]
50684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50685
+ Redirected to http://test.host/authentications
50686
+ Completed 302 Found in 152ms (ActiveRecord: 1.5ms)
50687
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
50688
+  (10.4ms) rollback transaction
50689
+  (0.1ms) begin transaction
50690
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50691
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50692
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
50693
+ Processing by Contour::AuthenticationsController#destroy as HTML
50694
+ Parameters: {"id"=>"949717663"}
50695
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50696
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
50697
+  (0.1ms) SAVEPOINT active_record_1
50698
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
50699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50700
+ Redirected to http://test.host/authentications
50701
+ Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
50702
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
50703
+  (0.5ms) rollback transaction
50704
+  (0.1ms) begin transaction
50705
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50706
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
50707
+ Processing by Contour::AuthenticationsController#index as HTML
50708
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
50709
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
50710
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
50711
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (6.4ms)
50712
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.0ms)
50713
+ Completed 200 OK in 229ms (Views: 225.0ms | ActiveRecord: 0.7ms)
50714
+  (0.1ms) rollback transaction
50715
+  (0.1ms) begin transaction
50716
+ Processing by Contour::PasswordsController#create as HTML
50717
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
50718
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50719
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dLh6q84cW5d19yVa27j5' LIMIT 1
50720
+  (0.1ms) SAVEPOINT active_record_1
50721
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'dLh6q84cW5d19yVa27j5', "reset_password_sent_at" = '2013-02-21 14:42:09.490700', "updated_at" = '2013-02-21 14:42:09.492199' WHERE "users"."id" = 201799169
50722
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50723
+
50724
+ Sent mail to valid@example.com (136ms)
50725
+ Date: Thu, 21 Feb 2013 09:42:10 -0500
50726
+ From: please-change-me-at-config-initializers-devise@example.com
50727
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
50728
+ To: valid@example.com
50729
+ Message-ID: <51263241f2732_c79c3fcc78835ad43883@edge.partners.org.mail>
50730
+ Subject: Reset password instructions
50731
+ Mime-Version: 1.0
50732
+ Content-Type: text/html;
50733
+ charset=UTF-8
50734
+ Content-Transfer-Encoding: 7bit
50735
+
50736
+ <p>Hello valid@example.com!</p>
50737
+
50738
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
50739
+
50740
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=dLh6q84cW5d19yVa27j5">Change my password</a></p>
50741
+
50742
+ <p>If you didn't request this, please ignore this email.</p>
50743
+ <p>Your password won't change until you access the link above and create a new one.</p>
50744
+
50745
+ Redirected to http://test.host/users/login
50746
+ Completed 302 Found in 621ms (ActiveRecord: 0.0ms)
50747
+  (5.9ms) rollback transaction
50748
+  (0.1ms) begin transaction
50749
+ Processing by Contour::PasswordsController#new as HTML
50750
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.4ms)
50751
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.4ms)
50752
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.2ms)
50753
+ Completed 200 OK in 145ms (Views: 143.0ms | ActiveRecord: 0.0ms)
50754
+  (0.1ms) rollback transaction
50755
+  (0.1ms) begin transaction
50756
+  (0.1ms) rollback transaction
50757
+  (0.1ms) begin transaction
50758
+  (0.1ms) rollback transaction
50759
+  (0.1ms) begin transaction
50760
+  (0.1ms) rollback transaction
50761
+  (0.1ms) begin transaction
50762
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50763
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50764
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50765
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:10 -0500
50766
+ Processing by WelcomeController#logged_in_page as HTML
50767
+ Completed 401 Unauthorized in 1ms
50768
+  (0.1ms) SAVEPOINT active_record_1
50769
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
50770
+ Binary data inserted for `string` type on column `encrypted_password`
50771
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$o7IRud1lHTdAqU3PKQPQTOH7GzlZ04SP1WnbH4wi1MciwRyg1jNda"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00]]
50772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50773
+  (0.0ms) SAVEPOINT active_record_1
50774
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50776
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
50777
+ SQL (0.2ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
50778
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:42:10 -0500
50779
+ Processing by Contour::SessionsController#create as HTML
50780
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
50781
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
50782
+  (0.2ms) SAVEPOINT active_record_1
50783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50784
+ Completed 401 Unauthorized in 30ms
50785
+ Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:42:10 -0500
50786
+ Processing by Contour::SessionsController#new as HTML
50787
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
50788
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.0ms)
50789
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.4ms)
50790
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
50791
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.2ms)
50792
+ Completed 200 OK in 106ms (Views: 104.3ms | ActiveRecord: 0.0ms)
50793
+  (119.4ms) rollback transaction
50794
+  (0.1ms) begin transaction
50795
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50796
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50797
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50798
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:10 -0500
50799
+ Processing by WelcomeController#logged_in_page as HTML
50800
+ Completed 401 Unauthorized in 1ms
50801
+  (0.1ms) SAVEPOINT active_record_1
50802
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
50803
+ Binary data inserted for `string` type on column `encrypted_password`
50804
+ 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", Thu, 21 Feb 2013 14:42:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$6IRNCj2f0B/sVwdEjDUVve/q3CBZChIp7xGV1gnV6LXHd1.ilnbb6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00]]
50805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50806
+  (0.1ms) SAVEPOINT active_record_1
50807
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50809
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
50810
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
50811
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:42:10 -0500
50812
+ Processing by Contour::SessionsController#create as HTML
50813
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
50814
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
50815
+  (0.1ms) SAVEPOINT active_record_1
50816
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:42:10.912143', "current_sign_in_at" = '2013-02-21 14:42:10.912143', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:42:10.913357' WHERE "users"."id" = 999914116
50817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50818
+ Redirected to http://www.example.com/logged_in_page
50819
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
50820
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:10 -0500
50821
+ Processing by WelcomeController#logged_in_page as HTML
50822
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
50823
+ Completed 200 OK in 79ms (Views: 76.8ms | ActiveRecord: 0.2ms)
50824
+  (0.9ms) rollback transaction
50825
+  (0.1ms) begin transaction
50826
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50828
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50829
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:11 -0500
50830
+ Processing by WelcomeController#logged_in_page as HTML
50831
+ Completed 401 Unauthorized in 1ms
50832
+  (0.1ms) SAVEPOINT active_record_1
50833
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
50834
+ Binary data inserted for `string` type on column `encrypted_password`
50835
+ 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", Thu, 21 Feb 2013 14:42:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3iOzLxkbHv5irWyTnKqHtOOXeAzw9tPmz4qYa3fbN9//T0AnBVQSi"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:42:11 UTC +00:00]]
50836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50837
+  (0.0ms) SAVEPOINT active_record_1
50838
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
50839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50840
+ SQL (0.4ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
50841
+ SQL (0.2ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
50842
+ Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:42:11 -0500
50843
+ Processing by Contour::SessionsController#create as HTML
50844
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
50845
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
50846
+  (0.1ms) SAVEPOINT active_record_1
50847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50848
+ Completed 401 Unauthorized in 12ms
50849
+ Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:42:11 -0500
50850
+ Processing by Contour::SessionsController#new as HTML
50851
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
50852
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.6ms)
50853
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
50854
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.6ms)
50855
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.3ms)
50856
+ Completed 200 OK in 31ms (Views: 29.4ms | ActiveRecord: 0.0ms)
50857
+  (1.1ms) rollback transaction
50858
+  (0.1ms) begin transaction
50859
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50860
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50861
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50862
+ Started GET "/" for 127.0.0.1 at 2013-02-21 09:42:11 -0500
50863
+ Processing by WelcomeController#index as HTML
50864
+ Completed 401 Unauthorized in 2ms
50865
+  (0.2ms) rollback transaction
50866
+  (0.1ms) begin transaction
50867
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50868
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50869
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50870
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:42:11 -0500
50871
+ Processing by WelcomeController#logged_in_page as JSON
50872
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50873
+  (0.1ms) SAVEPOINT active_record_1
50874
+  (0.4ms) UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:42:11.488974', "current_sign_in_at" = '2013-02-21 14:42:11.488974', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:42:11.490524' WHERE "users"."id" = 201799169
50875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50876
+ Completed 200 OK in 335ms (Views: 0.4ms | ActiveRecord: 0.9ms)
50877
+  (36.0ms) rollback transaction
50878
+  (0.1ms) begin transaction
50879
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50880
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
50881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
50882
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:42:11 -0500
50883
+ Processing by WelcomeController#logged_in_page as JSON
50884
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
50885
+ Completed 401 Unauthorized in 320ms
50886
+  (0.1ms) rollback transaction
50887
+  (0.1ms) begin transaction
50888
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50889
+  (0.1ms) rollback transaction
50890
+  (0.1ms) begin transaction
50891
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
50892
+  (0.1ms) rollback transaction