contour 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +16 -6
- data/README.rdoc +38 -36
- data/Rakefile +1 -1
- data/app/controllers/contour/authentications_controller.rb +0 -10
- data/app/controllers/contour/registrations_controller.rb +8 -8
- data/app/controllers/contour/sessions_controller.rb +4 -4
- data/app/models/authentication.rb +1 -1
- data/app/views/contour/authentications/index.html.erb +3 -3
- data/app/views/contour/layouts/_latest_news.html.erb +4 -4
- data/app/views/contour/layouts/_menu.html.erb +3 -3
- data/app/views/contour/layouts/application.html.erb +8 -8
- data/app/views/contour/passwords/edit.html.erb +2 -2
- data/app/views/contour/passwords/new.html.erb +3 -3
- data/app/views/contour/registrations/edit.html.erb +2 -2
- data/app/views/contour/registrations/new.html.erb +4 -4
- data/app/views/contour/sessions/new.html.erb +4 -4
- data/contour.gemspec +6 -6
- data/lib/contour/fixes/omniauth.rb +22 -29
- data/lib/contour/fixes/rack.rb +2 -33
- data/lib/contour/version.rb +1 -1
- data/test/dummy/app/models/user.rb +9 -9
- data/test/dummy/config/initializers/devise.rb +122 -49
- data/test/dummy/config/routes.rb +8 -8
- data/test/dummy/db/migrate/{20111203203123_create_users.rb → 20111203203123_devise_create_users.rb} +9 -6
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +3464 -0
- metadata +27 -31
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -5
data/test/dummy/config/routes.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
Dummy::Application.routes.draw do
|
2
|
-
|
3
|
-
devise_for :users, :
|
4
|
-
|
2
|
+
|
3
|
+
devise_for :users, controllers: { registrations: 'contour/registrations', sessions: 'contour/sessions', passwords: 'contour/passwords' }, path_names: { sign_up: 'register', sign_in: 'login' }
|
4
|
+
|
5
5
|
resources :users
|
6
|
-
|
7
|
-
match "/logged_in_page" => "welcome#logged_in_page", :
|
8
|
-
|
9
|
-
root :
|
10
|
-
|
6
|
+
|
7
|
+
match "/logged_in_page" => "welcome#logged_in_page", as: :logged_in_page
|
8
|
+
|
9
|
+
root to: 'welcome#index'
|
10
|
+
|
11
11
|
end
|
data/test/dummy/db/migrate/{20111203203123_create_users.rb → 20111203203123_devise_create_users.rb}
RENAMED
@@ -1,14 +1,14 @@
|
|
1
|
-
class
|
1
|
+
class DeviseCreateUsers < ActiveRecord::Migration
|
2
2
|
def change
|
3
3
|
create_table(:users) do |t|
|
4
4
|
t.string :first_name
|
5
5
|
t.string :last_name
|
6
6
|
t.string :status, null: false, default: 'pending'
|
7
7
|
t.boolean :deleted, null: false, default: false
|
8
|
-
|
8
|
+
|
9
9
|
## Database authenticatable
|
10
|
-
t.string :email, :
|
11
|
-
t.string :encrypted_password, :
|
10
|
+
t.string :email, null: false, default: ""
|
11
|
+
t.string :encrypted_password, null: false, default: ""
|
12
12
|
|
13
13
|
## Recoverable
|
14
14
|
t.string :reset_password_token
|
@@ -18,7 +18,7 @@ class CreateUsers < ActiveRecord::Migration
|
|
18
18
|
t.datetime :remember_created_at
|
19
19
|
|
20
20
|
## Trackable
|
21
|
-
t.integer :sign_in_count, :
|
21
|
+
t.integer :sign_in_count, default: 0
|
22
22
|
t.datetime :current_sign_in_at
|
23
23
|
t.datetime :last_sign_in_at
|
24
24
|
t.string :current_sign_in_ip
|
@@ -34,13 +34,14 @@ class CreateUsers < ActiveRecord::Migration
|
|
34
34
|
# t.string :unconfirmed_email # Only if using reconfirmable
|
35
35
|
|
36
36
|
## Lockable
|
37
|
-
# t.integer :failed_attempts, :
|
37
|
+
# t.integer :failed_attempts, default: 0 # Only if lock strategy is :failed_attempts
|
38
38
|
# t.string :unlock_token # Only if unlock strategy is :email or :both
|
39
39
|
# t.datetime :locked_at
|
40
40
|
|
41
41
|
# Token authenticatable
|
42
42
|
# t.string :authentication_token
|
43
43
|
|
44
|
+
|
44
45
|
t.timestamps
|
45
46
|
end
|
46
47
|
|
@@ -48,5 +49,7 @@ class CreateUsers < ActiveRecord::Migration
|
|
48
49
|
add_index :users, :reset_password_token, unique: true
|
49
50
|
# add_index :users, :confirmation_token, unique: true
|
50
51
|
# add_index :users, :unlock_token, unique: true
|
52
|
+
# add_index :users, :authentication_token, unique: true
|
51
53
|
end
|
54
|
+
|
52
55
|
end
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -15689,3 +15689,3467 @@ Completed 401 Unauthorized in 88ms
|
|
15689
15689
|
[1m[35m (0.0ms)[0m begin transaction
|
15690
15690
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15691
15691
|
[1m[35m (0.0ms)[0m rollback transaction
|
15692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15693
|
+
[1m[35mFixture Delete (9.2ms)[0m DELETE FROM "authentications"
|
15694
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 17:18:03', '2012-01-20 17:18:03', 949717663, 201799169)[0m
|
15695
|
+
[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-01-20 17:18:03', '2012-01-20 17:18:03', 876923740, 201799169)
|
15696
|
+
[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-01-20 17:18:03', '2012-01-20 17:18:03', 864673665, 201799169)[0m
|
15697
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users"
|
15698
|
+
[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-01-20 17:18:03', '2012-01-20 17:18:03', 201799169)[0m
|
15699
|
+
[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-01-20 17:18:03', '2012-01-20 17:18:03', 999914115)
|
15700
|
+
[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-01-20 17:18:03', '2012-01-20 17:18:03', 725306934)[0m
|
15701
|
+
[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-01-20 17:18:03', '2012-01-20 17:18:03', 349534908)
|
15702
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
15703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15704
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
15705
|
+
[1m[35m (20.8ms)[0m rollback transaction
|
15706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15707
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
15708
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15710
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15711
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
15712
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
15713
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
15714
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 17:18:03 UTC", "updated_at"=>"2012-01-20 17:18:03 UTC"}}
|
15715
|
+
request {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
15716
|
+
omniauth: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
15717
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
15718
|
+
OMNI AUTH INFO: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"}
|
15719
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
15720
|
+
Logged in user found, creating associated authentication.
|
15721
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15722
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 17:18:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 17:18:03 UTC +00:00], ["user_id", 201799169]]
|
15723
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15724
|
+
Redirected to http://test.host/authentications
|
15725
|
+
Completed 302 Found in 120ms (ActiveRecord: 1.1ms)
|
15726
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
15727
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
15728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15729
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15730
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
15731
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications"
|
15732
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
15733
|
+
Parameters: {"id"=>"949717663"}
|
15734
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
15735
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
15736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15737
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
15738
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15739
|
+
Redirected to http://test.host/authentications
|
15740
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
15741
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
15742
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
15743
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15744
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15745
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
15746
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
15747
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
15748
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
15749
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
15750
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.8ms)
|
15751
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
|
15752
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms)
|
15753
|
+
Completed 200 OK in 177ms (Views: 174.0ms | ActiveRecord: 0.5ms)
|
15754
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15756
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15758
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15759
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
15760
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
15761
|
+
|
15762
|
+
|
15763
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15764
|
+
Processing by WelcomeController#logged_in_page as HTML
|
15765
|
+
Completed 401 Unauthorized in 1ms
|
15766
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15767
|
+
[1m[35mUser Exists (11.6ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
15768
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
15769
|
+
[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", Fri, 20 Jan 2012 17:18:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$jfzJe9Gk6DGBMDFOHvHhM.KiQKyi9t7LG4aRGdXQhkzpZo8/yF8c2"], ["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", Fri, 20 Jan 2012 17:18:04 UTC +00:00]]
|
15770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15771
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15772
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
15773
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15775
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:18:04.385465' WHERE "users"."id" = 999914117[0m
|
15776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15778
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:18:04.387412' WHERE "users"."id" = 999914117
|
15779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15780
|
+
|
15781
|
+
|
15782
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15783
|
+
Processing by Contour::SessionsController#create as HTML
|
15784
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
15785
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
15786
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15787
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15788
|
+
Completed 401 Unauthorized in 125ms
|
15789
|
+
|
15790
|
+
|
15791
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15792
|
+
Processing by Contour::SessionsController#new as HTML
|
15793
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
15794
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms)
|
15795
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.0ms)
|
15796
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (18.5ms)
|
15797
|
+
Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)
|
15798
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
15799
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15800
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15801
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
15802
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
15803
|
+
|
15804
|
+
|
15805
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15806
|
+
Processing by WelcomeController#logged_in_page as HTML
|
15807
|
+
Completed 401 Unauthorized in 0ms
|
15808
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15809
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
15810
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
15811
|
+
[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", Fri, 20 Jan 2012 17:18:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$qDWEuxN3HEI1tE4wPUBFvO/6oHe3rU9eziwRnRTPEWMkmvU7I58Uu"], ["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", Fri, 20 Jan 2012 17:18:04 UTC +00:00]]
|
15812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15814
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
15815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15817
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:18:04.697904' WHERE "users"."id" = 999914117
|
15818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15821
|
+
|
15822
|
+
|
15823
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15824
|
+
Processing by Contour::SessionsController#create as HTML
|
15825
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
15826
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
15827
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15828
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:18:04.783041', "current_sign_in_at" = '2012-01-20 17:18:04.783041', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:18:04.783540' WHERE "users"."id" = 999914117
|
15829
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15830
|
+
Redirected to http://www.example.com/logged_in_page
|
15831
|
+
Completed 302 Found in 95ms (ActiveRecord: 0.0ms)
|
15832
|
+
|
15833
|
+
|
15834
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15835
|
+
Processing by WelcomeController#logged_in_page as HTML
|
15836
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
15837
|
+
Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.2ms)
|
15838
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
15839
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15840
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15841
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
15842
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
15843
|
+
|
15844
|
+
|
15845
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15846
|
+
Processing by WelcomeController#logged_in_page as HTML
|
15847
|
+
Completed 401 Unauthorized in 0ms
|
15848
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15849
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
15850
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
15851
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 17:18:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$iFimERWoF7CXjgmrQwt0MetW6hiFX80kkKFBEoqykdPna7lB4o7rS"], ["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", Fri, 20 Jan 2012 17:18:04 UTC +00:00]]
|
15852
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15854
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
15855
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15856
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15857
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15858
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15860
|
+
|
15861
|
+
|
15862
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:18:04 -0500
|
15863
|
+
Processing by Contour::SessionsController#create as HTML
|
15864
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
15865
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
15866
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15867
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15868
|
+
Completed 401 Unauthorized in 90ms
|
15869
|
+
|
15870
|
+
|
15871
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:18:05 -0500
|
15872
|
+
Processing by Contour::SessionsController#new as HTML
|
15873
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
15874
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
15875
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (30.9ms)
|
15876
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.2ms)
|
15877
|
+
Completed 200 OK in 38ms (Views: 37.8ms | ActiveRecord: 0.0ms)
|
15878
|
+
[1m[35m (27.7ms)[0m rollback transaction
|
15879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15880
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15881
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
15882
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
15883
|
+
|
15884
|
+
|
15885
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 12:18:05 -0500
|
15886
|
+
Processing by WelcomeController#index as HTML
|
15887
|
+
Completed 401 Unauthorized in 1ms
|
15888
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15889
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15890
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15891
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
15892
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
15893
|
+
|
15894
|
+
|
15895
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:18:05 -0500
|
15896
|
+
Processing by WelcomeController#logged_in_page as JSON
|
15897
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
15898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15899
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:18:05.206079', "current_sign_in_at" = '2012-01-20 17:18:05.206079', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:18:05.206705' WHERE "users"."id" = 201799169
|
15900
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15901
|
+
Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
15902
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
15903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15904
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15905
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
15906
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
15907
|
+
|
15908
|
+
|
15909
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:18:05 -0500
|
15910
|
+
Processing by WelcomeController#logged_in_page as JSON
|
15911
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
15912
|
+
Completed 401 Unauthorized in 80ms
|
15913
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15914
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15915
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15916
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15917
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15918
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15919
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15921
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications"
|
15922
|
+
[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-01-20 17:22:56', '2012-01-20 17:22:56', 949717663, 201799169)[0m
|
15923
|
+
[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-01-20 17:22:56', '2012-01-20 17:22:56', 876923740, 201799169)
|
15924
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-20 17:22:56', '2012-01-20 17:22:56', 864673665, 201799169)[0m
|
15925
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
15926
|
+
[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-01-20 17:22:56', '2012-01-20 17:22:56', 201799169)[0m
|
15927
|
+
[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-01-20 17:22:56', '2012-01-20 17:22:56', 999914115)
|
15928
|
+
[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-01-20 17:22:56', '2012-01-20 17:22:56', 725306934)[0m
|
15929
|
+
[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-01-20 17:22:56', '2012-01-20 17:22:56', 349534908)
|
15930
|
+
[1m[36m (43.9ms)[0m [1mcommit transaction[0m
|
15931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15932
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
15933
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15935
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
15936
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15938
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15939
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
15940
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
15941
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
15942
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 17:22:56 UTC", "updated_at"=>"2012-01-20 17:22:56 UTC"}}
|
15943
|
+
request {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
15944
|
+
omniauth: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
15945
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
15946
|
+
OMNI AUTH INFO: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"}
|
15947
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
15948
|
+
Logged in user found, creating associated authentication.
|
15949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15950
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 17:22:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 17:22:57 UTC +00:00], ["user_id", 201799169]]
|
15951
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15952
|
+
Redirected to http://test.host/authentications
|
15953
|
+
Completed 302 Found in 51ms (ActiveRecord: 0.9ms)
|
15954
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
15955
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
15956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15957
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15958
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
15959
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
15960
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
15961
|
+
Parameters: {"id"=>"949717663"}
|
15962
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
15963
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
15964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15965
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
15966
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15967
|
+
Redirected to http://test.host/authentications
|
15968
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
15969
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
15970
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
15971
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15972
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15973
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
15974
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
15975
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
15976
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
15977
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
15978
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
15979
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
15980
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms)
|
15981
|
+
Completed 200 OK in 63ms (Views: 61.0ms | ActiveRecord: 0.3ms)
|
15982
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15984
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15985
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15986
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
15987
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
15988
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
15989
|
+
|
15990
|
+
|
15991
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
|
15992
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15994
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
15995
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
15996
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
15997
|
+
|
15998
|
+
|
15999
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
|
16000
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16002
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16003
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16004
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16005
|
+
|
16006
|
+
|
16007
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
|
16008
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16010
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16011
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16012
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16013
|
+
|
16014
|
+
|
16015
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
|
16016
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16018
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16019
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16020
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16021
|
+
|
16022
|
+
|
16023
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
|
16024
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16026
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16027
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16028
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16029
|
+
|
16030
|
+
|
16031
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
|
16032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16033
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16034
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16035
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16037
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16038
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16040
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
16041
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 949717663, 201799169)[0m
|
16042
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 876923740, 201799169)
|
16043
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 864673665, 201799169)[0m
|
16044
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
16045
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 201799169)[0m
|
16046
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 999914115)
|
16047
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 725306934)[0m
|
16048
|
+
[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-01-20 17:28:07', '2012-01-20 17:28:07', 349534908)
|
16049
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
16050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16051
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
16052
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16054
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16055
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16056
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16057
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16058
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16059
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16060
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
16061
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 17:28:07 UTC", "updated_at"=>"2012-01-20 17:28:07 UTC"}}
|
16062
|
+
request {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16063
|
+
omniauth: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16064
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
16065
|
+
OMNI AUTH INFO: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"}
|
16066
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16067
|
+
Logged in user found, creating associated authentication.
|
16068
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16069
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 17:28:07 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 17:28:07 UTC +00:00], ["user_id", 201799169]]
|
16070
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16071
|
+
Redirected to http://test.host/authentications
|
16072
|
+
Completed 302 Found in 56ms (ActiveRecord: 0.9ms)
|
16073
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16074
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
16075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16076
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16077
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
16078
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16079
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
16080
|
+
Parameters: {"id"=>"949717663"}
|
16081
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16082
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
16083
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16084
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
16085
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16086
|
+
Redirected to http://test.host/authentications
|
16087
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
16088
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16089
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
16090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16091
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16092
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16093
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
16094
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16095
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
16096
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
16097
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms)
|
16098
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.8ms)
|
16099
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
16100
|
+
Completed 200 OK in 54ms (Views: 51.8ms | ActiveRecord: 0.4ms)
|
16101
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16105
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16106
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16107
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16108
|
+
|
16109
|
+
|
16110
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:28:07 -0500
|
16111
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16112
|
+
Completed 401 Unauthorized in 1ms
|
16113
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16114
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
16115
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16116
|
+
[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", Fri, 20 Jan 2012 17:28:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$ODjLf4BlotRwQYhts6Svnu6k.RdOXcB7ImdmCWPt02Rs4JCVviWeS"], ["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", Fri, 20 Jan 2012 17:28:07 UTC +00:00]]
|
16117
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16119
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
16120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16121
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16122
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:28:07.971652' WHERE "users"."id" = 999914117[0m
|
16123
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16125
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:28:07.973289' WHERE "users"."id" = 999914117
|
16126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16127
|
+
|
16128
|
+
|
16129
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:28:07 -0500
|
16130
|
+
Processing by Contour::SessionsController#create as HTML
|
16131
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
16132
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
16133
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16134
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16135
|
+
Completed 401 Unauthorized in 87ms
|
16136
|
+
|
16137
|
+
|
16138
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16139
|
+
Processing by Contour::SessionsController#new as HTML
|
16140
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
16141
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
16142
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (30.6ms)
|
16143
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (33.6ms)
|
16144
|
+
Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)
|
16145
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
16146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16147
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16148
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16149
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16150
|
+
|
16151
|
+
|
16152
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16153
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16154
|
+
Completed 401 Unauthorized in 0ms
|
16155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16156
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
16157
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16158
|
+
[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", Fri, 20 Jan 2012 17:28:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$IcShlkNbJrzSMg2EF5z2n.jR83N3YzpOSnM41aEGrGVmyNJKbeeUK"], ["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", Fri, 20 Jan 2012 17:28:08 UTC +00:00]]
|
16159
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16161
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16164
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:28:08.232258' WHERE "users"."id" = 999914117
|
16165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16166
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16167
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16168
|
+
|
16169
|
+
|
16170
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16171
|
+
Processing by Contour::SessionsController#create as HTML
|
16172
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
16173
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
16174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16175
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:28:08.323639', "current_sign_in_at" = '2012-01-20 17:28:08.323639', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:28:08.324182' WHERE "users"."id" = 999914117
|
16176
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16177
|
+
Redirected to http://www.example.com/logged_in_page
|
16178
|
+
Completed 302 Found in 94ms (ActiveRecord: 0.0ms)
|
16179
|
+
|
16180
|
+
|
16181
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16182
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16183
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
16184
|
+
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
|
16185
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
16186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16187
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16188
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16189
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16190
|
+
|
16191
|
+
|
16192
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16193
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16194
|
+
Completed 401 Unauthorized in 0ms
|
16195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16196
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
16197
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16198
|
+
[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", Fri, 20 Jan 2012 17:28:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$mFeaha8cZkizYL.v5sS5C.25Zy2yNajCT5wj/zc0yP9IWuGLWnG.a"], ["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", Fri, 20 Jan 2012 17:28:08 UTC +00:00]]
|
16199
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16201
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16204
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16205
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16206
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16207
|
+
|
16208
|
+
|
16209
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16210
|
+
Processing by Contour::SessionsController#create as HTML
|
16211
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
16212
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
16213
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16215
|
+
Completed 401 Unauthorized in 84ms
|
16216
|
+
|
16217
|
+
|
16218
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16219
|
+
Processing by Contour::SessionsController#new as HTML
|
16220
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
16221
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
16222
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
|
16223
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms)
|
16224
|
+
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
|
16225
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
16226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16227
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16228
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16229
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16230
|
+
|
16231
|
+
|
16232
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16233
|
+
Processing by WelcomeController#index as HTML
|
16234
|
+
Completed 401 Unauthorized in 1ms
|
16235
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16236
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16237
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16238
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16239
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16240
|
+
|
16241
|
+
|
16242
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16243
|
+
Processing by WelcomeController#logged_in_page as JSON
|
16244
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
16245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16246
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:28:08.659766', "current_sign_in_at" = '2012-01-20 17:28:08.659766', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:28:08.660722' WHERE "users"."id" = 201799169
|
16247
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16248
|
+
Completed 200 OK in 91ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
16249
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
16250
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16251
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16252
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16253
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16254
|
+
|
16255
|
+
|
16256
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:28:08 -0500
|
16257
|
+
Processing by WelcomeController#logged_in_page as JSON
|
16258
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
16259
|
+
Completed 401 Unauthorized in 83ms
|
16260
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16262
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16263
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16265
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16268
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
16269
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 17:29:05', '2012-01-20 17:29:05', 949717663, 201799169)[0m
|
16270
|
+
[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-01-20 17:29:05', '2012-01-20 17:29:05', 876923740, 201799169)
|
16271
|
+
[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-01-20 17:29:05', '2012-01-20 17:29:05', 864673665, 201799169)[0m
|
16272
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
16273
|
+
[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-01-20 17:29:05', '2012-01-20 17:29:05', 201799169)[0m
|
16274
|
+
[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-01-20 17:29:05', '2012-01-20 17:29:05', 999914115)
|
16275
|
+
[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-01-20 17:29:05', '2012-01-20 17:29:05', 725306934)[0m
|
16276
|
+
[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-01-20 17:29:05', '2012-01-20 17:29:05', 349534908)
|
16277
|
+
[1m[36m (11.6ms)[0m [1mcommit transaction[0m
|
16278
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16279
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
16280
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16282
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16283
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16284
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16285
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16286
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16287
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16288
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
16289
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 17:29:05 UTC", "updated_at"=>"2012-01-20 17:29:05 UTC"}}
|
16290
|
+
request {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16291
|
+
omniauth: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16292
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
16293
|
+
OMNI AUTH INFO: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"}
|
16294
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16295
|
+
Logged in user found, creating associated authentication.
|
16296
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16297
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 17:29:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 17:29:05 UTC +00:00], ["user_id", 201799169]]
|
16298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16299
|
+
Redirected to http://test.host/authentications
|
16300
|
+
Completed 302 Found in 69ms (ActiveRecord: 1.0ms)
|
16301
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16302
|
+
[1m[35m (6.3ms)[0m rollback transaction
|
16303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16304
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16305
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
16306
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16307
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
16308
|
+
Parameters: {"id"=>"949717663"}
|
16309
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16310
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
16311
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16312
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
16313
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16314
|
+
Redirected to http://test.host/authentications
|
16315
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
16316
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16317
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
16318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16319
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16320
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16321
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
16322
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16323
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
16324
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
16325
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
16326
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
16327
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms)
|
16328
|
+
Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.5ms)
|
16329
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16333
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16334
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16335
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16336
|
+
|
16337
|
+
|
16338
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
|
16339
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16341
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16342
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16343
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16344
|
+
|
16345
|
+
|
16346
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
|
16347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16349
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16350
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16351
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16352
|
+
|
16353
|
+
|
16354
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
|
16355
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16356
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16357
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16358
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16359
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16360
|
+
|
16361
|
+
|
16362
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
|
16363
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16365
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16366
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16367
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16368
|
+
|
16369
|
+
|
16370
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
|
16371
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16372
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16373
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16374
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16375
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16376
|
+
|
16377
|
+
|
16378
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
|
16379
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16380
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16381
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16382
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16384
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16385
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16387
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications"
|
16388
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 949717663, 201799169)[0m
|
16389
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 876923740, 201799169)
|
16390
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 864673665, 201799169)[0m
|
16391
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
16392
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 201799169)[0m
|
16393
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 999914115)
|
16394
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 725306934)[0m
|
16395
|
+
[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-01-20 17:42:50', '2012-01-20 17:42:50', 349534908)
|
16396
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
16397
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16398
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
16399
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16401
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16402
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16403
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16404
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16405
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16406
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16407
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
16408
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 17:42:50 UTC", "updated_at"=>"2012-01-20 17:42:50 UTC"}}
|
16409
|
+
request {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16410
|
+
omniauth: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16411
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
16412
|
+
OMNI AUTH INFO: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"}
|
16413
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16414
|
+
Logged in user found, creating associated authentication.
|
16415
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16416
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 17:42:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 17:42:50 UTC +00:00], ["user_id", 201799169]]
|
16417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16418
|
+
Redirected to http://test.host/authentications
|
16419
|
+
Completed 302 Found in 57ms (ActiveRecord: 0.9ms)
|
16420
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16421
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
16422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16423
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16424
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
16425
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16426
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
16427
|
+
Parameters: {"id"=>"949717663"}
|
16428
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16429
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
16430
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16431
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
16432
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16433
|
+
Redirected to http://test.host/authentications
|
16434
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
16435
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16436
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
16437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16438
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16439
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16440
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
16441
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16442
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
16443
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
16444
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms)
|
16445
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
16446
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms)
|
16447
|
+
Completed 200 OK in 81ms (Views: 79.0ms | ActiveRecord: 0.4ms)
|
16448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16450
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16451
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16452
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16453
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16454
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16455
|
+
|
16456
|
+
|
16457
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:42:50 -0500
|
16458
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16459
|
+
Completed 401 Unauthorized in 0ms
|
16460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16461
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
16462
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16463
|
+
[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", Fri, 20 Jan 2012 17:42:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$1Z5iaVnsTx8cF7JSo3JMP.zBPPvpEPkv8gZ/yOVQWHXed9c2P7Bz6"], ["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", Fri, 20 Jan 2012 17:42:50 UTC +00:00]]
|
16464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16465
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16466
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
16467
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16469
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:42:50.686986' WHERE "users"."id" = 999914117[0m
|
16470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16471
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16472
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:42:50.689751' WHERE "users"."id" = 999914117
|
16473
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16474
|
+
|
16475
|
+
|
16476
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:42:50 -0500
|
16477
|
+
Processing by Contour::SessionsController#create as HTML
|
16478
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
16479
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
16480
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16481
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16482
|
+
Completed 401 Unauthorized in 89ms
|
16483
|
+
|
16484
|
+
|
16485
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:42:50 -0500
|
16486
|
+
Processing by Contour::SessionsController#new as HTML
|
16487
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
16488
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
16489
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms)
|
16490
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.8ms)
|
16491
|
+
Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.0ms)
|
16492
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
16493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16494
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16495
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16496
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16497
|
+
|
16498
|
+
|
16499
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:42:50 -0500
|
16500
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16501
|
+
Completed 401 Unauthorized in 0ms
|
16502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16503
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
16504
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16505
|
+
[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", Fri, 20 Jan 2012 17:42:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$X1na.kejhkRgZiTxRa9d/uQKPEXSsq5AXXd/6AJ1orG6VWU/AqYbW"], ["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", Fri, 20 Jan 2012 17:42:50 UTC +00:00]]
|
16506
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16507
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16508
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16510
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16511
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:42:50.917262' WHERE "users"."id" = 999914117
|
16512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16515
|
+
|
16516
|
+
|
16517
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:42:50 -0500
|
16518
|
+
Processing by Contour::SessionsController#create as HTML
|
16519
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
16520
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
16521
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16522
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:42:51.004624', "current_sign_in_at" = '2012-01-20 17:42:51.004624', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:42:51.005224' WHERE "users"."id" = 999914117
|
16523
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16524
|
+
Redirected to http://www.example.com/logged_in_page
|
16525
|
+
Completed 302 Found in 92ms (ActiveRecord: 0.0ms)
|
16526
|
+
|
16527
|
+
|
16528
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16529
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16530
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
16531
|
+
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
16532
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
16533
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16534
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16535
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16536
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16537
|
+
|
16538
|
+
|
16539
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16540
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16541
|
+
Completed 401 Unauthorized in 0ms
|
16542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16543
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
16544
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16545
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 17:42:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$j/HsZfuorsSjQ5vPs8K.zujeqIfnCqhvq.vkwchgIfFyxIJlbIide"], ["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", Fri, 20 Jan 2012 17:42:51 UTC +00:00]]
|
16546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16547
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16548
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16549
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16553
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16554
|
+
|
16555
|
+
|
16556
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16557
|
+
Processing by Contour::SessionsController#create as HTML
|
16558
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
16559
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
16560
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16561
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16562
|
+
Completed 401 Unauthorized in 83ms
|
16563
|
+
|
16564
|
+
|
16565
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16566
|
+
Processing by Contour::SessionsController#new as HTML
|
16567
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
16568
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
16569
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
16570
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
16571
|
+
Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.0ms)
|
16572
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
16573
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16574
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16575
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16576
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16577
|
+
|
16578
|
+
|
16579
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16580
|
+
Processing by WelcomeController#index as HTML
|
16581
|
+
Completed 401 Unauthorized in 1ms
|
16582
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16583
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16584
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16585
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16586
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16587
|
+
|
16588
|
+
|
16589
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16590
|
+
Processing by WelcomeController#logged_in_page as JSON
|
16591
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
16592
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16593
|
+
[1m[35m (13.0ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:42:51.355237', "current_sign_in_at" = '2012-01-20 17:42:51.355237', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:42:51.355868' WHERE "users"."id" = 201799169
|
16594
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16595
|
+
Completed 200 OK in 102ms (Views: 0.5ms | ActiveRecord: 13.3ms)
|
16596
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
16597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16598
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16599
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16600
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16601
|
+
|
16602
|
+
|
16603
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:42:51 -0500
|
16604
|
+
Processing by WelcomeController#logged_in_page as JSON
|
16605
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
16606
|
+
Completed 401 Unauthorized in 80ms
|
16607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16609
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16610
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16611
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16612
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16613
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16615
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
16616
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 949717663, 201799169)[0m
|
16617
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 876923740, 201799169)
|
16618
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 864673665, 201799169)[0m
|
16619
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
16620
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 201799169)[0m
|
16621
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 999914115)
|
16622
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 725306934)[0m
|
16623
|
+
[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-01-20 17:45:30', '2012-01-20 17:45:30', 349534908)
|
16624
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
16625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16626
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
16627
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16629
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16630
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16631
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16632
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16633
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16634
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16635
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
16636
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 17:45:30 UTC", "updated_at"=>"2012-01-20 17:45:30 UTC"}}
|
16637
|
+
request {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16638
|
+
omniauth: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}}
|
16639
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
16640
|
+
OMNI AUTH INFO: {"provider"=>"google_apps", "info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"}
|
16641
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16642
|
+
Logged in user found, creating associated authentication.
|
16643
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16644
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 17:45:30 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 17:45:30 UTC +00:00], ["user_id", 201799169]]
|
16645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16646
|
+
Redirected to http://test.host/authentications
|
16647
|
+
Completed 302 Found in 48ms (ActiveRecord: 0.8ms)
|
16648
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16649
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
16650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16651
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16652
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
16653
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16654
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
16655
|
+
Parameters: {"id"=>"949717663"}
|
16656
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16657
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
16658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16659
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
16660
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16661
|
+
Redirected to http://test.host/authentications
|
16662
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
16663
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16664
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
16665
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16666
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16667
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16668
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
16669
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16670
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
16671
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
16672
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
16673
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
16674
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms)
|
16675
|
+
Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.3ms)
|
16676
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16678
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16680
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16681
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16682
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16683
|
+
|
16684
|
+
|
16685
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:45:30 -0500
|
16686
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16687
|
+
Completed 401 Unauthorized in 1ms
|
16688
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16689
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
16690
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16691
|
+
[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", Fri, 20 Jan 2012 17:45:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$2HWghSYZY6WnOqaAbljTiOI2GWIToj8/AQz5vGMLCa4PADKjJyhXW"], ["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", Fri, 20 Jan 2012 17:45:30 UTC +00:00]]
|
16692
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16693
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16694
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
16695
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16696
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16697
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:45:30.854965' WHERE "users"."id" = 999914117[0m
|
16698
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16699
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16700
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:45:30.856703' WHERE "users"."id" = 999914117
|
16701
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16702
|
+
|
16703
|
+
|
16704
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:45:30 -0500
|
16705
|
+
Processing by Contour::SessionsController#create as HTML
|
16706
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
16707
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
16708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16710
|
+
Completed 401 Unauthorized in 94ms
|
16711
|
+
|
16712
|
+
|
16713
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:45:30 -0500
|
16714
|
+
Processing by Contour::SessionsController#new as HTML
|
16715
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
16716
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
16717
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
|
16718
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
|
16719
|
+
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
|
16720
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
16721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16722
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16723
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16724
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16725
|
+
|
16726
|
+
|
16727
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:45:30 -0500
|
16728
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16729
|
+
Completed 401 Unauthorized in 0ms
|
16730
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16731
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
16732
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16733
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 17:45:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$013DJWtSv8E/xf6RV86XkeBNORP44AbRsa4W2mFRtP9o7KDg5j7cu"], ["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", Fri, 20 Jan 2012 17:45:31 UTC +00:00]]
|
16734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16736
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16739
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:45:31.077531' WHERE "users"."id" = 999914117
|
16740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16742
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16743
|
+
|
16744
|
+
|
16745
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16746
|
+
Processing by Contour::SessionsController#create as HTML
|
16747
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
16748
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
16749
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16750
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:45:31.164677', "current_sign_in_at" = '2012-01-20 17:45:31.164677', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:45:31.165273' WHERE "users"."id" = 999914117
|
16751
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16752
|
+
Redirected to http://www.example.com/logged_in_page
|
16753
|
+
Completed 302 Found in 90ms (ActiveRecord: 0.0ms)
|
16754
|
+
|
16755
|
+
|
16756
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16757
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16758
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
16759
|
+
Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
16760
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
16761
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16763
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16764
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16765
|
+
|
16766
|
+
|
16767
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16768
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16769
|
+
Completed 401 Unauthorized in 0ms
|
16770
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16771
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
16772
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16773
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 17:45:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$YfsyEOew/UO/Xy/eugsDduyIn2lOVDC6/k.AnvxG/TIPZFk36/6DG"], ["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", Fri, 20 Jan 2012 17:45:31 UTC +00:00]]
|
16774
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16776
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16778
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16779
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16780
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16782
|
+
|
16783
|
+
|
16784
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16785
|
+
Processing by Contour::SessionsController#create as HTML
|
16786
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
16787
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
16788
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16789
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16790
|
+
Completed 401 Unauthorized in 83ms
|
16791
|
+
|
16792
|
+
|
16793
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16794
|
+
Processing by Contour::SessionsController#new as HTML
|
16795
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
16796
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
16797
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
16798
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
16799
|
+
Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)
|
16800
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
16801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16802
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16803
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16804
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16805
|
+
|
16806
|
+
|
16807
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16808
|
+
Processing by WelcomeController#index as HTML
|
16809
|
+
Completed 401 Unauthorized in 0ms
|
16810
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16811
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16812
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16813
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16814
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16815
|
+
|
16816
|
+
|
16817
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16818
|
+
Processing by WelcomeController#logged_in_page as JSON
|
16819
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
16820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16821
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 17:45:31.505861', "current_sign_in_at" = '2012-01-20 17:45:31.505861', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 17:45:31.506452' WHERE "users"."id" = 201799169
|
16822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16823
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
16824
|
+
[1m[35m (19.7ms)[0m rollback transaction
|
16825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16826
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16827
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16828
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16829
|
+
|
16830
|
+
|
16831
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 12:45:31 -0500
|
16832
|
+
Processing by WelcomeController#logged_in_page as JSON
|
16833
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
16834
|
+
Completed 401 Unauthorized in 81ms
|
16835
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16836
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16837
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16838
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16840
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16841
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16842
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16843
|
+
[1m[35mFixture Delete (35.7ms)[0m DELETE FROM "authentications"
|
16844
|
+
[1m[36mFixture Insert (33.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 18:47:39', '2012-01-20 18:47:39', 949717663, 201799169)[0m
|
16845
|
+
[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-01-20 18:47:39', '2012-01-20 18:47:39', 876923740, 201799169)
|
16846
|
+
[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-01-20 18:47:39', '2012-01-20 18:47:39', 864673665, 201799169)[0m
|
16847
|
+
[1m[35mFixture Delete (1.3ms)[0m DELETE FROM "users"
|
16848
|
+
[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-01-20 18:47:40', '2012-01-20 18:47:40', 201799169)[0m
|
16849
|
+
[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-01-20 18:47:40', '2012-01-20 18:47:40', 999914115)
|
16850
|
+
[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-01-20 18:47:40', '2012-01-20 18:47:40', 725306934)[0m
|
16851
|
+
[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-01-20 18:47:40', '2012-01-20 18:47:40', 349534908)
|
16852
|
+
[1m[36m (81.3ms)[0m [1mcommit transaction[0m
|
16853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16854
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
16855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16857
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16858
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
16859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16860
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16861
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16862
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16863
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
16864
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 18:47:39 UTC", "updated_at"=>"2012-01-20 18:47:39 UTC"}}
|
16865
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
16866
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16867
|
+
Logged in user found, creating associated authentication.
|
16868
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16869
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 18:47:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 18:47:40 UTC +00:00], ["user_id", 201799169]]
|
16870
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16871
|
+
Redirected to http://test.host/authentications
|
16872
|
+
Completed 302 Found in 165ms (ActiveRecord: 1.0ms)
|
16873
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
16874
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
16875
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16876
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16877
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
16878
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16879
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
16880
|
+
Parameters: {"id"=>"949717663"}
|
16881
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16882
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
16883
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16884
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
16885
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16886
|
+
Redirected to http://test.host/authentications
|
16887
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
16888
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
16889
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
16890
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16891
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16892
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
16893
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
16894
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
16895
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
16896
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
16897
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
|
16898
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms)
|
16899
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
|
16900
|
+
Completed 200 OK in 219ms (Views: 217.5ms | ActiveRecord: 0.5ms)
|
16901
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16902
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16903
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16905
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
16906
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
16907
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
16908
|
+
|
16909
|
+
|
16910
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:47:40 -0500
|
16911
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16912
|
+
Completed 401 Unauthorized in 1ms
|
16913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16914
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
16915
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16916
|
+
[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", Fri, 20 Jan 2012 18:47:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$MZTpU8Zyxsosdi73u3jE/uYMzkdDEF0yN0IIBPyxnrXi6d0o3hct6"], ["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", Fri, 20 Jan 2012 18:47:41 UTC +00:00]]
|
16917
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16919
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
16920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16922
|
+
[1m[36m (31.1ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:47:41.147017' WHERE "users"."id" = 999914117[0m
|
16923
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
16924
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16925
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 18:47:41.180745' WHERE "users"."id" = 999914117
|
16926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16927
|
+
|
16928
|
+
|
16929
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
16930
|
+
Processing by Contour::SessionsController#create as HTML
|
16931
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
16932
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
16933
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16934
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16935
|
+
Completed 401 Unauthorized in 124ms
|
16936
|
+
|
16937
|
+
|
16938
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
16939
|
+
Processing by Contour::SessionsController#new as HTML
|
16940
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
16941
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
16942
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
16943
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (17.5ms)
|
16944
|
+
Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.0ms)
|
16945
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
16946
|
+
[1m[35m (0.2ms)[0m begin transaction
|
16947
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16948
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16949
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16950
|
+
|
16951
|
+
|
16952
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
16953
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16954
|
+
Completed 401 Unauthorized in 0ms
|
16955
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16956
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
16957
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16958
|
+
[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", Fri, 20 Jan 2012 18:47:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$imix1uGkeqmGYxbvdPKneuiX0HhH7EP2CmqGRUerGFRxuGi5mkFGq"], ["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", Fri, 20 Jan 2012 18:47:41 UTC +00:00]]
|
16959
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16960
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16961
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
16962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16964
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:47:41.469262' WHERE "users"."id" = 999914117
|
16965
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16966
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16968
|
+
|
16969
|
+
|
16970
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
16971
|
+
Processing by Contour::SessionsController#create as HTML
|
16972
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
16973
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
16974
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16975
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 18:47:41.558012', "current_sign_in_at" = '2012-01-20 18:47:41.558012', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 18:47:41.558523' WHERE "users"."id" = 999914117
|
16976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16977
|
+
Redirected to http://www.example.com/logged_in_page
|
16978
|
+
Completed 302 Found in 119ms (ActiveRecord: 0.0ms)
|
16979
|
+
|
16980
|
+
|
16981
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
16982
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16983
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
16984
|
+
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
16985
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
16986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16987
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
16988
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
16989
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
16990
|
+
|
16991
|
+
|
16992
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
16993
|
+
Processing by WelcomeController#logged_in_page as HTML
|
16994
|
+
Completed 401 Unauthorized in 0ms
|
16995
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
16996
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
16997
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
16998
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 18:47:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$rJIcD/zVeanM/n72FjcWsubYz.BTBcbHDIPm7ou9kXunerWOK/Mdm"], ["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", Fri, 20 Jan 2012 18:47:41 UTC +00:00]]
|
16999
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17001
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17002
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17004
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17005
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17006
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17007
|
+
|
17008
|
+
|
17009
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
17010
|
+
Processing by Contour::SessionsController#create as HTML
|
17011
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
17012
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
17013
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17015
|
+
Completed 401 Unauthorized in 85ms
|
17016
|
+
|
17017
|
+
|
17018
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
17019
|
+
Processing by Contour::SessionsController#new as HTML
|
17020
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
17021
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
17022
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
17023
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
17024
|
+
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
17025
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
17026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17027
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17028
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17029
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17030
|
+
|
17031
|
+
|
17032
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
17033
|
+
Processing by WelcomeController#index as HTML
|
17034
|
+
Completed 401 Unauthorized in 1ms
|
17035
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17037
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17038
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17039
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17040
|
+
|
17041
|
+
|
17042
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
17043
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17044
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
17045
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17046
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 18:47:41.940120', "current_sign_in_at" = '2012-01-20 18:47:41.940120', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 18:47:41.940722' WHERE "users"."id" = 201799169
|
17047
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17048
|
+
Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
17049
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
17050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17051
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17052
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17053
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17054
|
+
|
17055
|
+
|
17056
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 13:47:41 -0500
|
17057
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17058
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
17059
|
+
Completed 401 Unauthorized in 82ms
|
17060
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17062
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17063
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17064
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17065
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17066
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17068
|
+
[1m[35mFixture Delete (79.3ms)[0m DELETE FROM "authentications"
|
17069
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 949717663, 201799169)[0m
|
17070
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 876923740, 201799169)
|
17071
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 864673665, 201799169)[0m
|
17072
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
17073
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 201799169)[0m
|
17074
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 999914115)
|
17075
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 725306934)[0m
|
17076
|
+
[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-01-20 18:51:51', '2012-01-20 18:51:51', 349534908)
|
17077
|
+
[1m[36m (187.1ms)[0m [1mcommit transaction[0m
|
17078
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17079
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
17080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17082
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17083
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17085
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17086
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17087
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17088
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
17089
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 18:51:51 UTC", "updated_at"=>"2012-01-20 18:51:51 UTC"}}
|
17090
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
17091
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17092
|
+
Logged in user found, creating associated authentication.
|
17093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17094
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 18:51:51 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 18:51:51 UTC +00:00], ["user_id", 201799169]]
|
17095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17096
|
+
Redirected to http://test.host/authentications
|
17097
|
+
Completed 302 Found in 100ms (ActiveRecord: 1.1ms)
|
17098
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17099
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
17100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17101
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17102
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
17103
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17104
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
17105
|
+
Parameters: {"id"=>"949717663"}
|
17106
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17107
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
17108
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17109
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
17110
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17111
|
+
Redirected to http://test.host/authentications
|
17112
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
17113
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17114
|
+
[1m[36m (15.5ms)[0m [1mrollback transaction[0m
|
17115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17116
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17117
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17118
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
17119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17120
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
17121
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
17122
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
17123
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
17124
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms)
|
17125
|
+
Completed 200 OK in 118ms (Views: 116.1ms | ActiveRecord: 0.4ms)
|
17126
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17128
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17130
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17131
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17132
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17133
|
+
|
17134
|
+
|
17135
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17136
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17137
|
+
Completed 401 Unauthorized in 1ms
|
17138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17139
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
17140
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17141
|
+
[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", Fri, 20 Jan 2012 18:51:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$E3.VvGS4.1jujQ0KrulGYu3H7Tc9Tm/ohrhcQfb1R5PR32WRCsJPC"], ["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", Fri, 20 Jan 2012 18:51:52 UTC +00:00]]
|
17142
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17143
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17144
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
17145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17147
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:51:52.352523' WHERE "users"."id" = 999914117[0m
|
17148
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17150
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 18:51:52.354189' WHERE "users"."id" = 999914117
|
17151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17152
|
+
|
17153
|
+
|
17154
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17155
|
+
Processing by Contour::SessionsController#create as HTML
|
17156
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
17157
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
17158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17159
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17160
|
+
Completed 401 Unauthorized in 108ms
|
17161
|
+
|
17162
|
+
|
17163
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17164
|
+
Processing by Contour::SessionsController#new as HTML
|
17165
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
|
17166
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
17167
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
|
17168
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
|
17169
|
+
Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.0ms)
|
17170
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
17171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17172
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17173
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17174
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17175
|
+
|
17176
|
+
|
17177
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17178
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17179
|
+
Completed 401 Unauthorized in 0ms
|
17180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17181
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
17182
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17183
|
+
[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", Fri, 20 Jan 2012 18:51:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$11dn23AMbV1hFEVB3HqkfepAKbVz8w8bI1sE6bXZYy99YqfXeS0Ta"], ["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", Fri, 20 Jan 2012 18:51:52 UTC +00:00]]
|
17184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17185
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17186
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17189
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:51:52.598737' WHERE "users"."id" = 999914117
|
17190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17192
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17193
|
+
|
17194
|
+
|
17195
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17196
|
+
Processing by Contour::SessionsController#create as HTML
|
17197
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
17198
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
17199
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17200
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 18:51:52.686753', "current_sign_in_at" = '2012-01-20 18:51:52.686753', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 18:51:52.687318' WHERE "users"."id" = 999914117
|
17201
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17202
|
+
Redirected to http://www.example.com/logged_in_page
|
17203
|
+
Completed 302 Found in 121ms (ActiveRecord: 0.0ms)
|
17204
|
+
|
17205
|
+
|
17206
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17207
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17208
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
17209
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
17210
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
17211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17212
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17213
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17214
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17215
|
+
|
17216
|
+
|
17217
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17218
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17219
|
+
Completed 401 Unauthorized in 0ms
|
17220
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17221
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
17222
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17223
|
+
[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", Fri, 20 Jan 2012 18:51:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$CJpeEWU3sZhQESK80DvCl.p4hBaqb9rdqa.bkcgtISqnHAEuU4kOe"], ["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", Fri, 20 Jan 2012 18:51:52 UTC +00:00]]
|
17224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17225
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17226
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17227
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17229
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17231
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17232
|
+
|
17233
|
+
|
17234
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17235
|
+
Processing by Contour::SessionsController#create as HTML
|
17236
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
17237
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
17238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17240
|
+
Completed 401 Unauthorized in 84ms
|
17241
|
+
|
17242
|
+
|
17243
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17244
|
+
Processing by Contour::SessionsController#new as HTML
|
17245
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
17246
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms)
|
17247
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
17248
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
|
17249
|
+
Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms)
|
17250
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
17251
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17252
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17253
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17254
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17255
|
+
|
17256
|
+
|
17257
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17258
|
+
Processing by WelcomeController#index as HTML
|
17259
|
+
Completed 401 Unauthorized in 1ms
|
17260
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17262
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17263
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17264
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17265
|
+
|
17266
|
+
|
17267
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 13:51:52 -0500
|
17268
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17269
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
17270
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17271
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 18:51:53.078106', "current_sign_in_at" = '2012-01-20 18:51:53.078106', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 18:51:53.078791' WHERE "users"."id" = 201799169
|
17272
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17273
|
+
Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
17274
|
+
[1m[35m (17.5ms)[0m rollback transaction
|
17275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17276
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17277
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17278
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17279
|
+
|
17280
|
+
|
17281
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 13:51:53 -0500
|
17282
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17283
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
17284
|
+
Completed 401 Unauthorized in 85ms
|
17285
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17287
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17288
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17290
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17292
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
17293
|
+
[1m[35mFixture Delete (10.4ms)[0m DELETE FROM "authentications"
|
17294
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 19:06:04', '2012-01-20 19:06:04', 949717663, 201799169)[0m
|
17295
|
+
[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-01-20 19:06:04', '2012-01-20 19:06:04', 876923740, 201799169)
|
17296
|
+
[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-01-20 19:06:04', '2012-01-20 19:06:04', 864673665, 201799169)[0m
|
17297
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users"
|
17298
|
+
[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-01-20 19:06:04', '2012-01-20 19:06:04', 201799169)[0m
|
17299
|
+
[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-01-20 19:06:04', '2012-01-20 19:06:04', 999914115)
|
17300
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-20 19:06:04', '2012-01-20 19:06:04', 725306934)[0m
|
17301
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-20 19:06:04', '2012-01-20 19:06:04', 349534908)
|
17302
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
17303
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17304
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
17305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17307
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17308
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17310
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17311
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17312
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17313
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
17314
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 19:06:04 UTC", "updated_at"=>"2012-01-20 19:06:04 UTC"}}
|
17315
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
17316
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17317
|
+
Logged in user found, creating associated authentication.
|
17318
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17319
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 19:06:04 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 19:06:04 UTC +00:00], ["user_id", 201799169]]
|
17320
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17321
|
+
Redirected to http://test.host/authentications
|
17322
|
+
Completed 302 Found in 112ms (ActiveRecord: 1.3ms)
|
17323
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17324
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
17325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17326
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17327
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
17328
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17329
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
17330
|
+
Parameters: {"id"=>"949717663"}
|
17331
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17332
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
17333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17334
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
17335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17336
|
+
Redirected to http://test.host/authentications
|
17337
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
|
17338
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17339
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
17340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17341
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17342
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17343
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
17344
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17345
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
17346
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
17347
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.9ms)
|
17348
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.7ms)
|
17349
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms)
|
17350
|
+
Completed 200 OK in 378ms (Views: 376.2ms | ActiveRecord: 0.4ms)
|
17351
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17355
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17356
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17357
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17358
|
+
|
17359
|
+
|
17360
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17361
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17362
|
+
Completed 401 Unauthorized in 1ms
|
17363
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17364
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
17365
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17366
|
+
[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", Fri, 20 Jan 2012 19:06:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$udXva01Kt4fts3SACliIT.E3xEmB6Wjrac7zFgzPEvKVo1pvuSG5i"], ["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", Fri, 20 Jan 2012 19:06:05 UTC +00:00]]
|
17367
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17369
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
17370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17372
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:06:05.456501' WHERE "users"."id" = 999914117[0m
|
17373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17374
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17375
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:06:05.458301' WHERE "users"."id" = 999914117
|
17376
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17377
|
+
|
17378
|
+
|
17379
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17380
|
+
Processing by Contour::SessionsController#create as HTML
|
17381
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
17382
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
17383
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17384
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17385
|
+
Completed 401 Unauthorized in 136ms
|
17386
|
+
|
17387
|
+
|
17388
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17389
|
+
Processing by Contour::SessionsController#new as HTML
|
17390
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
17391
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.3ms)
|
17392
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
|
17393
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (18.2ms)
|
17394
|
+
Completed 200 OK in 70ms (Views: 68.5ms | ActiveRecord: 0.0ms)
|
17395
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
17396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17397
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17398
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17399
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17400
|
+
|
17401
|
+
|
17402
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17403
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17404
|
+
Completed 401 Unauthorized in 0ms
|
17405
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17406
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
17407
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17408
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:06:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$of/B9il4856K8OJEudFMp.rnaubGTz3nT0P71Ul8.49TvuFShkdH2"], ["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", Fri, 20 Jan 2012 19:06:05 UTC +00:00]]
|
17409
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17411
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17412
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17413
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17414
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:06:05.786545' WHERE "users"."id" = 999914117
|
17415
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17416
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17417
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17418
|
+
|
17419
|
+
|
17420
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17421
|
+
Processing by Contour::SessionsController#create as HTML
|
17422
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
17423
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
17424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17425
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:06:05.880128', "current_sign_in_at" = '2012-01-20 19:06:05.880128', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:06:05.880964' WHERE "users"."id" = 999914117
|
17426
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17427
|
+
Redirected to http://www.example.com/logged_in_page
|
17428
|
+
Completed 302 Found in 119ms (ActiveRecord: 0.0ms)
|
17429
|
+
|
17430
|
+
|
17431
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17432
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17433
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
17434
|
+
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|
17435
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
17436
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17437
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17438
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17439
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17440
|
+
|
17441
|
+
|
17442
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:06:05 -0500
|
17443
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17444
|
+
Completed 401 Unauthorized in 0ms
|
17445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17446
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
17447
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17448
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:06:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$AaDk2MCJBTUi03bfh.pPa.6TKds3YyrpRhRaFieBLGGB.Exy4RyY2"], ["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", Fri, 20 Jan 2012 19:06:06 UTC +00:00]]
|
17449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17451
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17453
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17454
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17455
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17456
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17457
|
+
|
17458
|
+
|
17459
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:06:06 -0500
|
17460
|
+
Processing by Contour::SessionsController#create as HTML
|
17461
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
17462
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
17463
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17464
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17465
|
+
Completed 401 Unauthorized in 88ms
|
17466
|
+
|
17467
|
+
|
17468
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:06:06 -0500
|
17469
|
+
Processing by Contour::SessionsController#new as HTML
|
17470
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
17471
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
17472
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
17473
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
17474
|
+
Completed 200 OK in 48ms (Views: 47.3ms | ActiveRecord: 0.0ms)
|
17475
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
17476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17477
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17478
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17479
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17480
|
+
|
17481
|
+
|
17482
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 14:06:06 -0500
|
17483
|
+
Processing by WelcomeController#index as HTML
|
17484
|
+
Completed 401 Unauthorized in 1ms
|
17485
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17486
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17487
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17488
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17489
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17490
|
+
|
17491
|
+
|
17492
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:06:06 -0500
|
17493
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17494
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
17495
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17496
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:06:06.282040', "current_sign_in_at" = '2012-01-20 19:06:06.282040', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:06:06.283020' WHERE "users"."id" = 201799169
|
17497
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17498
|
+
Completed 200 OK in 90ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
17499
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
17500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17501
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17502
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17503
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17504
|
+
|
17505
|
+
|
17506
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:06:06 -0500
|
17507
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17508
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
17509
|
+
Completed 401 Unauthorized in 86ms
|
17510
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17511
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17512
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17513
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17514
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17515
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17516
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17518
|
+
[1m[35mFixture Delete (10.2ms)[0m DELETE FROM "authentications"
|
17519
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 19:09:37', '2012-01-20 19:09:37', 949717663, 201799169)[0m
|
17520
|
+
[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-01-20 19:09:37', '2012-01-20 19:09:37', 876923740, 201799169)
|
17521
|
+
[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-01-20 19:09:37', '2012-01-20 19:09:37', 864673665, 201799169)[0m
|
17522
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
17523
|
+
[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-01-20 19:09:37', '2012-01-20 19:09:37', 201799169)[0m
|
17524
|
+
[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-01-20 19:09:37', '2012-01-20 19:09:37', 999914115)
|
17525
|
+
[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-01-20 19:09:37', '2012-01-20 19:09:37', 725306934)[0m
|
17526
|
+
[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-01-20 19:09:37', '2012-01-20 19:09:37', 349534908)
|
17527
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
17528
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17529
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
17530
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17532
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17535
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17536
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17537
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17538
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
17539
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 19:09:37 UTC", "updated_at"=>"2012-01-20 19:09:37 UTC"}}
|
17540
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
17541
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17542
|
+
Logged in user found, creating associated authentication.
|
17543
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17544
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 19:09:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 19:09:37 UTC +00:00], ["user_id", 201799169]]
|
17545
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17546
|
+
Redirected to http://test.host/authentications
|
17547
|
+
Completed 302 Found in 84ms (ActiveRecord: 1.2ms)
|
17548
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17549
|
+
[1m[35m (6.7ms)[0m rollback transaction
|
17550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17551
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17552
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
17553
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17554
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
17555
|
+
Parameters: {"id"=>"949717663"}
|
17556
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17557
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
17558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17559
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
17560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17561
|
+
Redirected to http://test.host/authentications
|
17562
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
17563
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17564
|
+
[1m[36m (96.8ms)[0m [1mrollback transaction[0m
|
17565
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17566
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17567
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17568
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
17569
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17570
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
17571
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
17572
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
17573
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
|
17574
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
|
17575
|
+
Completed 200 OK in 353ms (Views: 351.1ms | ActiveRecord: 0.4ms)
|
17576
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17577
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17578
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17579
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17580
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17581
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17582
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17583
|
+
|
17584
|
+
|
17585
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:09:38 -0500
|
17586
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17587
|
+
Completed 401 Unauthorized in 1ms
|
17588
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17589
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
17590
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17591
|
+
[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", Fri, 20 Jan 2012 19:09:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$wcYziGiWI6Ju9olElAiWSO1VmhBLly83XmLgvoM2gKnBr335P9aue"], ["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", Fri, 20 Jan 2012 19:09:38 UTC +00:00]]
|
17592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17594
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
17595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17596
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17597
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:09:38.722042' WHERE "users"."id" = 999914117[0m
|
17598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17599
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17600
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:09:38.723875' WHERE "users"."id" = 999914117
|
17601
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17602
|
+
|
17603
|
+
|
17604
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:09:38 -0500
|
17605
|
+
Processing by Contour::SessionsController#create as HTML
|
17606
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
17607
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
17608
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17609
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17610
|
+
Completed 401 Unauthorized in 120ms
|
17611
|
+
|
17612
|
+
|
17613
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:09:38 -0500
|
17614
|
+
Processing by Contour::SessionsController#new as HTML
|
17615
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
17616
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
17617
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms)
|
17618
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (23.6ms)
|
17619
|
+
Completed 200 OK in 71ms (Views: 70.0ms | ActiveRecord: 0.0ms)
|
17620
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
17621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17622
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17623
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17624
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17625
|
+
|
17626
|
+
|
17627
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:09:38 -0500
|
17628
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17629
|
+
Completed 401 Unauthorized in 0ms
|
17630
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17631
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
17632
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17633
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:09:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$QqoL9MuK2Qvodnln0D.dCuXkr3jtsSoh0A5ZqEFVYbuRd6i8qiJiS"], ["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", Fri, 20 Jan 2012 19:09:39 UTC +00:00]]
|
17634
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17636
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17639
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:09:39.047498' WHERE "users"."id" = 999914117
|
17640
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17642
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17643
|
+
|
17644
|
+
|
17645
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17646
|
+
Processing by Contour::SessionsController#create as HTML
|
17647
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
17648
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
17649
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17650
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:09:39.138219', "current_sign_in_at" = '2012-01-20 19:09:39.138219', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:09:39.138767' WHERE "users"."id" = 999914117
|
17651
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17652
|
+
Redirected to http://www.example.com/logged_in_page
|
17653
|
+
Completed 302 Found in 112ms (ActiveRecord: 0.0ms)
|
17654
|
+
|
17655
|
+
|
17656
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17657
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17658
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
17659
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
|
17660
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
17661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17662
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17663
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17664
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17665
|
+
|
17666
|
+
|
17667
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17668
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17669
|
+
Completed 401 Unauthorized in 0ms
|
17670
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17671
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
17672
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17673
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:09:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$3TYvcPlQeuXGH1JM/RWnbOp8SEakoUx9R/7yHW/bQSYKZxfQ9b.EC"], ["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", Fri, 20 Jan 2012 19:09:39 UTC +00:00]]
|
17674
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17676
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17678
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17679
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17681
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17682
|
+
|
17683
|
+
|
17684
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17685
|
+
Processing by Contour::SessionsController#create as HTML
|
17686
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
17687
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
17688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17690
|
+
Completed 401 Unauthorized in 88ms
|
17691
|
+
|
17692
|
+
|
17693
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17694
|
+
Processing by Contour::SessionsController#new as HTML
|
17695
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
17696
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.3ms)
|
17697
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
17698
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
17699
|
+
Completed 200 OK in 59ms (Views: 58.2ms | ActiveRecord: 0.0ms)
|
17700
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
17701
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17702
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17703
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17704
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17705
|
+
|
17706
|
+
|
17707
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17708
|
+
Processing by WelcomeController#index as HTML
|
17709
|
+
Completed 401 Unauthorized in 1ms
|
17710
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17711
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17712
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17713
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17714
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17715
|
+
|
17716
|
+
|
17717
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17718
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17719
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
17720
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17721
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:09:39.559158', "current_sign_in_at" = '2012-01-20 19:09:39.559158', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:09:39.560157' WHERE "users"."id" = 201799169
|
17722
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17723
|
+
Completed 200 OK in 98ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
17724
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
17725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17726
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17727
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17728
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17729
|
+
|
17730
|
+
|
17731
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:09:39 -0500
|
17732
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17733
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
17734
|
+
Completed 401 Unauthorized in 87ms
|
17735
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17736
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17737
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17738
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17740
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17741
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17743
|
+
[1m[35mFixture Delete (8.5ms)[0m DELETE FROM "authentications"
|
17744
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 19:22:07', '2012-01-20 19:22:07', 949717663, 201799169)[0m
|
17745
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-20 19:22:07', '2012-01-20 19:22:07', 876923740, 201799169)
|
17746
|
+
[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-01-20 19:22:07', '2012-01-20 19:22:07', 864673665, 201799169)[0m
|
17747
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
17748
|
+
[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-01-20 19:22:07', '2012-01-20 19:22:07', 201799169)[0m
|
17749
|
+
[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-01-20 19:22:07', '2012-01-20 19:22:07', 999914115)
|
17750
|
+
[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-01-20 19:22:07', '2012-01-20 19:22:07', 725306934)[0m
|
17751
|
+
[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-01-20 19:22:07', '2012-01-20 19:22:07', 349534908)
|
17752
|
+
[1m[36m (28.0ms)[0m [1mcommit transaction[0m
|
17753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17754
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
17755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17757
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17758
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17760
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17761
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17762
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17763
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
17764
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 19:22:07 UTC", "updated_at"=>"2012-01-20 19:22:07 UTC"}}
|
17765
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
17766
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17767
|
+
Logged in user found, creating associated authentication.
|
17768
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17769
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 19:22:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 19:22:08 UTC +00:00], ["user_id", 201799169]]
|
17770
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17771
|
+
Redirected to http://test.host/authentications
|
17772
|
+
Completed 302 Found in 86ms (ActiveRecord: 0.9ms)
|
17773
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17774
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
17775
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17776
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17777
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
17778
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17779
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
17780
|
+
Parameters: {"id"=>"949717663"}
|
17781
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17782
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
17783
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17784
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
17785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17786
|
+
Redirected to http://test.host/authentications
|
17787
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
17788
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
17789
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
17790
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17791
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17792
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17793
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
17794
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17795
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
17796
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
17797
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.1ms)
|
17798
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
|
17799
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
17800
|
+
Completed 200 OK in 297ms (Views: 293.9ms | ActiveRecord: 0.4ms)
|
17801
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
17802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17803
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17805
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17806
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17807
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17808
|
+
|
17809
|
+
|
17810
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:22:08 -0500
|
17811
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17812
|
+
Completed 401 Unauthorized in 1ms
|
17813
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17814
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
17815
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17816
|
+
[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", Fri, 20 Jan 2012 19:22:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$sk3EntRXLFqt.0R1UIBOzen7.yZSh3KxBa2UruBnOjysJj.ToRN/W"], ["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", Fri, 20 Jan 2012 19:22:09 UTC +00:00]]
|
17817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17819
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
17820
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17821
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17822
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:22:09.079169' WHERE "users"."id" = 999914117[0m
|
17823
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17824
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17825
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:22:09.081372' WHERE "users"."id" = 999914117
|
17826
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17827
|
+
|
17828
|
+
|
17829
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17830
|
+
Processing by Contour::SessionsController#create as HTML
|
17831
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
17832
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
17833
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17834
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17835
|
+
Completed 401 Unauthorized in 125ms
|
17836
|
+
|
17837
|
+
|
17838
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17839
|
+
Processing by Contour::SessionsController#new as HTML
|
17840
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
17841
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
17842
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
|
17843
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (24.3ms)
|
17844
|
+
Completed 200 OK in 68ms (Views: 67.1ms | ActiveRecord: 0.0ms)
|
17845
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
17846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17847
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17848
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17849
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17850
|
+
|
17851
|
+
|
17852
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17853
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17854
|
+
Completed 401 Unauthorized in 0ms
|
17855
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17856
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
17857
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17858
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:22:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$xOcicnKm6lankOmBGX3PvuYNB0fuHSwktR68Wv8efrqdRytPOVq7m"], ["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", Fri, 20 Jan 2012 19:22:09 UTC +00:00]]
|
17859
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17860
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17861
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17862
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17863
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17864
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:22:09.394673' WHERE "users"."id" = 999914117
|
17865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17868
|
+
|
17869
|
+
|
17870
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17871
|
+
Processing by Contour::SessionsController#create as HTML
|
17872
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
17873
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
17874
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17875
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:22:09.487669', "current_sign_in_at" = '2012-01-20 19:22:09.487669', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:22:09.488219' WHERE "users"."id" = 999914117
|
17876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17877
|
+
Redirected to http://www.example.com/logged_in_page
|
17878
|
+
Completed 302 Found in 115ms (ActiveRecord: 0.0ms)
|
17879
|
+
|
17880
|
+
|
17881
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17882
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17883
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
17884
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
17885
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
17886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17887
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17888
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17889
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17890
|
+
|
17891
|
+
|
17892
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17893
|
+
Processing by WelcomeController#logged_in_page as HTML
|
17894
|
+
Completed 401 Unauthorized in 0ms
|
17895
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17896
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
17897
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
17898
|
+
[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", Fri, 20 Jan 2012 19:22:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$1RiEFGC/.gJELxSz6RCvDOC3O2P/teqOdE/RWa4P.YJppM7ch.nTK"], ["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", Fri, 20 Jan 2012 19:22:09 UTC +00:00]]
|
17899
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17901
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
17902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17904
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17905
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17906
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17907
|
+
|
17908
|
+
|
17909
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17910
|
+
Processing by Contour::SessionsController#create as HTML
|
17911
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
17912
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
17913
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17915
|
+
Completed 401 Unauthorized in 92ms
|
17916
|
+
|
17917
|
+
|
17918
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17919
|
+
Processing by Contour::SessionsController#new as HTML
|
17920
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
17921
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.3ms)
|
17922
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms)
|
17923
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms)
|
17924
|
+
Completed 200 OK in 55ms (Views: 53.5ms | ActiveRecord: 0.0ms)
|
17925
|
+
[1m[35m (45.3ms)[0m rollback transaction
|
17926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17927
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17928
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17929
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17930
|
+
|
17931
|
+
|
17932
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17933
|
+
Processing by WelcomeController#index as HTML
|
17934
|
+
Completed 401 Unauthorized in 1ms
|
17935
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17937
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17938
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
17939
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
17940
|
+
|
17941
|
+
|
17942
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17943
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17944
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
17945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
17946
|
+
[1m[35m (21.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:22:09.956432', "current_sign_in_at" = '2012-01-20 19:22:09.956432', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:22:09.957353' WHERE "users"."id" = 201799169
|
17947
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17948
|
+
Completed 200 OK in 112ms (Views: 0.2ms | ActiveRecord: 21.6ms)
|
17949
|
+
[1m[35m (4.9ms)[0m rollback transaction
|
17950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17951
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17952
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
17953
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
17954
|
+
|
17955
|
+
|
17956
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:22:09 -0500
|
17957
|
+
Processing by WelcomeController#logged_in_page as JSON
|
17958
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
17959
|
+
Completed 401 Unauthorized in 86ms
|
17960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17962
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
17963
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17965
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17966
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17968
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications"
|
17969
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 949717663, 201799169)[0m
|
17970
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 876923740, 201799169)
|
17971
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 864673665, 201799169)[0m
|
17972
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
17973
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 201799169)[0m
|
17974
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 999914115)
|
17975
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 725306934)[0m
|
17976
|
+
[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-01-20 19:28:18', '2012-01-20 19:28:18', 349534908)
|
17977
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
17978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17979
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
17980
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17982
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17983
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17984
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17985
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
17986
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
17987
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17988
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
17989
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 19:28:18 UTC", "updated_at"=>"2012-01-20 19:28:18 UTC"}}
|
17990
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
17991
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
17992
|
+
Logged in user found, creating associated authentication.
|
17993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17994
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 19:28:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 19:28:18 UTC +00:00], ["user_id", 201799169]]
|
17995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17996
|
+
Redirected to http://test.host/authentications
|
17997
|
+
Completed 302 Found in 65ms (ActiveRecord: 1.1ms)
|
17998
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
17999
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
18000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18001
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18002
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
18003
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18004
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
18005
|
+
Parameters: {"id"=>"949717663"}
|
18006
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18007
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
18008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18009
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
18010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18011
|
+
Redirected to http://test.host/authentications
|
18012
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
18013
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18014
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
18015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18016
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18017
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18018
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
18019
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18020
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
18021
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
18022
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms)
|
18023
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
18024
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms)
|
18025
|
+
Completed 200 OK in 71ms (Views: 69.1ms | ActiveRecord: 0.5ms)
|
18026
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18028
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18030
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18031
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18032
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18033
|
+
|
18034
|
+
|
18035
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18036
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18037
|
+
Completed 401 Unauthorized in 1ms
|
18038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18039
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1
|
18040
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18041
|
+
[1m[36mSQL (0.9ms)[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", Fri, 20 Jan 2012 19:28:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$kkGwqsemg6PmprISkZRZDuYB5BHUvc5EzgMon8xbVOb2YwqkeTFNa"], ["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", Fri, 20 Jan 2012 19:28:19 UTC +00:00]]
|
18042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
18043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18044
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
|
18045
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18047
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:28:19.320154' WHERE "users"."id" = 999914117[0m
|
18048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18050
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:28:19.322569' WHERE "users"."id" = 999914117
|
18051
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18052
|
+
|
18053
|
+
|
18054
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18055
|
+
Processing by Contour::SessionsController#create as HTML
|
18056
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
18057
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18058
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18060
|
+
Completed 401 Unauthorized in 89ms
|
18061
|
+
|
18062
|
+
|
18063
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18064
|
+
Processing by Contour::SessionsController#new as HTML
|
18065
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
18066
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
18067
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
18068
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
|
18069
|
+
Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms)
|
18070
|
+
[1m[36m (5.9ms)[0m [1mrollback transaction[0m
|
18071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18072
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18073
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18074
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18075
|
+
|
18076
|
+
|
18077
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18078
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18079
|
+
Completed 401 Unauthorized in 0ms
|
18080
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18081
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m
|
18082
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18083
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:28:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$0Rjq12dPLqrEHqLH5boAiun7g8VZIra0dng6TCXJMm5rYeOUaa0gW"], ["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", Fri, 20 Jan 2012 19:28:19 UTC +00:00]]
|
18084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18086
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
18087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18088
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18089
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:28:19.548679' WHERE "users"."id" = 999914117
|
18090
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18093
|
+
|
18094
|
+
|
18095
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18096
|
+
Processing by Contour::SessionsController#create as HTML
|
18097
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
18098
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
18099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18100
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:28:19.643327', "current_sign_in_at" = '2012-01-20 19:28:19.643327', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:28:19.643837' WHERE "users"."id" = 999914117
|
18101
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18102
|
+
Redirected to http://www.example.com/logged_in_page
|
18103
|
+
Completed 302 Found in 97ms (ActiveRecord: 0.0ms)
|
18104
|
+
|
18105
|
+
|
18106
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18107
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18108
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
|
18109
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
18110
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
18111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18112
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18113
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18114
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18115
|
+
|
18116
|
+
|
18117
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18118
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18119
|
+
Completed 401 Unauthorized in 0ms
|
18120
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18121
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m
|
18122
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18123
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 19:28:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$0m.0KpvSwmeb0ejA0b03YOXCDy/ZvqmvVvvjGaF3.VOgtjJvgWVrS"], ["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", Fri, 20 Jan 2012 19:28:19 UTC +00:00]]
|
18124
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18126
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117[0m
|
18127
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18128
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18129
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18130
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18131
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18132
|
+
|
18133
|
+
|
18134
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18135
|
+
Processing by Contour::SessionsController#create as HTML
|
18136
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
18137
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18138
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18139
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18140
|
+
Completed 401 Unauthorized in 87ms
|
18141
|
+
|
18142
|
+
|
18143
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18144
|
+
Processing by Contour::SessionsController#new as HTML
|
18145
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
18146
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.3ms)
|
18147
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
18148
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
|
18149
|
+
Completed 200 OK in 43ms (Views: 42.1ms | ActiveRecord: 0.0ms)
|
18150
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
18151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18152
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18153
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18154
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18155
|
+
|
18156
|
+
|
18157
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18158
|
+
Processing by WelcomeController#index as HTML
|
18159
|
+
Completed 401 Unauthorized in 1ms
|
18160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18162
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18163
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18164
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18165
|
+
|
18166
|
+
|
18167
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:28:19 -0500
|
18168
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18169
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
18170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18171
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 19:28:19.993709', "current_sign_in_at" = '2012-01-20 19:28:19.993709', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 19:28:19.994374' WHERE "users"."id" = 201799169
|
18172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18173
|
+
Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
18174
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
18175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18176
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18177
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18178
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18179
|
+
|
18180
|
+
|
18181
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 14:28:20 -0500
|
18182
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18183
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
18184
|
+
Completed 401 Unauthorized in 88ms
|
18185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18186
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18187
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18188
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18190
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18191
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18192
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
18193
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
18194
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
18195
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
18196
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18197
|
+
Migrating to CreateUsers (20111203203123)
|
18198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18201
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18205
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18206
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18207
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18213
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18217
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18219
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18221
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18225
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18227
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18228
|
+
[1m[36m (12.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18229
|
+
Migrating to CreateUsers (20111203203123)
|
18230
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
18231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18232
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18233
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18234
|
+
Migrating to DeviseCreateUsers (20111203203123)
|
18235
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
18236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18237
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "status" varchar(255) DEFAULT 'pending' NOT NULL, "deleted" boolean DEFAULT 'f' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
18238
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
18239
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
18240
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
18241
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
18242
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
18243
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111203203123')
|
18244
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
18245
|
+
Migrating to CreateAuthentications (20111203203307)
|
18246
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18247
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "authentications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "provider" varchar(255), "uid" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
18248
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111203203307')
|
18249
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
18250
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
18251
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18252
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("authentications")
|
18253
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
18254
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
18255
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
18256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18257
|
+
[1m[35mFixture Delete (11.9ms)[0m DELETE FROM "authentications"
|
18258
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 20:03:31', '2012-01-20 20:03:31', 949717663, 201799169)[0m
|
18259
|
+
[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-01-20 20:03:31', '2012-01-20 20:03:31', 876923740, 201799169)
|
18260
|
+
[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-01-20 20:03:31', '2012-01-20 20:03:31', 864673665, 201799169)[0m
|
18261
|
+
[1m[35mFixture Delete (1.2ms)[0m DELETE FROM "users"
|
18262
|
+
[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-01-20 20:03:31', '2012-01-20 20:03:31', 201799169)[0m
|
18263
|
+
[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-01-20 20:03:31', '2012-01-20 20:03:31', 999914115)
|
18264
|
+
[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-01-20 20:03:31', '2012-01-20 20:03:31', 725306934)[0m
|
18265
|
+
[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-01-20 20:03:31', '2012-01-20 20:03:31', 349534908)
|
18266
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
18267
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18268
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
18269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18271
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18272
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
18273
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18274
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18275
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18276
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18277
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
18278
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 20:03:31 UTC", "updated_at"=>"2012-01-20 20:03:31 UTC"}}
|
18279
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
18280
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18281
|
+
Logged in user found, creating associated authentication.
|
18282
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18283
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 20:03:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 20:03:31 UTC +00:00], ["user_id", 201799169]]
|
18284
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18285
|
+
Redirected to http://test.host/authentications
|
18286
|
+
Completed 302 Found in 97ms (ActiveRecord: 0.9ms)
|
18287
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18288
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
18289
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18290
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18291
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
18292
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18293
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
18294
|
+
Parameters: {"id"=>"949717663"}
|
18295
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18296
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
18297
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18298
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
18299
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18300
|
+
Redirected to http://test.host/authentications
|
18301
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
18302
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18303
|
+
[1m[36m (11.4ms)[0m [1mrollback transaction[0m
|
18304
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18305
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18306
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18307
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
18308
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18309
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
18310
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
18311
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms)
|
18312
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
|
18313
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
18314
|
+
Completed 200 OK in 170ms (Views: 168.5ms | ActiveRecord: 0.4ms)
|
18315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18319
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18320
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18321
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18322
|
+
|
18323
|
+
|
18324
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:03:31 -0500
|
18325
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18326
|
+
Completed 401 Unauthorized in 1ms
|
18327
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18328
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18329
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18330
|
+
[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", Fri, 20 Jan 2012 20:03:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$J2tKFWBXW2hA47MnDbpU1unS67NRjhz1r/Ll2nVwp70gU6eIt3LRy"], ["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", Fri, 20 Jan 2012 20:03:31 UTC +00:00]]
|
18331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18333
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
18334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18335
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18336
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:03:31.920674' WHERE "users"."id" = 999914116[0m
|
18337
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18339
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:03:31.922843' WHERE "users"."id" = 999914116
|
18340
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18341
|
+
|
18342
|
+
|
18343
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:03:31 -0500
|
18344
|
+
Processing by Contour::SessionsController#create as HTML
|
18345
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
18346
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18349
|
+
Completed 401 Unauthorized in 30ms
|
18350
|
+
|
18351
|
+
|
18352
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:03:31 -0500
|
18353
|
+
Processing by Contour::SessionsController#new as HTML
|
18354
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
18355
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
18356
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
|
18357
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (21.8ms)
|
18358
|
+
Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms)
|
18359
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
18360
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18361
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18362
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18363
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18364
|
+
|
18365
|
+
|
18366
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18367
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18368
|
+
Completed 401 Unauthorized in 0ms
|
18369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18370
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
18371
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18372
|
+
[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", Fri, 20 Jan 2012 20:03:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$rds7RbgVczKUzP5UGn4wQ.Pa9Aav5EmiFT4gOtrfYh600yDh45Go."], ["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", Fri, 20 Jan 2012 20:03:32 UTC +00:00]]
|
18373
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18374
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18375
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
18376
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18377
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18378
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:03:32.065574' WHERE "users"."id" = 999914116
|
18379
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18380
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18381
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18382
|
+
|
18383
|
+
|
18384
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18385
|
+
Processing by Contour::SessionsController#create as HTML
|
18386
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
18387
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
18388
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18389
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:03:32.075623', "current_sign_in_at" = '2012-01-20 20:03:32.075623', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:03:32.076113' WHERE "users"."id" = 999914116
|
18390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18391
|
+
Redirected to http://www.example.com/logged_in_page
|
18392
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
|
18393
|
+
|
18394
|
+
|
18395
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18396
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18397
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
18398
|
+
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
18399
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
18400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18401
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18402
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18403
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18404
|
+
|
18405
|
+
|
18406
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18407
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18408
|
+
Completed 401 Unauthorized in 0ms
|
18409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18410
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18411
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18412
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 20:03:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ii2YwBXR5jGkuiDt4S1F/.DEXgSvm/DHNuTEjgaLH3vkfchBA24ya"], ["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", Fri, 20 Jan 2012 20:03:32 UTC +00:00]]
|
18413
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18414
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18415
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
18416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18418
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18419
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18420
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18421
|
+
|
18422
|
+
|
18423
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18424
|
+
Processing by Contour::SessionsController#create as HTML
|
18425
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
18426
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18427
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18428
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18429
|
+
Completed 401 Unauthorized in 38ms
|
18430
|
+
|
18431
|
+
|
18432
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18433
|
+
Processing by Contour::SessionsController#new as HTML
|
18434
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
18435
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
18436
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
18437
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
18438
|
+
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
|
18439
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
18440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18441
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18442
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18443
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18444
|
+
|
18445
|
+
|
18446
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18447
|
+
Processing by WelcomeController#index as HTML
|
18448
|
+
Completed 401 Unauthorized in 0ms
|
18449
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18451
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18452
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18453
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18454
|
+
|
18455
|
+
|
18456
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18457
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18458
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
18459
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18460
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:03:32.278149', "current_sign_in_at" = '2012-01-20 20:03:32.278149', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:03:32.278764' WHERE "users"."id" = 201799169
|
18461
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18462
|
+
Completed 200 OK in 89ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
18463
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
18464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18465
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18466
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18467
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18468
|
+
|
18469
|
+
|
18470
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:03:32 -0500
|
18471
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18472
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
18473
|
+
Completed 401 Unauthorized in 84ms
|
18474
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18475
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18476
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18477
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18479
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18480
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18482
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
18483
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 949717663, 201799169)[0m
|
18484
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 876923740, 201799169)
|
18485
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 864673665, 201799169)[0m
|
18486
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
18487
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 201799169)[0m
|
18488
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 999914115)
|
18489
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 725306934)[0m
|
18490
|
+
[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-01-20 20:06:42', '2012-01-20 20:06:42', 349534908)
|
18491
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
18492
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18493
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
18494
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18496
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
18498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18499
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18500
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18501
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18502
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
18503
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 20:06:42 UTC", "updated_at"=>"2012-01-20 20:06:42 UTC"}}
|
18504
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
18505
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18506
|
+
Logged in user found, creating associated authentication.
|
18507
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18508
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 20:06:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 20:06:42 UTC +00:00], ["user_id", 201799169]]
|
18509
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
18510
|
+
Redirected to http://test.host/authentications
|
18511
|
+
Completed 302 Found in 84ms (ActiveRecord: 0.9ms)
|
18512
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18513
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
18514
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18515
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18516
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
18517
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18518
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
18519
|
+
Parameters: {"id"=>"949717663"}
|
18520
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18521
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
18522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18523
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
18524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18525
|
+
Redirected to http://test.host/authentications
|
18526
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
18527
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18528
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
18529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18530
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18531
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18532
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
18533
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18534
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
18535
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
18536
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
|
18537
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms)
|
18538
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
18539
|
+
Completed 200 OK in 252ms (Views: 250.0ms | ActiveRecord: 0.3ms)
|
18540
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18542
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18544
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18545
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18546
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18547
|
+
|
18548
|
+
|
18549
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:06:43 -0500
|
18550
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18551
|
+
Completed 401 Unauthorized in 1ms
|
18552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18553
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18554
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18555
|
+
[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", Fri, 20 Jan 2012 20:06:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$WtZAL7yCEDw3hK1Oy1QDDOM/ejtnmn.RcWXMlbtHhgNkGpj/COx0O"], ["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", Fri, 20 Jan 2012 20:06:43 UTC +00:00]]
|
18556
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18557
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18558
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
18559
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18560
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18561
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:06:43.596590' WHERE "users"."id" = 999914116[0m
|
18562
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18564
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:06:43.598398' WHERE "users"."id" = 999914116
|
18565
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18566
|
+
|
18567
|
+
|
18568
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:06:43 -0500
|
18569
|
+
Processing by Contour::SessionsController#create as HTML
|
18570
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
18571
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18572
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18574
|
+
Completed 401 Unauthorized in 33ms
|
18575
|
+
|
18576
|
+
|
18577
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:06:43 -0500
|
18578
|
+
Processing by Contour::SessionsController#new as HTML
|
18579
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
18580
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
18581
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.1ms)
|
18582
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (112.0ms)
|
18583
|
+
Completed 200 OK in 487ms (Views: 485.1ms | ActiveRecord: 0.0ms)
|
18584
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
18585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18586
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18587
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18588
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18589
|
+
|
18590
|
+
|
18591
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18592
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18593
|
+
Completed 401 Unauthorized in 0ms
|
18594
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18595
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
18596
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18597
|
+
[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", Fri, 20 Jan 2012 20:06:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$FflTI5a2VN53cpy5QHcSvuYOno0YnIfK6C8AoPLtwx0rbGj3lcKWq"], ["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", Fri, 20 Jan 2012 20:06:44 UTC +00:00]]
|
18598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18599
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18600
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
18601
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18603
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:06:44.244047' WHERE "users"."id" = 999914116
|
18604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18606
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18607
|
+
|
18608
|
+
|
18609
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18610
|
+
Processing by Contour::SessionsController#create as HTML
|
18611
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
18612
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
18613
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18614
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:06:44.253049', "current_sign_in_at" = '2012-01-20 20:06:44.253049', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:06:44.253524' WHERE "users"."id" = 999914116
|
18615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18616
|
+
Redirected to http://www.example.com/logged_in_page
|
18617
|
+
Completed 302 Found in 30ms (ActiveRecord: 0.0ms)
|
18618
|
+
|
18619
|
+
|
18620
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18621
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18622
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
18623
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
|
18624
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
18625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18626
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18627
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18628
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18629
|
+
|
18630
|
+
|
18631
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18632
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18633
|
+
Completed 401 Unauthorized in 0ms
|
18634
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18635
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18636
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18637
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 20:06:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$AK1wpwVfz125o5Y8X7N1mOgyVuU5U6Gd9eiryuowsUTyyyTrYxVHi"], ["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", Fri, 20 Jan 2012 20:06:44 UTC +00:00]]
|
18638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18640
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
18641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18642
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18646
|
+
|
18647
|
+
|
18648
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18649
|
+
Processing by Contour::SessionsController#create as HTML
|
18650
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
18651
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18654
|
+
Completed 401 Unauthorized in 4ms
|
18655
|
+
|
18656
|
+
|
18657
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18658
|
+
Processing by Contour::SessionsController#new as HTML
|
18659
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
18660
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
18661
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
18662
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
|
18663
|
+
Completed 200 OK in 42ms (Views: 41.3ms | ActiveRecord: 0.0ms)
|
18664
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
18665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18666
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18667
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18668
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18669
|
+
|
18670
|
+
|
18671
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18672
|
+
Processing by WelcomeController#index as HTML
|
18673
|
+
Completed 401 Unauthorized in 0ms
|
18674
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18676
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18677
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18678
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18679
|
+
|
18680
|
+
|
18681
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18682
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18683
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
18684
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18685
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:06:44.458998', "current_sign_in_at" = '2012-01-20 20:06:44.458998', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:06:44.460202' WHERE "users"."id" = 201799169
|
18686
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18687
|
+
Completed 200 OK in 86ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
18688
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
18689
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18690
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18691
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18692
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18693
|
+
|
18694
|
+
|
18695
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:06:44 -0500
|
18696
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18697
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
18698
|
+
Completed 401 Unauthorized in 85ms
|
18699
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18701
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18702
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18704
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18705
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18707
|
+
[1m[35mFixture Delete (23.1ms)[0m DELETE FROM "authentications"
|
18708
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 20:14:38', '2012-01-20 20:14:38', 949717663, 201799169)[0m
|
18709
|
+
[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-01-20 20:14:38', '2012-01-20 20:14:38', 876923740, 201799169)
|
18710
|
+
[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-01-20 20:14:38', '2012-01-20 20:14:38', 864673665, 201799169)[0m
|
18711
|
+
[1m[35mFixture Delete (1.9ms)[0m DELETE FROM "users"
|
18712
|
+
[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-01-20 20:14:38', '2012-01-20 20:14:38', 201799169)[0m
|
18713
|
+
[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-01-20 20:14:38', '2012-01-20 20:14:38', 999914115)
|
18714
|
+
[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-01-20 20:14:38', '2012-01-20 20:14:38', 725306934)[0m
|
18715
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-20 20:14:38', '2012-01-20 20:14:38', 349534908)
|
18716
|
+
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
18717
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18718
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
18719
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18721
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18722
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
18723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18724
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18725
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18726
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18727
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
18728
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 20:14:38 UTC", "updated_at"=>"2012-01-20 20:14:38 UTC"}}
|
18729
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
18730
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18731
|
+
Logged in user found, creating associated authentication.
|
18732
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
18733
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 20:14:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 20:14:39 UTC +00:00], ["user_id", 201799169]]
|
18734
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18735
|
+
Redirected to http://test.host/authentications
|
18736
|
+
Completed 302 Found in 318ms (ActiveRecord: 1.0ms)
|
18737
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18738
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
18739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18740
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18741
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
18742
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications"
|
18743
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
18744
|
+
Parameters: {"id"=>"949717663"}
|
18745
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18746
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
18747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18748
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
18749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18750
|
+
Redirected to http://test.host/authentications
|
18751
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
18752
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18753
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
18754
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18755
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18756
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18757
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
18758
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18759
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
18760
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
18761
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.5ms)
|
18762
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.7ms)
|
18763
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
18764
|
+
Completed 200 OK in 188ms (Views: 186.0ms | ActiveRecord: 0.5ms)
|
18765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18767
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18769
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18770
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18771
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18772
|
+
|
18773
|
+
|
18774
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:14:39 -0500
|
18775
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18776
|
+
Completed 401 Unauthorized in 1ms
|
18777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18778
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18779
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18780
|
+
[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", Fri, 20 Jan 2012 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$rvV2ouQCuv/TkR4AtH2N2uQV98lc0cjv/3Bdeh3iKSsnXDTZA7vgS"], ["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", Fri, 20 Jan 2012 20:14:40 UTC +00:00]]
|
18781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18782
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18783
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
18784
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18786
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:14:40.084378' WHERE "users"."id" = 999914116[0m
|
18787
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
18788
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18789
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:14:40.086771' WHERE "users"."id" = 999914116
|
18790
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18791
|
+
|
18792
|
+
|
18793
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18794
|
+
Processing by Contour::SessionsController#create as HTML
|
18795
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
18796
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
18797
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18798
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
18799
|
+
Completed 401 Unauthorized in 41ms
|
18800
|
+
|
18801
|
+
|
18802
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18803
|
+
Processing by Contour::SessionsController#new as HTML
|
18804
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
18805
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
18806
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
|
18807
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (124.0ms)
|
18808
|
+
Completed 200 OK in 239ms (Views: 237.3ms | ActiveRecord: 0.0ms)
|
18809
|
+
[1m[36m (58.3ms)[0m [1mrollback transaction[0m
|
18810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18811
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18812
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18813
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18814
|
+
|
18815
|
+
|
18816
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18817
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18818
|
+
Completed 401 Unauthorized in 0ms
|
18819
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18820
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
18821
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18822
|
+
[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", Fri, 20 Jan 2012 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$vlhZqLOruXsmHpkPM.yIlOjJ0E0j.8R9QrPKAfKhSNzSiI2M8wlIe"], ["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", Fri, 20 Jan 2012 20:14:40 UTC +00:00]]
|
18823
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18825
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
18826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18827
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18828
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:14:40.464172' WHERE "users"."id" = 999914116
|
18829
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18830
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18831
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18832
|
+
|
18833
|
+
|
18834
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18835
|
+
Processing by Contour::SessionsController#create as HTML
|
18836
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
18837
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
18838
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18839
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:14:40.475222', "current_sign_in_at" = '2012-01-20 20:14:40.475222', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:14:40.475902' WHERE "users"."id" = 999914116
|
18840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18841
|
+
Redirected to http://www.example.com/logged_in_page
|
18842
|
+
Completed 302 Found in 29ms (ActiveRecord: 0.0ms)
|
18843
|
+
|
18844
|
+
|
18845
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18846
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18847
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
18848
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
18849
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
18850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18851
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18852
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18853
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18854
|
+
|
18855
|
+
|
18856
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18857
|
+
Processing by WelcomeController#logged_in_page as HTML
|
18858
|
+
Completed 401 Unauthorized in 0ms
|
18859
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18860
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18861
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
18862
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$o5j0WW7Uzn3SYHPW0wRYkur6wXLD2kOy13BCn00cqqpuCX5BpeXLG"], ["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", Fri, 20 Jan 2012 20:14:40 UTC +00:00]]
|
18863
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18865
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
18866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18868
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18869
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18870
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18871
|
+
|
18872
|
+
|
18873
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18874
|
+
Processing by Contour::SessionsController#create as HTML
|
18875
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
18876
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
18877
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18879
|
+
Completed 401 Unauthorized in 39ms
|
18880
|
+
|
18881
|
+
|
18882
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18883
|
+
Processing by Contour::SessionsController#new as HTML
|
18884
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
18885
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
18886
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
18887
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
18888
|
+
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
|
18889
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
18890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18891
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18893
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18894
|
+
|
18895
|
+
|
18896
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18897
|
+
Processing by WelcomeController#index as HTML
|
18898
|
+
Completed 401 Unauthorized in 1ms
|
18899
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18900
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18901
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18902
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
18903
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
18904
|
+
|
18905
|
+
|
18906
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18907
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18908
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
18909
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18910
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:14:40.695772', "current_sign_in_at" = '2012-01-20 20:14:40.695772', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:14:40.696925' WHERE "users"."id" = 201799169
|
18911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18912
|
+
Completed 200 OK in 90ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
18913
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
18914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18915
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18916
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18917
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18918
|
+
|
18919
|
+
|
18920
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:14:40 -0500
|
18921
|
+
Processing by WelcomeController#logged_in_page as JSON
|
18922
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
18923
|
+
Completed 401 Unauthorized in 85ms
|
18924
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18926
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
18929
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18930
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18931
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18932
|
+
[1m[35mFixture Delete (22.1ms)[0m DELETE FROM "authentications"
|
18933
|
+
[1m[36mFixture Insert (26.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-20 20:55:49', '2012-01-20 20:55:49', 949717663, 201799169)[0m
|
18934
|
+
[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-01-20 20:55:49', '2012-01-20 20:55:49', 876923740, 201799169)
|
18935
|
+
[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-01-20 20:55:49', '2012-01-20 20:55:49', 864673665, 201799169)[0m
|
18936
|
+
[1m[35mFixture Delete (159.1ms)[0m DELETE FROM "users"
|
18937
|
+
[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-01-20 20:55:49', '2012-01-20 20:55:49', 201799169)[0m
|
18938
|
+
[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-01-20 20:55:49', '2012-01-20 20:55:49', 999914115)
|
18939
|
+
[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-01-20 20:55:49', '2012-01-20 20:55:49', 725306934)[0m
|
18940
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-20 20:55:49', '2012-01-20 20:55:49', 349534908)
|
18941
|
+
[1m[36m (463.3ms)[0m [1mcommit transaction[0m
|
18942
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18943
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
18944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18945
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18946
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18947
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
18948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18949
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18950
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18951
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18952
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
18953
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-20 20:55:49 UTC", "updated_at"=>"2012-01-20 20:55:49 UTC"}}
|
18954
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
18955
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18956
|
+
Logged in user found, creating associated authentication.
|
18957
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
18958
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 20 Jan 2012 20:55:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 20 Jan 2012 20:55:50 UTC +00:00], ["user_id", 201799169]]
|
18959
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
18960
|
+
Redirected to http://test.host/authentications
|
18961
|
+
Completed 302 Found in 94ms (ActiveRecord: 0.9ms)
|
18962
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
18963
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
18964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18965
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18966
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
18967
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18968
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
18969
|
+
Parameters: {"id"=>"949717663"}
|
18970
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18971
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
18972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18973
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
18974
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18975
|
+
Redirected to http://test.host/authentications
|
18976
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
18977
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
18978
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
18979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18980
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
18981
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
18982
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
18983
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
18984
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
18985
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
18986
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
|
18987
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
|
18988
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
18989
|
+
Completed 200 OK in 161ms (Views: 159.0ms | ActiveRecord: 0.4ms)
|
18990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18991
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18992
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18994
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
18995
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
18996
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
18997
|
+
|
18998
|
+
|
18999
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19000
|
+
Processing by WelcomeController#logged_in_page as HTML
|
19001
|
+
Completed 401 Unauthorized in 1ms
|
19002
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19003
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
19004
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
19005
|
+
[1m[36mSQL (0.9ms)[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", Fri, 20 Jan 2012 20:55:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$hzhKoU5Xgzr3iLnSW3gZF.Qi7FVLlvtb5KAh0uBXhTpPt4kRGgNFi"], ["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", Fri, 20 Jan 2012 20:55:50 UTC +00:00]]
|
19006
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19008
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
19009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19010
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19011
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:55:50.539375' WHERE "users"."id" = 999914116[0m
|
19012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19013
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19014
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:55:50.541260' WHERE "users"."id" = 999914116
|
19015
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19016
|
+
|
19017
|
+
|
19018
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19019
|
+
Processing by Contour::SessionsController#create as HTML
|
19020
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
19021
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
19022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19023
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19024
|
+
Completed 401 Unauthorized in 23ms
|
19025
|
+
|
19026
|
+
|
19027
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19028
|
+
Processing by Contour::SessionsController#new as HTML
|
19029
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
19030
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
19031
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms)
|
19032
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (24.4ms)
|
19033
|
+
Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)
|
19034
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
19035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
19036
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
19037
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
19038
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
19039
|
+
|
19040
|
+
|
19041
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19042
|
+
Processing by WelcomeController#logged_in_page as HTML
|
19043
|
+
Completed 401 Unauthorized in 0ms
|
19044
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19045
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
19046
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
19047
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 20:55:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$zx6GwbHDIGqpXdPpAAiteuzJEpf3c8M0NMJ1IdNQr0WUIEjakDEu."], ["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", Fri, 20 Jan 2012 20:55:50 UTC +00:00]]
|
19048
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19050
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
19051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19053
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:55:50.659406' WHERE "users"."id" = 999914116
|
19054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19055
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19056
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19057
|
+
|
19058
|
+
|
19059
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19060
|
+
Processing by Contour::SessionsController#create as HTML
|
19061
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
19062
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
19063
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19064
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:55:50.667775', "current_sign_in_at" = '2012-01-20 20:55:50.667775', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:55:50.668380' WHERE "users"."id" = 999914116
|
19065
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19066
|
+
Redirected to http://www.example.com/logged_in_page
|
19067
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.0ms)
|
19068
|
+
|
19069
|
+
|
19070
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19071
|
+
Processing by WelcomeController#logged_in_page as HTML
|
19072
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
19073
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
19074
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
19075
|
+
[1m[35m (0.1ms)[0m begin transaction
|
19076
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
19077
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
19078
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
19079
|
+
|
19080
|
+
|
19081
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19082
|
+
Processing by WelcomeController#logged_in_page as HTML
|
19083
|
+
Completed 401 Unauthorized in 0ms
|
19084
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19085
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
19086
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
19087
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Jan 2012 20:55:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$MXZS/FvYrQnuZdxzGcmaD.soo7D1QQgdi1LvikY5dJCRfWtBJCM9a"], ["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", Fri, 20 Jan 2012 20:55:50 UTC +00:00]]
|
19088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19090
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
19091
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19095
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19096
|
+
|
19097
|
+
|
19098
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19099
|
+
Processing by Contour::SessionsController#create as HTML
|
19100
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
19101
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
19102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19104
|
+
Completed 401 Unauthorized in 4ms
|
19105
|
+
|
19106
|
+
|
19107
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19108
|
+
Processing by Contour::SessionsController#new as HTML
|
19109
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
19110
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
19111
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
19112
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
19113
|
+
Completed 200 OK in 46ms (Views: 45.7ms | ActiveRecord: 0.0ms)
|
19114
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
19115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19116
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
19117
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
19118
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
19119
|
+
|
19120
|
+
|
19121
|
+
Started GET "/" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19122
|
+
Processing by WelcomeController#index as HTML
|
19123
|
+
Completed 401 Unauthorized in 1ms
|
19124
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19125
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19126
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
19127
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
19128
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
19129
|
+
|
19130
|
+
|
19131
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19132
|
+
Processing by WelcomeController#logged_in_page as JSON
|
19133
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
19134
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19135
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-20 20:55:50.886790', "current_sign_in_at" = '2012-01-20 20:55:50.886790', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-20 20:55:50.887598' WHERE "users"."id" = 201799169
|
19136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19137
|
+
Completed 200 OK in 89ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
19138
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
19139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19140
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
19141
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
19142
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
19143
|
+
|
19144
|
+
|
19145
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-01-20 15:55:50 -0500
|
19146
|
+
Processing by WelcomeController#logged_in_page as JSON
|
19147
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
19148
|
+
Completed 401 Unauthorized in 86ms
|
19149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19151
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
19152
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19153
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19154
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
19155
|
+
[1m[35m (0.0ms)[0m rollback transaction
|