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