contour 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +12 -0
- data/README.rdoc +2 -2
- data/app/assets/images/twitter-bootstrap/{v2.0.3 → v2.0.4}/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter-bootstrap/{v2.0.3 → v2.0.4}/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/contour.js +16 -5
- data/app/assets/javascripts/twitter-bootstrap/bootstrap.js.coffee +12 -0
- data/app/assets/javascripts/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap.js +15 -14
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-alert.js +90 -0
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-button.js +96 -0
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-carousel.js +169 -0
- data/app/assets/javascripts/twitter-bootstrap/{bootstrap-collapse.js → v2.0.4/plugins/bootstrap-collapse.js} +2 -2
- data/app/assets/javascripts/twitter-bootstrap/{bootstrap-dropdown.js → v2.0.4/plugins/bootstrap-dropdown.js} +2 -2
- data/app/assets/javascripts/twitter-bootstrap/{bootstrap-modal.js → v2.0.4/plugins/bootstrap-modal.js} +2 -2
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-popover.js +98 -0
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-scrollspy.js +151 -0
- data/app/assets/javascripts/twitter-bootstrap/{bootstrap-tab.js → v2.0.4/plugins/bootstrap-tab.js} +2 -2
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-tooltip.js +275 -0
- data/app/assets/javascripts/twitter-bootstrap/v2.0.4/plugins/bootstrap-typeahead.js +285 -0
- data/app/assets/stylesheets/bootstrap-base-overrides.css +5 -5
- data/app/assets/stylesheets/bootstrap-responsive-overrides.css +5 -0
- data/app/assets/stylesheets/contour.css +3 -2
- data/app/assets/stylesheets/twitter-bootstrap/bootstrap-subnav.css +139 -0
- data/app/assets/stylesheets/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap-responsive.css +10 -3
- data/app/assets/stylesheets/twitter-bootstrap/{v2.0.3 → v2.0.4}/bootstrap.css +128 -105
- data/app/views/contour/authentications/index.html.erb +1 -1
- data/app/views/contour/layouts/_subnav.html.erb +23 -0
- data/app/views/contour/layouts/application.html.erb +1 -1
- data/app/views/contour/registrations/edit.html.erb +1 -1
- data/contour.gemspec +2 -2
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/lib/generators/contour/scaffold/templates/show.html.erb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2423 -0
- data/test/unit/helpers/contour_helper_test.rb +13 -0
- metadata +102 -36
@@ -45,6 +45,6 @@
|
|
45
45
|
<h3>Cancel my account</h3>
|
46
46
|
</div>
|
47
47
|
|
48
|
-
<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :
|
48
|
+
<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :method => :delete, class: 'btn btn-danger', :data => { :confirm => "Are you sure?" } %>.</p>
|
49
49
|
|
50
50
|
<%= link_to "Back", :back %>
|
data/contour.gemspec
CHANGED
@@ -23,9 +23,9 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.files = Dir["{app,config,db,lib}/**/*"] + ["CHANGELOG.rdoc", "contour.gemspec", "LICENSE", "Rakefile", "README.rdoc"]
|
24
24
|
s.test_files = Dir["test/**/*"]
|
25
25
|
|
26
|
-
s.add_dependency 'rails', '~> 3.2.
|
26
|
+
s.add_dependency 'rails', '~> 3.2.6'
|
27
27
|
s.add_dependency 'jquery-rails', '~> 2.0.2'
|
28
|
-
s.add_dependency 'devise', '~> 2.1.
|
28
|
+
s.add_dependency 'devise', '~> 2.1.2'
|
29
29
|
s.add_dependency 'omniauth', '~> 1.1.0'
|
30
30
|
s.add_dependency 'omniauth-cas', '~> 0.0.7'
|
31
31
|
s.add_dependency 'omniauth-facebook', '~> 1.3.0'
|
data/lib/contour/version.rb
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
<%- end -%>
|
22
22
|
<td>
|
23
23
|
<%%= link_to 'Edit', edit_<%= resource_name %>_path(<%= resource_name %>), class: 'btn btn-mini' %>
|
24
|
-
<%%= link_to 'Delete', <%= resource_name %>, confirm: "Are you sure you want to delete <%= resource_title %> #{<%= resource_name %>.name}?"
|
24
|
+
<%%= link_to 'Delete', <%= resource_name %>, method: :delete, class: 'btn btn-mini btn-danger', data: { confirm: "Are you sure you want to delete <%= resource_title %> #{<%= resource_name %>.name}?" } %>
|
25
25
|
</td>
|
26
26
|
</tr>
|
27
27
|
<%% end %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<h1>
|
4
4
|
<%%= @title %>
|
5
5
|
<%%= link_to "Edit <%= resource_title %>", edit_<%= resource_name %>_path(@<%= resource_name %>), class: 'btn btn-mini' %>
|
6
|
-
<%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?"
|
6
|
+
<%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, method: :delete, class: 'btn btn-mini btn-danger', data: { confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?" } %>
|
7
7
|
<%%= link_to "View <%= resource_title_plural %>", <%= resource_name_plural %>_path, class: 'btn btn-mini' %>
|
8
8
|
</h1>
|
9
9
|
</div>
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -38584,3 +38584,2426 @@ Completed 401 Unauthorized in 81ms
|
|
38584
38584
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38585
38585
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
38586
38586
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38587
|
+
Connecting to database specified by database.yml
|
38588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38589
|
+
[1m[35mFixture Delete (17.1ms)[0m DELETE FROM "authentications"
|
38590
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 949717663, 201799169)[0m
|
38591
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 876923740, 201799169)
|
38592
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 864673665, 201799169)[0m
|
38593
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
38594
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 201799169)[0m
|
38595
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 999914115)
|
38596
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 725306934)[0m
|
38597
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 349534908)
|
38598
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
38599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38600
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
38601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38603
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
38604
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38605
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38606
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38607
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
38608
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
38609
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
38610
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-06 14:50:32 UTC", "updated_at"=>"2012-06-06 14:50:32 UTC"}}
|
38611
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
38612
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
38613
|
+
Logged in user found, creating associated authentication.
|
38614
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38615
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["user_id", 201799169]]
|
38616
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38617
|
+
Redirected to http://test.host/authentications
|
38618
|
+
Completed 302 Found in 48ms (ActiveRecord: 0.9ms)
|
38619
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
38620
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38621
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38622
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
38623
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
38624
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
38625
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
38626
|
+
Parameters: {"id"=>"949717663"}
|
38627
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
38628
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
38629
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38630
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
38631
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38632
|
+
Redirected to http://test.host/authentications
|
38633
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
38634
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
38635
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38637
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38638
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
38639
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
38640
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
38641
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
38642
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
38643
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms)
|
38644
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
38645
|
+
Completed 200 OK in 120ms (Views: 117.9ms | ActiveRecord: 0.4ms)
|
38646
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38648
|
+
Processing by Contour::PasswordsController#create as HTML
|
38649
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
38650
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
38651
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8P7p89eEapBDKbE7jSUS' LIMIT 1[0m
|
38652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38653
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '8P7p89eEapBDKbE7jSUS', "reset_password_sent_at" = '2012-06-06 14:50:33.208446', "updated_at" = '2012-06-06 14:50:33.209175' WHERE "users"."id" = 201799169[0m
|
38654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38655
|
+
|
38656
|
+
Sent mail to valid@example.com (15ms)
|
38657
|
+
Date: Wed, 06 Jun 2012 10:50:33 -0400
|
38658
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
38659
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
38660
|
+
To: valid@example.com
|
38661
|
+
Message-ID: <4fcf6e394d215_107373fdf02034cd07681a@edge.mail>
|
38662
|
+
Subject: Reset password instructions
|
38663
|
+
Mime-Version: 1.0
|
38664
|
+
Content-Type: text/html;
|
38665
|
+
charset=UTF-8
|
38666
|
+
Content-Transfer-Encoding: 7bit
|
38667
|
+
|
38668
|
+
<p>Hello valid@example.com!</p>
|
38669
|
+
|
38670
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
38671
|
+
|
38672
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=8P7p89eEapBDKbE7jSUS">Change my password</a></p>
|
38673
|
+
|
38674
|
+
<p>If you didn't request this, please ignore this email.</p>
|
38675
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
38676
|
+
|
38677
|
+
Redirected to http://test.host/users/login
|
38678
|
+
Completed 302 Found in 165ms (ActiveRecord: 0.0ms)
|
38679
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38681
|
+
Processing by Contour::PasswordsController#new as HTML
|
38682
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms)
|
38683
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms)
|
38684
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.0ms)
|
38685
|
+
Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)
|
38686
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38688
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38689
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38690
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38692
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38693
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38694
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38695
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
38696
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
38697
|
+
|
38698
|
+
|
38699
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38700
|
+
Processing by WelcomeController#logged_in_page as HTML
|
38701
|
+
Completed 401 Unauthorized in 1ms
|
38702
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38703
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
38704
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
38705
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$L6Li9/1BpIWodYhPwrcQ5eYqFYE.ET6JfvQwCFt98SBAuqwzeJzxa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00]]
|
38706
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38707
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38708
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
38709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38711
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-06 14:50:33.474727' WHERE "users"."id" = 999914116
|
38712
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38714
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-06 14:50:33.475951' WHERE "users"."id" = 999914116[0m
|
38715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38716
|
+
|
38717
|
+
|
38718
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38719
|
+
Processing by Contour::SessionsController#create as HTML
|
38720
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
38721
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
38722
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38723
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-06 14:50:33.486669' WHERE "users"."id" = 999914116[0m
|
38724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38725
|
+
Completed 401 Unauthorized in 7ms
|
38726
|
+
|
38727
|
+
|
38728
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38729
|
+
Processing by Contour::SessionsController#new as HTML
|
38730
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
38731
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
38732
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
38733
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
38734
|
+
Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms)
|
38735
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38736
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38737
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38738
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
38739
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
38740
|
+
|
38741
|
+
|
38742
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38743
|
+
Processing by WelcomeController#logged_in_page as HTML
|
38744
|
+
Completed 401 Unauthorized in 0ms
|
38745
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38746
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
38747
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
38748
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7CiXhBQnpuKsXq/0qOrr4ejpa8PHF7Jn3/xMu0aMzfT6RisDT5veC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00]]
|
38749
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38750
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38751
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
38752
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38753
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38754
|
+
[1m[35m (0.7ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-06 14:50:33.557010' WHERE "users"."id" = 999914116
|
38755
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38756
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38757
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38758
|
+
|
38759
|
+
|
38760
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38761
|
+
Processing by Contour::SessionsController#create as HTML
|
38762
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
38763
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
38764
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38765
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-06-06 14:50:33.568136', "current_sign_in_at" = '2012-06-06 14:50:33.568136', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-06 14:50:33.568589' WHERE "users"."id" = 999914116
|
38766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38767
|
+
Redirected to http://www.example.com/logged_in_page
|
38768
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
38769
|
+
|
38770
|
+
|
38771
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38772
|
+
Processing by WelcomeController#logged_in_page as HTML
|
38773
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
38774
|
+
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
38775
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
38776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38777
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38778
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
38779
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
38780
|
+
|
38781
|
+
|
38782
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38783
|
+
Processing by WelcomeController#logged_in_page as HTML
|
38784
|
+
Completed 401 Unauthorized in 0ms
|
38785
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38786
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
38787
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
38788
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$i3/iKVIyP/Wxtm1ejZJwLOK6lsG4e6I.jADAGhuX7POfQlJv.K10m"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00]]
|
38789
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38791
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
38792
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38793
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38794
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38796
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38797
|
+
|
38798
|
+
|
38799
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38800
|
+
Processing by Contour::SessionsController#create as HTML
|
38801
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
38802
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
38803
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38804
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-06 14:50:33.604958' WHERE "users"."id" = 999914116[0m
|
38805
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38806
|
+
Completed 401 Unauthorized in 5ms
|
38807
|
+
|
38808
|
+
|
38809
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38810
|
+
Processing by Contour::SessionsController#new as HTML
|
38811
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
38812
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
38813
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
38814
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
38815
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
38816
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38818
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38819
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
38820
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
38821
|
+
|
38822
|
+
|
38823
|
+
Started GET "/" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38824
|
+
Processing by WelcomeController#index as HTML
|
38825
|
+
Completed 401 Unauthorized in 1ms
|
38826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38828
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
38829
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
38830
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
38831
|
+
|
38832
|
+
|
38833
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38834
|
+
Processing by WelcomeController#logged_in_page as JSON
|
38835
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
38836
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38837
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-06 14:50:33.716679', "current_sign_in_at" = '2012-06-06 14:50:33.716679', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-06 14:50:33.717692' WHERE "users"."id" = 201799169[0m
|
38838
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38839
|
+
Completed 200 OK in 83ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
38840
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
38841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38842
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38843
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
38844
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
38845
|
+
|
38846
|
+
|
38847
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-06 10:50:33 -0400
|
38848
|
+
Processing by WelcomeController#logged_in_page as JSON
|
38849
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
38850
|
+
Completed 401 Unauthorized in 84ms
|
38851
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38853
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38854
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38855
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38856
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
38857
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38858
|
+
Connecting to database specified by database.yml
|
38859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38860
|
+
[1m[35mFixture Delete (42.6ms)[0m DELETE FROM "authentications"
|
38861
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 949717663, 201799169)[0m
|
38862
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 876923740, 201799169)
|
38863
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 864673665, 201799169)[0m
|
38864
|
+
[1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users"
|
38865
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 201799169)[0m
|
38866
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 999914115)
|
38867
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 725306934)[0m
|
38868
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 349534908)
|
38869
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
38870
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38871
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
38872
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38874
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
38875
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38877
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38878
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
38879
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
38880
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
38881
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:19:03 UTC", "updated_at"=>"2012-06-19 13:19:03 UTC"}}
|
38882
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
38883
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
38884
|
+
Logged in user found, creating associated authentication.
|
38885
|
+
[1m[35m (13.7ms)[0m SAVEPOINT active_record_1
|
38886
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["user_id", 201799169]]
|
38887
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38888
|
+
Redirected to http://test.host/authentications
|
38889
|
+
Completed 302 Found in 77ms (ActiveRecord: 14.6ms)
|
38890
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
38891
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38893
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
38894
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
38895
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
38896
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
38897
|
+
Parameters: {"id"=>"949717663"}
|
38898
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
38899
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
38900
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38901
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
38902
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38903
|
+
Redirected to http://test.host/authentications
|
38904
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
38905
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
38906
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38907
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38908
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38909
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
38910
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
38911
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
38912
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
38913
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
38914
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms)
|
38915
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
|
38916
|
+
Completed 200 OK in 111ms (Views: 109.7ms | ActiveRecord: 0.4ms)
|
38917
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38919
|
+
Processing by Contour::PasswordsController#create as HTML
|
38920
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
38921
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
38922
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zBBsJ3fnYXL1x1tXdpqF' LIMIT 1[0m
|
38923
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38924
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zBBsJ3fnYXL1x1tXdpqF', "reset_password_sent_at" = '2012-06-19 13:19:04.413152', "updated_at" = '2012-06-19 13:19:04.414071' WHERE "users"."id" = 201799169[0m
|
38925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38926
|
+
|
38927
|
+
Sent mail to valid@example.com (19ms)
|
38928
|
+
Date: Tue, 19 Jun 2012 09:19:04 -0400
|
38929
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
38930
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
38931
|
+
To: valid@example.com
|
38932
|
+
Message-ID: <4fe07c488f567_129883fe479034ce036289@edge.mail>
|
38933
|
+
Subject: Reset password instructions
|
38934
|
+
Mime-Version: 1.0
|
38935
|
+
Content-Type: text/html;
|
38936
|
+
charset=UTF-8
|
38937
|
+
Content-Transfer-Encoding: 7bit
|
38938
|
+
|
38939
|
+
<p>Hello valid@example.com!</p>
|
38940
|
+
|
38941
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
38942
|
+
|
38943
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=zBBsJ3fnYXL1x1tXdpqF">Change my password</a></p>
|
38944
|
+
|
38945
|
+
<p>If you didn't request this, please ignore this email.</p>
|
38946
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
38947
|
+
|
38948
|
+
Redirected to http://test.host/users/login
|
38949
|
+
Completed 302 Found in 248ms (ActiveRecord: 0.0ms)
|
38950
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38951
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38952
|
+
Processing by Contour::PasswordsController#new as HTML
|
38953
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms)
|
38954
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
38955
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.9ms)
|
38956
|
+
Completed 200 OK in 44ms (Views: 43.7ms | ActiveRecord: 0.0ms)
|
38957
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38958
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38959
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38960
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38961
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38963
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38965
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
38966
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
38967
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
38968
|
+
|
38969
|
+
|
38970
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
38971
|
+
Processing by WelcomeController#logged_in_page as HTML
|
38972
|
+
Completed 401 Unauthorized in 1ms
|
38973
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38974
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
38975
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
38976
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/AOdQijf/NIPODjUh5Ox4uMPpowIw8avVZvJSqt8QfsmGQfeZuIYW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00]]
|
38977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38979
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
38980
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38981
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38982
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:19:04.769810' WHERE "users"."id" = 999914116
|
38983
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38984
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38985
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:19:04.771094' WHERE "users"."id" = 999914116[0m
|
38986
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38987
|
+
|
38988
|
+
|
38989
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
38990
|
+
Processing by Contour::SessionsController#create as HTML
|
38991
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
38992
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
38993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38995
|
+
Completed 401 Unauthorized in 32ms
|
38996
|
+
|
38997
|
+
|
38998
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
38999
|
+
Processing by Contour::SessionsController#new as HTML
|
39000
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
39001
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
39002
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
39003
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
39004
|
+
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)
|
39005
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
39006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39007
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39008
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39009
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39010
|
+
|
39011
|
+
|
39012
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39013
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39014
|
+
Completed 401 Unauthorized in 0ms
|
39015
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39016
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
39017
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39018
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2LUbtVTUDD8QzKwwn9Q4muH7Zmb329PGAGkMw7gdnCPlWR8fTEsqK"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00]]
|
39019
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39020
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39021
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39022
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39023
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39024
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:19:04.851858' WHERE "users"."id" = 999914116[0m
|
39025
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39028
|
+
|
39029
|
+
|
39030
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39031
|
+
Processing by Contour::SessionsController#create as HTML
|
39032
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
39033
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
39034
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39035
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:19:04.860418', "current_sign_in_at" = '2012-06-19 13:19:04.860418', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:19:04.861035' WHERE "users"."id" = 999914116[0m
|
39036
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39037
|
+
Redirected to http://www.example.com/logged_in_page
|
39038
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
39039
|
+
|
39040
|
+
|
39041
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39042
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39043
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
39044
|
+
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.1ms)
|
39045
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39047
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39048
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39049
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39050
|
+
|
39051
|
+
|
39052
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39053
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39054
|
+
Completed 401 Unauthorized in 0ms
|
39055
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39056
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39057
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39058
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$9UvPzpdwNyYANkip7RYDk.fDlihnowDKEq5B8S6sOP3MKUsBTdhD6"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00]]
|
39059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39060
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39061
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39062
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39063
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39064
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39065
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39067
|
+
|
39068
|
+
|
39069
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39070
|
+
Processing by Contour::SessionsController#create as HTML
|
39071
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
39072
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39073
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39074
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39075
|
+
Completed 401 Unauthorized in 4ms
|
39076
|
+
|
39077
|
+
|
39078
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39079
|
+
Processing by Contour::SessionsController#new as HTML
|
39080
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
39081
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
39082
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
39083
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
39084
|
+
Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
39085
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39086
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39087
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39088
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39089
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39090
|
+
|
39091
|
+
|
39092
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39093
|
+
Processing by WelcomeController#index as HTML
|
39094
|
+
Completed 401 Unauthorized in 0ms
|
39095
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39097
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39098
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39099
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39100
|
+
|
39101
|
+
|
39102
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:19:04 -0400
|
39103
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39104
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
39105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39106
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:19:05.017728', "current_sign_in_at" = '2012-06-19 13:19:05.017728', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:19:05.018408' WHERE "users"."id" = 201799169[0m
|
39107
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39108
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
39109
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39111
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39112
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39113
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39114
|
+
|
39115
|
+
|
39116
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:19:05 -0400
|
39117
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39118
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39119
|
+
Completed 401 Unauthorized in 78ms
|
39120
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39121
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39122
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39125
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39126
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39127
|
+
Connecting to database specified by database.yml
|
39128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39129
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
39130
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 949717663, 201799169)[0m
|
39131
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 876923740, 201799169)
|
39132
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 864673665, 201799169)[0m
|
39133
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
39134
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 201799169)[0m
|
39135
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 999914115)
|
39136
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 725306934)[0m
|
39137
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 349534908)
|
39138
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
39139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39140
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
39141
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
39142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39143
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39144
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39145
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39146
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39147
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39148
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39149
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
39150
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:20:14 UTC", "updated_at"=>"2012-06-19 13:20:14 UTC"}}
|
39151
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
39152
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39153
|
+
Logged in user found, creating associated authentication.
|
39154
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39155
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["user_id", 201799169]]
|
39156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39157
|
+
Redirected to http://test.host/authentications
|
39158
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
|
39159
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39160
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
39161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39162
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39163
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
39164
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39165
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
39166
|
+
Parameters: {"id"=>"949717663"}
|
39167
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39168
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
39169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39170
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
39171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39172
|
+
Redirected to http://test.host/authentications
|
39173
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
39174
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39175
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39176
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39177
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39178
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39179
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
39180
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39181
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
39182
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
39183
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
|
39184
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
|
39185
|
+
Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.3ms)
|
39186
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39188
|
+
Processing by Contour::PasswordsController#create as HTML
|
39189
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
39190
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39191
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DLr4Gq9rkzmpB7zHMK6y' LIMIT 1[0m
|
39192
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39193
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'DLr4Gq9rkzmpB7zHMK6y', "reset_password_sent_at" = '2012-06-19 13:20:15.133697', "updated_at" = '2012-06-19 13:20:15.134467' WHERE "users"."id" = 201799169[0m
|
39194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39195
|
+
|
39196
|
+
Sent mail to valid@example.com (14ms)
|
39197
|
+
Date: Tue, 19 Jun 2012 09:20:15 -0400
|
39198
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
39199
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
39200
|
+
To: valid@example.com
|
39201
|
+
Message-ID: <4fe07c8f32032_129993fc1fe034cd85899e@edge.mail>
|
39202
|
+
Subject: Reset password instructions
|
39203
|
+
Mime-Version: 1.0
|
39204
|
+
Content-Type: text/html;
|
39205
|
+
charset=UTF-8
|
39206
|
+
Content-Transfer-Encoding: 7bit
|
39207
|
+
|
39208
|
+
<p>Hello valid@example.com!</p>
|
39209
|
+
|
39210
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
39211
|
+
|
39212
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=DLr4Gq9rkzmpB7zHMK6y">Change my password</a></p>
|
39213
|
+
|
39214
|
+
<p>If you didn't request this, please ignore this email.</p>
|
39215
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
39216
|
+
|
39217
|
+
Redirected to http://test.host/users/login
|
39218
|
+
Completed 302 Found in 114ms (ActiveRecord: 0.0ms)
|
39219
|
+
[1m[36m (8.0ms)[0m [1mrollback transaction[0m
|
39220
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39221
|
+
Processing by Contour::PasswordsController#new as HTML
|
39222
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
|
39223
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
39224
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
39225
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
|
39226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39228
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39230
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39231
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39232
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39234
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39235
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39236
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39237
|
+
|
39238
|
+
|
39239
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39240
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39241
|
+
Completed 401 Unauthorized in 1ms
|
39242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39243
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
39244
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39245
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$pFtY75CxJKdP1ttrEP0pve/Jf92duVxckF0CIHMEY3Lya6YtmQbRC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00]]
|
39246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39248
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
39249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39251
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:20:15.314886' WHERE "users"."id" = 999914116
|
39252
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39254
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:20:15.316045' WHERE "users"."id" = 999914116[0m
|
39255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39256
|
+
|
39257
|
+
|
39258
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39259
|
+
Processing by Contour::SessionsController#create as HTML
|
39260
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
39261
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
39262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39263
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39264
|
+
Completed 401 Unauthorized in 34ms
|
39265
|
+
|
39266
|
+
|
39267
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39268
|
+
Processing by Contour::SessionsController#new as HTML
|
39269
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
39270
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
39271
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
39272
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
39273
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
|
39274
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
39275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39276
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39277
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39278
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39279
|
+
|
39280
|
+
|
39281
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39282
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39283
|
+
Completed 401 Unauthorized in 0ms
|
39284
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39285
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
39286
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39287
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$317cylIx6Q17Mo0DcSubxe2wOa9RsL36adfQ66f6OxOQB5uERq7Yq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00]]
|
39288
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39289
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39290
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39292
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39293
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:20:15.394916' WHERE "users"."id" = 999914116[0m
|
39294
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39295
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39296
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39297
|
+
|
39298
|
+
|
39299
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39300
|
+
Processing by Contour::SessionsController#create as HTML
|
39301
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
39302
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
39303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39304
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:20:15.403601', "current_sign_in_at" = '2012-06-19 13:20:15.403601', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:20:15.404084' WHERE "users"."id" = 999914116[0m
|
39305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39306
|
+
Redirected to http://www.example.com/logged_in_page
|
39307
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
39308
|
+
|
39309
|
+
|
39310
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39311
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39312
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
39313
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
39314
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39316
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39317
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39318
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39319
|
+
|
39320
|
+
|
39321
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39322
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39323
|
+
Completed 401 Unauthorized in 0ms
|
39324
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39325
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39326
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39327
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$j7G8HOE1LcausKn0L.1x0O8knedvfc/j3wTlrfhO7QLLVyuHiepqC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00]]
|
39328
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39329
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39330
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39331
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39332
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39334
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39336
|
+
|
39337
|
+
|
39338
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39339
|
+
Processing by Contour::SessionsController#create as HTML
|
39340
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
39341
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39342
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39344
|
+
Completed 401 Unauthorized in 4ms
|
39345
|
+
|
39346
|
+
|
39347
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39348
|
+
Processing by Contour::SessionsController#new as HTML
|
39349
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
39350
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
39351
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
39352
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
39353
|
+
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)
|
39354
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39356
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39357
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39358
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39359
|
+
|
39360
|
+
|
39361
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39362
|
+
Processing by WelcomeController#index as HTML
|
39363
|
+
Completed 401 Unauthorized in 1ms
|
39364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39366
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39367
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39368
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39369
|
+
|
39370
|
+
|
39371
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39372
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39373
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
39374
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39375
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:20:15.547935', "current_sign_in_at" = '2012-06-19 13:20:15.547935', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:20:15.548628' WHERE "users"."id" = 201799169[0m
|
39376
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39377
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
39378
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39380
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39381
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39382
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39383
|
+
|
39384
|
+
|
39385
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:20:15 -0400
|
39386
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39387
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39388
|
+
Completed 401 Unauthorized in 78ms
|
39389
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39391
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39394
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39395
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39396
|
+
Connecting to database specified by database.yml
|
39397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39398
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
39399
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 949717663, 201799169)[0m
|
39400
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 876923740, 201799169)
|
39401
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 864673665, 201799169)[0m
|
39402
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
39403
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 201799169)[0m
|
39404
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 999914115)
|
39405
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 725306934)[0m
|
39406
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 349534908)
|
39407
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
39408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39409
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
39410
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39412
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39413
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39415
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39416
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39417
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39418
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
39419
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:44:28 UTC", "updated_at"=>"2012-06-19 13:44:28 UTC"}}
|
39420
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
39421
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39422
|
+
Logged in user found, creating associated authentication.
|
39423
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39424
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["user_id", 201799169]]
|
39425
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39426
|
+
Redirected to http://test.host/authentications
|
39427
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
|
39428
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39429
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39431
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39432
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
39433
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39434
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
39435
|
+
Parameters: {"id"=>"949717663"}
|
39436
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39437
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
39438
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39439
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
39440
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39441
|
+
Redirected to http://test.host/authentications
|
39442
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
39443
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39444
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39445
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39446
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39447
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39448
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
39449
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39450
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
39451
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
39452
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
39453
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
39454
|
+
Completed 200 OK in 69ms (Views: 67.6ms | ActiveRecord: 0.3ms)
|
39455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39457
|
+
Processing by Contour::PasswordsController#create as HTML
|
39458
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
39459
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39460
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XHWR8aMF5x523wqbrKcu' LIMIT 1[0m
|
39461
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39462
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'XHWR8aMF5x523wqbrKcu', "reset_password_sent_at" = '2012-06-19 13:44:28.636741', "updated_at" = '2012-06-19 13:44:28.637562' WHERE "users"."id" = 201799169[0m
|
39463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39464
|
+
|
39465
|
+
Sent mail to valid@example.com (18ms)
|
39466
|
+
Date: Tue, 19 Jun 2012 09:44:28 -0400
|
39467
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
39468
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
39469
|
+
To: valid@example.com
|
39470
|
+
Message-ID: <4fe0823cb8987_12ad83fdfa8434cd05388c@edge.mail>
|
39471
|
+
Subject: Reset password instructions
|
39472
|
+
Mime-Version: 1.0
|
39473
|
+
Content-Type: text/html;
|
39474
|
+
charset=UTF-8
|
39475
|
+
Content-Transfer-Encoding: 7bit
|
39476
|
+
|
39477
|
+
<p>Hello valid@example.com!</p>
|
39478
|
+
|
39479
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
39480
|
+
|
39481
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=XHWR8aMF5x523wqbrKcu">Change my password</a></p>
|
39482
|
+
|
39483
|
+
<p>If you didn't request this, please ignore this email.</p>
|
39484
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
39485
|
+
|
39486
|
+
Redirected to http://test.host/users/login
|
39487
|
+
Completed 302 Found in 178ms (ActiveRecord: 0.0ms)
|
39488
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39490
|
+
Processing by Contour::PasswordsController#new as HTML
|
39491
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
39492
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
39493
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
39494
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
|
39495
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39496
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39499
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39503
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39504
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39505
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39506
|
+
|
39507
|
+
|
39508
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39509
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39510
|
+
Completed 401 Unauthorized in 1ms
|
39511
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39512
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
39513
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39514
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$J0GWcvXLWqlAqK0tdykzm.FuVgfuqyTxM6I4lK7wPRiD6kKmXVLWu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00]]
|
39515
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39517
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
39518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39520
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:44:28.878562' WHERE "users"."id" = 999914116
|
39521
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39523
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:44:28.879737' WHERE "users"."id" = 999914116[0m
|
39524
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39525
|
+
|
39526
|
+
|
39527
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39528
|
+
Processing by Contour::SessionsController#create as HTML
|
39529
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
39530
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
39531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39533
|
+
Completed 401 Unauthorized in 34ms
|
39534
|
+
|
39535
|
+
|
39536
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39537
|
+
Processing by Contour::SessionsController#new as HTML
|
39538
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
39539
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
39540
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
39541
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
39542
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
|
39543
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
39544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39545
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39546
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39547
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39548
|
+
|
39549
|
+
|
39550
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39551
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39552
|
+
Completed 401 Unauthorized in 0ms
|
39553
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39554
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
39555
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39556
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$kTcCaIooAClNu3zkkqB10.x51zI6OX5GsGlwP4fffvfWRD5SRLfA6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00]]
|
39557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39559
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39560
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39562
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:44:28.956879' WHERE "users"."id" = 999914116[0m
|
39563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39565
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39566
|
+
|
39567
|
+
|
39568
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39569
|
+
Processing by Contour::SessionsController#create as HTML
|
39570
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
39571
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
39572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39573
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:44:28.965425', "current_sign_in_at" = '2012-06-19 13:44:28.965425', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:44:28.965979' WHERE "users"."id" = 999914116[0m
|
39574
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39575
|
+
Redirected to http://www.example.com/logged_in_page
|
39576
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
39577
|
+
|
39578
|
+
|
39579
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39580
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39581
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
39582
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
39583
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39584
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39585
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39586
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39587
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39588
|
+
|
39589
|
+
|
39590
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39591
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39592
|
+
Completed 401 Unauthorized in 0ms
|
39593
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39594
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39595
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39596
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GdlnXDO.u2ecB/yIg7.U4uKjKNjmC3eUKml8vHyWJnAovjPr3Cd.K"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00]]
|
39597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39598
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39599
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39600
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39601
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39605
|
+
|
39606
|
+
|
39607
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400
|
39608
|
+
Processing by Contour::SessionsController#create as HTML
|
39609
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
39610
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39611
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39612
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39613
|
+
Completed 401 Unauthorized in 4ms
|
39614
|
+
|
39615
|
+
|
39616
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
|
39617
|
+
Processing by Contour::SessionsController#new as HTML
|
39618
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
39619
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
39620
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
39621
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
|
39622
|
+
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)
|
39623
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39624
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39625
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39626
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39627
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39628
|
+
|
39629
|
+
|
39630
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
|
39631
|
+
Processing by WelcomeController#index as HTML
|
39632
|
+
Completed 401 Unauthorized in 1ms
|
39633
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39635
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39636
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39637
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39638
|
+
|
39639
|
+
|
39640
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
|
39641
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39642
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
39643
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39644
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:44:29.113881', "current_sign_in_at" = '2012-06-19 13:44:29.113881', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:44:29.114553' WHERE "users"."id" = 201799169[0m
|
39645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39646
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
39647
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39649
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39650
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39651
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39652
|
+
|
39653
|
+
|
39654
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:44:29 -0400
|
39655
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39656
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39657
|
+
Completed 401 Unauthorized in 78ms
|
39658
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39659
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39660
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39661
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39663
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39664
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39665
|
+
Connecting to database specified by database.yml
|
39666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39667
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
39668
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 949717663, 201799169)[0m
|
39669
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 876923740, 201799169)
|
39670
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 864673665, 201799169)[0m
|
39671
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
39672
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 201799169)[0m
|
39673
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 999914115)
|
39674
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 725306934)[0m
|
39675
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 349534908)
|
39676
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
39677
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39678
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
39679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39681
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39682
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39684
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39685
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39686
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39687
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
39688
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:45:48 UTC", "updated_at"=>"2012-06-19 13:45:48 UTC"}}
|
39689
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
39690
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39691
|
+
Logged in user found, creating associated authentication.
|
39692
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39693
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["user_id", 201799169]]
|
39694
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39695
|
+
Redirected to http://test.host/authentications
|
39696
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
|
39697
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39698
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39700
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39701
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
39702
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39703
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
39704
|
+
Parameters: {"id"=>"949717663"}
|
39705
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39706
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
39707
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39708
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
39709
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39710
|
+
Redirected to http://test.host/authentications
|
39711
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
39712
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39713
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39715
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39716
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39717
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
39718
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39719
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
39720
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
39721
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
39722
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
|
39723
|
+
Completed 200 OK in 54ms (Views: 52.0ms | ActiveRecord: 0.4ms)
|
39724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39726
|
+
Processing by Contour::PasswordsController#create as HTML
|
39727
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
39728
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39729
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'knzaTYJqiFhNnFncLEc7' LIMIT 1[0m
|
39730
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39731
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'knzaTYJqiFhNnFncLEc7', "reset_password_sent_at" = '2012-06-19 13:45:48.282135', "updated_at" = '2012-06-19 13:45:48.282849' WHERE "users"."id" = 201799169[0m
|
39732
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39733
|
+
|
39734
|
+
Sent mail to valid@example.com (17ms)
|
39735
|
+
Date: Tue, 19 Jun 2012 09:45:48 -0400
|
39736
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
39737
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
39738
|
+
To: valid@example.com
|
39739
|
+
Message-ID: <4fe0828c57758_12aed3fe380834cdc98794@edge.mail>
|
39740
|
+
Subject: Reset password instructions
|
39741
|
+
Mime-Version: 1.0
|
39742
|
+
Content-Type: text/html;
|
39743
|
+
charset=UTF-8
|
39744
|
+
Content-Transfer-Encoding: 7bit
|
39745
|
+
|
39746
|
+
<p>Hello valid@example.com!</p>
|
39747
|
+
|
39748
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
39749
|
+
|
39750
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=knzaTYJqiFhNnFncLEc7">Change my password</a></p>
|
39751
|
+
|
39752
|
+
<p>If you didn't request this, please ignore this email.</p>
|
39753
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
39754
|
+
|
39755
|
+
Redirected to http://test.host/users/login
|
39756
|
+
Completed 302 Found in 123ms (ActiveRecord: 0.0ms)
|
39757
|
+
[1m[36m (6.5ms)[0m [1mrollback transaction[0m
|
39758
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39759
|
+
Processing by Contour::PasswordsController#new as HTML
|
39760
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
|
39761
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
39762
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
39763
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
|
39764
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39766
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39768
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39769
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39770
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39771
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39772
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39773
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39774
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39775
|
+
|
39776
|
+
|
39777
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39778
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39779
|
+
Completed 401 Unauthorized in 1ms
|
39780
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39781
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
39782
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39783
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$R.rF3Q1NOwMCF1RbCgrYxuGdcfV6gtBEd7wzwexT8wTD1yewFscsu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00]]
|
39784
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39786
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
39787
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39789
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:45:48.470380' WHERE "users"."id" = 999914116
|
39790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39792
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:45:48.471575' WHERE "users"."id" = 999914116[0m
|
39793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39794
|
+
|
39795
|
+
|
39796
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39797
|
+
Processing by Contour::SessionsController#create as HTML
|
39798
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
39799
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
39800
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39802
|
+
Completed 401 Unauthorized in 33ms
|
39803
|
+
|
39804
|
+
|
39805
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39806
|
+
Processing by Contour::SessionsController#new as HTML
|
39807
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
39808
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
39809
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
39810
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
39811
|
+
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
39812
|
+
[1m[35m (23.9ms)[0m rollback transaction
|
39813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39814
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39815
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39816
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39817
|
+
|
39818
|
+
|
39819
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39820
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39821
|
+
Completed 401 Unauthorized in 0ms
|
39822
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39823
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
39824
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39825
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$JZac.eRdBwuO9uBk9.VQh.t0Zod4t7FdqfoUe5KDV6h7HIXYJWCxG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00]]
|
39826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39827
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39828
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39829
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39830
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39831
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:45:48.575808' WHERE "users"."id" = 999914116[0m
|
39832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39833
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39834
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39835
|
+
|
39836
|
+
|
39837
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39838
|
+
Processing by Contour::SessionsController#create as HTML
|
39839
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
39840
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
39841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39842
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:45:48.584570', "current_sign_in_at" = '2012-06-19 13:45:48.584570', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:45:48.585040' WHERE "users"."id" = 999914116[0m
|
39843
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39844
|
+
Redirected to http://www.example.com/logged_in_page
|
39845
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
39846
|
+
|
39847
|
+
|
39848
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39849
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39850
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
39851
|
+
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
|
39852
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39854
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39855
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39856
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39857
|
+
|
39858
|
+
|
39859
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39860
|
+
Processing by WelcomeController#logged_in_page as HTML
|
39861
|
+
Completed 401 Unauthorized in 0ms
|
39862
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39863
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39864
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
39865
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$kh40AJYh7JujZUlgX02QbOj7FNEOu/XOOWPCDJtdL7jkzVEGFbGkW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00]]
|
39866
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39868
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
39869
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39871
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39873
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39874
|
+
|
39875
|
+
|
39876
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39877
|
+
Processing by Contour::SessionsController#create as HTML
|
39878
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
39879
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
39880
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39882
|
+
Completed 401 Unauthorized in 4ms
|
39883
|
+
|
39884
|
+
|
39885
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39886
|
+
Processing by Contour::SessionsController#new as HTML
|
39887
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
39888
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms)
|
39889
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
39890
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
39891
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
|
39892
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39894
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39895
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39896
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39897
|
+
|
39898
|
+
|
39899
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39900
|
+
Processing by WelcomeController#index as HTML
|
39901
|
+
Completed 401 Unauthorized in 0ms
|
39902
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39904
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39905
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
39906
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
39907
|
+
|
39908
|
+
|
39909
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39910
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39911
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
39912
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39913
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:45:48.734610', "current_sign_in_at" = '2012-06-19 13:45:48.734610', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:45:48.735287' WHERE "users"."id" = 201799169[0m
|
39914
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39915
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
39916
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39918
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39919
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
39920
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
39921
|
+
|
39922
|
+
|
39923
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:45:48 -0400
|
39924
|
+
Processing by WelcomeController#logged_in_page as JSON
|
39925
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39926
|
+
Completed 401 Unauthorized in 78ms
|
39927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39929
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39930
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39931
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39932
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39933
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39934
|
+
Connecting to database specified by database.yml
|
39935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39936
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
39937
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 949717663, 201799169)[0m
|
39938
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 876923740, 201799169)
|
39939
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 864673665, 201799169)[0m
|
39940
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
39941
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 201799169)[0m
|
39942
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 999914115)
|
39943
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 725306934)[0m
|
39944
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 349534908)
|
39945
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
39946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39947
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
39948
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39949
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39950
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39951
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39952
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39953
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39954
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39955
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39956
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
39957
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 14:59:23 UTC", "updated_at"=>"2012-06-19 14:59:23 UTC"}}
|
39958
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
39959
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39960
|
+
Logged in user found, creating associated authentication.
|
39961
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39962
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["user_id", 201799169]]
|
39963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39964
|
+
Redirected to http://test.host/authentications
|
39965
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
|
39966
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
39967
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39969
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
39970
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
39971
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39972
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
39973
|
+
Parameters: {"id"=>"949717663"}
|
39974
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39975
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
39976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39977
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
39978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39979
|
+
Redirected to http://test.host/authentications
|
39980
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
39981
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
39982
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39984
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
39985
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
39986
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
39987
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
39988
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
39989
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
39990
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
39991
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
39992
|
+
Completed 200 OK in 56ms (Views: 54.7ms | ActiveRecord: 0.3ms)
|
39993
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39995
|
+
Processing by Contour::PasswordsController#create as HTML
|
39996
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
39997
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
39998
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'o3KY9oCLCgsJyQVZAuzk' LIMIT 1[0m
|
39999
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40000
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'o3KY9oCLCgsJyQVZAuzk', "reset_password_sent_at" = '2012-06-19 14:59:23.679154', "updated_at" = '2012-06-19 14:59:23.679893' WHERE "users"."id" = 201799169[0m
|
40001
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40002
|
+
|
40003
|
+
Sent mail to valid@example.com (18ms)
|
40004
|
+
Date: Tue, 19 Jun 2012 10:59:23 -0400
|
40005
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
40006
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
40007
|
+
To: valid@example.com
|
40008
|
+
Message-ID: <4fe093cbc4ed9_12ef13ff31e034cdc26638@edge.mail>
|
40009
|
+
Subject: Reset password instructions
|
40010
|
+
Mime-Version: 1.0
|
40011
|
+
Content-Type: text/html;
|
40012
|
+
charset=UTF-8
|
40013
|
+
Content-Transfer-Encoding: 7bit
|
40014
|
+
|
40015
|
+
<p>Hello valid@example.com!</p>
|
40016
|
+
|
40017
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
40018
|
+
|
40019
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=o3KY9oCLCgsJyQVZAuzk">Change my password</a></p>
|
40020
|
+
|
40021
|
+
<p>If you didn't request this, please ignore this email.</p>
|
40022
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
40023
|
+
|
40024
|
+
Redirected to http://test.host/users/login
|
40025
|
+
Completed 302 Found in 174ms (ActiveRecord: 0.0ms)
|
40026
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
40027
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40028
|
+
Processing by Contour::PasswordsController#new as HTML
|
40029
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
40030
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
40031
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms)
|
40032
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
|
40033
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40034
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40035
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40037
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40039
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40041
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40042
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40043
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40044
|
+
|
40045
|
+
|
40046
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:23 -0400
|
40047
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40048
|
+
Completed 401 Unauthorized in 1ms
|
40049
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40050
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40051
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40052
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$YFfLpxLH7alaOWZ/uGxdMOPtgpWnrOUCNZaWdLz7oZDvZv1GNG3x6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00]]
|
40053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40055
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
40056
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40058
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 14:59:23.936801' WHERE "users"."id" = 999914116
|
40059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40061
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 14:59:23.938174' WHERE "users"."id" = 999914116[0m
|
40062
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40063
|
+
|
40064
|
+
|
40065
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:23 -0400
|
40066
|
+
Processing by Contour::SessionsController#create as HTML
|
40067
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
40068
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40070
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40071
|
+
Completed 401 Unauthorized in 32ms
|
40072
|
+
|
40073
|
+
|
40074
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 10:59:23 -0400
|
40075
|
+
Processing by Contour::SessionsController#new as HTML
|
40076
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
40077
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
40078
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
40079
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
40080
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
|
40081
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
40082
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40083
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40084
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40085
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40086
|
+
|
40087
|
+
|
40088
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40089
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40090
|
+
Completed 401 Unauthorized in 0ms
|
40091
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40092
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
40093
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40094
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$YwWjlnAGvfOMmV2fQ31X3OASh3/hm2Qt52dAtVDR1YuHnUKDk7whu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00]]
|
40095
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40096
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40097
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40100
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 14:59:24.016127' WHERE "users"."id" = 999914116[0m
|
40101
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40102
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40104
|
+
|
40105
|
+
|
40106
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40107
|
+
Processing by Contour::SessionsController#create as HTML
|
40108
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
40109
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
40110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40111
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 14:59:24.025033', "current_sign_in_at" = '2012-06-19 14:59:24.025033', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 14:59:24.025555' WHERE "users"."id" = 999914116[0m
|
40112
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40113
|
+
Redirected to http://www.example.com/logged_in_page
|
40114
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
40115
|
+
|
40116
|
+
|
40117
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40118
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
40120
|
+
Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.1ms)
|
40121
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
40122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40123
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40124
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40125
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40126
|
+
|
40127
|
+
|
40128
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40129
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40130
|
+
Completed 401 Unauthorized in 0ms
|
40131
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40132
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40133
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40134
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$t0Kb.JNkJ2JbX3GOvDrI5umkIElqoAeuwcWZMUFG8SnqYdLhZzXLC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00]]
|
40135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40137
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40142
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40143
|
+
|
40144
|
+
|
40145
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40146
|
+
Processing by Contour::SessionsController#create as HTML
|
40147
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
40148
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40151
|
+
Completed 401 Unauthorized in 4ms
|
40152
|
+
|
40153
|
+
|
40154
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40155
|
+
Processing by Contour::SessionsController#new as HTML
|
40156
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
40157
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
40158
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
40159
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
|
40160
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
40161
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40163
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40164
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40165
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40166
|
+
|
40167
|
+
|
40168
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40169
|
+
Processing by WelcomeController#index as HTML
|
40170
|
+
Completed 401 Unauthorized in 0ms
|
40171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40173
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40174
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40175
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40176
|
+
|
40177
|
+
|
40178
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40179
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40180
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
40181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40182
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 14:59:24.187843', "current_sign_in_at" = '2012-06-19 14:59:24.187843', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 14:59:24.188530' WHERE "users"."id" = 201799169[0m
|
40183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40184
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
40185
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40187
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40188
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40189
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40190
|
+
|
40191
|
+
|
40192
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 10:59:24 -0400
|
40193
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40194
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
40195
|
+
Completed 401 Unauthorized in 79ms
|
40196
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40197
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40198
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40199
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40201
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40202
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40203
|
+
Connecting to database specified by database.yml
|
40204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40205
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
40206
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 949717663, 201799169)[0m
|
40207
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 876923740, 201799169)
|
40208
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 864673665, 201799169)[0m
|
40209
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
40210
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 201799169)[0m
|
40211
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 999914115)
|
40212
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 725306934)[0m
|
40213
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 349534908)
|
40214
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
40215
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40216
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
40217
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40219
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40220
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40222
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40223
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40224
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
40225
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
40226
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 17:00:47 UTC", "updated_at"=>"2012-06-19 17:00:47 UTC"}}
|
40227
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
40228
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40229
|
+
Logged in user found, creating associated authentication.
|
40230
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40231
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 17:00:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 17:00:47 UTC +00:00], ["user_id", 201799169]]
|
40232
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40233
|
+
Redirected to http://test.host/authentications
|
40234
|
+
Completed 302 Found in 48ms (ActiveRecord: 0.9ms)
|
40235
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
40236
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40238
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40239
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
40240
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
40241
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
40242
|
+
Parameters: {"id"=>"949717663"}
|
40243
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40244
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
40245
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40246
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
40247
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40248
|
+
Redirected to http://test.host/authentications
|
40249
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
40250
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
40251
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
40252
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40253
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40254
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40255
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
40256
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40257
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
40258
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
40259
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
|
40260
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
|
40261
|
+
Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.3ms)
|
40262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40264
|
+
Processing by Contour::PasswordsController#create as HTML
|
40265
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
40266
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
40267
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'oVXqGkcbyGjPV3pwPKt5' LIMIT 1[0m
|
40268
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40269
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'oVXqGkcbyGjPV3pwPKt5', "reset_password_sent_at" = '2012-06-19 17:00:47.898448', "updated_at" = '2012-06-19 17:00:47.899252' WHERE "users"."id" = 201799169[0m
|
40270
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40271
|
+
|
40272
|
+
Sent mail to valid@example.com (54ms)
|
40273
|
+
Date: Tue, 19 Jun 2012 13:00:48 -0400
|
40274
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
40275
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
40276
|
+
To: valid@example.com
|
40277
|
+
Message-ID: <4fe0b04018498_13a173fcdc1834cd4956a9@edge.mail>
|
40278
|
+
Subject: Reset password instructions
|
40279
|
+
Mime-Version: 1.0
|
40280
|
+
Content-Type: text/html;
|
40281
|
+
charset=UTF-8
|
40282
|
+
Content-Transfer-Encoding: 7bit
|
40283
|
+
|
40284
|
+
<p>Hello valid@example.com!</p>
|
40285
|
+
|
40286
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
40287
|
+
|
40288
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=oVXqGkcbyGjPV3pwPKt5">Change my password</a></p>
|
40289
|
+
|
40290
|
+
<p>If you didn't request this, please ignore this email.</p>
|
40291
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
40292
|
+
|
40293
|
+
Redirected to http://test.host/users/login
|
40294
|
+
Completed 302 Found in 258ms (ActiveRecord: 0.0ms)
|
40295
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
40296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40297
|
+
Processing by Contour::PasswordsController#new as HTML
|
40298
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
40299
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
40300
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
40301
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
|
40302
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40304
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40306
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40307
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40308
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40310
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40311
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40312
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40313
|
+
|
40314
|
+
|
40315
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40316
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40317
|
+
Completed 401 Unauthorized in 1ms
|
40318
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40319
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40320
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40321
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$dpKCEQwlYx1JBwwD738Iku74yiuf9fZyUsuH/57iEXKTCbNc55AyO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00]]
|
40322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40324
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
40325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40327
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 17:00:48.278743' WHERE "users"."id" = 999914116
|
40328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40330
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 17:00:48.280004' WHERE "users"."id" = 999914116[0m
|
40331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40332
|
+
|
40333
|
+
|
40334
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40335
|
+
Processing by Contour::SessionsController#create as HTML
|
40336
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
40337
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40338
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40340
|
+
Completed 401 Unauthorized in 32ms
|
40341
|
+
|
40342
|
+
|
40343
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40344
|
+
Processing by Contour::SessionsController#new as HTML
|
40345
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
40346
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
40347
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
40348
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
40349
|
+
Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)
|
40350
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
40351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40352
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40353
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40354
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40355
|
+
|
40356
|
+
|
40357
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40358
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40359
|
+
Completed 401 Unauthorized in 0ms
|
40360
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40361
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
40362
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40363
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nnBlRMq51Q4h0ZR8DunLWuayGAy91NtvTtXtYH0I.bnYn3ngJNVq2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00]]
|
40364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40365
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40366
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40367
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40368
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40369
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 17:00:48.357182' WHERE "users"."id" = 999914116[0m
|
40370
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40371
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40373
|
+
|
40374
|
+
|
40375
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40376
|
+
Processing by Contour::SessionsController#create as HTML
|
40377
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
40378
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
40379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40380
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 17:00:48.365740', "current_sign_in_at" = '2012-06-19 17:00:48.365740', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 17:00:48.366300' WHERE "users"."id" = 999914116[0m
|
40381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40382
|
+
Redirected to http://www.example.com/logged_in_page
|
40383
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
40384
|
+
|
40385
|
+
|
40386
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40387
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40388
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
40389
|
+
Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms)
|
40390
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
40391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40392
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40393
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40394
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40395
|
+
|
40396
|
+
|
40397
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40398
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40399
|
+
Completed 401 Unauthorized in 0ms
|
40400
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40401
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40402
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40403
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Dri3hV4GMZTkjR04fl7B5uofboutNzj83KE8ZcoCPWw5nCxNr5vUG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00]]
|
40404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40405
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40406
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40408
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40412
|
+
|
40413
|
+
|
40414
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40415
|
+
Processing by Contour::SessionsController#create as HTML
|
40416
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
40417
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40419
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40420
|
+
Completed 401 Unauthorized in 4ms
|
40421
|
+
|
40422
|
+
|
40423
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40424
|
+
Processing by Contour::SessionsController#new as HTML
|
40425
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
40426
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
40427
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (31.9ms)
|
40428
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (33.6ms)
|
40429
|
+
Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.0ms)
|
40430
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
40431
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40432
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40433
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40434
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40435
|
+
|
40436
|
+
|
40437
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40438
|
+
Processing by WelcomeController#index as HTML
|
40439
|
+
Completed 401 Unauthorized in 0ms
|
40440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40442
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40443
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40444
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40445
|
+
|
40446
|
+
|
40447
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40448
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40449
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
40450
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40451
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 17:00:48.553356', "current_sign_in_at" = '2012-06-19 17:00:48.553356', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 17:00:48.554036' WHERE "users"."id" = 201799169[0m
|
40452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40453
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
40454
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40456
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40457
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40458
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40459
|
+
|
40460
|
+
|
40461
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 13:00:48 -0400
|
40462
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40463
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
40464
|
+
Completed 401 Unauthorized in 78ms
|
40465
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40466
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40467
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40468
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40469
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40470
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40471
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40472
|
+
Connecting to database specified by database.yml
|
40473
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40474
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
40475
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 949717663, 201799169)[0m
|
40476
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 876923740, 201799169)
|
40477
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 864673665, 201799169)[0m
|
40478
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
40479
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 201799169)[0m
|
40480
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 999914115)
|
40481
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 725306934)[0m
|
40482
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 349534908)
|
40483
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
40484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40485
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
40486
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40487
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40488
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40489
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40490
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40491
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40492
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40493
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
40494
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
40495
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 18:24:47 UTC", "updated_at"=>"2012-06-19 18:24:47 UTC"}}
|
40496
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
40497
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40498
|
+
Logged in user found, creating associated authentication.
|
40499
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40500
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["user_id", 201799169]]
|
40501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40502
|
+
Redirected to http://test.host/authentications
|
40503
|
+
Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
|
40504
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
40505
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40507
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40508
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
40509
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
40510
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
40511
|
+
Parameters: {"id"=>"949717663"}
|
40512
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40513
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
40514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40515
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
40516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40517
|
+
Redirected to http://test.host/authentications
|
40518
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
40519
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
40520
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40522
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40523
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40524
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
40525
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
40527
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
40528
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
|
40529
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
|
40530
|
+
Completed 200 OK in 28ms (Views: 26.3ms | ActiveRecord: 0.4ms)
|
40531
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40533
|
+
Processing by Contour::PasswordsController#create as HTML
|
40534
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
40535
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
40536
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wzZ8JpzJY8TYAaCS2RW5' LIMIT 1[0m
|
40537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40538
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'wzZ8JpzJY8TYAaCS2RW5', "reset_password_sent_at" = '2012-06-19 18:24:47.644005', "updated_at" = '2012-06-19 18:24:47.644735' WHERE "users"."id" = 201799169[0m
|
40539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40540
|
+
|
40541
|
+
Sent mail to valid@example.com (60ms)
|
40542
|
+
Date: Tue, 19 Jun 2012 14:24:47 -0400
|
40543
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
40544
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
40545
|
+
To: valid@example.com
|
40546
|
+
Message-ID: <4fe0c3efbe2ea_13fae3fdfc5834cdc40824@edge.mail>
|
40547
|
+
Subject: Reset password instructions
|
40548
|
+
Mime-Version: 1.0
|
40549
|
+
Content-Type: text/html;
|
40550
|
+
charset=UTF-8
|
40551
|
+
Content-Transfer-Encoding: 7bit
|
40552
|
+
|
40553
|
+
<p>Hello valid@example.com!</p>
|
40554
|
+
|
40555
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
40556
|
+
|
40557
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=wzZ8JpzJY8TYAaCS2RW5">Change my password</a></p>
|
40558
|
+
|
40559
|
+
<p>If you didn't request this, please ignore this email.</p>
|
40560
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
40561
|
+
|
40562
|
+
Redirected to http://test.host/users/login
|
40563
|
+
Completed 302 Found in 219ms (ActiveRecord: 0.0ms)
|
40564
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
40565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40566
|
+
Processing by Contour::PasswordsController#new as HTML
|
40567
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
|
40568
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
40569
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
40570
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
|
40571
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40573
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40574
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40575
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40576
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40577
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40579
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40580
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40581
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40582
|
+
|
40583
|
+
|
40584
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
|
40585
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40586
|
+
Completed 401 Unauthorized in 1ms
|
40587
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40588
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40589
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40590
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$C.ox7.xUGc2UQdNTW1Bl3OdbLjoE046ubxDL5n86CPtIlZv9yk/oS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00]]
|
40591
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40592
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40593
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
40594
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40595
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40596
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 18:24:47.915837' WHERE "users"."id" = 999914116
|
40597
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40598
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40599
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 18:24:47.917052' WHERE "users"."id" = 999914116[0m
|
40600
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40601
|
+
|
40602
|
+
|
40603
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
|
40604
|
+
Processing by Contour::SessionsController#create as HTML
|
40605
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
40606
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40609
|
+
Completed 401 Unauthorized in 41ms
|
40610
|
+
|
40611
|
+
|
40612
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
|
40613
|
+
Processing by Contour::SessionsController#new as HTML
|
40614
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
40615
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
40616
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
40617
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
40618
|
+
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
40619
|
+
[1m[35m (4.7ms)[0m rollback transaction
|
40620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40621
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40622
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40623
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40624
|
+
|
40625
|
+
|
40626
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:47 -0400
|
40627
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40628
|
+
Completed 401 Unauthorized in 0ms
|
40629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40630
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
40631
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40632
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$b0YZUoMbLTknWYSsSM7gxurC/AnQYdtid0Vbjg0pxeF2AF4PmcKv6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00]]
|
40633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40634
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40635
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40636
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40638
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 18:24:48.007010' WHERE "users"."id" = 999914116[0m
|
40639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40640
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40642
|
+
|
40643
|
+
|
40644
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40645
|
+
Processing by Contour::SessionsController#create as HTML
|
40646
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
40647
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
40648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40649
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 18:24:48.015322', "current_sign_in_at" = '2012-06-19 18:24:48.015322', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 18:24:48.015789' WHERE "users"."id" = 999914116[0m
|
40650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40651
|
+
Redirected to http://www.example.com/logged_in_page
|
40652
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
40653
|
+
|
40654
|
+
|
40655
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40656
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40657
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
40658
|
+
Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms)
|
40659
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
40660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40661
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40662
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40663
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40664
|
+
|
40665
|
+
|
40666
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40667
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40668
|
+
Completed 401 Unauthorized in 0ms
|
40669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40670
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40671
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40672
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wHJMIZHE8M/eSuvIMPT.FeqxkZWXFiu30B5.qbEMMfRKcpnHu12yy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00]]
|
40673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40675
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40676
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40677
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40679
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40680
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40681
|
+
|
40682
|
+
|
40683
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40684
|
+
Processing by Contour::SessionsController#create as HTML
|
40685
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
40686
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40687
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40688
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40689
|
+
Completed 401 Unauthorized in 4ms
|
40690
|
+
|
40691
|
+
|
40692
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40693
|
+
Processing by Contour::SessionsController#new as HTML
|
40694
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
40695
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
40696
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (32.8ms)
|
40697
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.9ms)
|
40698
|
+
Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)
|
40699
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40700
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40701
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40702
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40703
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40704
|
+
|
40705
|
+
|
40706
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40707
|
+
Processing by WelcomeController#index as HTML
|
40708
|
+
Completed 401 Unauthorized in 1ms
|
40709
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40710
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40711
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40712
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40713
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40714
|
+
|
40715
|
+
|
40716
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40717
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40718
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
40719
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40720
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 18:24:48.213969', "current_sign_in_at" = '2012-06-19 18:24:48.213969', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 18:24:48.214665' WHERE "users"."id" = 201799169[0m
|
40721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40722
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
40723
|
+
[1m[36m (44.1ms)[0m [1mrollback transaction[0m
|
40724
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40725
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40726
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40727
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40728
|
+
|
40729
|
+
|
40730
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 14:24:48 -0400
|
40731
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40732
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
40733
|
+
Completed 401 Unauthorized in 79ms
|
40734
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40735
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40736
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40737
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40739
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40740
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40741
|
+
Connecting to database specified by database.yml
|
40742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40743
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
40744
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 949717663, 201799169)[0m
|
40745
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 876923740, 201799169)
|
40746
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 864673665, 201799169)[0m
|
40747
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
40748
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 201799169)[0m
|
40749
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 999914115)
|
40750
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 725306934)[0m
|
40751
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 349534908)
|
40752
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
40753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40754
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
40755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40756
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40757
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40758
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40760
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40761
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40762
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
40763
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
40764
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 20:41:53 UTC", "updated_at"=>"2012-06-19 20:41:53 UTC"}}
|
40765
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
40766
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40767
|
+
Logged in user found, creating associated authentication.
|
40768
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40769
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["user_id", 201799169]]
|
40770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40771
|
+
Redirected to http://test.host/authentications
|
40772
|
+
Completed 302 Found in 64ms (ActiveRecord: 1.0ms)
|
40773
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
40774
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
40775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40776
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40777
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
40778
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
40779
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
40780
|
+
Parameters: {"id"=>"949717663"}
|
40781
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40782
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
40783
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40784
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
40785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40786
|
+
Redirected to http://test.host/authentications
|
40787
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
40788
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
40789
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
40790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40791
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40792
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
40793
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
40794
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
40795
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
40796
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
40797
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.8ms)
|
40798
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
|
40799
|
+
Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.4ms)
|
40800
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40802
|
+
Processing by Contour::PasswordsController#create as HTML
|
40803
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
40804
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
40805
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sAzTXNkZ2xBtRhJ1GwuK' LIMIT 1[0m
|
40806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40807
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'sAzTXNkZ2xBtRhJ1GwuK', "reset_password_sent_at" = '2012-06-19 20:41:53.409013', "updated_at" = '2012-06-19 20:41:53.409814' WHERE "users"."id" = 201799169[0m
|
40808
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40809
|
+
|
40810
|
+
Sent mail to valid@example.com (50ms)
|
40811
|
+
Date: Tue, 19 Jun 2012 16:41:53 -0400
|
40812
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
40813
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
40814
|
+
To: valid@example.com
|
40815
|
+
Message-ID: <4fe0e41178b76_148093ff199434cdc76642@edge.mail>
|
40816
|
+
Subject: Reset password instructions
|
40817
|
+
Mime-Version: 1.0
|
40818
|
+
Content-Type: text/html;
|
40819
|
+
charset=UTF-8
|
40820
|
+
Content-Transfer-Encoding: 7bit
|
40821
|
+
|
40822
|
+
<p>Hello valid@example.com!</p>
|
40823
|
+
|
40824
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
40825
|
+
|
40826
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=sAzTXNkZ2xBtRhJ1GwuK">Change my password</a></p>
|
40827
|
+
|
40828
|
+
<p>If you didn't request this, please ignore this email.</p>
|
40829
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
40830
|
+
|
40831
|
+
Redirected to http://test.host/users/login
|
40832
|
+
Completed 302 Found in 154ms (ActiveRecord: 0.0ms)
|
40833
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40835
|
+
Processing by Contour::PasswordsController#new as HTML
|
40836
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms)
|
40837
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
|
40838
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms)
|
40839
|
+
Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
|
40840
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40842
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40844
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40845
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40846
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40847
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40848
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40849
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40850
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40851
|
+
|
40852
|
+
|
40853
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40854
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40855
|
+
Completed 401 Unauthorized in 1ms
|
40856
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40857
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40858
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40859
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$MPcTwJU5VLLvc0xpscWxUO0NtJ0YQceaQTEMEpHgjDCXA0fnK98y2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00]]
|
40860
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40861
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40862
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
40863
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40864
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40865
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 20:41:53.665307' WHERE "users"."id" = 999914116
|
40866
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40867
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40868
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 20:41:53.666830' WHERE "users"."id" = 999914116[0m
|
40869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40870
|
+
|
40871
|
+
|
40872
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40873
|
+
Processing by Contour::SessionsController#create as HTML
|
40874
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
40875
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
40876
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40878
|
+
Completed 401 Unauthorized in 7ms
|
40879
|
+
|
40880
|
+
|
40881
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40882
|
+
Processing by Contour::SessionsController#new as HTML
|
40883
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
40884
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
40885
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
40886
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
|
40887
|
+
Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms)
|
40888
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
40889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40890
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40891
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40892
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40893
|
+
|
40894
|
+
|
40895
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40896
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40897
|
+
Completed 401 Unauthorized in 0ms
|
40898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40899
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
40900
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40901
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$SYpMQcr/a1zzpGvkc3G4w.FAwf1EXpC3NtikdPAWw0JohWGRGvNCW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00]]
|
40902
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40904
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40907
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 20:41:53.745796' WHERE "users"."id" = 999914116[0m
|
40908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40910
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40911
|
+
|
40912
|
+
|
40913
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40914
|
+
Processing by Contour::SessionsController#create as HTML
|
40915
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
40916
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
40917
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40918
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 20:41:53.756633', "current_sign_in_at" = '2012-06-19 20:41:53.756633', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 20:41:53.757265' WHERE "users"."id" = 999914116[0m
|
40919
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40920
|
+
Redirected to http://www.example.com/logged_in_page
|
40921
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
40922
|
+
|
40923
|
+
|
40924
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40925
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40926
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
40927
|
+
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
40928
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40929
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40930
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40931
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40932
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40933
|
+
|
40934
|
+
|
40935
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40936
|
+
Processing by WelcomeController#logged_in_page as HTML
|
40937
|
+
Completed 401 Unauthorized in 0ms
|
40938
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40939
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40940
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
40941
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Q.o9Aqvn9Jtphjye16Y0ZufSEdnIee2pcKxQuXWnvGMK4lXyhAsde"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00]]
|
40942
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40943
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40944
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
40945
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40946
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40948
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40950
|
+
|
40951
|
+
|
40952
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40953
|
+
Processing by Contour::SessionsController#create as HTML
|
40954
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
40955
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
40956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40958
|
+
Completed 401 Unauthorized in 5ms
|
40959
|
+
|
40960
|
+
|
40961
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40962
|
+
Processing by Contour::SessionsController#new as HTML
|
40963
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
40964
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
40965
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (38.5ms)
|
40966
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (40.8ms)
|
40967
|
+
Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)
|
40968
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40970
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40971
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40972
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40973
|
+
|
40974
|
+
|
40975
|
+
Started GET "/" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40976
|
+
Processing by WelcomeController#index as HTML
|
40977
|
+
Completed 401 Unauthorized in 1ms
|
40978
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40980
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
40981
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
40982
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
40983
|
+
|
40984
|
+
|
40985
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
40986
|
+
Processing by WelcomeController#logged_in_page as JSON
|
40987
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
40988
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40989
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 20:41:53.969118', "current_sign_in_at" = '2012-06-19 20:41:53.969118', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 20:41:53.969842' WHERE "users"."id" = 201799169[0m
|
40990
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40991
|
+
Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
40992
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
40993
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40994
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
40995
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
40996
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
40997
|
+
|
40998
|
+
|
40999
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 16:41:53 -0400
|
41000
|
+
Processing by WelcomeController#logged_in_page as JSON
|
41001
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
41002
|
+
Completed 401 Unauthorized in 83ms
|
41003
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41004
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41005
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
41006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41008
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
41009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|