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