contour 1.1.1 → 1.1.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +11 -0
- data/app/assets/images/twitter-bootstrap/v2.2.1/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter-bootstrap/v2.2.1/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/contour.js +3 -3
- data/app/assets/javascripts/external/{exporting-2.1.9.src.js → exporting-2.3.3.src.js} +736 -758
- data/app/assets/javascripts/external/highcharts-2.3.3.src.js +15111 -0
- data/app/assets/javascripts/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap.js +105 -107
- data/app/assets/stylesheets/bootstrap-base-overrides.css +6 -6
- data/app/assets/stylesheets/contour.css +2 -2
- data/app/assets/stylesheets/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap-responsive.css +33 -3
- data/app/assets/stylesheets/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap.css +377 -258
- data/app/views/contour/layouts/_per_page.html.erb +1 -1
- data/app/views/kaminari/contour-large/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour-large/_gap.html.erb +8 -0
- data/app/views/kaminari/contour-large/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour-large/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour-large/_page.html.erb +12 -0
- data/app/views/kaminari/contour-large/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour-large/_prev_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_gap.html.erb +8 -0
- data/app/views/kaminari/contour-mini/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_page.html.erb +12 -0
- data/app/views/kaminari/contour-mini/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour-mini/_prev_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_gap.html.erb +8 -0
- data/app/views/kaminari/contour-small/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_page.html.erb +12 -0
- data/app/views/kaminari/contour-small/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour-small/_prev_page.html.erb +11 -0
- data/app/views/kaminari/contour/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour/_gap.html.erb +8 -0
- data/app/views/kaminari/contour/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour/_page.html.erb +12 -0
- data/app/views/kaminari/contour/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour/_prev_page.html.erb +11 -0
- data/contour.gemspec +4 -4
- data/lib/contour/version.rb +2 -2
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +714 -0
- metadata +48 -18
- data/app/assets/javascripts/external/highcharts-2.1.9.src.js +0 -11454
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -47320,3 +47320,717 @@ Completed 401 Unauthorized in 79ms
|
|
47320
47320
|
[1m[35m (0.1ms)[0m begin transaction
|
47321
47321
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47322
47322
|
[1m[35m (0.0ms)[0m rollback transaction
|
47323
|
+
Connecting to database specified by database.yml
|
47324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47325
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications"
|
47326
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 949717663, 201799169)[0m
|
47327
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 876923740, 201799169)
|
47328
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 864673665, 201799169)[0m
|
47329
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
47330
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 201799169)[0m
|
47331
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 999914115)
|
47332
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 725306934)[0m
|
47333
|
+
[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-12-05 18:14:28', '2012-12-05 18:14:28', 349534908)
|
47334
|
+
[1m[36m (24.9ms)[0m [1mcommit transaction[0m
|
47335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47336
|
+
[1m[36mAuthentication Load (35.6ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
47337
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47338
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47339
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47340
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47342
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47343
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47344
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
47345
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
47346
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 18:14:28 UTC", "updated_at"=>"2012-12-05 18:14:28 UTC"}}
|
47347
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
47348
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47349
|
+
Logged in user found, creating associated authentication.
|
47350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47351
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["user_id", 201799169]]
|
47352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47353
|
+
Redirected to http://test.host/authentications
|
47354
|
+
Completed 302 Found in 102ms (ActiveRecord: 1.2ms)
|
47355
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
47356
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
47357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47358
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47359
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
47360
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
47361
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
47362
|
+
Parameters: {"id"=>"949717663"}
|
47363
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47364
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
47365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47366
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
47367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47368
|
+
Redirected to http://test.host/authentications
|
47369
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
47370
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
47371
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
47372
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47373
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47374
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47375
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
47376
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47377
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
47378
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
47379
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.2ms)
|
47380
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
|
47381
|
+
Completed 200 OK in 59ms (Views: 56.0ms | ActiveRecord: 0.5ms)
|
47382
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47384
|
+
Processing by Contour::PasswordsController#create as HTML
|
47385
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
47386
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
47387
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jyfqbvNkprQom4WWfnex' LIMIT 1[0m
|
47388
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47389
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'jyfqbvNkprQom4WWfnex', "reset_password_sent_at" = '2012-12-05 18:14:29.210600', "updated_at" = '2012-12-05 18:14:29.212486' WHERE "users"."id" = 201799169[0m
|
47390
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47391
|
+
|
47392
|
+
Sent mail to valid@example.com (84ms)
|
47393
|
+
Date: Wed, 05 Dec 2012 13:14:29 -0500
|
47394
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
47395
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
47396
|
+
To: valid@example.com
|
47397
|
+
Message-ID: <50bf8f0562f58_9f9e3ff0e1c35ad49335@edge2.partners.org.mail>
|
47398
|
+
Subject: Reset password instructions
|
47399
|
+
Mime-Version: 1.0
|
47400
|
+
Content-Type: text/html;
|
47401
|
+
charset=UTF-8
|
47402
|
+
Content-Transfer-Encoding: 7bit
|
47403
|
+
|
47404
|
+
<p>Hello valid@example.com!</p>
|
47405
|
+
|
47406
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
47407
|
+
|
47408
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=jyfqbvNkprQom4WWfnex">Change my password</a></p>
|
47409
|
+
|
47410
|
+
<p>If you didn't request this, please ignore this email.</p>
|
47411
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
47412
|
+
|
47413
|
+
Redirected to http://test.host/users/login
|
47414
|
+
Completed 302 Found in 310ms (ActiveRecord: 0.0ms)
|
47415
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
47416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47417
|
+
Processing by Contour::PasswordsController#new as HTML
|
47418
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms)
|
47419
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms)
|
47420
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.9ms)
|
47421
|
+
Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms)
|
47422
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47423
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47424
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47426
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47427
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47428
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47429
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47430
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47431
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47432
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47433
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47434
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47435
|
+
Completed 401 Unauthorized in 1ms
|
47436
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47437
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
47438
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47439
|
+
[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", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JMHXs/84yV9ouxOeWizHe.XmgEB7HuOzR9Jbx4JecVi7vmrIMatMa"], ["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, 05 Dec 2012 18:14:29 UTC +00:00]]
|
47440
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47441
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47442
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
47443
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47444
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
47445
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
47446
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47447
|
+
Processing by Contour::SessionsController#create as HTML
|
47448
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
47449
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
47450
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47452
|
+
Completed 401 Unauthorized in 57ms
|
47453
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47454
|
+
Processing by Contour::SessionsController#new as HTML
|
47455
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
|
47456
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms)
|
47457
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
47458
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
47459
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms)
|
47460
|
+
Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.0ms)
|
47461
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
47462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47463
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47464
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47465
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47466
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47467
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47468
|
+
Completed 401 Unauthorized in 1ms
|
47469
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47470
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
47471
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47472
|
+
[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, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iUdFuPnelGaa3G7D/1A.leNgBzIuoYhpJuKpaUbM2ViFQIUAp1lKe"], ["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, 05 Dec 2012 18:14:29 UTC +00:00]]
|
47473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
47475
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
47476
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47477
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
47478
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
47479
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47480
|
+
Processing by Contour::SessionsController#create as HTML
|
47481
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
47482
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
47483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47484
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 18:14:29.825656', "current_sign_in_at" = '2012-12-05 18:14:29.825656', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 18:14:29.826751' WHERE "users"."id" = 999914116
|
47485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47486
|
+
Redirected to http://www.example.com/logged_in_page
|
47487
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
|
47488
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47489
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47490
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
47491
|
+
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
47492
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
47493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47494
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47495
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47496
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47497
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47498
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47499
|
+
Completed 401 Unauthorized in 1ms
|
47500
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47501
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
47502
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47503
|
+
[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, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nbRGKdGteTvVmogFTdyYHOHNEhAoXM7rJYC4x7V1XQ5zOfR1fbqlC"], ["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, 05 Dec 2012 18:14:29 UTC +00:00]]
|
47504
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47505
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47506
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
47507
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47508
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
47509
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
47510
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47511
|
+
Processing by Contour::SessionsController#create as HTML
|
47512
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
47513
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
47514
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47515
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47516
|
+
Completed 401 Unauthorized in 10ms
|
47517
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47518
|
+
Processing by Contour::SessionsController#new as HTML
|
47519
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
47520
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms)
|
47521
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
47522
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
47523
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms)
|
47524
|
+
Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.0ms)
|
47525
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
47526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47527
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47528
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47529
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47530
|
+
Started GET "/" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47531
|
+
Processing by WelcomeController#index as HTML
|
47532
|
+
Completed 401 Unauthorized in 1ms
|
47533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47536
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47537
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47538
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 13:14:29 -0500
|
47539
|
+
Processing by WelcomeController#logged_in_page as JSON
|
47540
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
47541
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47542
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 18:14:30.261740', "current_sign_in_at" = '2012-12-05 18:14:30.261740', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 18:14:30.263220' WHERE "users"."id" = 201799169
|
47543
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47544
|
+
Completed 200 OK in 307ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
47545
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
47546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47547
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47548
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47549
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47550
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 13:14:30 -0500
|
47551
|
+
Processing by WelcomeController#logged_in_page as JSON
|
47552
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
47553
|
+
Completed 401 Unauthorized in 302ms
|
47554
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47556
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47559
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47560
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47561
|
+
Connecting to database specified by database.yml
|
47562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47563
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
47564
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 949717663, 201799169)[0m
|
47565
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 876923740, 201799169)
|
47566
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 864673665, 201799169)[0m
|
47567
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
47568
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 201799169)[0m
|
47569
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 999914115)
|
47570
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 725306934)[0m
|
47571
|
+
[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-12-05 19:07:53', '2012-12-05 19:07:53', 349534908)
|
47572
|
+
[1m[36m (19.9ms)[0m [1mcommit transaction[0m
|
47573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47574
|
+
[1m[36mAuthentication Load (2.8ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
47575
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47577
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47578
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47580
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47581
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47582
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
47583
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
47584
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 19:07:53 UTC", "updated_at"=>"2012-12-05 19:07:53 UTC"}}
|
47585
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
47586
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47587
|
+
Logged in user found, creating associated authentication.
|
47588
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47589
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 19:07:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 19:07:53 UTC +00:00], ["user_id", 201799169]]
|
47590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47591
|
+
Redirected to http://test.host/authentications
|
47592
|
+
Completed 302 Found in 100ms (ActiveRecord: 1.3ms)
|
47593
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
47594
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
47595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47596
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47597
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
47598
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications"
|
47599
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
47600
|
+
Parameters: {"id"=>"949717663"}
|
47601
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47602
|
+
[1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
47603
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47604
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
47605
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47606
|
+
Redirected to http://test.host/authentications
|
47607
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
|
47608
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
47609
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
47610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47611
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47612
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47613
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
47614
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47615
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
47616
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
47617
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.4ms)
|
47618
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms)
|
47619
|
+
Completed 200 OK in 67ms (Views: 63.8ms | ActiveRecord: 0.5ms)
|
47620
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47621
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47622
|
+
Processing by Contour::PasswordsController#create as HTML
|
47623
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
47624
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
47625
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kLy8L5oYZfaz4gyXu9Tx' LIMIT 1[0m
|
47626
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47627
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'kLy8L5oYZfaz4gyXu9Tx', "reset_password_sent_at" = '2012-12-05 19:07:54.068022', "updated_at" = '2012-12-05 19:07:54.071463' WHERE "users"."id" = 201799169[0m
|
47628
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47629
|
+
|
47630
|
+
Sent mail to valid@example.com (93ms)
|
47631
|
+
Date: Wed, 05 Dec 2012 14:07:54 -0500
|
47632
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
47633
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
47634
|
+
To: valid@example.com
|
47635
|
+
Message-ID: <50bf9b8a51a9b_a6f13fdfa2035ae029250@edge2.partners.org.mail>
|
47636
|
+
Subject: Reset password instructions
|
47637
|
+
Mime-Version: 1.0
|
47638
|
+
Content-Type: text/html;
|
47639
|
+
charset=UTF-8
|
47640
|
+
Content-Transfer-Encoding: 7bit
|
47641
|
+
|
47642
|
+
<p>Hello valid@example.com!</p>
|
47643
|
+
|
47644
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
47645
|
+
|
47646
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=kLy8L5oYZfaz4gyXu9Tx">Change my password</a></p>
|
47647
|
+
|
47648
|
+
<p>If you didn't request this, please ignore this email.</p>
|
47649
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
47650
|
+
|
47651
|
+
Redirected to http://test.host/users/login
|
47652
|
+
Completed 302 Found in 381ms (ActiveRecord: 0.0ms)
|
47653
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
47654
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47655
|
+
Processing by Contour::PasswordsController#new as HTML
|
47656
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.8ms)
|
47657
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.9ms)
|
47658
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.0ms)
|
47659
|
+
Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms)
|
47660
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47662
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47663
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47664
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47665
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47666
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47668
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47669
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47670
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47671
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47672
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47673
|
+
Completed 401 Unauthorized in 1ms
|
47674
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47675
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
47676
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47677
|
+
[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", Wed, 05 Dec 2012 19:07: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$Qo5w8KWfmrZIl.03nwX7zuoHnSKS..ou4nzWsCVFZdvYr1.RI0pji"], ["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, 05 Dec 2012 19:07:54 UTC +00:00]]
|
47678
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47679
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47680
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
47681
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47682
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
47683
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
47684
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47685
|
+
Processing by Contour::SessionsController#create as HTML
|
47686
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
47687
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
47688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47690
|
+
Completed 401 Unauthorized in 62ms
|
47691
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47692
|
+
Processing by Contour::SessionsController#new as HTML
|
47693
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
|
47694
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.9ms)
|
47695
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.8ms)
|
47696
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms)
|
47697
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.6ms)
|
47698
|
+
Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.0ms)
|
47699
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
47700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47701
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47702
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47703
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47704
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47705
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47706
|
+
Completed 401 Unauthorized in 1ms
|
47707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47708
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
47709
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47710
|
+
[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", Wed, 05 Dec 2012 19:07: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$r3vcdY5RO4iULpD9qSkyDeji2o9Rm5qc4GPGVUvtMG//LaLO3oxUm"], ["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, 05 Dec 2012 19:07:54 UTC +00:00]]
|
47711
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47713
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
47714
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47715
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
47716
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
47717
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47718
|
+
Processing by Contour::SessionsController#create as HTML
|
47719
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
47720
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
47721
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47722
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:07:54.803263', "current_sign_in_at" = '2012-12-05 19:07:54.803263', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:07:54.805060' WHERE "users"."id" = 999914116
|
47723
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47724
|
+
Redirected to http://www.example.com/logged_in_page
|
47725
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
|
47726
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47727
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47728
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
47729
|
+
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.2ms)
|
47730
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
47731
|
+
[1m[35m (0.2ms)[0m begin transaction
|
47732
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47733
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47734
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47735
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47736
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47737
|
+
Completed 401 Unauthorized in 1ms
|
47738
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47739
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
47740
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47741
|
+
[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, 05 Dec 2012 19:07: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$NjCur/AM4jt1hDF6Wo0/ne0P985omGabNygyXazE0IQkSbJcWHNAW"], ["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, 05 Dec 2012 19:07:54 UTC +00:00]]
|
47742
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47743
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47744
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
47745
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47746
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
47747
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
47748
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47749
|
+
Processing by Contour::SessionsController#create as HTML
|
47750
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
47751
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
47752
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47753
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47754
|
+
Completed 401 Unauthorized in 11ms
|
47755
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47756
|
+
Processing by Contour::SessionsController#new as HTML
|
47757
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
47758
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.0ms)
|
47759
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
47760
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
|
47761
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms)
|
47762
|
+
Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.0ms)
|
47763
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
47764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47765
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47766
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47767
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47768
|
+
Started GET "/" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47769
|
+
Processing by WelcomeController#index as HTML
|
47770
|
+
Completed 401 Unauthorized in 1ms
|
47771
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47773
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47774
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47775
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47776
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:07:54 -0500
|
47777
|
+
Processing by WelcomeController#logged_in_page as JSON
|
47778
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
47779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47780
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:07:55.281658', "current_sign_in_at" = '2012-12-05 19:07:55.281658', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:07:55.283424' WHERE "users"."id" = 201799169
|
47781
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47782
|
+
Completed 200 OK in 317ms (Views: 0.5ms | ActiveRecord: 0.8ms)
|
47783
|
+
[1m[35m (32.9ms)[0m rollback transaction
|
47784
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47785
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47786
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47787
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47788
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:07:55 -0500
|
47789
|
+
Processing by WelcomeController#logged_in_page as JSON
|
47790
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
47791
|
+
Completed 401 Unauthorized in 312ms
|
47792
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47794
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47797
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47798
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47799
|
+
Connecting to database specified by database.yml
|
47800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47801
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
47802
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 949717663, 201799169)[0m
|
47803
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 876923740, 201799169)
|
47804
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 864673665, 201799169)[0m
|
47805
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
47806
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 201799169)[0m
|
47807
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 999914115)
|
47808
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 725306934)[0m
|
47809
|
+
[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-12-05 19:10:08', '2012-12-05 19:10:08', 349534908)
|
47810
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
47811
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47812
|
+
[1m[36mAuthentication Load (3.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
47813
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47814
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47815
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47816
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47818
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47819
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47820
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
47821
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
47822
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 19:10:08 UTC", "updated_at"=>"2012-12-05 19:10:08 UTC"}}
|
47823
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
47824
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47825
|
+
Logged in user found, creating associated authentication.
|
47826
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47827
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 19:10:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 19:10:08 UTC +00:00], ["user_id", 201799169]]
|
47828
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47829
|
+
Redirected to http://test.host/authentications
|
47830
|
+
Completed 302 Found in 97ms (ActiveRecord: 1.4ms)
|
47831
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
47832
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
47833
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47834
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47835
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
47836
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
47837
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
47838
|
+
Parameters: {"id"=>"949717663"}
|
47839
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47840
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
47841
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47842
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
47843
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47844
|
+
Redirected to http://test.host/authentications
|
47845
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
47846
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
47847
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
47848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47849
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47850
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
47851
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
47852
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
47853
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
47854
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
47855
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.5ms)
|
47856
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.7ms)
|
47857
|
+
Completed 200 OK in 66ms (Views: 62.9ms | ActiveRecord: 0.5ms)
|
47858
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47860
|
+
Processing by Contour::PasswordsController#create as HTML
|
47861
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
47862
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
47863
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ixYAmyfHSpxyNtvytypN' LIMIT 1[0m
|
47864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47865
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ixYAmyfHSpxyNtvytypN', "reset_password_sent_at" = '2012-12-05 19:10:08.679311', "updated_at" = '2012-12-05 19:10:08.680848' WHERE "users"."id" = 201799169[0m
|
47866
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47867
|
+
|
47868
|
+
Sent mail to valid@example.com (88ms)
|
47869
|
+
Date: Wed, 05 Dec 2012 14:10:08 -0500
|
47870
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
47871
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
47872
|
+
To: valid@example.com
|
47873
|
+
Message-ID: <50bf9c10ccfa8_a7533ffa14c35ad428546@edge2.partners.org.mail>
|
47874
|
+
Subject: Reset password instructions
|
47875
|
+
Mime-Version: 1.0
|
47876
|
+
Content-Type: text/html;
|
47877
|
+
charset=UTF-8
|
47878
|
+
Content-Transfer-Encoding: 7bit
|
47879
|
+
|
47880
|
+
<p>Hello valid@example.com!</p>
|
47881
|
+
|
47882
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
47883
|
+
|
47884
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=ixYAmyfHSpxyNtvytypN">Change my password</a></p>
|
47885
|
+
|
47886
|
+
<p>If you didn't request this, please ignore this email.</p>
|
47887
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
47888
|
+
|
47889
|
+
Redirected to http://test.host/users/login
|
47890
|
+
Completed 302 Found in 254ms (ActiveRecord: 0.0ms)
|
47891
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
47892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47893
|
+
Processing by Contour::PasswordsController#new as HTML
|
47894
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.0ms)
|
47895
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.3ms)
|
47896
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.3ms)
|
47897
|
+
Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms)
|
47898
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47899
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47900
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47901
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47902
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47904
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47905
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47906
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47907
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47908
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47909
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:08 -0500
|
47910
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47911
|
+
Completed 401 Unauthorized in 1ms
|
47912
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47913
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
47914
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47915
|
+
[1m[35mSQL (1.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, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$5ljRjuLtFc2b.TRSAkVZN.vcK.t/tYaW4mpDYc7Ryu3ra9xFQ0R02"], ["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, 05 Dec 2012 19:10:09 UTC +00:00]]
|
47916
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47917
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47918
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
47919
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47920
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
47921
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
47922
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47923
|
+
Processing by Contour::SessionsController#create as HTML
|
47924
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
47925
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
47926
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47927
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47928
|
+
Completed 401 Unauthorized in 16ms
|
47929
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47930
|
+
Processing by Contour::SessionsController#new as HTML
|
47931
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
|
47932
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.4ms)
|
47933
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
47934
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.1ms)
|
47935
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms)
|
47936
|
+
Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.0ms)
|
47937
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
47938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47939
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
47940
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
47941
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
47942
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47943
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47944
|
+
Completed 401 Unauthorized in 1ms
|
47945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47946
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
47947
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47948
|
+
[1m[36mSQL (1.3ms)[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, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$a0uYUDI61jkKG7DhGCeRYe.QREmXubuMgum7tkifUnRzKzgTp8.S2"], ["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, 05 Dec 2012 19:10:09 UTC +00:00]]
|
47949
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47950
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47951
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
47952
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47953
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
47954
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
47955
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47956
|
+
Processing by Contour::SessionsController#create as HTML
|
47957
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
47958
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
47959
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
47960
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:10:09.260151', "current_sign_in_at" = '2012-12-05 19:10:09.260151', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:10:09.261370' WHERE "users"."id" = 999914116
|
47961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47962
|
+
Redirected to http://www.example.com/logged_in_page
|
47963
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
|
47964
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47965
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47966
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
47967
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
47968
|
+
[1m[36m (25.2ms)[0m [1mrollback transaction[0m
|
47969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47970
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
47971
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
47972
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
47973
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47974
|
+
Processing by WelcomeController#logged_in_page as HTML
|
47975
|
+
Completed 401 Unauthorized in 1ms
|
47976
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47977
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
47978
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
47979
|
+
[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, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3k1G7AYLNf7pFfIy2AmisOTAFV55YARpUHy8kqqu66UAzpSySlNgC"], ["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, 05 Dec 2012 19:10:09 UTC +00:00]]
|
47980
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47981
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47982
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
47983
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
47984
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
47985
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
47986
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47987
|
+
Processing by Contour::SessionsController#create as HTML
|
47988
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
47989
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
47990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
47991
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47992
|
+
Completed 401 Unauthorized in 13ms
|
47993
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
47994
|
+
Processing by Contour::SessionsController#new as HTML
|
47995
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
|
47996
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.8ms)
|
47997
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
47998
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
|
47999
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms)
|
48000
|
+
Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
|
48001
|
+
[1m[35m (6.9ms)[0m rollback transaction
|
48002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48003
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48004
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48005
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48006
|
+
Started GET "/" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
48007
|
+
Processing by WelcomeController#index as HTML
|
48008
|
+
Completed 401 Unauthorized in 1ms
|
48009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48011
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48012
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48013
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48014
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
48015
|
+
Processing by WelcomeController#logged_in_page as JSON
|
48016
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
48017
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48018
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:10:09.752358', "current_sign_in_at" = '2012-12-05 19:10:09.752358', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:10:09.754156' WHERE "users"."id" = 201799169
|
48019
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48020
|
+
Completed 200 OK in 313ms (Views: 0.5ms | ActiveRecord: 0.8ms)
|
48021
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
48022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48023
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48024
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48025
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48026
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:10:09 -0500
|
48027
|
+
Processing by WelcomeController#logged_in_page as JSON
|
48028
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
48029
|
+
Completed 401 Unauthorized in 307ms
|
48030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48032
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48033
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48034
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48035
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48036
|
+
[1m[35m (0.1ms)[0m rollback transaction
|