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