contour 1.0.0.beta3 → 1.0.0.beta4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "beta3" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta4" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -31984,3 +31984,1051 @@ Completed 401 Unauthorized in 77ms
31984
31984
   (0.0ms) begin transaction
31985
31985
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
31986
31986
   (0.0ms) rollback transaction
31987
+  (0.1ms) begin transaction
31988
+ Fixture Delete (16.8ms) DELETE FROM "authentications"
31989
+ Fixture Insert (0.4ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 949717663, 201799169)
31990
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 876923740, 201799169)
31991
+ 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-03 19:35:09', '2012-05-03 19:35:09', 864673665, 201799169)
31992
+ Fixture Delete (0.8ms) DELETE FROM "users"
31993
+ 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-03 19:35:09', '2012-05-03 19:35:09', 201799169)
31994
+ 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-03 19:35:09', '2012-05-03 19:35:09', 999914115)
31995
+ 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-03 19:35:09', '2012-05-03 19:35:09', 725306934)
31996
+ 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-03 19:35:09', '2012-05-03 19:35:09', 349534908)
31997
+  (1.3ms) commit transaction
31998
+  (0.0ms) begin transaction
31999
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
32000
+  (0.1ms) rollback transaction
32001
+  (0.0ms) begin transaction
32002
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32003
+  (0.0ms) rollback transaction
32004
+  (0.1ms) begin transaction
32005
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32006
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32007
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32008
+ Processing by Contour::AuthenticationsController#create as HTML
32009
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 19:35:09 UTC", "updated_at"=>"2012-05-03 19:35:09 UTC"}}
32010
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
32011
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32012
+ Logged in user found, creating associated authentication.
32013
+  (0.1ms) SAVEPOINT active_record_1
32014
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 19:35:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 19:35:09 UTC +00:00], ["user_id", 201799169]]
32015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32016
+ Redirected to http://test.host/authentications
32017
+ Completed 302 Found in 40ms (ActiveRecord: 0.9ms)
32018
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32019
+  (0.6ms) rollback transaction
32020
+  (0.0ms) begin transaction
32021
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32022
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32023
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32024
+ Processing by Contour::AuthenticationsController#destroy as HTML
32025
+ Parameters: {"id"=>"949717663"}
32026
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32027
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
32028
+  (0.0ms) SAVEPOINT active_record_1
32029
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
32030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32031
+ Redirected to http://test.host/authentications
32032
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
32033
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32034
+  (0.6ms) rollback transaction
32035
+  (0.0ms) begin transaction
32036
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32037
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32038
+ Processing by Contour::AuthenticationsController#index as HTML
32039
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32040
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
32041
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
32042
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
32043
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
32044
+ Completed 200 OK in 183ms (Views: 180.0ms | ActiveRecord: 0.5ms)
32045
+  (0.1ms) rollback transaction
32046
+  (0.1ms) begin transaction
32047
+ Processing by Contour::PasswordsController#create as HTML
32048
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
32049
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32050
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'SezAkuRXebfHNm7zHWUJ' LIMIT 1
32051
+  (0.0ms) SAVEPOINT active_record_1
32052
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'SezAkuRXebfHNm7zHWUJ', "reset_password_sent_at" = '2012-05-03 19:35:09.621404', "updated_at" = '2012-05-03 19:35:09.622120' WHERE "users"."id" = 201799169
32053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32054
+
32055
+ Sent mail to valid@example.com (110ms)
32056
+ Date: Thu, 03 May 2012 15:35:09 -0400
32057
+ From: please-change-me-at-config-initializers-devise@example.com
32058
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
32059
+ To: valid@example.com
32060
+ Message-ID: <4fa2ddede3081_167653fdf8c434cd858694@edge.mail>
32061
+ Subject: Reset password instructions
32062
+ Mime-Version: 1.0
32063
+ Content-Type: text/html;
32064
+ charset=UTF-8
32065
+ Content-Transfer-Encoding: 7bit
32066
+
32067
+ <p>Hello valid@example.com!</p>
32068
+
32069
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
32070
+
32071
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=SezAkuRXebfHNm7zHWUJ">Change my password</a></p>
32072
+
32073
+ <p>If you didn't request this, please ignore this email.</p>
32074
+ <p>Your password won't change until you access the link above and create a new one.</p>
32075
+
32076
+ Redirected to http://test.host/users/login
32077
+ Completed 302 Found in 387ms (ActiveRecord: 0.0ms)
32078
+  (0.7ms) rollback transaction
32079
+  (0.0ms) begin transaction
32080
+ Processing by Contour::PasswordsController#new as HTML
32081
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.5ms)
32082
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
32083
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
32084
+ Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.0ms)
32085
+  (0.1ms) rollback transaction
32086
+  (0.1ms) begin transaction
32087
+  (0.1ms) rollback transaction
32088
+  (0.1ms) begin transaction
32089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32090
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32091
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32092
+
32093
+
32094
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32095
+ Processing by WelcomeController#logged_in_page as HTML
32096
+ Completed 401 Unauthorized in 1ms
32097
+  (0.1ms) SAVEPOINT active_record_1
32098
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32099
+ Binary data inserted for `string` type on column `encrypted_password`
32100
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 19:35: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$m2Jz3WDbf.Pk1v.ADMBGZOrKIxkKB73mB8bgJoumJY8PflPzCjKsG"], ["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, 03 May 2012 19:35:10 UTC +00:00]]
32101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32102
+  (0.0ms) SAVEPOINT active_record_1
32103
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32105
+  (0.0ms) SAVEPOINT active_record_1
32106
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 19:35:10.188043' WHERE "users"."id" = 999914116
32107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32108
+  (0.0ms) SAVEPOINT active_record_1
32109
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 19:35:10.189665' WHERE "users"."id" = 999914116
32110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32111
+
32112
+
32113
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32114
+ Processing by Contour::SessionsController#create as HTML
32115
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
32116
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32117
+  (0.1ms) SAVEPOINT active_record_1
32118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32119
+ Completed 401 Unauthorized in 16ms
32120
+
32121
+
32122
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32123
+ Processing by Contour::SessionsController#new as HTML
32124
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.2ms)
32125
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
32126
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
32127
+ Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)
32128
+  (0.7ms) rollback transaction
32129
+  (0.1ms) begin transaction
32130
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32131
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32132
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32133
+
32134
+
32135
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32136
+ Processing by WelcomeController#logged_in_page as HTML
32137
+ Completed 401 Unauthorized in 0ms
32138
+  (0.1ms) SAVEPOINT active_record_1
32139
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32140
+ Binary data inserted for `string` type on column `encrypted_password`
32141
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 19:35: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$njxAEam9I9XmAHRfu20Dnu60K/mU0SzlhhJBLxL6pFjqI9KVMK0.W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 19:35:10 UTC +00:00]]
32142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32143
+  (0.0ms) SAVEPOINT active_record_1
32144
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32146
+  (0.0ms) SAVEPOINT active_record_1
32147
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 19:35:10.279878' WHERE "users"."id" = 999914116
32148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32149
+  (0.0ms) SAVEPOINT active_record_1
32150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32151
+
32152
+
32153
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32154
+ Processing by Contour::SessionsController#create as HTML
32155
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
32156
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32157
+  (0.0ms) SAVEPOINT active_record_1
32158
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 19:35:10.289094', "current_sign_in_at" = '2012-05-03 19:35:10.289094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 19:35:10.289525' WHERE "users"."id" = 999914116
32159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32160
+ Redirected to http://www.example.com/logged_in_page
32161
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
32162
+
32163
+
32164
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32165
+ Processing by WelcomeController#logged_in_page as HTML
32166
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
32167
+ Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.1ms)
32168
+  (0.8ms) rollback transaction
32169
+  (0.1ms) begin transaction
32170
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32171
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32172
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32173
+
32174
+
32175
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32176
+ Processing by WelcomeController#logged_in_page as HTML
32177
+ Completed 401 Unauthorized in 0ms
32178
+  (0.1ms) SAVEPOINT active_record_1
32179
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32180
+ Binary data inserted for `string` type on column `encrypted_password`
32181
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 19:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$8UdeEWPIeBtVJAGmjaW6beEden2Eo5ByVejr5xHUp4lMzzR8F41PG"], ["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, 03 May 2012 19:35:10 UTC +00:00]]
32182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32183
+  (0.0ms) SAVEPOINT active_record_1
32184
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32186
+  (0.0ms) SAVEPOINT active_record_1
32187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32188
+  (0.0ms) SAVEPOINT active_record_1
32189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32190
+
32191
+
32192
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32193
+ Processing by Contour::SessionsController#create as HTML
32194
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
32195
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32196
+  (0.0ms) SAVEPOINT active_record_1
32197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32198
+ Completed 401 Unauthorized in 4ms
32199
+
32200
+
32201
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32202
+ Processing by Contour::SessionsController#new as HTML
32203
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.5ms)
32204
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
32205
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
32206
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
32207
+  (0.5ms) rollback transaction
32208
+  (0.1ms) begin transaction
32209
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32210
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32211
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32212
+
32213
+
32214
+ Started GET "/" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32215
+ Processing by WelcomeController#index as HTML
32216
+ Completed 401 Unauthorized in 1ms
32217
+  (0.1ms) rollback transaction
32218
+  (0.0ms) begin transaction
32219
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32220
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32221
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32222
+
32223
+
32224
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32225
+ Processing by WelcomeController#logged_in_page as JSON
32226
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32227
+  (0.1ms) SAVEPOINT active_record_1
32228
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 19:35:10.464536', "current_sign_in_at" = '2012-05-03 19:35:10.464536', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 19:35:10.465206' WHERE "users"."id" = 201799169
32229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32230
+ Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.5ms)
32231
+  (35.9ms) rollback transaction
32232
+  (0.1ms) begin transaction
32233
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32234
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32235
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32236
+
32237
+
32238
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 15:35:10 -0400
32239
+ Processing by WelcomeController#logged_in_page as JSON
32240
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32241
+ Completed 401 Unauthorized in 85ms
32242
+  (0.1ms) rollback transaction
32243
+  (0.1ms) begin transaction
32244
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32245
+  (0.1ms) rollback transaction
32246
+  (0.0ms) begin transaction
32247
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32248
+  (0.1ms) rollback transaction
32249
+  (0.1ms) begin transaction
32250
+ Fixture Delete (16.6ms) DELETE FROM "authentications"
32251
+ Fixture Insert (0.4ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 949717663, 201799169)
32252
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 876923740, 201799169)
32253
+ 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-03 20:03:57', '2012-05-03 20:03:57', 864673665, 201799169)
32254
+ Fixture Delete (1.0ms) DELETE FROM "users"
32255
+ 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-03 20:03:57', '2012-05-03 20:03:57', 201799169)
32256
+ 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-03 20:03:57', '2012-05-03 20:03:57', 999914115)
32257
+ 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-03 20:03:57', '2012-05-03 20:03:57', 725306934)
32258
+ 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-03 20:03:57', '2012-05-03 20:03:57', 349534908)
32259
+  (1.4ms) commit transaction
32260
+  (0.0ms) begin transaction
32261
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
32262
+  (0.1ms) rollback transaction
32263
+  (0.0ms) begin transaction
32264
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32265
+  (0.0ms) rollback transaction
32266
+  (0.1ms) begin transaction
32267
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32268
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32269
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32270
+ Processing by Contour::AuthenticationsController#create as HTML
32271
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 20:03:57 UTC", "updated_at"=>"2012-05-03 20:03:57 UTC"}}
32272
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
32273
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32274
+ Logged in user found, creating associated authentication.
32275
+  (0.1ms) SAVEPOINT active_record_1
32276
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:03:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 20:03:57 UTC +00:00], ["user_id", 201799169]]
32277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32278
+ Redirected to http://test.host/authentications
32279
+ Completed 302 Found in 83ms (ActiveRecord: 1.1ms)
32280
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32281
+  (0.6ms) rollback transaction
32282
+  (0.2ms) begin transaction
32283
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32284
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32285
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32286
+ Processing by Contour::AuthenticationsController#destroy as HTML
32287
+ Parameters: {"id"=>"949717663"}
32288
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32289
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
32290
+  (0.0ms) SAVEPOINT active_record_1
32291
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
32292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32293
+ Redirected to http://test.host/authentications
32294
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
32295
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32296
+  (0.5ms) rollback transaction
32297
+  (0.1ms) begin transaction
32298
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32299
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32300
+ Processing by Contour::AuthenticationsController#index as HTML
32301
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32302
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
32303
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
32304
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
32305
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
32306
+ Completed 200 OK in 170ms (Views: 167.9ms | ActiveRecord: 0.4ms)
32307
+  (0.1ms) rollback transaction
32308
+  (0.1ms) begin transaction
32309
+ Processing by Contour::PasswordsController#create as HTML
32310
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
32311
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32312
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'PwerGqMZnNq95MSabnFz' LIMIT 1
32313
+  (0.1ms) SAVEPOINT active_record_1
32314
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'PwerGqMZnNq95MSabnFz', "reset_password_sent_at" = '2012-05-03 20:03:58.182431', "updated_at" = '2012-05-03 20:03:58.183428' WHERE "users"."id" = 201799169
32315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32316
+
32317
+ Sent mail to valid@example.com (101ms)
32318
+ Date: Thu, 03 May 2012 16:03:58 -0400
32319
+ From: please-change-me-at-config-initializers-devise@example.com
32320
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
32321
+ To: valid@example.com
32322
+ Message-ID: <4fa2e4ae654da_169363fc025034ce06861f@edge.mail>
32323
+ Subject: Reset password instructions
32324
+ Mime-Version: 1.0
32325
+ Content-Type: text/html;
32326
+ charset=UTF-8
32327
+ Content-Transfer-Encoding: 7bit
32328
+
32329
+ <p>Hello valid@example.com!</p>
32330
+
32331
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
32332
+
32333
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=PwerGqMZnNq95MSabnFz">Change my password</a></p>
32334
+
32335
+ <p>If you didn't request this, please ignore this email.</p>
32336
+ <p>Your password won't change until you access the link above and create a new one.</p>
32337
+
32338
+ Redirected to http://test.host/users/login
32339
+ Completed 302 Found in 334ms (ActiveRecord: 0.0ms)
32340
+  (0.5ms) rollback transaction
32341
+  (0.0ms) begin transaction
32342
+ Processing by Contour::PasswordsController#new as HTML
32343
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.6ms)
32344
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms)
32345
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms)
32346
+ Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.0ms)
32347
+  (0.1ms) rollback transaction
32348
+  (0.0ms) begin transaction
32349
+  (0.0ms) rollback transaction
32350
+  (0.1ms) begin transaction
32351
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32352
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32353
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32354
+
32355
+
32356
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32357
+ Processing by WelcomeController#logged_in_page as HTML
32358
+ Completed 401 Unauthorized in 1ms
32359
+  (0.1ms) SAVEPOINT active_record_1
32360
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32361
+ Binary data inserted for `string` type on column `encrypted_password`
32362
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:03: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$Ba2Z6zZZ9g35IxLcNoB8X.7tnBkspXXmOFE9wjP8m3avzheHdQpNu"], ["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, 03 May 2012 20:03:58 UTC +00:00]]
32363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32364
+  (0.0ms) SAVEPOINT active_record_1
32365
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32367
+  (0.1ms) SAVEPOINT active_record_1
32368
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:03:58.704044' WHERE "users"."id" = 999914116
32369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32370
+  (0.0ms) SAVEPOINT active_record_1
32371
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 20:03:58.705786' WHERE "users"."id" = 999914116
32372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32373
+
32374
+
32375
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32376
+ Processing by Contour::SessionsController#create as HTML
32377
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
32378
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32379
+  (0.1ms) SAVEPOINT active_record_1
32380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32381
+ Completed 401 Unauthorized in 15ms
32382
+
32383
+
32384
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32385
+ Processing by Contour::SessionsController#new as HTML
32386
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.8ms)
32387
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
32388
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
32389
+ Completed 200 OK in 31ms (Views: 29.6ms | ActiveRecord: 0.0ms)
32390
+  (0.6ms) rollback transaction
32391
+  (0.1ms) begin transaction
32392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32393
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32394
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32395
+
32396
+
32397
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32398
+ Processing by WelcomeController#logged_in_page as HTML
32399
+ Completed 401 Unauthorized in 0ms
32400
+  (0.1ms) SAVEPOINT active_record_1
32401
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32402
+ Binary data inserted for `string` type on column `encrypted_password`
32403
+ SQL (0.4ms) 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, 03 May 2012 20:03: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$sfwCPbfLGH33fggIhHIBCuoieD3kGqBSXV5tyCaWDYyWH0x.kSfuq"], ["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, 03 May 2012 20:03:58 UTC +00:00]]
32404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32405
+  (0.0ms) SAVEPOINT active_record_1
32406
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32408
+  (0.0ms) SAVEPOINT active_record_1
32409
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:03:58.781615' WHERE "users"."id" = 999914116
32410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32411
+  (0.0ms) SAVEPOINT active_record_1
32412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32413
+
32414
+
32415
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32416
+ Processing by Contour::SessionsController#create as HTML
32417
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
32418
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32419
+  (0.0ms) SAVEPOINT active_record_1
32420
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:03:58.790466', "current_sign_in_at" = '2012-05-03 20:03:58.790466', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:03:58.790890' WHERE "users"."id" = 999914116
32421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32422
+ Redirected to http://www.example.com/logged_in_page
32423
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
32424
+
32425
+
32426
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32427
+ Processing by WelcomeController#logged_in_page as HTML
32428
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
32429
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.1ms)
32430
+  (19.1ms) rollback transaction
32431
+  (0.1ms) begin transaction
32432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32433
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32434
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32435
+
32436
+
32437
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32438
+ Processing by WelcomeController#logged_in_page as HTML
32439
+ Completed 401 Unauthorized in 0ms
32440
+  (0.1ms) SAVEPOINT active_record_1
32441
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32442
+ Binary data inserted for `string` type on column `encrypted_password`
32443
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:03: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$eTuqWbTFiyUBkefT8rAM6e8zxIl3PwdJ3mPTqegsCsnq3EOVrP.Hy"], ["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, 03 May 2012 20:03:58 UTC +00:00]]
32444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32445
+  (0.0ms) SAVEPOINT active_record_1
32446
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32448
+  (0.0ms) SAVEPOINT active_record_1
32449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32450
+  (0.0ms) SAVEPOINT active_record_1
32451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32452
+
32453
+
32454
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32455
+ Processing by Contour::SessionsController#create as HTML
32456
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
32457
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32458
+  (0.1ms) SAVEPOINT active_record_1
32459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32460
+ Completed 401 Unauthorized in 5ms
32461
+
32462
+
32463
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32464
+ Processing by Contour::SessionsController#new as HTML
32465
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.4ms)
32466
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
32467
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
32468
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
32469
+  (0.8ms) rollback transaction
32470
+  (0.1ms) begin transaction
32471
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32472
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32473
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32474
+
32475
+
32476
+ Started GET "/" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32477
+ Processing by WelcomeController#index as HTML
32478
+ Completed 401 Unauthorized in 1ms
32479
+  (0.1ms) rollback transaction
32480
+  (0.0ms) begin transaction
32481
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32482
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32483
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32484
+
32485
+
32486
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:03:58 -0400
32487
+ Processing by WelcomeController#logged_in_page as JSON
32488
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32489
+  (0.1ms) SAVEPOINT active_record_1
32490
+  (7.5ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:03:58.969619', "current_sign_in_at" = '2012-05-03 20:03:58.969619', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:03:58.970512' WHERE "users"."id" = 201799169
32491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32492
+ Completed 200 OK in 94ms (Views: 0.3ms | ActiveRecord: 7.8ms)
32493
+  (14.7ms) rollback transaction
32494
+  (0.1ms) begin transaction
32495
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32497
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32498
+
32499
+
32500
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:03:59 -0400
32501
+ Processing by WelcomeController#logged_in_page as JSON
32502
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32503
+ Completed 401 Unauthorized in 117ms
32504
+  (0.1ms) rollback transaction
32505
+  (0.1ms) begin transaction
32506
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32507
+  (0.1ms) rollback transaction
32508
+  (0.0ms) begin transaction
32509
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32510
+  (0.0ms) rollback transaction
32511
+  (0.1ms) begin transaction
32512
+ Fixture Delete (8.6ms) DELETE FROM "authentications"
32513
+ 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-03 20:19:03', '2012-05-03 20:19:03', 949717663, 201799169)
32514
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 876923740, 201799169)
32515
+ 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-03 20:19:03', '2012-05-03 20:19:03', 864673665, 201799169)
32516
+ Fixture Delete (0.2ms) DELETE FROM "users"
32517
+ 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-03 20:19:03', '2012-05-03 20:19:03', 201799169)
32518
+ 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-03 20:19:03', '2012-05-03 20:19:03', 999914115)
32519
+ 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-03 20:19:03', '2012-05-03 20:19:03', 725306934)
32520
+ 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-03 20:19:03', '2012-05-03 20:19:03', 349534908)
32521
+  (53.0ms) commit transaction
32522
+  (0.1ms) begin transaction
32523
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
32524
+  (0.1ms) rollback transaction
32525
+  (0.1ms) begin transaction
32526
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32527
+  (0.1ms) rollback transaction
32528
+  (0.1ms) begin transaction
32529
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32530
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32531
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32532
+ Processing by Contour::AuthenticationsController#create as HTML
32533
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 20:19:03 UTC", "updated_at"=>"2012-05-03 20:19:03 UTC"}}
32534
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
32535
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32536
+ Logged in user found, creating associated authentication.
32537
+  (0.1ms) SAVEPOINT active_record_1
32538
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:19:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 20:19:03 UTC +00:00], ["user_id", 201799169]]
32539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32540
+ Redirected to http://test.host/authentications
32541
+ Completed 302 Found in 74ms (ActiveRecord: 1.2ms)
32542
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32543
+  (29.7ms) rollback transaction
32544
+  (0.1ms) begin transaction
32545
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32546
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32547
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32548
+ Processing by Contour::AuthenticationsController#destroy as HTML
32549
+ Parameters: {"id"=>"949717663"}
32550
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32551
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
32552
+  (0.1ms) SAVEPOINT active_record_1
32553
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
32554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32555
+ Redirected to http://test.host/authentications
32556
+ Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
32557
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32558
+  (29.9ms) rollback transaction
32559
+  (0.1ms) begin transaction
32560
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32561
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32562
+ Processing by Contour::AuthenticationsController#index as HTML
32563
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32564
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
32565
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
32566
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
32567
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
32568
+ Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.5ms)
32569
+  (0.1ms) rollback transaction
32570
+  (0.1ms) begin transaction
32571
+ Processing by Contour::PasswordsController#create as HTML
32572
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
32573
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32574
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'uv8FMiefczqBVsTSSD79' LIMIT 1
32575
+  (0.0ms) SAVEPOINT active_record_1
32576
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'uv8FMiefczqBVsTSSD79', "reset_password_sent_at" = '2012-05-03 20:19:03.998623', "updated_at" = '2012-05-03 20:19:03.999474' WHERE "users"."id" = 201799169
32577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32578
+
32579
+ Sent mail to valid@example.com (53ms)
32580
+ Date: Thu, 03 May 2012 16:19:04 -0400
32581
+ From: please-change-me-at-config-initializers-devise@example.com
32582
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
32583
+ To: valid@example.com
32584
+ Message-ID: <4fa2e838292be_16b193ff9e1034ce02447b@edge.mail>
32585
+ Subject: Reset password instructions
32586
+ Mime-Version: 1.0
32587
+ Content-Type: text/html;
32588
+ charset=UTF-8
32589
+ Content-Transfer-Encoding: 7bit
32590
+
32591
+ <p>Hello valid@example.com!</p>
32592
+
32593
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
32594
+
32595
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=uv8FMiefczqBVsTSSD79">Change my password</a></p>
32596
+
32597
+ <p>If you didn't request this, please ignore this email.</p>
32598
+ <p>Your password won't change until you access the link above and create a new one.</p>
32599
+
32600
+ Redirected to http://test.host/users/login
32601
+ Completed 302 Found in 224ms (ActiveRecord: 0.0ms)
32602
+  (7.4ms) rollback transaction
32603
+  (0.1ms) begin transaction
32604
+ Processing by Contour::PasswordsController#new as HTML
32605
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.8ms)
32606
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
32607
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms)
32608
+ Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms)
32609
+  (0.1ms) rollback transaction
32610
+  (0.1ms) begin transaction
32611
+  (0.1ms) rollback transaction
32612
+  (0.1ms) begin transaction
32613
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32615
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32616
+
32617
+
32618
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32619
+ Processing by WelcomeController#logged_in_page as HTML
32620
+ Completed 401 Unauthorized in 1ms
32621
+  (0.1ms) SAVEPOINT active_record_1
32622
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32623
+ Binary data inserted for `string` type on column `encrypted_password`
32624
+ 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, 03 May 2012 20:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$iC3dvAM2v0neWPVISI2RsuyCK9UlFoN9nrlQqaGUu8SjX5HFz3plK"], ["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, 03 May 2012 20:19:04 UTC +00:00]]
32625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32626
+  (0.0ms) SAVEPOINT active_record_1
32627
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32629
+  (0.0ms) SAVEPOINT active_record_1
32630
+  (67.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:19:04.390709' WHERE "users"."id" = 999914116
32631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32632
+  (0.0ms) SAVEPOINT active_record_1
32633
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 20:19:04.459983' WHERE "users"."id" = 999914116
32634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32635
+
32636
+
32637
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32638
+ Processing by Contour::SessionsController#create as HTML
32639
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
32640
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32641
+  (0.1ms) SAVEPOINT active_record_1
32642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32643
+ Completed 401 Unauthorized in 49ms
32644
+
32645
+
32646
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32647
+ Processing by Contour::SessionsController#new as HTML
32648
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.2ms)
32649
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
32650
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms)
32651
+ Completed 200 OK in 39ms (Views: 37.8ms | ActiveRecord: 0.0ms)
32652
+  (44.9ms) rollback transaction
32653
+  (0.1ms) begin transaction
32654
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32656
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32657
+
32658
+
32659
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32660
+ Processing by WelcomeController#logged_in_page as HTML
32661
+ Completed 401 Unauthorized in 0ms
32662
+  (0.1ms) SAVEPOINT active_record_1
32663
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32664
+ Binary data inserted for `string` type on column `encrypted_password`
32665
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RNvSWHiVKyqJG3lo47Dj.uhpw2c3PsLcmk910SqbZuME.fHb6/WN6"], ["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, 03 May 2012 20:19:04 UTC +00:00]]
32666
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32667
+  (0.0ms) SAVEPOINT active_record_1
32668
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32670
+  (0.0ms) SAVEPOINT active_record_1
32671
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:19:04.632796' WHERE "users"."id" = 999914116
32672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32673
+  (0.0ms) SAVEPOINT active_record_1
32674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32675
+
32676
+
32677
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32678
+ Processing by Contour::SessionsController#create as HTML
32679
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
32680
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32681
+  (0.1ms) SAVEPOINT active_record_1
32682
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:19:04.643039', "current_sign_in_at" = '2012-05-03 20:19:04.643039', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:19:04.643655' WHERE "users"."id" = 999914116
32683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32684
+ Redirected to http://www.example.com/logged_in_page
32685
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
32686
+
32687
+
32688
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32689
+ Processing by WelcomeController#logged_in_page as HTML
32690
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
32691
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
32692
+  (0.6ms) rollback transaction
32693
+  (0.1ms) begin transaction
32694
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32695
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32696
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32697
+
32698
+
32699
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32700
+ Processing by WelcomeController#logged_in_page as HTML
32701
+ Completed 401 Unauthorized in 0ms
32702
+  (0.1ms) SAVEPOINT active_record_1
32703
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32704
+ Binary data inserted for `string` type on column `encrypted_password`
32705
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ap68TgGs46Gn2TfdTedeF.pGbb4Qo7MU.OrUCIZOlsSZ4j91jJP.y"], ["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, 03 May 2012 20:19:04 UTC +00:00]]
32706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32707
+  (0.0ms) SAVEPOINT active_record_1
32708
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32710
+  (0.0ms) SAVEPOINT active_record_1
32711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32712
+  (0.0ms) SAVEPOINT active_record_1
32713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32714
+
32715
+
32716
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32717
+ Processing by Contour::SessionsController#create as HTML
32718
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
32719
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32720
+  (0.0ms) SAVEPOINT active_record_1
32721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32722
+ Completed 401 Unauthorized in 4ms
32723
+
32724
+
32725
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32726
+ Processing by Contour::SessionsController#new as HTML
32727
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
32728
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
32729
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
32730
+ Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)
32731
+  (14.9ms) rollback transaction
32732
+  (0.1ms) begin transaction
32733
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32734
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32735
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32736
+
32737
+
32738
+ Started GET "/" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32739
+ Processing by WelcomeController#index as HTML
32740
+ Completed 401 Unauthorized in 1ms
32741
+  (0.1ms) rollback transaction
32742
+  (0.1ms) begin transaction
32743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32744
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32745
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32746
+
32747
+
32748
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32749
+ Processing by WelcomeController#logged_in_page as JSON
32750
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32751
+  (0.1ms) SAVEPOINT active_record_1
32752
+  (9.4ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:19:04.830231', "current_sign_in_at" = '2012-05-03 20:19:04.830231', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:19:04.873149' WHERE "users"."id" = 201799169
32753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32754
+ Completed 200 OK in 142ms (Views: 0.3ms | ActiveRecord: 9.8ms)
32755
+  (9.0ms) rollback transaction
32756
+  (0.1ms) begin transaction
32757
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32758
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32759
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32760
+
32761
+
32762
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:19:04 -0400
32763
+ Processing by WelcomeController#logged_in_page as JSON
32764
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32765
+ Completed 401 Unauthorized in 85ms
32766
+  (0.1ms) rollback transaction
32767
+  (0.1ms) begin transaction
32768
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32769
+  (0.1ms) rollback transaction
32770
+  (0.1ms) begin transaction
32771
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32772
+  (0.1ms) rollback transaction
32773
+  (0.1ms) begin transaction
32774
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
32775
+ 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-03 20:42:12', '2012-05-03 20:42:12', 949717663, 201799169)
32776
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 876923740, 201799169)
32777
+ 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-03 20:42:12', '2012-05-03 20:42:12', 864673665, 201799169)
32778
+ Fixture Delete (0.1ms) DELETE FROM "users"
32779
+ 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-03 20:42:12', '2012-05-03 20:42:12', 201799169)
32780
+ 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-03 20:42:12', '2012-05-03 20:42:12', 999914115)
32781
+ 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-03 20:42:12', '2012-05-03 20:42:12', 725306934)
32782
+ 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-03 20:42:12', '2012-05-03 20:42:12', 349534908)
32783
+  (1.3ms) commit transaction
32784
+  (0.0ms) begin transaction
32785
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
32786
+  (0.1ms) rollback transaction
32787
+  (0.0ms) begin transaction
32788
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32789
+  (0.0ms) rollback transaction
32790
+  (0.1ms) begin transaction
32791
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32792
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32793
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32794
+ Processing by Contour::AuthenticationsController#create as HTML
32795
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 20:42:12 UTC", "updated_at"=>"2012-05-03 20:42:12 UTC"}}
32796
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
32797
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32798
+ Logged in user found, creating associated authentication.
32799
+  (0.1ms) SAVEPOINT active_record_1
32800
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["user_id", 201799169]]
32801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32802
+ Redirected to http://test.host/authentications
32803
+ Completed 302 Found in 23ms (ActiveRecord: 0.8ms)
32804
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
32805
+  (0.9ms) rollback transaction
32806
+  (0.0ms) begin transaction
32807
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32808
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32809
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32810
+ Processing by Contour::AuthenticationsController#destroy as HTML
32811
+ Parameters: {"id"=>"949717663"}
32812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32813
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
32814
+  (0.0ms) SAVEPOINT active_record_1
32815
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
32816
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32817
+ Redirected to http://test.host/authentications
32818
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
32819
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
32820
+  (0.7ms) rollback transaction
32821
+  (0.0ms) begin transaction
32822
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32823
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
32824
+ Processing by Contour::AuthenticationsController#index as HTML
32825
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
32826
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
32827
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
32828
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
32829
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
32830
+ Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.3ms)
32831
+  (0.1ms) rollback transaction
32832
+  (0.1ms) begin transaction
32833
+ Processing by Contour::PasswordsController#create as HTML
32834
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
32835
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
32836
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ASDt3XhBWrsRx1yi7MZG' LIMIT 1
32837
+  (0.0ms) SAVEPOINT active_record_1
32838
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'ASDt3XhBWrsRx1yi7MZG', "reset_password_sent_at" = '2012-05-03 20:42:13.187256', "updated_at" = '2012-05-03 20:42:13.188017' WHERE "users"."id" = 201799169
32839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32840
+
32841
+ Sent mail to valid@example.com (45ms)
32842
+ Date: Thu, 03 May 2012 16:42:13 -0400
32843
+ From: please-change-me-at-config-initializers-devise@example.com
32844
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
32845
+ To: valid@example.com
32846
+ Message-ID: <4fa2eda53e20c_16c9f3fcb40834cd0707c@edge.mail>
32847
+ Subject: Reset password instructions
32848
+ Mime-Version: 1.0
32849
+ Content-Type: text/html;
32850
+ charset=UTF-8
32851
+ Content-Transfer-Encoding: 7bit
32852
+
32853
+ <p>Hello valid@example.com!</p>
32854
+
32855
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
32856
+
32857
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=ASDt3XhBWrsRx1yi7MZG">Change my password</a></p>
32858
+
32859
+ <p>If you didn't request this, please ignore this email.</p>
32860
+ <p>Your password won't change until you access the link above and create a new one.</p>
32861
+
32862
+ Redirected to http://test.host/users/login
32863
+ Completed 302 Found in 118ms (ActiveRecord: 0.0ms)
32864
+  (5.6ms) rollback transaction
32865
+  (0.1ms) begin transaction
32866
+ Processing by Contour::PasswordsController#new as HTML
32867
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms)
32868
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.0ms)
32869
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms)
32870
+ Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.0ms)
32871
+  (0.1ms) rollback transaction
32872
+  (0.1ms) begin transaction
32873
+  (0.0ms) rollback transaction
32874
+  (0.1ms) begin transaction
32875
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32876
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32877
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32878
+
32879
+
32880
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32881
+ Processing by WelcomeController#logged_in_page as HTML
32882
+ Completed 401 Unauthorized in 1ms
32883
+  (0.1ms) SAVEPOINT active_record_1
32884
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32885
+ Binary data inserted for `string` type on column `encrypted_password`
32886
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$O55HB5H5VdakyE7O4h1M0uLccai8Ib2D7mFrM4euUS6qloS2X.VO."], ["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, 03 May 2012 20:42:13 UTC +00:00]]
32887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32888
+  (0.1ms) SAVEPOINT active_record_1
32889
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32891
+  (0.0ms) SAVEPOINT active_record_1
32892
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:42:13.417786' WHERE "users"."id" = 999914116
32893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32894
+  (0.0ms) SAVEPOINT active_record_1
32895
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 20:42:13.419541' WHERE "users"."id" = 999914116
32896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32897
+
32898
+
32899
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32900
+ Processing by Contour::SessionsController#create as HTML
32901
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
32902
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
32903
+  (0.1ms) SAVEPOINT active_record_1
32904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32905
+ Completed 401 Unauthorized in 10ms
32906
+
32907
+
32908
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32909
+ Processing by Contour::SessionsController#new as HTML
32910
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
32911
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
32912
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
32913
+ Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.0ms)
32914
+  (20.2ms) rollback transaction
32915
+  (0.1ms) begin transaction
32916
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32917
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32918
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32919
+
32920
+
32921
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32922
+ Processing by WelcomeController#logged_in_page as HTML
32923
+ Completed 401 Unauthorized in 0ms
32924
+  (0.1ms) SAVEPOINT active_record_1
32925
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32926
+ Binary data inserted for `string` type on column `encrypted_password`
32927
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$9UXN2iLsv9ZNwkJ2N6/htOy6F3XnGgiuAUz8hw6Oeq2vJVF7sk8Jq"], ["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, 03 May 2012 20:42:13 UTC +00:00]]
32928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32929
+  (0.0ms) SAVEPOINT active_record_1
32930
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32932
+  (0.0ms) SAVEPOINT active_record_1
32933
+  (25.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:42:13.505523' WHERE "users"."id" = 999914116
32934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32935
+  (0.0ms) SAVEPOINT active_record_1
32936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32937
+
32938
+
32939
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32940
+ Processing by Contour::SessionsController#create as HTML
32941
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
32942
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
32943
+  (0.0ms) SAVEPOINT active_record_1
32944
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:42:13.540482', "current_sign_in_at" = '2012-05-03 20:42:13.540482', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:42:13.540895' WHERE "users"."id" = 999914116
32945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32946
+ Redirected to http://www.example.com/logged_in_page
32947
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
32948
+
32949
+
32950
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32951
+ Processing by WelcomeController#logged_in_page as HTML
32952
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
32953
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
32954
+  (0.6ms) rollback transaction
32955
+  (0.1ms) begin transaction
32956
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32957
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32958
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32959
+
32960
+
32961
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32962
+ Processing by WelcomeController#logged_in_page as HTML
32963
+ Completed 401 Unauthorized in 0ms
32964
+  (0.1ms) SAVEPOINT active_record_1
32965
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32966
+ Binary data inserted for `string` type on column `encrypted_password`
32967
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$.Re4Re4S.U.wVc.L3a4D8Oa9iD8zmJii.4LsM5GhskJGyxMKjlYQi"], ["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, 03 May 2012 20:42:13 UTC +00:00]]
32968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32969
+  (0.0ms) SAVEPOINT active_record_1
32970
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
32971
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32972
+  (0.0ms) SAVEPOINT active_record_1
32973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32974
+  (0.1ms) SAVEPOINT active_record_1
32975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32976
+
32977
+
32978
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32979
+ Processing by Contour::SessionsController#create as HTML
32980
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
32981
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
32982
+  (0.1ms) SAVEPOINT active_record_1
32983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32984
+ Completed 401 Unauthorized in 5ms
32985
+
32986
+
32987
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
32988
+ Processing by Contour::SessionsController#new as HTML
32989
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
32990
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
32991
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
32992
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
32993
+  (0.6ms) rollback transaction
32994
+  (0.1ms) begin transaction
32995
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
32996
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
32997
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
32998
+
32999
+
33000
+ Started GET "/" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
33001
+ Processing by WelcomeController#index as HTML
33002
+ Completed 401 Unauthorized in 1ms
33003
+  (0.1ms) rollback transaction
33004
+  (0.1ms) begin transaction
33005
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33006
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33007
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33008
+
33009
+
33010
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
33011
+ Processing by WelcomeController#logged_in_page as JSON
33012
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33013
+  (0.1ms) SAVEPOINT active_record_1
33014
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:42:13.731666', "current_sign_in_at" = '2012-05-03 20:42:13.731666', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:42:13.732296' WHERE "users"."id" = 201799169
33015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33016
+ Completed 200 OK in 114ms (Views: 0.2ms | ActiveRecord: 0.5ms)
33017
+  (0.7ms) rollback transaction
33018
+  (0.0ms) begin transaction
33019
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33021
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33022
+
33023
+
33024
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:42:13 -0400
33025
+ Processing by WelcomeController#logged_in_page as JSON
33026
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33027
+ Completed 401 Unauthorized in 84ms
33028
+  (0.1ms) rollback transaction
33029
+  (0.0ms) begin transaction
33030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33031
+  (0.1ms) rollback transaction
33032
+  (0.1ms) begin transaction
33033
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33034
+  (0.0ms) rollback transaction