contour 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +1 -1
- data/app/controllers/contour/registrations_controller.rb +1 -1
- data/app/controllers/contour/sessions_controller.rb +5 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/app/models/user.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1310 -0
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -9,7 +9,7 @@ class Contour::RegistrationsController < Devise::RegistrationsController
|
|
9
9
|
if @user.save
|
10
10
|
respond_to do |format|
|
11
11
|
format.html { redirect_to @user, notice: 'User was successfully created.' }
|
12
|
-
format.json { render json: @user
|
12
|
+
format.json { render json: @user.as_json( only: [:id, :email, :first_name, :last_name, :authentication_token ] ), status: :created, location: @user }
|
13
13
|
end
|
14
14
|
else
|
15
15
|
respond_to do |format|
|
@@ -28,7 +28,11 @@ class Contour::SessionsController < Devise::SessionsController
|
|
28
28
|
if resource
|
29
29
|
set_flash_message(:notice, :signed_in) if is_navigational_format?
|
30
30
|
sign_in(resource_name, resource)
|
31
|
-
|
31
|
+
|
32
|
+
respond_to do |format|
|
33
|
+
format.html { respond_with resource, location: after_sign_in_path_for(resource) }
|
34
|
+
format.json { render json: { success: true, user: resource.as_json( only: [:id, :email, :first_name, :last_name, :authentication_token ] ) } }
|
35
|
+
end
|
32
36
|
else
|
33
37
|
resource = resource_name.to_s.titleize.constantize.find_by_email(params[resource_name][:email])
|
34
38
|
if resource and resource.respond_to?('authentications') and providers = resource.authentications.pluck(:provider).uniq and providers.size > 0
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -45486,3 +45486,1313 @@ Completed 401 Unauthorized in 77ms
|
|
45486
45486
|
[1m[35m (0.0ms)[0m begin transaction
|
45487
45487
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45488
45488
|
[1m[35m (0.1ms)[0m rollback transaction
|
45489
|
+
Connecting to database specified by database.yml
|
45490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45491
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
45492
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 949717663, 201799169)[0m
|
45493
|
+
[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-09-04 13:26:18', '2012-09-04 13:26:18', 876923740, 201799169)
|
45494
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 864673665, 201799169)[0m
|
45495
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
45496
|
+
[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-09-04 13:26:18', '2012-09-04 13:26:18', 201799169)[0m
|
45497
|
+
[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-09-04 13:26:18', '2012-09-04 13:26:18', 999914115)
|
45498
|
+
[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-09-04 13:26:18', '2012-09-04 13:26:18', 725306934)[0m
|
45499
|
+
[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-09-04 13:26:18', '2012-09-04 13:26:18', 349534908)
|
45500
|
+
[1m[36m (51.3ms)[0m [1mcommit transaction[0m
|
45501
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45502
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
45503
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45505
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45506
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45507
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45508
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45509
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45510
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
45511
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
45512
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-04 13:26:18 UTC", "updated_at"=>"2012-09-04 13:26:18 UTC"}}
|
45513
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
45514
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45515
|
+
Logged in user found, creating associated authentication.
|
45516
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45517
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Sep 2012 13:26:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 04 Sep 2012 13:26:18 UTC +00:00], ["user_id", 201799169]]
|
45518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45519
|
+
Redirected to http://test.host/authentications
|
45520
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
|
45521
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
45522
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
45523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45524
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45525
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
45526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45527
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
45528
|
+
Parameters: {"id"=>"949717663"}
|
45529
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45530
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
45531
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45532
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
45533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45534
|
+
Redirected to http://test.host/authentications
|
45535
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
45536
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45537
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
45538
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45539
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45540
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45541
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
45542
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45543
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
45544
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
45545
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms)
|
45546
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
45547
|
+
Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.3ms)
|
45548
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45549
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45550
|
+
Processing by Contour::PasswordsController#create as HTML
|
45551
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
45552
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45553
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LDQEbcVH2sqXsUFgKVUX' LIMIT 1[0m
|
45554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45555
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LDQEbcVH2sqXsUFgKVUX', "reset_password_sent_at" = '2012-09-04 13:26:18.770428', "updated_at" = '2012-09-04 13:26:18.771188' WHERE "users"."id" = 201799169[0m
|
45556
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45557
|
+
|
45558
|
+
Sent mail to valid@example.com (16ms)
|
45559
|
+
Date: Tue, 04 Sep 2012 09:26:18 -0400
|
45560
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
45561
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
45562
|
+
To: valid@example.com
|
45563
|
+
Message-ID: <5046017ae8d65_d6543febadc35ae0583c2@edge.partners.org.mail>
|
45564
|
+
Subject: Reset password instructions
|
45565
|
+
Mime-Version: 1.0
|
45566
|
+
Content-Type: text/html;
|
45567
|
+
charset=UTF-8
|
45568
|
+
Content-Transfer-Encoding: 7bit
|
45569
|
+
|
45570
|
+
<p>Hello valid@example.com!</p>
|
45571
|
+
|
45572
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
45573
|
+
|
45574
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=LDQEbcVH2sqXsUFgKVUX">Change my password</a></p>
|
45575
|
+
|
45576
|
+
<p>If you didn't request this, please ignore this email.</p>
|
45577
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
45578
|
+
|
45579
|
+
Redirected to http://test.host/users/login
|
45580
|
+
Completed 302 Found in 233ms (ActiveRecord: 0.0ms)
|
45581
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
45582
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45583
|
+
Processing by Contour::PasswordsController#new as HTML
|
45584
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
45585
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
45586
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
|
45587
|
+
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
45588
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45590
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45592
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45594
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45595
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45596
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45597
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45598
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45599
|
+
|
45600
|
+
|
45601
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45602
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45603
|
+
Completed 401 Unauthorized in 1ms
|
45604
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45605
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45606
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45607
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$QhaeN2QKkQc8CH0FNno/he95by2eihxrGEtkT1/OfdsSyEVhgRolq"], ["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", Tue, 04 Sep 2012 13:26:19 UTC +00:00]]
|
45608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45610
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45612
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
45613
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
45614
|
+
|
45615
|
+
|
45616
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45617
|
+
Processing by Contour::SessionsController#create as HTML
|
45618
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
45619
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45620
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45621
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45622
|
+
Completed 401 Unauthorized in 6ms
|
45623
|
+
|
45624
|
+
|
45625
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45626
|
+
Processing by Contour::SessionsController#new as HTML
|
45627
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
45628
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
|
45629
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
45630
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
45631
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.9ms)
|
45632
|
+
Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms)
|
45633
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
45634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45635
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45636
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45637
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45638
|
+
|
45639
|
+
|
45640
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45641
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45642
|
+
Completed 401 Unauthorized in 0ms
|
45643
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45644
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45645
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45646
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$gJ/nGq86a6g7e8EAxyS5j.iyNGbEFdf3utHVWTQSevz9QQWnhtBNW"], ["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", Tue, 04 Sep 2012 13:26:19 UTC +00:00]]
|
45647
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45648
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45649
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
45650
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45651
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
45652
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
45653
|
+
|
45654
|
+
|
45655
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45656
|
+
Processing by Contour::SessionsController#create as HTML
|
45657
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
45658
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45660
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-04 13:26:19.170591', "current_sign_in_at" = '2012-09-04 13:26:19.170591', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-04 13:26:19.171047' WHERE "users"."id" = 999914116
|
45661
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45662
|
+
Redirected to http://www.example.com/logged_in_page
|
45663
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
45664
|
+
|
45665
|
+
|
45666
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45667
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45668
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
45669
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
45670
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
45671
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45672
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45673
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45674
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45675
|
+
|
45676
|
+
|
45677
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45678
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45679
|
+
Completed 401 Unauthorized in 0ms
|
45680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45681
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45682
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45683
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SCzkCZgplkcmyZtf/POSL.Ecw/R1bS.r6AIY5WkEZZaIcv.Vdwbiu"], ["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", Tue, 04 Sep 2012 13:26:19 UTC +00:00]]
|
45684
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45685
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45686
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45687
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45688
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
45689
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
45690
|
+
|
45691
|
+
|
45692
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45693
|
+
Processing by Contour::SessionsController#create as HTML
|
45694
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
45695
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45696
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45697
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45698
|
+
Completed 401 Unauthorized in 6ms
|
45699
|
+
|
45700
|
+
|
45701
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45702
|
+
Processing by Contour::SessionsController#new as HTML
|
45703
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
45704
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.4ms)
|
45705
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
45706
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
45707
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
45708
|
+
Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
45709
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
45710
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45711
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45712
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45713
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45714
|
+
|
45715
|
+
|
45716
|
+
Started GET "/" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45717
|
+
Processing by WelcomeController#index as HTML
|
45718
|
+
Completed 401 Unauthorized in 0ms
|
45719
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45721
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45722
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45723
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45724
|
+
|
45725
|
+
|
45726
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45727
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45728
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45729
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45730
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-04 13:26:19.328427', "current_sign_in_at" = '2012-09-04 13:26:19.328427', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-04 13:26:19.329120' WHERE "users"."id" = 201799169
|
45731
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45732
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
45733
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
45734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45735
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45736
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45737
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45738
|
+
|
45739
|
+
|
45740
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-04 09:26:19 -0400
|
45741
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45742
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
45743
|
+
Completed 401 Unauthorized in 78ms
|
45744
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45746
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45747
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45748
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45749
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45750
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45751
|
+
Connecting to database specified by database.yml
|
45752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45753
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
45754
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 949717663, 201799169)[0m
|
45755
|
+
[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-09-05 13:39:48', '2012-09-05 13:39:48', 876923740, 201799169)
|
45756
|
+
[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-09-05 13:39:48', '2012-09-05 13:39:48', 864673665, 201799169)[0m
|
45757
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
45758
|
+
[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-09-05 13:39:48', '2012-09-05 13:39:48', 201799169)[0m
|
45759
|
+
[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-09-05 13:39:48', '2012-09-05 13:39:48', 999914115)
|
45760
|
+
[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-09-05 13:39:48', '2012-09-05 13:39:48', 725306934)[0m
|
45761
|
+
[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-09-05 13:39:48', '2012-09-05 13:39:48', 349534908)
|
45762
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
45763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45764
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
45765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45767
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45768
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45770
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45771
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45772
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
45773
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
45774
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-05 13:39:48 UTC", "updated_at"=>"2012-09-05 13:39:48 UTC"}}
|
45775
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
45776
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45777
|
+
Logged in user found, creating associated authentication.
|
45778
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45779
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Sep 2012 13:39:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Sep 2012 13:39:48 UTC +00:00], ["user_id", 201799169]]
|
45780
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45781
|
+
Redirected to http://test.host/authentications
|
45782
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
|
45783
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
45784
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
45785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45786
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45787
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
45788
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45789
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
45790
|
+
Parameters: {"id"=>"949717663"}
|
45791
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45792
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
45793
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45794
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
45795
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45796
|
+
Redirected to http://test.host/authentications
|
45797
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
45798
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
45799
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
45800
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45801
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45802
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
45803
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
45804
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
45805
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
45806
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
45807
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.3ms)
|
45808
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
|
45809
|
+
Completed 200 OK in 96ms (Views: 65.1ms | ActiveRecord: 0.4ms)
|
45810
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45812
|
+
Processing by Contour::PasswordsController#create as HTML
|
45813
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
45814
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45815
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'PjfLsyWZsM2d7GCGv8e2' LIMIT 1[0m
|
45816
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45817
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'PjfLsyWZsM2d7GCGv8e2', "reset_password_sent_at" = '2012-09-05 13:39:49.117902', "updated_at" = '2012-09-05 13:39:49.118624' WHERE "users"."id" = 201799169[0m
|
45818
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45819
|
+
|
45820
|
+
Sent mail to valid@example.com (15ms)
|
45821
|
+
Date: Wed, 05 Sep 2012 09:39:49 -0400
|
45822
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
45823
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
45824
|
+
To: valid@example.com
|
45825
|
+
Message-ID: <5047562534d48_12ed93ff49e035ad4390ad@edge2.partners.org.mail>
|
45826
|
+
Subject: Reset password instructions
|
45827
|
+
Mime-Version: 1.0
|
45828
|
+
Content-Type: text/html;
|
45829
|
+
charset=UTF-8
|
45830
|
+
Content-Transfer-Encoding: 7bit
|
45831
|
+
|
45832
|
+
<p>Hello valid@example.com!</p>
|
45833
|
+
|
45834
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
45835
|
+
|
45836
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=PjfLsyWZsM2d7GCGv8e2">Change my password</a></p>
|
45837
|
+
|
45838
|
+
<p>If you didn't request this, please ignore this email.</p>
|
45839
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
45840
|
+
|
45841
|
+
Redirected to http://test.host/users/login
|
45842
|
+
Completed 302 Found in 146ms (ActiveRecord: 0.0ms)
|
45843
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
45844
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45845
|
+
Processing by Contour::PasswordsController#new as HTML
|
45846
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms)
|
45847
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms)
|
45848
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms)
|
45849
|
+
Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms)
|
45850
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45851
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45852
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45854
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45856
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45858
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45859
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45860
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45861
|
+
|
45862
|
+
|
45863
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45864
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45865
|
+
Completed 401 Unauthorized in 1ms
|
45866
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45867
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45868
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45869
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$8XKPvD6OrBuqa7NfTSS5vuhZ7HeLKXc3YlDVhLmGildQcD5IqLYTy"], ["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 Sep 2012 13:39:49 UTC +00:00]]
|
45870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45872
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45873
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45874
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
45875
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
45876
|
+
|
45877
|
+
|
45878
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45879
|
+
Processing by Contour::SessionsController#create as HTML
|
45880
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
45881
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
45882
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45883
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45884
|
+
Completed 401 Unauthorized in 6ms
|
45885
|
+
|
45886
|
+
|
45887
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45888
|
+
Processing by Contour::SessionsController#new as HTML
|
45889
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
45890
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms)
|
45891
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
45892
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
45893
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
45894
|
+
Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
|
45895
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
45896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45897
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45898
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45899
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45900
|
+
|
45901
|
+
|
45902
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45903
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45904
|
+
Completed 401 Unauthorized in 0ms
|
45905
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45906
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45907
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45908
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZqTLa0jFc4aQChlOD/4CI.pQweY8Civ/1SiYovRdJd.HAbGfK5VCm"], ["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 Sep 2012 13:39:49 UTC +00:00]]
|
45909
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45911
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
45912
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45913
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
45914
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
45915
|
+
|
45916
|
+
|
45917
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45918
|
+
Processing by Contour::SessionsController#create as HTML
|
45919
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
45920
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
45921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45922
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-05 13:39:49.459868', "current_sign_in_at" = '2012-09-05 13:39:49.459868', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-05 13:39:49.460314' WHERE "users"."id" = 999914116
|
45923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45924
|
+
Redirected to http://www.example.com/logged_in_page
|
45925
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
45926
|
+
|
45927
|
+
|
45928
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45929
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45930
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
45931
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
45932
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
45933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45934
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45935
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45936
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45937
|
+
|
45938
|
+
|
45939
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45940
|
+
Processing by WelcomeController#logged_in_page as HTML
|
45941
|
+
Completed 401 Unauthorized in 0ms
|
45942
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45943
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45944
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
45945
|
+
[1m[35mSQL (0.5ms)[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 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$tcnAbLuusn9W2A/.fHY2f.qP/zwhopAagvR1REHfLO3w/qmquNzgu"], ["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 Sep 2012 13:39:49 UTC +00:00]]
|
45946
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45947
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45948
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
45949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45950
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
45951
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
45952
|
+
|
45953
|
+
|
45954
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45955
|
+
Processing by Contour::SessionsController#create as HTML
|
45956
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
45957
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
45958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45959
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45960
|
+
Completed 401 Unauthorized in 4ms
|
45961
|
+
|
45962
|
+
|
45963
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45964
|
+
Processing by Contour::SessionsController#new as HTML
|
45965
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
45966
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
|
45967
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
45968
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
45969
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
45970
|
+
Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)
|
45971
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
45972
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45973
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45974
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45975
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
45976
|
+
|
45977
|
+
|
45978
|
+
Started GET "/" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45979
|
+
Processing by WelcomeController#index as HTML
|
45980
|
+
Completed 401 Unauthorized in 0ms
|
45981
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45982
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45983
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
45984
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
45985
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
45986
|
+
|
45987
|
+
|
45988
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
45989
|
+
Processing by WelcomeController#logged_in_page as JSON
|
45990
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
45991
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45992
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-05 13:39:49.607213', "current_sign_in_at" = '2012-09-05 13:39:49.607213', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-05 13:39:49.607899' WHERE "users"."id" = 201799169
|
45993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45994
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
45995
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
45996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45997
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
45998
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
45999
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46000
|
+
|
46001
|
+
|
46002
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-05 09:39:49 -0400
|
46003
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46004
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46005
|
+
Completed 401 Unauthorized in 78ms
|
46006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46008
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46011
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46013
|
+
Connecting to database specified by database.yml
|
46014
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46015
|
+
[1m[35mFixture Delete (30.7ms)[0m DELETE FROM "authentications"
|
46016
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 949717663, 201799169)[0m
|
46017
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 876923740, 201799169)
|
46018
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 864673665, 201799169)[0m
|
46019
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users"
|
46020
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 201799169)[0m
|
46021
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 999914115)
|
46022
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 725306934)[0m
|
46023
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 349534908)
|
46024
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
46025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46026
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
46027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46028
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46029
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46030
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46032
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46033
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46034
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46035
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
46036
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:31:33 UTC", "updated_at"=>"2012-09-10 18:31:33 UTC"}}
|
46037
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
46038
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46039
|
+
Logged in user found, creating associated authentication.
|
46040
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46041
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["user_id", 201799169]]
|
46042
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46043
|
+
Redirected to http://test.host/authentications
|
46044
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.8ms)
|
46045
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46046
|
+
[1m[35m (20.4ms)[0m rollback transaction
|
46047
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46048
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46049
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
46050
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46051
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
46052
|
+
Parameters: {"id"=>"949717663"}
|
46053
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46054
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
46055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46056
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
46057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46058
|
+
Redirected to http://test.host/authentications
|
46059
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
46060
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46061
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
46062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46063
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46064
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46065
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
46066
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46067
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
46068
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
46069
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
|
46070
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
46071
|
+
Completed 200 OK in 184ms (Views: 181.9ms | ActiveRecord: 0.3ms)
|
46072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46074
|
+
Processing by Contour::PasswordsController#create as HTML
|
46075
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
46076
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46077
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX' LIMIT 1[0m
|
46078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46079
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX', "reset_password_sent_at" = '2012-09-10 18:31:33.572646', "updated_at" = '2012-09-10 18:31:33.574102' WHERE "users"."id" = 201799169[0m
|
46080
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46081
|
+
|
46082
|
+
Sent mail to valid@example.com (128ms)
|
46083
|
+
Date: Mon, 10 Sep 2012 14:31:33 -0400
|
46084
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
46085
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
46086
|
+
To: valid@example.com
|
46087
|
+
Message-ID: <504e3205cca82_af433fe4acc35ad434623@edge2.partners.org.mail>
|
46088
|
+
Subject: Reset password instructions
|
46089
|
+
Mime-Version: 1.0
|
46090
|
+
Content-Type: text/html;
|
46091
|
+
charset=UTF-8
|
46092
|
+
Content-Transfer-Encoding: 7bit
|
46093
|
+
|
46094
|
+
<p>Hello valid@example.com!</p>
|
46095
|
+
|
46096
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
46097
|
+
|
46098
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=zKqe7VLs7uVvRFf6nyGX">Change my password</a></p>
|
46099
|
+
|
46100
|
+
<p>If you didn't request this, please ignore this email.</p>
|
46101
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
46102
|
+
|
46103
|
+
Redirected to http://test.host/users/login
|
46104
|
+
Completed 302 Found in 377ms (ActiveRecord: 0.0ms)
|
46105
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
46106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46107
|
+
Processing by Contour::PasswordsController#new as HTML
|
46108
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
46109
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
|
46110
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms)
|
46111
|
+
Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.0ms)
|
46112
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46114
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46116
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46118
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46120
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46121
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46122
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46123
|
+
|
46124
|
+
|
46125
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:33 -0400
|
46126
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46127
|
+
Completed 401 Unauthorized in 1ms
|
46128
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46129
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46130
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46131
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$DwAlA3jInjonmwy0ucL9i.MKCfvtEwcBOkpjS7oE1Yxe8Z8wFkYf6"], ["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", Mon, 10 Sep 2012 18:31:34 UTC +00:00]]
|
46132
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46134
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46136
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
46137
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
46138
|
+
|
46139
|
+
|
46140
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46141
|
+
Processing by Contour::SessionsController#create as HTML
|
46142
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
46143
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46144
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46146
|
+
Completed 401 Unauthorized in 7ms
|
46147
|
+
|
46148
|
+
|
46149
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46150
|
+
Processing by Contour::SessionsController#new as HTML
|
46151
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
46152
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (29.9ms)
|
46153
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
46154
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
46155
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
|
46156
|
+
Completed 200 OK in 63ms (Views: 62.5ms | ActiveRecord: 0.0ms)
|
46157
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
46158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46159
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46160
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46161
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46162
|
+
|
46163
|
+
|
46164
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46165
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46166
|
+
Completed 401 Unauthorized in 0ms
|
46167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46168
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46169
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46170
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N2JtWevvgI/xfVhlIxM0Ru2aGTAXjy4zrfT77KSnvGt3Rhm/9.SGe"], ["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", Mon, 10 Sep 2012 18:31:34 UTC +00:00]]
|
46171
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46172
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
46174
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46175
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
46176
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
46177
|
+
|
46178
|
+
|
46179
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46180
|
+
Processing by Contour::SessionsController#create as HTML
|
46181
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
46182
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46183
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46184
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.202552', "current_sign_in_at" = '2012-09-10 18:31:34.202552', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.203113' WHERE "users"."id" = 999914116
|
46185
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46186
|
+
Redirected to http://www.example.com/logged_in_page
|
46187
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
46188
|
+
|
46189
|
+
|
46190
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46191
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46192
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
46193
|
+
Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.1ms)
|
46194
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
46195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46196
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46197
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46198
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46199
|
+
|
46200
|
+
|
46201
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46202
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46203
|
+
Completed 401 Unauthorized in 0ms
|
46204
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46205
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46206
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46207
|
+
[1m[35mSQL (0.5ms)[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", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$aHdyDHWDVzsBMDkQuxVdG.nryVS9Q8PFjLD9B.Q7oQMMgtN4bFcDW"], ["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", Mon, 10 Sep 2012 18:31:34 UTC +00:00]]
|
46208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46209
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46210
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46212
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
46213
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
46214
|
+
|
46215
|
+
|
46216
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46217
|
+
Processing by Contour::SessionsController#create as HTML
|
46218
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
46219
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46220
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46221
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46222
|
+
Completed 401 Unauthorized in 4ms
|
46223
|
+
|
46224
|
+
|
46225
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46226
|
+
Processing by Contour::SessionsController#new as HTML
|
46227
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
46228
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
|
46229
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
46230
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
46231
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
46232
|
+
Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
46233
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
46234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46235
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46236
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46237
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46238
|
+
|
46239
|
+
|
46240
|
+
Started GET "/" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46241
|
+
Processing by WelcomeController#index as HTML
|
46242
|
+
Completed 401 Unauthorized in 0ms
|
46243
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46245
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46246
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46247
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46248
|
+
|
46249
|
+
|
46250
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46251
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46252
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46254
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.382469' WHERE "users"."id" = 201799169
|
46255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46256
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
46257
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
46258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46259
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46260
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46261
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46262
|
+
|
46263
|
+
|
46264
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46265
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46266
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46267
|
+
Completed 401 Unauthorized in 79ms
|
46268
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46270
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46271
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46272
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46273
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46274
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46275
|
+
Connecting to database specified by database.yml
|
46276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46277
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications"
|
46278
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 949717663, 201799169)[0m
|
46279
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 876923740, 201799169)
|
46280
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 864673665, 201799169)[0m
|
46281
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
46282
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 201799169)[0m
|
46283
|
+
[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', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 999914115)
|
46284
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 725306934)[0m
|
46285
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 349534908)
|
46286
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
46287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46288
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
46289
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46291
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46292
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46293
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46294
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46295
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46296
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46297
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
46298
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:46:37 UTC", "updated_at"=>"2012-09-10 18:46:37 UTC"}}
|
46299
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
46300
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46301
|
+
Logged in user found, creating associated authentication.
|
46302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46303
|
+
[1m[36mSQL (38.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["user_id", 201799169]]
|
46304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46305
|
+
Redirected to http://test.host/authentications
|
46306
|
+
Completed 302 Found in 81ms (ActiveRecord: 39.2ms)
|
46307
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46308
|
+
[1m[35m (33.7ms)[0m rollback transaction
|
46309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46310
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46311
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
46312
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46313
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
46314
|
+
Parameters: {"id"=>"949717663"}
|
46315
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46316
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
46317
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46318
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
46319
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46320
|
+
Redirected to http://test.host/authentications
|
46321
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
46322
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46323
|
+
[1m[36m (3.3ms)[0m [1mrollback transaction[0m
|
46324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46325
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46326
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46327
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
46328
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46329
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
46330
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
46331
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
46332
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
46333
|
+
Completed 200 OK in 145ms (Views: 142.8ms | ActiveRecord: 0.4ms)
|
46334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46336
|
+
Processing by Contour::PasswordsController#create as HTML
|
46337
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
46338
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46339
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GgquaUa2pL6WvAWGCas3' LIMIT 1[0m
|
46340
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46341
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'GgquaUa2pL6WvAWGCas3', "reset_password_sent_at" = '2012-09-10 18:46:38.047598', "updated_at" = '2012-09-10 18:46:38.048660' WHERE "users"."id" = 201799169[0m
|
46342
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46343
|
+
|
46344
|
+
Sent mail to valid@example.com (70ms)
|
46345
|
+
Date: Mon, 10 Sep 2012 14:46:38 -0400
|
46346
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
46347
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
46348
|
+
To: valid@example.com
|
46349
|
+
Message-ID: <504e358e49683_b1013fc9c8835adc1644b@edge2.partners.org.mail>
|
46350
|
+
Subject: Reset password instructions
|
46351
|
+
Mime-Version: 1.0
|
46352
|
+
Content-Type: text/html;
|
46353
|
+
charset=UTF-8
|
46354
|
+
Content-Transfer-Encoding: 7bit
|
46355
|
+
|
46356
|
+
<p>Hello valid@example.com!</p>
|
46357
|
+
|
46358
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
46359
|
+
|
46360
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=GgquaUa2pL6WvAWGCas3">Change my password</a></p>
|
46361
|
+
|
46362
|
+
<p>If you didn't request this, please ignore this email.</p>
|
46363
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
46364
|
+
|
46365
|
+
Redirected to http://test.host/users/login
|
46366
|
+
Completed 302 Found in 392ms (ActiveRecord: 0.0ms)
|
46367
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
46368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46369
|
+
Processing by Contour::PasswordsController#new as HTML
|
46370
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms)
|
46371
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
46372
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
46373
|
+
Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
|
46374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46376
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46378
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46380
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46382
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46383
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46384
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46385
|
+
|
46386
|
+
|
46387
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46388
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46389
|
+
Completed 401 Unauthorized in 1ms
|
46390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46391
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46392
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46393
|
+
[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", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$k1YnZJhyITnicXIimOa.5eSTSF/Dcd3iqVhTLBll0Sf2ydEdnT/sa"], ["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", Mon, 10 Sep 2012 18:46:38 UTC +00:00]]
|
46394
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46396
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46397
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46398
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
46399
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
46400
|
+
|
46401
|
+
|
46402
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46403
|
+
Processing by Contour::SessionsController#create as HTML
|
46404
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
46405
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46406
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46408
|
+
Completed 401 Unauthorized in 8ms
|
46409
|
+
|
46410
|
+
|
46411
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46412
|
+
Processing by Contour::SessionsController#new as HTML
|
46413
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
46414
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms)
|
46415
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
46416
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
46417
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
46418
|
+
Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)
|
46419
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
46420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46421
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46422
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46423
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46424
|
+
|
46425
|
+
|
46426
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46427
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46428
|
+
Completed 401 Unauthorized in 0ms
|
46429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46430
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46431
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46432
|
+
[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", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$G57Zblb/A9U4WCQuI5f6fuqYuw0X/SWOzYH8jTfuIjKYCq7cyciD6"], ["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", Mon, 10 Sep 2012 18:46:38 UTC +00:00]]
|
46433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46434
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46435
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
46436
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46437
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
46438
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
46439
|
+
|
46440
|
+
|
46441
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46442
|
+
Processing by Contour::SessionsController#create as HTML
|
46443
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
46444
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46446
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.667006', "current_sign_in_at" = '2012-09-10 18:46:38.667006', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.667723' WHERE "users"."id" = 999914116
|
46447
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46448
|
+
Redirected to http://www.example.com/logged_in_page
|
46449
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
46450
|
+
|
46451
|
+
|
46452
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46453
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46454
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
46455
|
+
Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.2ms)
|
46456
|
+
[1m[36m (20.6ms)[0m [1mrollback transaction[0m
|
46457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46458
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46459
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46460
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46461
|
+
|
46462
|
+
|
46463
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46464
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46465
|
+
Completed 401 Unauthorized in 0ms
|
46466
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46467
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46468
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46469
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$0rHzFelYVGcrF5Wc4DrMtO9x5pwcDR7xUJkVm77cUX2buEj/QyXs2"], ["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", Mon, 10 Sep 2012 18:46:38 UTC +00:00]]
|
46470
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46472
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46474
|
+
[1m[36mSQL (7.6ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
46475
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
46476
|
+
|
46477
|
+
|
46478
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46479
|
+
Processing by Contour::SessionsController#create as HTML
|
46480
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
46481
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46483
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46484
|
+
Completed 401 Unauthorized in 5ms
|
46485
|
+
|
46486
|
+
|
46487
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46488
|
+
Processing by Contour::SessionsController#new as HTML
|
46489
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
46490
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
|
46491
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
46492
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
46493
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
|
46494
|
+
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
46495
|
+
[1m[35m (19.0ms)[0m rollback transaction
|
46496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46497
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46498
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46499
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46500
|
+
|
46501
|
+
|
46502
|
+
Started GET "/" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46503
|
+
Processing by WelcomeController#index as HTML
|
46504
|
+
Completed 401 Unauthorized in 1ms
|
46505
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46507
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46508
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46509
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46510
|
+
|
46511
|
+
|
46512
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46513
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46514
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46515
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46516
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.924080' WHERE "users"."id" = 201799169
|
46517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46518
|
+
Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
46519
|
+
[1m[35m (137.2ms)[0m rollback transaction
|
46520
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46521
|
+
[1m[35mUser Load (7.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46522
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46523
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46524
|
+
|
46525
|
+
|
46526
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:39 -0400
|
46527
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46528
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46529
|
+
Completed 401 Unauthorized in 79ms
|
46530
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46532
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46536
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46537
|
+
Connecting to database specified by database.yml
|
46538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46539
|
+
[1m[35mFixture Delete (8.1ms)[0m DELETE FROM "authentications"
|
46540
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 949717663, 201799169)[0m
|
46541
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 876923740, 201799169)
|
46542
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 864673665, 201799169)[0m
|
46543
|
+
[1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users"
|
46544
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 201799169)[0m
|
46545
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 999914115)
|
46546
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 725306934)[0m
|
46547
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 349534908)
|
46548
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
46549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46550
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
46551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46553
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46556
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46557
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46558
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46559
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
46560
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:52:14 UTC", "updated_at"=>"2012-09-10 18:52:14 UTC"}}
|
46561
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
46562
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46563
|
+
Logged in user found, creating associated authentication.
|
46564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46565
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["user_id", 201799169]]
|
46566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46567
|
+
Redirected to http://test.host/authentications
|
46568
|
+
Completed 302 Found in 52ms (ActiveRecord: 1.1ms)
|
46569
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46570
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
46571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46572
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46573
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
46574
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46575
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
46576
|
+
Parameters: {"id"=>"949717663"}
|
46577
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46578
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
46579
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46580
|
+
[1m[35mSQL (0.9ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
46581
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46582
|
+
Redirected to http://test.host/authentications
|
46583
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
|
46584
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46585
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
46586
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46587
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46588
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46589
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
46590
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46591
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
46592
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
46593
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
|
46594
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
46595
|
+
Completed 200 OK in 147ms (Views: 144.8ms | ActiveRecord: 0.4ms)
|
46596
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46598
|
+
Processing by Contour::PasswordsController#create as HTML
|
46599
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
46600
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46601
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx' LIMIT 1[0m
|
46602
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46603
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx', "reset_password_sent_at" = '2012-09-10 18:52:15.147756', "updated_at" = '2012-09-10 18:52:15.149159' WHERE "users"."id" = 201799169[0m
|
46604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46605
|
+
|
46606
|
+
Sent mail to valid@example.com (74ms)
|
46607
|
+
Date: Mon, 10 Sep 2012 14:52:15 -0400
|
46608
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
46609
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
46610
|
+
To: valid@example.com
|
46611
|
+
Message-ID: <504e36df6bdf5_b1aa3ffc4d835ad4887c0@edge2.partners.org.mail>
|
46612
|
+
Subject: Reset password instructions
|
46613
|
+
Mime-Version: 1.0
|
46614
|
+
Content-Type: text/html;
|
46615
|
+
charset=UTF-8
|
46616
|
+
Content-Transfer-Encoding: 7bit
|
46617
|
+
|
46618
|
+
<p>Hello valid@example.com!</p>
|
46619
|
+
|
46620
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
46621
|
+
|
46622
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=rLcHTFNPKGXUu5Qq3CRx">Change my password</a></p>
|
46623
|
+
|
46624
|
+
<p>If you didn't request this, please ignore this email.</p>
|
46625
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
46626
|
+
|
46627
|
+
Redirected to http://test.host/users/login
|
46628
|
+
Completed 302 Found in 416ms (ActiveRecord: 0.0ms)
|
46629
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
46630
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46631
|
+
Processing by Contour::PasswordsController#new as HTML
|
46632
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms)
|
46633
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
46634
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms)
|
46635
|
+
Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.0ms)
|
46636
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46638
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46642
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46644
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46645
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46646
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46647
|
+
|
46648
|
+
|
46649
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46650
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46651
|
+
Completed 401 Unauthorized in 1ms
|
46652
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46653
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46654
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46655
|
+
[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", Mon, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$zaTDlrcmvornfxQwcHcdheqy8WCGuMIlOoLiR6jRroF9ZSL.nAdpe"], ["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", Mon, 10 Sep 2012 18:52:15 UTC +00:00]]
|
46656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46658
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46659
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46660
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
46661
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
46662
|
+
|
46663
|
+
|
46664
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46665
|
+
Processing by Contour::SessionsController#create as HTML
|
46666
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
46667
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46669
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46670
|
+
Completed 401 Unauthorized in 33ms
|
46671
|
+
|
46672
|
+
|
46673
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46674
|
+
Processing by Contour::SessionsController#new as HTML
|
46675
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
46676
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
|
46677
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
46678
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
46679
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
46680
|
+
Completed 200 OK in 47ms (Views: 45.9ms | ActiveRecord: 0.0ms)
|
46681
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
46682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46683
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46684
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46685
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46686
|
+
|
46687
|
+
|
46688
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46689
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46690
|
+
Completed 401 Unauthorized in 0ms
|
46691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46692
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46693
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46694
|
+
[1m[36mSQL (0.6ms)[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", Mon, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Rx5HH42oS1OQVe38cBwoSuHyZUnquuWvMlyWDoIIzXJjXTw3SarHC"], ["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", Mon, 10 Sep 2012 18:52:15 UTC +00:00]]
|
46695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46697
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
46698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46699
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
46700
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
46701
|
+
|
46702
|
+
|
46703
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46704
|
+
Processing by Contour::SessionsController#create as HTML
|
46705
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
46706
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46708
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.822608', "current_sign_in_at" = '2012-09-10 18:52:15.822608', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.823390' WHERE "users"."id" = 999914116
|
46709
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46710
|
+
Redirected to http://www.example.com/logged_in_page
|
46711
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
|
46712
|
+
|
46713
|
+
|
46714
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46715
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46716
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
46717
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.1ms)
|
46718
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
46719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46720
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46721
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46722
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46723
|
+
|
46724
|
+
|
46725
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46726
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46727
|
+
Completed 401 Unauthorized in 0ms
|
46728
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46729
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46730
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46731
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$WBcH8fjU.Ny8O/.8wYS.y.xEQxTDtDU5CAh5zxR4Gc8YyOLZfoBZK"], ["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", Mon, 10 Sep 2012 18:52:15 UTC +00:00]]
|
46732
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46733
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46734
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46736
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
46737
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
46738
|
+
|
46739
|
+
|
46740
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46741
|
+
Processing by Contour::SessionsController#create as HTML
|
46742
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
46743
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46744
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46745
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46746
|
+
Completed 401 Unauthorized in 4ms
|
46747
|
+
|
46748
|
+
|
46749
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46750
|
+
Processing by Contour::SessionsController#new as HTML
|
46751
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
46752
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
|
46753
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
46754
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
46755
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
46756
|
+
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
|
46757
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
46758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46759
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46760
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46761
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46762
|
+
|
46763
|
+
|
46764
|
+
Started GET "/" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46765
|
+
Processing by WelcomeController#index as HTML
|
46766
|
+
Completed 401 Unauthorized in 1ms
|
46767
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46768
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46769
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46770
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46771
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46772
|
+
|
46773
|
+
|
46774
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46775
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46776
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46778
|
+
[1m[35m (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.999303' WHERE "users"."id" = 201799169
|
46779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46780
|
+
Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
46781
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
46782
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46783
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46784
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46785
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46786
|
+
|
46787
|
+
|
46788
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:16 -0400
|
46789
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46790
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46791
|
+
Completed 401 Unauthorized in 82ms
|
46792
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46794
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46797
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46798
|
+
[1m[35m (0.0ms)[0m rollback transaction
|