contour 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
1
1
  Dummy::Application.routes.draw do
2
-
3
- devise_for :users, :controllers => {:registrations => 'contour/registrations', :sessions => 'contour/sessions', :passwords => 'contour/passwords'}, :path_names => { :sign_up => 'register', :sign_in => 'login' }
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", :as => :logged_in_page
8
-
9
- root :to => 'welcome#index'
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
@@ -1,14 +1,14 @@
1
- class CreateUsers < ActiveRecord::Migration
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, :null => false, :default => ""
11
- t.string :encrypted_password, :null => false, :default => ""
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, :default => 0
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, :default => 0 # Only if lock strategy is :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
Binary file
@@ -15689,3 +15689,3467 @@ Completed 401 Unauthorized in 88ms
15689
15689
   (0.0ms) begin transaction
15690
15690
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15691
15691
   (0.0ms) rollback transaction
15692
+  (0.1ms) begin transaction
15693
+ Fixture Delete (9.2ms) DELETE FROM "authentications"
15694
+ Fixture Insert (0.7ms) INSERT 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)
15695
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.0ms) INSERT 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)
15697
+ Fixture Delete (1.0ms) DELETE FROM "users"
15698
+ Fixture Insert (0.1ms) 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 ('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)
15699
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
15701
+ Fixture Insert (0.1ms) 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
+  (2.0ms) commit transaction
15703
+  (0.1ms) begin transaction
15704
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
15705
+  (20.8ms) rollback transaction
15706
+  (0.1ms) begin transaction
15707
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15708
+  (0.0ms) rollback transaction
15709
+  (0.1ms) begin transaction
15710
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15711
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15712
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
15720
+ Logged in user found, creating associated authentication.
15721
+  (0.1ms) SAVEPOINT active_record_1
15722
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15724
+ Redirected to http://test.host/authentications
15725
+ Completed 302 Found in 120ms (ActiveRecord: 1.1ms)
15726
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
15727
+  (0.5ms) rollback transaction
15728
+  (0.1ms) begin transaction
15729
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15730
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15731
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
15732
+ Processing by Contour::AuthenticationsController#destroy as HTML
15733
+ Parameters: {"id"=>"949717663"}
15734
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
15735
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
15736
+  (0.0ms) SAVEPOINT active_record_1
15737
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
15738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15739
+ Redirected to http://test.host/authentications
15740
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
15741
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
15742
+  (0.4ms) rollback transaction
15743
+  (0.1ms) begin transaction
15744
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15745
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15746
+ Processing by Contour::AuthenticationsController#index as HTML
15747
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
15748
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
15749
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
15755
+  (0.1ms) begin transaction
15756
+  (0.1ms) rollback transaction
15757
+  (0.1ms) begin transaction
15758
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15759
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15760
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
15767
+ User Exists (11.6ms) 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
+ SQL (0.6ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15771
+  (0.0ms) SAVEPOINT active_record_1
15772
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
15773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15774
+  (0.0ms) SAVEPOINT active_record_1
15775
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:18:04.385465' WHERE "users"."id" = 999914117
15776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15777
+  (0.0ms) SAVEPOINT active_record_1
15778
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:18:04.387412' WHERE "users"."id" = 999914117
15779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
15786
+  (0.1ms) SAVEPOINT active_record_1
15787
+  (0.1ms) 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
+  (0.8ms) rollback transaction
15799
+  (0.1ms) begin transaction
15800
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15801
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15802
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
15809
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
15810
+ Binary data inserted for `string` type on column `encrypted_password`
15811
+ SQL (0.7ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15813
+  (0.0ms) SAVEPOINT active_record_1
15814
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
15815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15816
+  (0.0ms) SAVEPOINT active_record_1
15817
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:18:04.697904' WHERE "users"."id" = 999914117
15818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15819
+  (0.0ms) SAVEPOINT active_record_1
15820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
15827
+  (0.1ms) SAVEPOINT active_record_1
15828
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
15837
+ Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.2ms)
15838
+  (0.9ms) rollback transaction
15839
+  (0.1ms) begin transaction
15840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15841
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15842
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
15849
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
15850
+ Binary data inserted for `string` type on column `encrypted_password`
15851
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15853
+  (0.0ms) SAVEPOINT active_record_1
15854
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
15855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15856
+  (0.0ms) SAVEPOINT active_record_1
15857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15858
+  (0.0ms) SAVEPOINT active_record_1
15859
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
15866
+  (0.1ms) SAVEPOINT active_record_1
15867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (27.7ms) rollback transaction
15879
+  (0.1ms) begin transaction
15880
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15881
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15882
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
15889
+  (0.0ms) begin transaction
15890
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15891
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15892
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
15898
+  (0.1ms) SAVEPOINT active_record_1
15899
+  (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15901
+ Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms)
15902
+  (0.8ms) rollback transaction
15903
+  (0.1ms) begin transaction
15904
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15905
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15906
+ User Load (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
15912
+ Completed 401 Unauthorized in 80ms
15913
+  (0.1ms) rollback transaction
15914
+  (0.0ms) begin transaction
15915
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15916
+  (0.0ms) rollback transaction
15917
+  (0.0ms) begin transaction
15918
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15919
+  (0.0ms) rollback transaction
15920
+  (0.1ms) begin transaction
15921
+ Fixture Delete (0.5ms) DELETE FROM "authentications"
15922
+ Fixture Insert (0.2ms) INSERT 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)
15923
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.2ms) INSERT 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)
15925
+ Fixture Delete (0.1ms) DELETE FROM "users"
15926
+ Fixture Insert (0.1ms) 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 ('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)
15927
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
15929
+ Fixture Insert (0.1ms) 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
+  (43.9ms) commit transaction
15931
+  (0.1ms) begin transaction
15932
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
15933
+  (0.1ms) rollback transaction
15934
+  (0.0ms) begin transaction
15935
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15936
+  (0.0ms) rollback transaction
15937
+  (0.1ms) begin transaction
15938
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15939
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15940
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
15948
+ Logged in user found, creating associated authentication.
15949
+  (0.1ms) SAVEPOINT active_record_1
15950
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15952
+ Redirected to http://test.host/authentications
15953
+ Completed 302 Found in 51ms (ActiveRecord: 0.9ms)
15954
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
15955
+  (0.7ms) rollback transaction
15956
+  (0.0ms) begin transaction
15957
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15958
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15959
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
15960
+ Processing by Contour::AuthenticationsController#destroy as HTML
15961
+ Parameters: {"id"=>"949717663"}
15962
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
15963
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
15964
+  (0.0ms) SAVEPOINT active_record_1
15965
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
15966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15967
+ Redirected to http://test.host/authentications
15968
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
15969
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
15970
+  (0.5ms) rollback transaction
15971
+  (0.0ms) begin transaction
15972
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15973
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
15974
+ Processing by Contour::AuthenticationsController#index as HTML
15975
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
15976
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
15977
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
15983
+  (0.1ms) begin transaction
15984
+  (0.0ms) rollback transaction
15985
+  (0.1ms) begin transaction
15986
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15987
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15988
+ User Load (0.1ms) 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
+  (0.1ms) rollback transaction
15993
+  (0.0ms) begin transaction
15994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
15995
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
15996
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
15997
+
15998
+
15999
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
16000
+  (0.1ms) rollback transaction
16001
+  (0.1ms) begin transaction
16002
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16003
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16004
+ User Load (0.1ms) 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
+  (0.1ms) rollback transaction
16009
+  (0.0ms) begin transaction
16010
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16011
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16012
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
16013
+
16014
+
16015
+ Started GET "/" for 127.0.0.1 at 2012-01-20 12:22:57 -0500
16016
+  (0.1ms) rollback transaction
16017
+  (0.0ms) begin transaction
16018
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16019
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16020
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16025
+  (0.0ms) begin transaction
16026
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16027
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16028
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
16033
+  (0.1ms) begin transaction
16034
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16035
+  (0.1ms) rollback transaction
16036
+  (0.0ms) begin transaction
16037
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16038
+  (0.0ms) rollback transaction
16039
+  (0.1ms) begin transaction
16040
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
16041
+ Fixture Insert (0.2ms) INSERT 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)
16042
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
16044
+ Fixture Delete (0.1ms) DELETE FROM "users"
16045
+ Fixture Insert (0.1ms) 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 ('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)
16046
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
16048
+ Fixture Insert (0.1ms) 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
+  (1.6ms) commit transaction
16050
+  (0.0ms) begin transaction
16051
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
16052
+  (0.1ms) rollback transaction
16053
+  (0.0ms) begin transaction
16054
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16055
+  (0.1ms) rollback transaction
16056
+  (0.1ms) begin transaction
16057
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16058
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16059
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16067
+ Logged in user found, creating associated authentication.
16068
+  (0.1ms) SAVEPOINT active_record_1
16069
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16071
+ Redirected to http://test.host/authentications
16072
+ Completed 302 Found in 56ms (ActiveRecord: 0.9ms)
16073
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
16074
+  (0.4ms) rollback transaction
16075
+  (0.1ms) begin transaction
16076
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16077
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16078
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16079
+ Processing by Contour::AuthenticationsController#destroy as HTML
16080
+ Parameters: {"id"=>"949717663"}
16081
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16082
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
16083
+  (0.1ms) SAVEPOINT active_record_1
16084
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
16085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16086
+ Redirected to http://test.host/authentications
16087
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
16088
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16089
+  (0.5ms) rollback transaction
16090
+  (0.1ms) begin transaction
16091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16092
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16093
+ Processing by Contour::AuthenticationsController#index as HTML
16094
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16095
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
16096
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
16102
+  (0.1ms) begin transaction
16103
+  (0.1ms) rollback transaction
16104
+  (0.1ms) begin transaction
16105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16106
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16107
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16114
+ User Exists (0.1ms) 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
+ SQL (0.7ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16118
+  (0.0ms) SAVEPOINT active_record_1
16119
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16121
+  (0.0ms) SAVEPOINT active_record_1
16122
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:28:07.971652' WHERE "users"."id" = 999914117
16123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16124
+  (0.0ms) SAVEPOINT active_record_1
16125
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:28:07.973289' WHERE "users"."id" = 999914117
16126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
16133
+  (0.1ms) SAVEPOINT active_record_1
16134
+  (0.0ms) 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
+  (0.7ms) rollback transaction
16146
+  (0.1ms) begin transaction
16147
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16148
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16149
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16156
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
16157
+ Binary data inserted for `string` type on column `encrypted_password`
16158
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16160
+  (0.0ms) SAVEPOINT active_record_1
16161
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16163
+  (0.0ms) SAVEPOINT active_record_1
16164
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:28:08.232258' WHERE "users"."id" = 999914117
16165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16166
+  (0.0ms) SAVEPOINT active_record_1
16167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
16174
+  (0.1ms) SAVEPOINT active_record_1
16175
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
16184
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
16185
+  (0.6ms) rollback transaction
16186
+  (0.1ms) begin transaction
16187
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16188
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16189
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16196
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
16197
+ Binary data inserted for `string` type on column `encrypted_password`
16198
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16200
+  (0.0ms) SAVEPOINT active_record_1
16201
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16203
+  (0.0ms) SAVEPOINT active_record_1
16204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16205
+  (0.0ms) SAVEPOINT active_record_1
16206
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
16213
+  (0.1ms) SAVEPOINT active_record_1
16214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
16226
+  (0.1ms) begin transaction
16227
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16228
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16229
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16236
+  (0.1ms) begin transaction
16237
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16238
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16239
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
16245
+  (0.1ms) SAVEPOINT active_record_1
16246
+  (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16248
+ Completed 200 OK in 91ms (Views: 0.2ms | ActiveRecord: 0.5ms)
16249
+  (0.5ms) rollback transaction
16250
+  (0.1ms) begin transaction
16251
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16252
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16253
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
16259
+ Completed 401 Unauthorized in 83ms
16260
+  (0.1ms) rollback transaction
16261
+  (0.1ms) begin transaction
16262
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16263
+  (0.1ms) rollback transaction
16264
+  (0.1ms) begin transaction
16265
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16266
+  (0.1ms) rollback transaction
16267
+  (0.1ms) begin transaction
16268
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
16269
+ Fixture Insert (0.1ms) INSERT 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)
16270
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
16272
+ Fixture Delete (0.1ms) DELETE FROM "users"
16273
+ Fixture Insert (0.1ms) 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 ('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)
16274
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
16276
+ Fixture Insert (0.1ms) 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
+  (11.6ms) commit transaction
16278
+  (0.1ms) begin transaction
16279
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
16280
+  (0.1ms) rollback transaction
16281
+  (0.1ms) begin transaction
16282
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16283
+  (0.1ms) rollback transaction
16284
+  (0.1ms) begin transaction
16285
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16286
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16287
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16295
+ Logged in user found, creating associated authentication.
16296
+  (0.1ms) SAVEPOINT active_record_1
16297
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16299
+ Redirected to http://test.host/authentications
16300
+ Completed 302 Found in 69ms (ActiveRecord: 1.0ms)
16301
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
16302
+  (6.3ms) rollback transaction
16303
+  (0.1ms) begin transaction
16304
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16305
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16306
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16307
+ Processing by Contour::AuthenticationsController#destroy as HTML
16308
+ Parameters: {"id"=>"949717663"}
16309
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16310
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
16311
+  (0.0ms) SAVEPOINT active_record_1
16312
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
16313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16314
+ Redirected to http://test.host/authentications
16315
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
16316
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16317
+  (0.4ms) rollback transaction
16318
+  (0.1ms) begin transaction
16319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16320
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16321
+ Processing by Contour::AuthenticationsController#index as HTML
16322
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16323
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
16324
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
16330
+  (0.1ms) begin transaction
16331
+  (0.0ms) rollback transaction
16332
+  (0.1ms) begin transaction
16333
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16334
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16335
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16340
+  (0.0ms) begin transaction
16341
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16342
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16343
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
16344
+
16345
+
16346
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
16347
+  (0.1ms) rollback transaction
16348
+  (0.1ms) begin transaction
16349
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16350
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16351
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16356
+  (0.0ms) begin transaction
16357
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16358
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16359
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
16360
+
16361
+
16362
+ Started GET "/" for 127.0.0.1 at 2012-01-20 12:29:05 -0500
16363
+  (0.1ms) rollback transaction
16364
+  (0.0ms) begin transaction
16365
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16366
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16367
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16372
+  (0.0ms) begin transaction
16373
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16374
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16375
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
16380
+  (0.1ms) begin transaction
16381
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16382
+  (0.1ms) rollback transaction
16383
+  (0.0ms) begin transaction
16384
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16385
+  (0.1ms) rollback transaction
16386
+  (0.1ms) begin transaction
16387
+ Fixture Delete (0.6ms) DELETE FROM "authentications"
16388
+ Fixture Insert (0.2ms) INSERT 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)
16389
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
16391
+ Fixture Delete (0.1ms) DELETE FROM "users"
16392
+ Fixture Insert (0.1ms) 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 ('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)
16393
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
16395
+ Fixture Insert (0.1ms) 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
+  (6.0ms) commit transaction
16397
+  (0.1ms) begin transaction
16398
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
16399
+  (0.1ms) rollback transaction
16400
+  (0.1ms) begin transaction
16401
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16402
+  (0.1ms) rollback transaction
16403
+  (0.1ms) begin transaction
16404
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16405
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16406
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16414
+ Logged in user found, creating associated authentication.
16415
+  (0.1ms) SAVEPOINT active_record_1
16416
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16418
+ Redirected to http://test.host/authentications
16419
+ Completed 302 Found in 57ms (ActiveRecord: 0.9ms)
16420
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
16421
+  (0.4ms) rollback transaction
16422
+  (0.0ms) begin transaction
16423
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16424
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16425
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16426
+ Processing by Contour::AuthenticationsController#destroy as HTML
16427
+ Parameters: {"id"=>"949717663"}
16428
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16429
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
16430
+  (0.0ms) SAVEPOINT active_record_1
16431
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
16432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16433
+ Redirected to http://test.host/authentications
16434
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
16435
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16436
+  (0.6ms) rollback transaction
16437
+  (0.0ms) begin transaction
16438
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16439
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16440
+ Processing by Contour::AuthenticationsController#index as HTML
16441
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16442
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
16443
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
16449
+  (0.1ms) begin transaction
16450
+  (0.0ms) rollback transaction
16451
+  (0.0ms) begin transaction
16452
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16453
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16454
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16461
+ User Exists (0.1ms) 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
+ SQL (0.7ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16465
+  (0.0ms) SAVEPOINT active_record_1
16466
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16468
+  (0.0ms) SAVEPOINT active_record_1
16469
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:42:50.686986' WHERE "users"."id" = 999914117
16470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16471
+  (0.0ms) SAVEPOINT active_record_1
16472
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:42:50.689751' WHERE "users"."id" = 999914117
16473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
16480
+  (0.1ms) SAVEPOINT active_record_1
16481
+  (0.0ms) 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
+  (0.7ms) rollback transaction
16493
+  (0.1ms) begin transaction
16494
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16495
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16496
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16503
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
16504
+ Binary data inserted for `string` type on column `encrypted_password`
16505
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16507
+  (0.0ms) SAVEPOINT active_record_1
16508
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16510
+  (0.0ms) SAVEPOINT active_record_1
16511
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:42:50.917262' WHERE "users"."id" = 999914117
16512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16513
+  (0.0ms) SAVEPOINT active_record_1
16514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
16521
+  (0.1ms) SAVEPOINT active_record_1
16522
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
16531
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
16532
+  (0.8ms) rollback transaction
16533
+  (0.0ms) begin transaction
16534
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16535
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16536
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16543
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
16544
+ Binary data inserted for `string` type on column `encrypted_password`
16545
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16547
+  (0.0ms) SAVEPOINT active_record_1
16548
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16550
+  (0.0ms) SAVEPOINT active_record_1
16551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16552
+  (0.0ms) SAVEPOINT active_record_1
16553
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
16560
+  (0.1ms) SAVEPOINT active_record_1
16561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.7ms) rollback transaction
16573
+  (0.0ms) begin transaction
16574
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16575
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16576
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16583
+  (0.0ms) begin transaction
16584
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16585
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16586
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
16592
+  (0.1ms) SAVEPOINT active_record_1
16593
+  (13.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16595
+ Completed 200 OK in 102ms (Views: 0.5ms | ActiveRecord: 13.3ms)
16596
+  (0.5ms) rollback transaction
16597
+  (0.1ms) begin transaction
16598
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16599
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16600
+ User Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
16606
+ Completed 401 Unauthorized in 80ms
16607
+  (0.1ms) rollback transaction
16608
+  (0.1ms) begin transaction
16609
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16610
+  (0.0ms) rollback transaction
16611
+  (0.0ms) begin transaction
16612
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16613
+  (0.0ms) rollback transaction
16614
+  (0.1ms) begin transaction
16615
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
16616
+ Fixture Insert (0.2ms) INSERT 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)
16617
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
16619
+ Fixture Delete (0.1ms) DELETE FROM "users"
16620
+ Fixture Insert (0.1ms) 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 ('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)
16621
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
16623
+ Fixture Insert (0.1ms) 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
+  (2.6ms) commit transaction
16625
+  (0.0ms) begin transaction
16626
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
16627
+  (0.1ms) rollback transaction
16628
+  (0.0ms) begin transaction
16629
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16630
+  (0.0ms) rollback transaction
16631
+  (0.1ms) begin transaction
16632
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16633
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16634
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16642
+ Logged in user found, creating associated authentication.
16643
+  (0.1ms) SAVEPOINT active_record_1
16644
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16646
+ Redirected to http://test.host/authentications
16647
+ Completed 302 Found in 48ms (ActiveRecord: 0.8ms)
16648
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
16649
+  (0.9ms) rollback transaction
16650
+  (0.1ms) begin transaction
16651
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16652
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16653
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16654
+ Processing by Contour::AuthenticationsController#destroy as HTML
16655
+ Parameters: {"id"=>"949717663"}
16656
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16657
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
16658
+  (0.0ms) SAVEPOINT active_record_1
16659
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
16660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16661
+ Redirected to http://test.host/authentications
16662
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
16663
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16664
+  (0.7ms) rollback transaction
16665
+  (0.0ms) begin transaction
16666
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16667
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16668
+ Processing by Contour::AuthenticationsController#index as HTML
16669
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16670
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
16671
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
16677
+  (0.1ms) begin transaction
16678
+  (0.0ms) rollback transaction
16679
+  (0.0ms) begin transaction
16680
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16681
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16682
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16689
+ User Exists (0.2ms) 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
+ SQL (0.7ms) 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: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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16693
+  (0.0ms) SAVEPOINT active_record_1
16694
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16696
+  (0.0ms) SAVEPOINT active_record_1
16697
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:45:30.854965' WHERE "users"."id" = 999914117
16698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16699
+  (0.0ms) SAVEPOINT active_record_1
16700
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 17:45:30.856703' WHERE "users"."id" = 999914117
16701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
16708
+  (0.1ms) SAVEPOINT active_record_1
16709
+  (0.0ms) 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
+  (0.8ms) rollback transaction
16721
+  (0.1ms) begin transaction
16722
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16723
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16724
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16731
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
16732
+ Binary data inserted for `string` type on column `encrypted_password`
16733
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16735
+  (0.0ms) SAVEPOINT active_record_1
16736
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16738
+  (0.0ms) SAVEPOINT active_record_1
16739
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 17:45:31.077531' WHERE "users"."id" = 999914117
16740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16741
+  (0.0ms) SAVEPOINT active_record_1
16742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
16749
+  (0.1ms) SAVEPOINT active_record_1
16750
+  (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
16759
+ Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
16760
+  (0.6ms) rollback transaction
16761
+  (0.0ms) begin transaction
16762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16763
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16764
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16771
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
16772
+ Binary data inserted for `string` type on column `encrypted_password`
16773
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16775
+  (0.0ms) SAVEPOINT active_record_1
16776
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16778
+  (0.0ms) SAVEPOINT active_record_1
16779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16780
+  (0.0ms) SAVEPOINT active_record_1
16781
+  (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
16788
+  (0.1ms) SAVEPOINT active_record_1
16789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.8ms) rollback transaction
16801
+  (0.0ms) begin transaction
16802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16803
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16804
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
16811
+  (0.1ms) begin transaction
16812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16813
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16814
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
16820
+  (0.1ms) SAVEPOINT active_record_1
16821
+  (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16823
+ Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
16824
+  (19.7ms) rollback transaction
16825
+  (0.1ms) begin transaction
16826
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16827
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16828
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
16834
+ Completed 401 Unauthorized in 81ms
16835
+  (0.1ms) rollback transaction
16836
+  (0.1ms) begin transaction
16837
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16838
+  (0.1ms) rollback transaction
16839
+  (0.0ms) begin transaction
16840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16841
+  (0.0ms) rollback transaction
16842
+  (0.1ms) begin transaction
16843
+ Fixture Delete (35.7ms) DELETE FROM "authentications"
16844
+ Fixture Insert (33.3ms) INSERT 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)
16845
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
16847
+ Fixture Delete (1.3ms) DELETE FROM "users"
16848
+ Fixture Insert (0.1ms) 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 ('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)
16849
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
16851
+ Fixture Insert (0.1ms) 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
+  (81.3ms) commit transaction
16853
+  (0.1ms) begin transaction
16854
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
16855
+  (0.1ms) rollback transaction
16856
+  (0.0ms) begin transaction
16857
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16858
+  (0.1ms) rollback transaction
16859
+  (0.1ms) begin transaction
16860
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16861
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16862
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
16866
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16867
+ Logged in user found, creating associated authentication.
16868
+  (0.1ms) SAVEPOINT active_record_1
16869
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16871
+ Redirected to http://test.host/authentications
16872
+ Completed 302 Found in 165ms (ActiveRecord: 1.0ms)
16873
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
16874
+  (0.9ms) rollback transaction
16875
+  (0.0ms) begin transaction
16876
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16877
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16878
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16879
+ Processing by Contour::AuthenticationsController#destroy as HTML
16880
+ Parameters: {"id"=>"949717663"}
16881
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16882
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
16883
+  (0.0ms) SAVEPOINT active_record_1
16884
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
16885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16886
+ Redirected to http://test.host/authentications
16887
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
16888
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
16889
+  (1.0ms) rollback transaction
16890
+  (0.0ms) begin transaction
16891
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16892
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
16893
+ Processing by Contour::AuthenticationsController#index as HTML
16894
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
16895
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
16896
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
16902
+  (0.1ms) begin transaction
16903
+  (0.0ms) rollback transaction
16904
+  (0.0ms) begin transaction
16905
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16906
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16907
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
16914
+ User Exists (0.2ms) 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
+ SQL (0.7ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16918
+  (0.0ms) SAVEPOINT active_record_1
16919
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16921
+  (0.1ms) SAVEPOINT active_record_1
16922
+  (31.1ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:47:41.147017' WHERE "users"."id" = 999914117
16923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16924
+  (0.1ms) SAVEPOINT active_record_1
16925
+  (0.2ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 18:47:41.180745' WHERE "users"."id" = 999914117
16926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
16933
+  (0.1ms) SAVEPOINT active_record_1
16934
+  (0.0ms) 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
+  (0.7ms) rollback transaction
16946
+  (0.2ms) begin transaction
16947
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16948
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16949
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16956
+ User Exists (0.2ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
16957
+ Binary data inserted for `string` type on column `encrypted_password`
16958
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16960
+  (0.0ms) SAVEPOINT active_record_1
16961
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
16962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16963
+  (0.0ms) SAVEPOINT active_record_1
16964
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:47:41.469262' WHERE "users"."id" = 999914117
16965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16966
+  (0.0ms) SAVEPOINT active_record_1
16967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
16974
+  (0.1ms) SAVEPOINT active_record_1
16975
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
16984
+ Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
16985
+  (0.8ms) rollback transaction
16986
+  (0.1ms) begin transaction
16987
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
16988
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
16989
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
16996
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
16997
+ Binary data inserted for `string` type on column `encrypted_password`
16998
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17000
+  (0.0ms) SAVEPOINT active_record_1
17001
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17003
+  (0.0ms) SAVEPOINT active_record_1
17004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17005
+  (0.0ms) SAVEPOINT active_record_1
17006
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
17013
+  (0.1ms) SAVEPOINT active_record_1
17014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.8ms) rollback transaction
17026
+  (0.0ms) begin transaction
17027
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17028
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17029
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
17036
+  (0.0ms) begin transaction
17037
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17038
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17039
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17045
+  (0.1ms) SAVEPOINT active_record_1
17046
+  (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17048
+ Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.5ms)
17049
+  (0.7ms) rollback transaction
17050
+  (0.1ms) begin transaction
17051
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17052
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17053
+ User Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17059
+ Completed 401 Unauthorized in 82ms
17060
+  (0.1ms) rollback transaction
17061
+  (0.1ms) begin transaction
17062
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17063
+  (0.1ms) rollback transaction
17064
+  (0.0ms) begin transaction
17065
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17066
+  (0.0ms) rollback transaction
17067
+  (0.1ms) begin transaction
17068
+ Fixture Delete (79.3ms) DELETE FROM "authentications"
17069
+ Fixture Insert (0.2ms) INSERT 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)
17070
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
17072
+ Fixture Delete (0.1ms) DELETE FROM "users"
17073
+ Fixture Insert (0.1ms) 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 ('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)
17074
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
17076
+ Fixture Insert (0.1ms) 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
+  (187.1ms) commit transaction
17078
+  (0.1ms) begin transaction
17079
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
17080
+  (0.1ms) rollback transaction
17081
+  (0.1ms) begin transaction
17082
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17083
+  (0.1ms) rollback transaction
17084
+  (0.1ms) begin transaction
17085
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17086
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17087
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
17091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17092
+ Logged in user found, creating associated authentication.
17093
+  (0.1ms) SAVEPOINT active_record_1
17094
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17096
+ Redirected to http://test.host/authentications
17097
+ Completed 302 Found in 100ms (ActiveRecord: 1.1ms)
17098
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
17099
+  (0.5ms) rollback transaction
17100
+  (0.1ms) begin transaction
17101
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17102
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17103
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17104
+ Processing by Contour::AuthenticationsController#destroy as HTML
17105
+ Parameters: {"id"=>"949717663"}
17106
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17107
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
17108
+  (0.0ms) SAVEPOINT active_record_1
17109
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
17110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17111
+ Redirected to http://test.host/authentications
17112
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
17113
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17114
+  (15.5ms) rollback transaction
17115
+  (0.1ms) begin transaction
17116
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17117
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17118
+ Processing by Contour::AuthenticationsController#index as HTML
17119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17120
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
17121
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
17127
+  (0.0ms) begin transaction
17128
+  (0.0ms) rollback transaction
17129
+  (0.1ms) begin transaction
17130
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17131
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17132
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17139
+ User Exists (0.1ms) 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
+ SQL (0.6ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17143
+  (0.0ms) SAVEPOINT active_record_1
17144
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17146
+  (0.0ms) SAVEPOINT active_record_1
17147
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:51:52.352523' WHERE "users"."id" = 999914117
17148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17149
+  (0.0ms) SAVEPOINT active_record_1
17150
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 18:51:52.354189' WHERE "users"."id" = 999914117
17151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
17158
+  (0.1ms) SAVEPOINT active_record_1
17159
+  (0.1ms) 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
+  (0.6ms) rollback transaction
17171
+  (0.0ms) begin transaction
17172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17174
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17181
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
17182
+ Binary data inserted for `string` type on column `encrypted_password`
17183
+ SQL (0.6ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17185
+  (0.1ms) SAVEPOINT active_record_1
17186
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17188
+  (0.0ms) SAVEPOINT active_record_1
17189
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 18:51:52.598737' WHERE "users"."id" = 999914117
17190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17191
+  (0.0ms) SAVEPOINT active_record_1
17192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
17199
+  (0.1ms) SAVEPOINT active_record_1
17200
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
17209
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
17210
+  (0.7ms) rollback transaction
17211
+  (0.1ms) begin transaction
17212
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17213
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17214
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17221
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
17222
+ Binary data inserted for `string` type on column `encrypted_password`
17223
+ SQL (0.6ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17225
+  (0.0ms) SAVEPOINT active_record_1
17226
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17228
+  (0.0ms) SAVEPOINT active_record_1
17229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17230
+  (0.0ms) SAVEPOINT active_record_1
17231
+  (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
17238
+  (0.1ms) SAVEPOINT active_record_1
17239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.8ms) rollback transaction
17251
+  (0.1ms) begin transaction
17252
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17253
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17254
+ User Load (0.1ms) 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
+  (0.1ms) rollback transaction
17261
+  (0.1ms) begin transaction
17262
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17263
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17264
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17270
+  (0.1ms) SAVEPOINT active_record_1
17271
+  (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17273
+ Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
17274
+  (17.5ms) rollback transaction
17275
+  (0.1ms) begin transaction
17276
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17277
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17278
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17284
+ Completed 401 Unauthorized in 85ms
17285
+  (0.1ms) rollback transaction
17286
+  (0.1ms) begin transaction
17287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17288
+  (0.1ms) rollback transaction
17289
+  (0.0ms) begin transaction
17290
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17291
+  (0.0ms) rollback transaction
17292
+  (0.2ms) begin transaction
17293
+ Fixture Delete (10.4ms) DELETE FROM "authentications"
17294
+ Fixture Insert (0.6ms) INSERT 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)
17295
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
17297
+ Fixture Delete (0.6ms) DELETE FROM "users"
17298
+ Fixture Insert (0.1ms) 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 ('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)
17299
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.2ms) 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 ('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)
17301
+ Fixture Insert (0.2ms) 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
+  (1.5ms) commit transaction
17303
+  (0.0ms) begin transaction
17304
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
17305
+  (0.1ms) rollback transaction
17306
+  (0.1ms) begin transaction
17307
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17308
+  (0.0ms) rollback transaction
17309
+  (0.1ms) begin transaction
17310
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17311
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17312
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
17316
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17317
+ Logged in user found, creating associated authentication.
17318
+  (0.1ms) SAVEPOINT active_record_1
17319
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17321
+ Redirected to http://test.host/authentications
17322
+ Completed 302 Found in 112ms (ActiveRecord: 1.3ms)
17323
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
17324
+  (0.5ms) rollback transaction
17325
+  (0.1ms) begin transaction
17326
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17327
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17328
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17329
+ Processing by Contour::AuthenticationsController#destroy as HTML
17330
+ Parameters: {"id"=>"949717663"}
17331
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17332
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
17333
+  (0.1ms) SAVEPOINT active_record_1
17334
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
17335
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17336
+ Redirected to http://test.host/authentications
17337
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
17338
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17339
+  (0.4ms) rollback transaction
17340
+  (0.0ms) begin transaction
17341
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17342
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17343
+ Processing by Contour::AuthenticationsController#index as HTML
17344
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17345
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
17346
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
17352
+  (0.1ms) begin transaction
17353
+  (0.0ms) rollback transaction
17354
+  (0.1ms) begin transaction
17355
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17356
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17357
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17364
+ User Exists (0.1ms) 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
+ SQL (0.6ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17368
+  (0.0ms) SAVEPOINT active_record_1
17369
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17371
+  (0.0ms) SAVEPOINT active_record_1
17372
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:06:05.456501' WHERE "users"."id" = 999914117
17373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17374
+  (0.0ms) SAVEPOINT active_record_1
17375
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:06:05.458301' WHERE "users"."id" = 999914117
17376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
17383
+  (0.1ms) SAVEPOINT active_record_1
17384
+  (0.1ms) 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
+  (0.5ms) rollback transaction
17396
+  (0.1ms) begin transaction
17397
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17398
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17399
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17406
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
17407
+ Binary data inserted for `string` type on column `encrypted_password`
17408
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17410
+  (0.0ms) SAVEPOINT active_record_1
17411
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17413
+  (0.0ms) SAVEPOINT active_record_1
17414
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:06:05.786545' WHERE "users"."id" = 999914117
17415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17416
+  (0.0ms) SAVEPOINT active_record_1
17417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
17424
+  (0.1ms) SAVEPOINT active_record_1
17425
+  (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
17434
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
17435
+  (0.5ms) rollback transaction
17436
+  (0.1ms) begin transaction
17437
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17438
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17446
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
17447
+ Binary data inserted for `string` type on column `encrypted_password`
17448
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17450
+  (0.0ms) SAVEPOINT active_record_1
17451
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17453
+  (0.1ms) SAVEPOINT active_record_1
17454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17455
+  (0.0ms) SAVEPOINT active_record_1
17456
+  (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
17463
+  (0.1ms) SAVEPOINT active_record_1
17464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.5ms) rollback transaction
17476
+  (0.1ms) begin transaction
17477
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17478
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17479
+ User Load (0.1ms) 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
+  (0.1ms) rollback transaction
17486
+  (0.1ms) begin transaction
17487
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17488
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17489
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17495
+  (0.1ms) SAVEPOINT active_record_1
17496
+  (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17498
+ Completed 200 OK in 90ms (Views: 0.4ms | ActiveRecord: 0.6ms)
17499
+  (0.5ms) rollback transaction
17500
+  (0.1ms) begin transaction
17501
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17502
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17503
+ User Load (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17509
+ Completed 401 Unauthorized in 86ms
17510
+  (0.1ms) rollback transaction
17511
+  (0.1ms) begin transaction
17512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17513
+  (0.1ms) rollback transaction
17514
+  (0.1ms) begin transaction
17515
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17516
+  (0.1ms) rollback transaction
17517
+  (0.1ms) begin transaction
17518
+ Fixture Delete (10.2ms) DELETE FROM "authentications"
17519
+ Fixture Insert (0.5ms) INSERT 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)
17520
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
17522
+ Fixture Delete (0.8ms) DELETE FROM "users"
17523
+ Fixture Insert (0.1ms) 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 ('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)
17524
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
17526
+ Fixture Insert (0.1ms) 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
+  (1.7ms) commit transaction
17528
+  (0.0ms) begin transaction
17529
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
17530
+  (0.1ms) rollback transaction
17531
+  (0.1ms) begin transaction
17532
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17533
+  (0.1ms) rollback transaction
17534
+  (0.1ms) begin transaction
17535
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17536
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17537
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
17541
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17542
+ Logged in user found, creating associated authentication.
17543
+  (0.1ms) SAVEPOINT active_record_1
17544
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17546
+ Redirected to http://test.host/authentications
17547
+ Completed 302 Found in 84ms (ActiveRecord: 1.2ms)
17548
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
17549
+  (6.7ms) rollback transaction
17550
+  (0.1ms) begin transaction
17551
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17552
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17553
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17554
+ Processing by Contour::AuthenticationsController#destroy as HTML
17555
+ Parameters: {"id"=>"949717663"}
17556
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17557
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
17558
+  (0.0ms) SAVEPOINT active_record_1
17559
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
17560
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17561
+ Redirected to http://test.host/authentications
17562
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
17563
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17564
+  (96.8ms) rollback transaction
17565
+  (0.1ms) begin transaction
17566
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17567
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17568
+ Processing by Contour::AuthenticationsController#index as HTML
17569
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17570
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
17571
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
17577
+  (0.1ms) begin transaction
17578
+  (0.0ms) rollback transaction
17579
+  (0.1ms) begin transaction
17580
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17581
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17582
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17589
+ User Exists (0.2ms) 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
+ SQL (0.7ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17593
+  (0.0ms) SAVEPOINT active_record_1
17594
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17596
+  (0.0ms) SAVEPOINT active_record_1
17597
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:09:38.722042' WHERE "users"."id" = 999914117
17598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17599
+  (0.0ms) SAVEPOINT active_record_1
17600
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:09:38.723875' WHERE "users"."id" = 999914117
17601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
17608
+  (0.1ms) SAVEPOINT active_record_1
17609
+  (0.0ms) 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
+  (0.8ms) rollback transaction
17621
+  (0.1ms) begin transaction
17622
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17623
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17631
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
17632
+ Binary data inserted for `string` type on column `encrypted_password`
17633
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17635
+  (0.0ms) SAVEPOINT active_record_1
17636
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17638
+  (0.0ms) SAVEPOINT active_record_1
17639
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:09:39.047498' WHERE "users"."id" = 999914117
17640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17641
+  (0.0ms) SAVEPOINT active_record_1
17642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
17649
+  (0.1ms) SAVEPOINT active_record_1
17650
+  (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
17659
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
17660
+  (0.6ms) rollback transaction
17661
+  (0.1ms) begin transaction
17662
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17663
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17664
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17671
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
17672
+ Binary data inserted for `string` type on column `encrypted_password`
17673
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17675
+  (0.0ms) SAVEPOINT active_record_1
17676
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17678
+  (0.0ms) SAVEPOINT active_record_1
17679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17680
+  (0.0ms) SAVEPOINT active_record_1
17681
+  (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
17688
+  (0.1ms) SAVEPOINT active_record_1
17689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
17701
+  (0.1ms) begin transaction
17702
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17703
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17704
+ User Load (0.1ms) 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
+  (0.1ms) rollback transaction
17711
+  (0.1ms) begin transaction
17712
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17713
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17714
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17720
+  (0.1ms) SAVEPOINT active_record_1
17721
+  (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17723
+ Completed 200 OK in 98ms (Views: 0.4ms | ActiveRecord: 0.7ms)
17724
+  (0.5ms) rollback transaction
17725
+  (0.1ms) begin transaction
17726
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17727
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17728
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17734
+ Completed 401 Unauthorized in 87ms
17735
+  (0.1ms) rollback transaction
17736
+  (0.1ms) begin transaction
17737
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17738
+  (0.1ms) rollback transaction
17739
+  (0.1ms) begin transaction
17740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17741
+  (0.1ms) rollback transaction
17742
+  (0.1ms) begin transaction
17743
+ Fixture Delete (8.5ms) DELETE FROM "authentications"
17744
+ Fixture Insert (0.5ms) INSERT 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)
17745
+ Fixture Insert (0.2ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
17747
+ Fixture Delete (0.7ms) DELETE FROM "users"
17748
+ Fixture Insert (0.1ms) 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 ('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)
17749
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
17751
+ Fixture Insert (0.1ms) 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
+  (28.0ms) commit transaction
17753
+  (0.1ms) begin transaction
17754
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
17755
+  (0.1ms) rollback transaction
17756
+  (0.0ms) begin transaction
17757
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17758
+  (0.0ms) rollback transaction
17759
+  (0.1ms) begin transaction
17760
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17761
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17762
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
17766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17767
+ Logged in user found, creating associated authentication.
17768
+  (0.1ms) SAVEPOINT active_record_1
17769
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17771
+ Redirected to http://test.host/authentications
17772
+ Completed 302 Found in 86ms (ActiveRecord: 0.9ms)
17773
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
17774
+  (0.5ms) rollback transaction
17775
+  (0.0ms) begin transaction
17776
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17777
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17778
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17779
+ Processing by Contour::AuthenticationsController#destroy as HTML
17780
+ Parameters: {"id"=>"949717663"}
17781
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17782
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
17783
+  (0.0ms) SAVEPOINT active_record_1
17784
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
17785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17786
+ Redirected to http://test.host/authentications
17787
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
17788
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
17789
+  (0.6ms) rollback transaction
17790
+  (0.0ms) begin transaction
17791
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17792
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17793
+ Processing by Contour::AuthenticationsController#index as HTML
17794
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17795
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
17796
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.2ms) rollback transaction
17802
+  (0.1ms) begin transaction
17803
+  (0.1ms) rollback transaction
17804
+  (0.1ms) begin transaction
17805
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17806
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17807
+ User Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
17814
+ User Exists (0.2ms) 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
+ SQL (0.7ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17818
+  (0.0ms) SAVEPOINT active_record_1
17819
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17821
+  (0.0ms) SAVEPOINT active_record_1
17822
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:22:09.079169' WHERE "users"."id" = 999914117
17823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17824
+  (0.0ms) SAVEPOINT active_record_1
17825
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:22:09.081372' WHERE "users"."id" = 999914117
17826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
17833
+  (0.1ms) SAVEPOINT active_record_1
17834
+  (0.0ms) 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
+  (0.5ms) rollback transaction
17846
+  (0.1ms) begin transaction
17847
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17848
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17849
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17856
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
17857
+ Binary data inserted for `string` type on column `encrypted_password`
17858
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17860
+  (0.0ms) SAVEPOINT active_record_1
17861
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17863
+  (0.1ms) SAVEPOINT active_record_1
17864
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:22:09.394673' WHERE "users"."id" = 999914117
17865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17866
+  (0.0ms) SAVEPOINT active_record_1
17867
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
17874
+  (0.1ms) SAVEPOINT active_record_1
17875
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
17884
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
17885
+  (0.5ms) rollback transaction
17886
+  (0.1ms) begin transaction
17887
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17888
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17889
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
17896
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
17897
+ Binary data inserted for `string` type on column `encrypted_password`
17898
+ SQL (0.8ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17900
+  (0.0ms) SAVEPOINT active_record_1
17901
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
17902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17903
+  (0.0ms) SAVEPOINT active_record_1
17904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17905
+  (0.0ms) SAVEPOINT active_record_1
17906
+  (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
17913
+  (0.1ms) SAVEPOINT active_record_1
17914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (45.3ms) rollback transaction
17926
+  (0.1ms) begin transaction
17927
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17928
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17929
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
17936
+  (0.0ms) begin transaction
17937
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17938
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17939
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17945
+  (0.1ms) SAVEPOINT active_record_1
17946
+  (21.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17948
+ Completed 200 OK in 112ms (Views: 0.2ms | ActiveRecord: 21.6ms)
17949
+  (4.9ms) rollback transaction
17950
+  (0.1ms) begin transaction
17951
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17952
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
17953
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
17959
+ Completed 401 Unauthorized in 86ms
17960
+  (0.1ms) rollback transaction
17961
+  (0.1ms) begin transaction
17962
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17963
+  (0.1ms) rollback transaction
17964
+  (0.1ms) begin transaction
17965
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17966
+  (0.0ms) rollback transaction
17967
+  (0.1ms) begin transaction
17968
+ Fixture Delete (0.4ms) DELETE FROM "authentications"
17969
+ Fixture Insert (0.2ms) INSERT 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)
17970
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
17972
+ Fixture Delete (0.2ms) DELETE FROM "users"
17973
+ Fixture Insert (0.1ms) 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 ('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)
17974
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
17976
+ Fixture Insert (0.1ms) 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
+  (1.5ms) commit transaction
17978
+  (0.0ms) begin transaction
17979
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
17980
+  (0.1ms) rollback transaction
17981
+  (0.1ms) begin transaction
17982
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17983
+  (0.1ms) rollback transaction
17984
+  (0.1ms) begin transaction
17985
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
17986
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
17987
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
17991
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
17992
+ Logged in user found, creating associated authentication.
17993
+  (0.1ms) SAVEPOINT active_record_1
17994
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17996
+ Redirected to http://test.host/authentications
17997
+ Completed 302 Found in 65ms (ActiveRecord: 1.1ms)
17998
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
17999
+  (0.6ms) rollback transaction
18000
+  (0.1ms) begin transaction
18001
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18002
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18003
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18004
+ Processing by Contour::AuthenticationsController#destroy as HTML
18005
+ Parameters: {"id"=>"949717663"}
18006
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18007
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
18008
+  (0.1ms) SAVEPOINT active_record_1
18009
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
18010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18011
+ Redirected to http://test.host/authentications
18012
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
18013
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18014
+  (0.4ms) rollback transaction
18015
+  (0.1ms) begin transaction
18016
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18017
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18018
+ Processing by Contour::AuthenticationsController#index as HTML
18019
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18020
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
18021
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
18027
+  (0.1ms) begin transaction
18028
+  (0.0ms) rollback transaction
18029
+  (0.1ms) begin transaction
18030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18031
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18032
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
18039
+ User Exists (0.1ms) 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
+ SQL (0.9ms) 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", "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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18043
+  (0.0ms) SAVEPOINT active_record_1
18044
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
18045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18046
+  (0.0ms) SAVEPOINT active_record_1
18047
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:28:19.320154' WHERE "users"."id" = 999914117
18048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18049
+  (0.0ms) SAVEPOINT active_record_1
18050
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 19:28:19.322569' WHERE "users"."id" = 999914117
18051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
18058
+  (0.1ms) SAVEPOINT active_record_1
18059
+  (0.0ms) 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
+  (5.9ms) rollback transaction
18071
+  (0.1ms) begin transaction
18072
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18073
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18074
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18081
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1
18082
+ Binary data inserted for `string` type on column `encrypted_password`
18083
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18085
+  (0.0ms) SAVEPOINT active_record_1
18086
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
18087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18088
+  (0.0ms) SAVEPOINT active_record_1
18089
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 19:28:19.548679' WHERE "users"."id" = 999914117
18090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18091
+  (0.0ms) SAVEPOINT active_record_1
18092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18099
+  (0.1ms) SAVEPOINT active_record_1
18100
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914117 LIMIT 1
18109
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
18110
+  (0.7ms) rollback transaction
18111
+  (0.0ms) begin transaction
18112
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18113
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18114
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18121
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1
18122
+ Binary data inserted for `string` type on column `encrypted_password`
18123
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18125
+  (0.0ms) SAVEPOINT active_record_1
18126
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914117
18127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18128
+  (0.0ms) SAVEPOINT active_record_1
18129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18130
+  (0.0ms) SAVEPOINT active_record_1
18131
+  (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18138
+  (0.1ms) SAVEPOINT active_record_1
18139
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
18151
+  (0.1ms) begin transaction
18152
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18153
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18154
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
18161
+  (0.1ms) begin transaction
18162
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18163
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18164
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18170
+  (0.1ms) SAVEPOINT active_record_1
18171
+  (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18173
+ Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms)
18174
+  (0.7ms) rollback transaction
18175
+  (0.1ms) begin transaction
18176
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18177
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18178
+ User Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18184
+ Completed 401 Unauthorized in 88ms
18185
+  (0.1ms) rollback transaction
18186
+  (0.1ms) begin transaction
18187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18188
+  (0.1ms) rollback transaction
18189
+  (0.0ms) begin transaction
18190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18191
+  (0.1ms) rollback transaction
18192
+  (0.1ms) select sqlite_version(*)
18193
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
18194
+  (0.1ms) PRAGMA index_list("schema_migrations")
18195
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
18196
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18197
+ Migrating to CreateUsers (20111203203123)
18198
+  (0.1ms) begin transaction
18199
+  (0.1ms) rollback transaction
18200
+  (0.1ms) begin transaction
18201
+  (0.0ms) rollback transaction
18202
+  (0.1ms) begin transaction
18203
+  (0.0ms) rollback transaction
18204
+  (0.1ms) begin transaction
18205
+  (0.1ms) rollback transaction
18206
+  (0.1ms) begin transaction
18207
+  (0.0ms) rollback transaction
18208
+  (0.1ms) begin transaction
18209
+  (0.0ms) rollback transaction
18210
+  (0.1ms) begin transaction
18211
+  (0.0ms) rollback transaction
18212
+  (0.1ms) begin transaction
18213
+  (0.0ms) rollback transaction
18214
+  (0.1ms) begin transaction
18215
+  (0.0ms) rollback transaction
18216
+  (0.1ms) begin transaction
18217
+  (0.0ms) rollback transaction
18218
+  (0.1ms) begin transaction
18219
+  (0.1ms) rollback transaction
18220
+  (0.1ms) begin transaction
18221
+  (0.0ms) rollback transaction
18222
+  (0.1ms) begin transaction
18223
+  (0.0ms) rollback transaction
18224
+  (0.1ms) begin transaction
18225
+  (0.0ms) rollback transaction
18226
+  (0.1ms) begin transaction
18227
+  (0.0ms) rollback transaction
18228
+  (12.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18229
+ Migrating to CreateUsers (20111203203123)
18230
+  (0.1ms) select sqlite_version(*)
18231
+  (0.1ms) begin transaction
18232
+  (0.1ms) rollback transaction
18233
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18234
+ Migrating to DeviseCreateUsers (20111203203123)
18235
+  (0.0ms) select sqlite_version(*)
18236
+  (0.0ms) begin transaction
18237
+  (0.6ms) 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
+  (0.0ms) PRAGMA index_list("users")
18239
+  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
18240
+  (0.0ms) PRAGMA index_list("users")
18241
+  (0.0ms) PRAGMA index_info('index_users_on_email')
18242
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
18243
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111203203123')
18244
+  (1.6ms) commit transaction
18245
+ Migrating to CreateAuthentications (20111203203307)
18246
+  (0.0ms) begin transaction
18247
+  (0.4ms) CREATE 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) 
18248
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111203203307')
18249
+  (1.7ms) commit transaction
18250
+  (0.3ms) select sqlite_version(*)
18251
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18252
+  (0.0ms) PRAGMA index_list("authentications")
18253
+  (0.1ms) PRAGMA index_list("users")
18254
+  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
18255
+  (0.0ms) PRAGMA index_info('index_users_on_email')
18256
+  (0.1ms) begin transaction
18257
+ Fixture Delete (11.9ms) DELETE FROM "authentications"
18258
+ Fixture Insert (0.6ms) INSERT 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)
18259
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
18261
+ Fixture Delete (1.2ms) DELETE FROM "users"
18262
+ Fixture Insert (0.1ms) 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 ('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)
18263
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
18265
+ Fixture Insert (0.1ms) 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
+  (2.1ms) commit transaction
18267
+  (0.0ms) begin transaction
18268
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
18269
+  (0.1ms) rollback transaction
18270
+  (0.1ms) begin transaction
18271
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18272
+  (0.0ms) rollback transaction
18273
+  (0.1ms) begin transaction
18274
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18275
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18276
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
18280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18281
+ Logged in user found, creating associated authentication.
18282
+  (0.1ms) SAVEPOINT active_record_1
18283
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18285
+ Redirected to http://test.host/authentications
18286
+ Completed 302 Found in 97ms (ActiveRecord: 0.9ms)
18287
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
18288
+  (0.7ms) rollback transaction
18289
+  (0.1ms) begin transaction
18290
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18291
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18292
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18293
+ Processing by Contour::AuthenticationsController#destroy as HTML
18294
+ Parameters: {"id"=>"949717663"}
18295
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18296
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
18297
+  (0.0ms) SAVEPOINT active_record_1
18298
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
18299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18300
+ Redirected to http://test.host/authentications
18301
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
18302
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18303
+  (11.4ms) rollback transaction
18304
+  (0.1ms) begin transaction
18305
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18306
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18307
+ Processing by Contour::AuthenticationsController#index as HTML
18308
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18309
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
18310
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
18316
+  (0.1ms) begin transaction
18317
+  (0.0ms) rollback transaction
18318
+  (0.1ms) begin transaction
18319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18320
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18321
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
18328
+ User Exists (0.1ms) 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
+ SQL (0.6ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18332
+  (0.0ms) SAVEPOINT active_record_1
18333
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18335
+  (0.0ms) SAVEPOINT active_record_1
18336
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:03:31.920674' WHERE "users"."id" = 999914116
18337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18338
+  (0.1ms) SAVEPOINT active_record_1
18339
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:03:31.922843' WHERE "users"."id" = 999914116
18340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
18347
+  (0.1ms) SAVEPOINT active_record_1
18348
+  (0.0ms) 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
+  (0.7ms) rollback transaction
18360
+  (0.1ms) begin transaction
18361
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18362
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18363
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18370
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18371
+ Binary data inserted for `string` type on column `encrypted_password`
18372
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18374
+  (0.0ms) SAVEPOINT active_record_1
18375
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18377
+  (0.0ms) SAVEPOINT active_record_1
18378
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:03:32.065574' WHERE "users"."id" = 999914116
18379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18380
+  (0.0ms) SAVEPOINT active_record_1
18381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18388
+  (0.0ms) SAVEPOINT active_record_1
18389
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
18398
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
18399
+  (0.8ms) rollback transaction
18400
+  (0.1ms) begin transaction
18401
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18402
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18403
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18410
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18411
+ Binary data inserted for `string` type on column `encrypted_password`
18412
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18414
+  (0.0ms) SAVEPOINT active_record_1
18415
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18417
+  (0.0ms) SAVEPOINT active_record_1
18418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18419
+  (0.0ms) SAVEPOINT active_record_1
18420
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18427
+  (0.1ms) SAVEPOINT active_record_1
18428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (0.5ms) rollback transaction
18440
+  (0.0ms) begin transaction
18441
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18442
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18443
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
18450
+  (0.0ms) begin transaction
18451
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18452
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18453
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18459
+  (0.1ms) SAVEPOINT active_record_1
18460
+  (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18462
+ Completed 200 OK in 89ms (Views: 0.2ms | ActiveRecord: 0.5ms)
18463
+  (0.4ms) rollback transaction
18464
+  (0.1ms) begin transaction
18465
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18466
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18467
+ User Load (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18473
+ Completed 401 Unauthorized in 84ms
18474
+  (0.1ms) rollback transaction
18475
+  (0.1ms) begin transaction
18476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18477
+  (0.1ms) rollback transaction
18478
+  (0.0ms) begin transaction
18479
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18480
+  (0.0ms) rollback transaction
18481
+  (0.1ms) begin transaction
18482
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
18483
+ Fixture Insert (0.2ms) INSERT 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)
18484
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
18486
+ Fixture Delete (0.1ms) DELETE FROM "users"
18487
+ Fixture Insert (0.1ms) 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 ('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)
18488
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
18490
+ Fixture Insert (0.1ms) 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
+  (1.8ms) commit transaction
18492
+  (0.0ms) begin transaction
18493
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
18494
+  (0.1ms) rollback transaction
18495
+  (0.1ms) begin transaction
18496
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18497
+  (0.0ms) rollback transaction
18498
+  (0.1ms) begin transaction
18499
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18500
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18501
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
18505
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18506
+ Logged in user found, creating associated authentication.
18507
+  (0.1ms) SAVEPOINT active_record_1
18508
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18510
+ Redirected to http://test.host/authentications
18511
+ Completed 302 Found in 84ms (ActiveRecord: 0.9ms)
18512
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
18513
+  (0.5ms) rollback transaction
18514
+  (0.1ms) begin transaction
18515
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18516
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18517
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18518
+ Processing by Contour::AuthenticationsController#destroy as HTML
18519
+ Parameters: {"id"=>"949717663"}
18520
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18521
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
18522
+  (0.0ms) SAVEPOINT active_record_1
18523
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
18524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18525
+ Redirected to http://test.host/authentications
18526
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
18527
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18528
+  (0.6ms) rollback transaction
18529
+  (0.0ms) begin transaction
18530
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18531
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18532
+ Processing by Contour::AuthenticationsController#index as HTML
18533
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18534
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
18535
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
18541
+  (0.1ms) begin transaction
18542
+  (0.0ms) rollback transaction
18543
+  (0.1ms) begin transaction
18544
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18545
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18546
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
18553
+ User Exists (0.1ms) 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
+ SQL (0.6ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18557
+  (0.0ms) SAVEPOINT active_record_1
18558
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18560
+  (0.0ms) SAVEPOINT active_record_1
18561
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:06:43.596590' WHERE "users"."id" = 999914116
18562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18563
+  (0.0ms) SAVEPOINT active_record_1
18564
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:06:43.598398' WHERE "users"."id" = 999914116
18565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
18572
+  (0.1ms) SAVEPOINT active_record_1
18573
+  (0.0ms) 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
+  (0.6ms) rollback transaction
18585
+  (0.1ms) begin transaction
18586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18587
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18588
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18595
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18596
+ Binary data inserted for `string` type on column `encrypted_password`
18597
+ SQL (0.6ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18599
+  (0.0ms) SAVEPOINT active_record_1
18600
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18602
+  (0.0ms) SAVEPOINT active_record_1
18603
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:06:44.244047' WHERE "users"."id" = 999914116
18604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18605
+  (0.0ms) SAVEPOINT active_record_1
18606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18613
+  (0.0ms) SAVEPOINT active_record_1
18614
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
18623
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
18624
+  (0.9ms) rollback transaction
18625
+  (0.1ms) begin transaction
18626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18627
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18628
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18635
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18636
+ Binary data inserted for `string` type on column `encrypted_password`
18637
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18639
+  (0.0ms) SAVEPOINT active_record_1
18640
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18642
+  (0.0ms) SAVEPOINT active_record_1
18643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18644
+  (0.0ms) SAVEPOINT active_record_1
18645
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18652
+  (0.0ms) SAVEPOINT active_record_1
18653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
18665
+  (0.1ms) begin transaction
18666
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18667
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18668
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
18675
+  (0.0ms) begin transaction
18676
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18677
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18678
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18684
+  (0.1ms) SAVEPOINT active_record_1
18685
+  (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18687
+ Completed 200 OK in 86ms (Views: 0.4ms | ActiveRecord: 0.7ms)
18688
+  (0.4ms) rollback transaction
18689
+  (0.1ms) begin transaction
18690
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18691
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18692
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18698
+ Completed 401 Unauthorized in 85ms
18699
+  (0.1ms) rollback transaction
18700
+  (0.1ms) begin transaction
18701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18702
+  (0.1ms) rollback transaction
18703
+  (0.0ms) begin transaction
18704
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18705
+  (0.0ms) rollback transaction
18706
+  (0.1ms) begin transaction
18707
+ Fixture Delete (23.1ms) DELETE FROM "authentications"
18708
+ Fixture Insert (0.5ms) INSERT 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)
18709
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
18711
+ Fixture Delete (1.9ms) DELETE FROM "users"
18712
+ Fixture Insert (0.1ms) 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 ('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)
18713
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
18715
+ Fixture Insert (0.2ms) 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
+  (10.6ms) commit transaction
18717
+  (0.1ms) begin transaction
18718
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
18719
+  (0.1ms) rollback transaction
18720
+  (0.1ms) begin transaction
18721
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18722
+  (0.0ms) rollback transaction
18723
+  (0.1ms) begin transaction
18724
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18725
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18726
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
18730
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18731
+ Logged in user found, creating associated authentication.
18732
+  (0.2ms) SAVEPOINT active_record_1
18733
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18735
+ Redirected to http://test.host/authentications
18736
+ Completed 302 Found in 318ms (ActiveRecord: 1.0ms)
18737
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
18738
+  (0.6ms) rollback transaction
18739
+  (0.0ms) begin transaction
18740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18741
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18742
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
18743
+ Processing by Contour::AuthenticationsController#destroy as HTML
18744
+ Parameters: {"id"=>"949717663"}
18745
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18746
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
18747
+  (0.0ms) SAVEPOINT active_record_1
18748
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
18749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18750
+ Redirected to http://test.host/authentications
18751
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
18752
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18753
+  (0.5ms) rollback transaction
18754
+  (0.1ms) begin transaction
18755
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18756
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18757
+ Processing by Contour::AuthenticationsController#index as HTML
18758
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18759
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
18760
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
18766
+  (0.1ms) begin transaction
18767
+  (0.1ms) rollback transaction
18768
+  (0.1ms) begin transaction
18769
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18770
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18771
+ User Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
18778
+ User Exists (0.1ms) 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
+ SQL (0.7ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18782
+  (0.0ms) SAVEPOINT active_record_1
18783
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18785
+  (0.0ms) SAVEPOINT active_record_1
18786
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:14:40.084378' WHERE "users"."id" = 999914116
18787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18788
+  (0.1ms) SAVEPOINT active_record_1
18789
+  (0.2ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:14:40.086771' WHERE "users"."id" = 999914116
18790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
18797
+  (0.1ms) SAVEPOINT active_record_1
18798
+  (0.1ms) 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
+  (58.3ms) rollback transaction
18810
+  (0.1ms) begin transaction
18811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18812
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18813
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18820
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18821
+ Binary data inserted for `string` type on column `encrypted_password`
18822
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18824
+  (0.0ms) SAVEPOINT active_record_1
18825
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18827
+  (0.0ms) SAVEPOINT active_record_1
18828
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:14:40.464172' WHERE "users"."id" = 999914116
18829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18830
+  (0.0ms) SAVEPOINT active_record_1
18831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
18838
+  (0.1ms) SAVEPOINT active_record_1
18839
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
18848
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
18849
+  (0.8ms) rollback transaction
18850
+  (0.1ms) begin transaction
18851
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18852
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18853
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
18860
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18861
+ Binary data inserted for `string` type on column `encrypted_password`
18862
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18864
+  (0.1ms) SAVEPOINT active_record_1
18865
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
18866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18867
+  (0.0ms) SAVEPOINT active_record_1
18868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18869
+  (0.0ms) SAVEPOINT active_record_1
18870
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
18877
+  (0.1ms) SAVEPOINT active_record_1
18878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.8ms) rollback transaction
18890
+  (0.1ms) begin transaction
18891
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18892
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18893
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
18900
+  (0.0ms) begin transaction
18901
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18902
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18903
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18909
+  (0.1ms) SAVEPOINT active_record_1
18910
+  (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18912
+ Completed 200 OK in 90ms (Views: 0.6ms | ActiveRecord: 0.6ms)
18913
+  (0.5ms) rollback transaction
18914
+  (0.1ms) begin transaction
18915
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18916
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18917
+ User Load (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
18923
+ Completed 401 Unauthorized in 85ms
18924
+  (0.1ms) rollback transaction
18925
+  (0.1ms) begin transaction
18926
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18927
+  (0.1ms) rollback transaction
18928
+  (0.0ms) begin transaction
18929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18930
+  (0.0ms) rollback transaction
18931
+  (0.1ms) begin transaction
18932
+ Fixture Delete (22.1ms) DELETE FROM "authentications"
18933
+ Fixture Insert (26.2ms) INSERT 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)
18934
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
18936
+ Fixture Delete (159.1ms) DELETE FROM "users"
18937
+ Fixture Insert (0.2ms) 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 ('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)
18938
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
18940
+ Fixture Insert (0.2ms) 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
+  (463.3ms) commit transaction
18942
+  (0.1ms) begin transaction
18943
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
18944
+  (0.1ms) rollback transaction
18945
+  (0.0ms) begin transaction
18946
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18947
+  (0.1ms) rollback transaction
18948
+  (0.1ms) begin transaction
18949
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18950
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18951
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
18955
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18956
+ Logged in user found, creating associated authentication.
18957
+  (0.1ms) SAVEPOINT active_record_1
18958
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18960
+ Redirected to http://test.host/authentications
18961
+ Completed 302 Found in 94ms (ActiveRecord: 0.9ms)
18962
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
18963
+  (0.4ms) rollback transaction
18964
+  (0.1ms) begin transaction
18965
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18966
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18967
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18968
+ Processing by Contour::AuthenticationsController#destroy as HTML
18969
+ Parameters: {"id"=>"949717663"}
18970
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18971
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
18972
+  (0.0ms) SAVEPOINT active_record_1
18973
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
18974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18975
+ Redirected to http://test.host/authentications
18976
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
18977
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
18978
+  (0.7ms) rollback transaction
18979
+  (0.1ms) begin transaction
18980
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18981
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
18982
+ Processing by Contour::AuthenticationsController#index as HTML
18983
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
18984
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
18985
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
18991
+  (0.1ms) begin transaction
18992
+  (0.0ms) rollback transaction
18993
+  (0.1ms) begin transaction
18994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
18995
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
18996
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
19003
+ User Exists (0.1ms) 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
+ SQL (0.9ms) 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", "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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19007
+  (0.0ms) SAVEPOINT active_record_1
19008
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
19009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19010
+  (0.0ms) SAVEPOINT active_record_1
19011
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:55:50.539375' WHERE "users"."id" = 999914116
19012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19013
+  (0.0ms) SAVEPOINT active_record_1
19014
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-20 20:55:50.541260' WHERE "users"."id" = 999914116
19015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
19022
+  (0.1ms) SAVEPOINT active_record_1
19023
+  (0.1ms) 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
+  (0.6ms) rollback transaction
19035
+  (0.1ms) begin transaction
19036
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19037
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
19038
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
19045
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
19046
+ Binary data inserted for `string` type on column `encrypted_password`
19047
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19049
+  (0.0ms) SAVEPOINT active_record_1
19050
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
19051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19052
+  (0.0ms) SAVEPOINT active_record_1
19053
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-20 20:55:50.659406' WHERE "users"."id" = 999914116
19054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19055
+  (0.0ms) SAVEPOINT active_record_1
19056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
19063
+  (0.1ms) SAVEPOINT active_record_1
19064
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
19073
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
19074
+  (0.5ms) rollback transaction
19075
+  (0.1ms) begin transaction
19076
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19077
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
19078
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
19085
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
19086
+ Binary data inserted for `string` type on column `encrypted_password`
19087
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19089
+  (0.0ms) SAVEPOINT active_record_1
19090
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
19091
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19092
+  (0.0ms) SAVEPOINT active_record_1
19093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19094
+  (0.0ms) SAVEPOINT active_record_1
19095
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
19102
+  (0.0ms) SAVEPOINT active_record_1
19103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
19115
+  (0.0ms) begin transaction
19116
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19117
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
19118
+ User Load (0.0ms) 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
+  (0.1ms) rollback transaction
19125
+  (0.0ms) begin transaction
19126
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19127
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
19128
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
19134
+  (0.1ms) SAVEPOINT active_record_1
19135
+  (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19137
+ Completed 200 OK in 89ms (Views: 0.3ms | ActiveRecord: 0.6ms)
19138
+  (0.7ms) rollback transaction
19139
+  (0.1ms) begin transaction
19140
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19141
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
19142
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
19148
+ Completed 401 Unauthorized in 86ms
19149
+  (0.1ms) rollback transaction
19150
+  (0.1ms) begin transaction
19151
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19152
+  (0.1ms) rollback transaction
19153
+  (0.0ms) begin transaction
19154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
19155
+  (0.0ms) rollback transaction