contour 1.1.0.pre → 1.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. data/CHANGELOG.rdoc +1 -1
  2. data/app/assets/images/twitter-bootstrap/{v2.1.0-wip → v2.1.0}/glyphicons-halflings-white.png +0 -0
  3. data/app/assets/images/twitter-bootstrap/{v2.1.0-wip → v2.1.0}/glyphicons-halflings.png +0 -0
  4. data/app/assets/javascripts/contour.js +1 -14
  5. data/app/assets/javascripts/twitter-bootstrap/{v2.1.0-wip → v2.1.0}/bootstrap.js +126 -19
  6. data/app/assets/stylesheets/bootstrap-base-overrides.css +6 -23
  7. data/app/assets/stylesheets/contour.css +2 -2
  8. data/app/assets/stylesheets/twitter-bootstrap/{v2.1.0-wip → v2.1.0}/bootstrap-responsive.css +5 -36
  9. data/app/assets/stylesheets/twitter-bootstrap/{v2.1.0-wip → v2.1.0}/bootstrap.css +126 -69
  10. data/app/views/contour/layouts/application.html.erb +2 -2
  11. data/contour.gemspec +2 -2
  12. data/lib/contour/version.rb +1 -1
  13. data/lib/generators/contour/scaffold/templates/controller.rb +1 -1
  14. data/lib/generators/contour/scaffold/templates/index.html.erb +1 -7
  15. data/test/dummy/db/test.sqlite3 +0 -0
  16. data/test/dummy/log/test.log +524 -0
  17. metadata +11 -24
  18. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-affix.js +0 -104
  19. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-alert.js +0 -90
  20. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-button.js +0 -96
  21. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-carousel.js +0 -176
  22. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-collapse.js +0 -158
  23. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-dropdown.js +0 -150
  24. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-modal.js +0 -239
  25. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-popover.js +0 -102
  26. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-scrollspy.js +0 -151
  27. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-tab.js +0 -135
  28. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-tooltip.js +0 -273
  29. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-transition.js +0 -60
  30. data/app/assets/javascripts/twitter-bootstrap/v2.1.0-wip/plugins/bootstrap-typeahead.js +0 -300
@@ -4,12 +4,12 @@
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title><%= [Contour.application_name, @title].compact.join(' - ').html_safe %></title>
7
+ <title><%= [@title, Contour.application_name].compact.join(' - ').html_safe %></title>
8
8
  <%= favicon_link_tag %>
9
9
  <%= csrf_meta_tags %>
10
10
 
11
11
  <!--[if lt IE 9]>
12
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
12
+ <script src="//html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
13
13
  <![endif]-->
14
14
 
15
15
  <%= stylesheet_link_tag "application", media: "all" %>
@@ -24,13 +24,13 @@ Gem::Specification.new do |s|
24
24
  s.test_files = Dir["test/**/*"]
25
25
 
26
26
  s.add_dependency 'rails', '~> 3.2.8'
27
- s.add_dependency 'jquery-rails', '~> 2.0.2'
27
+ s.add_dependency 'jquery-rails', '~> 2.1.1'
28
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.4.1'
32
32
  s.add_dependency 'omniauth-ldap', '~> 1.0.2'
33
- s.add_dependency 'omniauth-linkedin', '~> 0.0.7'
33
+ s.add_dependency 'omniauth-linkedin', '~> 0.0.8'
34
34
  s.add_dependency 'omniauth-openid', '~> 1.0.1'
35
35
  s.add_dependency 'omniauth-twitter', '~> 0.0.12'
36
36
 
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "pre" # nil, "pre", "rc", "rc2"
6
+ BUILD = "pre2" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
@@ -83,7 +83,7 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
83
83
  @<%= resource_name %>.destroy
84
84
 
85
85
  respond_to do |format|
86
- format.html { redirect_to <%= resource_name_plural %>_url }
86
+ format.html { redirect_to <%= resource_name_plural %>_path }
87
87
  format.json { head :no_content }
88
88
  end
89
89
  end
@@ -6,16 +6,10 @@
6
6
  </h1>
7
7
  </div>
8
8
 
9
- <%%= form_tag <%= resource_name_plural %>_path, method: :get, remote: true, id: "<%= resource_name_plural %>_search", class: 'form-search' do %>
9
+ <%%= form_tag <%= resource_name_plural %>_path, method: :get, remote: true, id: "<%= resource_name_plural %>_search", class: 'form-search', data: { object: 'form-load' } do %>
10
10
  <%%= hidden_field_tag :order %>
11
11
  <%%= text_field_tag 'search', params[:search], class: 'search-query' %>
12
12
  <%%= submit_tag 'Search', class: 'btn btn-primary' %>
13
13
  <%% end %>
14
14
 
15
15
  <div id="<%= resource_name_plural %>"><center><%%= image_tag "contour/ajax-loader.gif" %></center></div>
16
-
17
- <%%= javascript_tag do %>
18
- $(function(){
19
- $.get($("#<%= resource_name_plural %>_search").attr("action"), $("#<%= resource_name_plural %>_search").serialize(), null, "script");
20
- });
21
- <%% end %>
Binary file
@@ -44700,3 +44700,527 @@ Completed 401 Unauthorized in 79ms
44700
44700
   (0.1ms) begin transaction
44701
44701
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44702
44702
   (0.0ms) rollback transaction
44703
+ Connecting to database specified by database.yml
44704
+  (0.1ms) begin transaction
44705
+ Fixture Delete (53.3ms) DELETE FROM "authentications"
44706
+ Fixture Insert (0.7ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 949717663, 201799169)
44707
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 876923740, 201799169)
44708
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 864673665, 201799169)
44709
+ Fixture Delete (1.1ms) DELETE FROM "users"
44710
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 201799169)
44711
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 999914115)
44712
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 725306934)
44713
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 349534908)
44714
+  (17.4ms) commit transaction
44715
+  (0.1ms) begin transaction
44716
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44717
+  (0.1ms) rollback transaction
44718
+  (0.1ms) begin transaction
44719
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44720
+  (0.1ms) rollback transaction
44721
+  (0.1ms) begin transaction
44722
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44723
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44724
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44725
+ Processing by Contour::AuthenticationsController#create as HTML
44726
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 12:41:03 UTC", "updated_at"=>"2012-08-16 12:41:03 UTC"}}
44727
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44728
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44729
+ Logged in user found, creating associated authentication.
44730
+  (0.1ms) SAVEPOINT active_record_1
44731
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["user_id", 201799169]]
44732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44733
+ Redirected to http://test.host/authentications
44734
+ Completed 302 Found in 78ms (ActiveRecord: 0.9ms)
44735
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44736
+  (5.4ms) rollback transaction
44737
+  (0.1ms) begin transaction
44738
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44739
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44740
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44741
+ Processing by Contour::AuthenticationsController#destroy as HTML
44742
+ Parameters: {"id"=>"949717663"}
44743
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44744
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
44745
+  (0.0ms) SAVEPOINT active_record_1
44746
+ SQL (19.9ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
44747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44748
+ Redirected to http://test.host/authentications
44749
+ Completed 302 Found in 24ms (ActiveRecord: 20.3ms)
44750
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
44751
+  (0.7ms) rollback transaction
44752
+  (0.1ms) begin transaction
44753
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44754
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44755
+ Processing by Contour::AuthenticationsController#index as HTML
44756
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44757
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
44758
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
44759
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
44760
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
44761
+ Completed 200 OK in 123ms (Views: 121.5ms | ActiveRecord: 0.4ms)
44762
+  (0.1ms) rollback transaction
44763
+  (0.1ms) begin transaction
44764
+ Processing by Contour::PasswordsController#create as HTML
44765
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
44766
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44767
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf' LIMIT 1
44768
+  (0.0ms) SAVEPOINT active_record_1
44769
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf', "reset_password_sent_at" = '2012-08-16 12:41:03.830927', "updated_at" = '2012-08-16 12:41:03.831681' WHERE "users"."id" = 201799169
44770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44771
+
44772
+ Sent mail to valid@example.com (85ms)
44773
+ Date: Thu, 16 Aug 2012 08:41:04 -0400
44774
+ From: please-change-me-at-config-initializers-devise@example.com
44775
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
44776
+ To: valid@example.com
44777
+ Message-ID: <502cea6011157_149683fce44435ad816ef@edge.partners.org.mail>
44778
+ Subject: Reset password instructions
44779
+ Mime-Version: 1.0
44780
+ Content-Type: text/html;
44781
+ charset=UTF-8
44782
+ Content-Transfer-Encoding: 7bit
44783
+
44784
+ <p>Hello valid@example.com!</p>
44785
+
44786
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
44787
+
44788
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=F4ZHCymBXsg7kDgrZkXf">Change my password</a></p>
44789
+
44790
+ <p>If you didn't request this, please ignore this email.</p>
44791
+ <p>Your password won't change until you access the link above and create a new one.</p>
44792
+
44793
+ Redirected to http://test.host/users/login
44794
+ Completed 302 Found in 351ms (ActiveRecord: 0.0ms)
44795
+  (0.7ms) rollback transaction
44796
+  (0.0ms) begin transaction
44797
+ Processing by Contour::PasswordsController#new as HTML
44798
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
44799
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
44800
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
44801
+ Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
44802
+  (0.1ms) rollback transaction
44803
+  (0.0ms) begin transaction
44804
+  (0.0ms) rollback transaction
44805
+  (0.1ms) begin transaction
44806
+  (0.0ms) rollback transaction
44807
+  (0.1ms) begin transaction
44808
+  (0.0ms) rollback transaction
44809
+  (0.0ms) begin transaction
44810
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44812
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44813
+
44814
+
44815
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44816
+ Processing by WelcomeController#logged_in_page as HTML
44817
+ Completed 401 Unauthorized in 1ms
44818
+  (0.1ms) SAVEPOINT active_record_1
44819
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44820
+ Binary data inserted for `string` type on column `encrypted_password`
44821
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41: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$Gma20YUE2LVK626UmUEETul0/VpBrH1ZquSdY4gAXK86FZcezB3R."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]]
44822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44823
+  (0.0ms) SAVEPOINT active_record_1
44824
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44826
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44827
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
44828
+
44829
+
44830
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44831
+ Processing by Contour::SessionsController#create as HTML
44832
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
44833
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
44834
+  (0.1ms) SAVEPOINT active_record_1
44835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44836
+ Completed 401 Unauthorized in 7ms
44837
+
44838
+
44839
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44840
+ Processing by Contour::SessionsController#new as HTML
44841
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
44842
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms)
44843
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
44844
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
44845
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
44846
+ Completed 200 OK in 83ms (Views: 81.6ms | ActiveRecord: 0.0ms)
44847
+  (5.8ms) rollback transaction
44848
+  (0.1ms) begin transaction
44849
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44850
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44851
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44852
+
44853
+
44854
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44855
+ Processing by WelcomeController#logged_in_page as HTML
44856
+ Completed 401 Unauthorized in 0ms
44857
+  (0.1ms) SAVEPOINT active_record_1
44858
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44859
+ Binary data inserted for `string` type on column `encrypted_password`
44860
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41: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$HnVfn.WWgis0GXSN3q9Jh.Y0nwInAXMHjAbWxusPM4ZooG7WmPoE6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]]
44861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44862
+  (0.0ms) SAVEPOINT active_record_1
44863
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44865
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
44866
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44867
+
44868
+
44869
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44870
+ Processing by Contour::SessionsController#create as HTML
44871
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
44872
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
44873
+  (0.1ms) SAVEPOINT active_record_1
44874
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.496028', "current_sign_in_at" = '2012-08-16 12:41:04.496028', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.496655' WHERE "users"."id" = 999914116
44875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44876
+ Redirected to http://www.example.com/logged_in_page
44877
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
44878
+
44879
+
44880
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44881
+ Processing by WelcomeController#logged_in_page as HTML
44882
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
44883
+ Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.1ms)
44884
+  (12.3ms) rollback transaction
44885
+  (0.1ms) begin transaction
44886
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44887
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44888
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44889
+
44890
+
44891
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44892
+ Processing by WelcomeController#logged_in_page as HTML
44893
+ Completed 401 Unauthorized in 0ms
44894
+  (0.1ms) SAVEPOINT active_record_1
44895
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44896
+ Binary data inserted for `string` type on column `encrypted_password`
44897
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41: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$HEd3hRQG99xiXjQNoRssTeoW5bUoqRuqOtuigxRun4pBi9QFa53IC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]]
44898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44899
+  (0.0ms) SAVEPOINT active_record_1
44900
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
44901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44902
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
44903
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
44904
+
44905
+
44906
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44907
+ Processing by Contour::SessionsController#create as HTML
44908
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
44909
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
44910
+  (0.0ms) SAVEPOINT active_record_1
44911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44912
+ Completed 401 Unauthorized in 4ms
44913
+
44914
+
44915
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44916
+ Processing by Contour::SessionsController#new as HTML
44917
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
44918
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
44919
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
44920
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
44921
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
44922
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
44923
+  (3.2ms) rollback transaction
44924
+  (0.1ms) begin transaction
44925
+ User Load (36.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44926
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44927
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44928
+
44929
+
44930
+ Started GET "/" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44931
+ Processing by WelcomeController#index as HTML
44932
+ Completed 401 Unauthorized in 0ms
44933
+  (0.1ms) rollback transaction
44934
+  (0.0ms) begin transaction
44935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44936
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44937
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44938
+
44939
+
44940
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:04 -0400
44941
+ Processing by WelcomeController#logged_in_page as JSON
44942
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44943
+  (0.1ms) SAVEPOINT active_record_1
44944
+  (0.4ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.713992' WHERE "users"."id" = 201799169
44945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44946
+ Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms)
44947
+  (448.4ms) rollback transaction
44948
+  (0.1ms) begin transaction
44949
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44950
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
44951
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
44952
+
44953
+
44954
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:05 -0400
44955
+ Processing by WelcomeController#logged_in_page as JSON
44956
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
44957
+ Completed 401 Unauthorized in 84ms
44958
+  (0.1ms) rollback transaction
44959
+  (0.1ms) begin transaction
44960
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44961
+  (0.1ms) rollback transaction
44962
+  (0.0ms) begin transaction
44963
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44964
+  (0.0ms) rollback transaction
44965
+ Connecting to database specified by database.yml
44966
+  (0.1ms) begin transaction
44967
+ Fixture Delete (14.6ms) DELETE FROM "authentications"
44968
+ Fixture Insert (0.7ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 949717663, 201799169)
44969
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 876923740, 201799169)
44970
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 864673665, 201799169)
44971
+ Fixture Delete (0.8ms) DELETE FROM "users"
44972
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 201799169)
44973
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 999914115)
44974
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 725306934)
44975
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 349534908)
44976
+  (1.6ms) commit transaction
44977
+  (0.0ms) begin transaction
44978
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
44979
+  (0.1ms) rollback transaction
44980
+  (0.1ms) begin transaction
44981
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44982
+  (0.0ms) rollback transaction
44983
+  (0.0ms) begin transaction
44984
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
44985
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
44986
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44987
+ Processing by Contour::AuthenticationsController#create as HTML
44988
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 18:09:58 UTC", "updated_at"=>"2012-08-16 18:09:58 UTC"}}
44989
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
44990
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
44991
+ Logged in user found, creating associated authentication.
44992
+  (0.1ms) SAVEPOINT active_record_1
44993
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["user_id", 201799169]]
44994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44995
+ Redirected to http://test.host/authentications
44996
+ Completed 302 Found in 70ms (ActiveRecord: 0.9ms)
44997
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
44998
+  (0.5ms) rollback transaction
44999
+  (0.0ms) begin transaction
45000
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45001
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45002
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
45003
+ Processing by Contour::AuthenticationsController#destroy as HTML
45004
+ Parameters: {"id"=>"949717663"}
45005
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45006
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
45007
+  (0.0ms) SAVEPOINT active_record_1
45008
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
45009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45010
+ Redirected to http://test.host/authentications
45011
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
45012
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
45013
+  (0.6ms) rollback transaction
45014
+  (0.0ms) begin transaction
45015
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45016
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
45017
+ Processing by Contour::AuthenticationsController#index as HTML
45018
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
45019
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
45020
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
45021
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
45022
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
45023
+ Completed 200 OK in 170ms (Views: 168.8ms | ActiveRecord: 0.4ms)
45024
+  (0.1ms) rollback transaction
45025
+  (0.1ms) begin transaction
45026
+ Processing by Contour::PasswordsController#create as HTML
45027
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
45028
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45029
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'scjYKdaSxtMvF1bLyDpV' LIMIT 1
45030
+  (0.1ms) SAVEPOINT active_record_1
45031
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'scjYKdaSxtMvF1bLyDpV', "reset_password_sent_at" = '2012-08-16 18:09:59.032068', "updated_at" = '2012-08-16 18:09:59.033111' WHERE "users"."id" = 201799169
45032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
45033
+
45034
+ Sent mail to valid@example.com (38ms)
45035
+ Date: Thu, 16 Aug 2012 14:09:59 -0400
45036
+ From: please-change-me-at-config-initializers-devise@example.com
45037
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
45038
+ To: valid@example.com
45039
+ Message-ID: <502d377747691_161fc3fdc61835ae084227@edge.partners.org.mail>
45040
+ Subject: Reset password instructions
45041
+ Mime-Version: 1.0
45042
+ Content-Type: text/html;
45043
+ charset=UTF-8
45044
+ Content-Transfer-Encoding: 7bit
45045
+
45046
+ <p>Hello valid@example.com!</p>
45047
+
45048
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
45049
+
45050
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=scjYKdaSxtMvF1bLyDpV">Change my password</a></p>
45051
+
45052
+ <p>If you didn't request this, please ignore this email.</p>
45053
+ <p>Your password won't change until you access the link above and create a new one.</p>
45054
+
45055
+ Redirected to http://test.host/users/login
45056
+ Completed 302 Found in 321ms (ActiveRecord: 0.0ms)
45057
+  (0.7ms) rollback transaction
45058
+  (0.0ms) begin transaction
45059
+ Processing by Contour::PasswordsController#new as HTML
45060
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms)
45061
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
45062
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
45063
+ Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 0.0ms)
45064
+  (0.1ms) rollback transaction
45065
+  (0.0ms) begin transaction
45066
+  (0.0ms) rollback transaction
45067
+  (0.0ms) begin transaction
45068
+  (0.0ms) rollback transaction
45069
+  (0.0ms) begin transaction
45070
+  (0.0ms) rollback transaction
45071
+  (0.0ms) begin transaction
45072
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45073
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45074
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45075
+
45076
+
45077
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45078
+ Processing by WelcomeController#logged_in_page as HTML
45079
+ Completed 401 Unauthorized in 1ms
45080
+  (0.1ms) SAVEPOINT active_record_1
45081
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45082
+ Binary data inserted for `string` type on column `encrypted_password`
45083
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ad0Ey65CSKy62m0EoRVI9O7Ilhh0LzhpRe/GiADTduB1qQAuDLZ1W"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]]
45084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45085
+  (0.0ms) SAVEPOINT active_record_1
45086
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45088
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45089
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
45090
+
45091
+
45092
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45093
+ Processing by Contour::SessionsController#create as HTML
45094
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
45095
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
45096
+  (0.1ms) SAVEPOINT active_record_1
45097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45098
+ Completed 401 Unauthorized in 26ms
45099
+
45100
+
45101
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45102
+ Processing by Contour::SessionsController#new as HTML
45103
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
45104
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms)
45105
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
45106
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
45107
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
45108
+ Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms)
45109
+  (0.6ms) rollback transaction
45110
+  (0.1ms) begin transaction
45111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45112
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45113
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45114
+
45115
+
45116
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45117
+ Processing by WelcomeController#logged_in_page as HTML
45118
+ Completed 401 Unauthorized in 0ms
45119
+  (0.1ms) SAVEPOINT active_record_1
45120
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45121
+ Binary data inserted for `string` type on column `encrypted_password`
45122
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$W.6IyoZElSy0Y/cCOmtVZuVL53eilcRkFvQW/jbivHFl6ybZbaJSi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]]
45123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45124
+  (0.0ms) SAVEPOINT active_record_1
45125
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45127
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
45128
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45129
+
45130
+
45131
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45132
+ Processing by Contour::SessionsController#create as HTML
45133
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
45134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
45135
+  (0.0ms) SAVEPOINT active_record_1
45136
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.636504', "current_sign_in_at" = '2012-08-16 18:09:59.636504', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.637066' WHERE "users"."id" = 999914116
45137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45138
+ Redirected to http://www.example.com/logged_in_page
45139
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
45140
+
45141
+
45142
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45143
+ Processing by WelcomeController#logged_in_page as HTML
45144
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
45145
+ Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms)
45146
+  (1.1ms) rollback transaction
45147
+  (0.1ms) begin transaction
45148
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45150
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45151
+
45152
+
45153
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45154
+ Processing by WelcomeController#logged_in_page as HTML
45155
+ Completed 401 Unauthorized in 0ms
45156
+  (0.1ms) SAVEPOINT active_record_1
45157
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45158
+ Binary data inserted for `string` type on column `encrypted_password`
45159
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$p.IhpYscxpiXJJVkyQ7WFOd/9tE2Ha8NVIeB16/9pYfpagyuJcA76"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]]
45160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45161
+  (0.0ms) SAVEPOINT active_record_1
45162
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
45163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45164
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
45165
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
45166
+
45167
+
45168
+ Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45169
+ Processing by Contour::SessionsController#create as HTML
45170
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
45171
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
45172
+  (0.0ms) SAVEPOINT active_record_1
45173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45174
+ Completed 401 Unauthorized in 4ms
45175
+
45176
+
45177
+ Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45178
+ Processing by Contour::SessionsController#new as HTML
45179
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
45180
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
45181
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
45182
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
45183
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
45184
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
45185
+  (1.0ms) rollback transaction
45186
+  (0.1ms) begin transaction
45187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45188
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45189
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45190
+
45191
+
45192
+ Started GET "/" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45193
+ Processing by WelcomeController#index as HTML
45194
+ Completed 401 Unauthorized in 1ms
45195
+  (0.1ms) rollback transaction
45196
+  (0.1ms) begin transaction
45197
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45198
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45199
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45200
+
45201
+
45202
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45203
+ Processing by WelcomeController#logged_in_page as JSON
45204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45205
+  (0.1ms) SAVEPOINT active_record_1
45206
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.806795' WHERE "users"."id" = 201799169
45207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45208
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
45209
+  (0.7ms) rollback transaction
45210
+  (0.1ms) begin transaction
45211
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45212
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
45213
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
45214
+
45215
+
45216
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400
45217
+ Processing by WelcomeController#logged_in_page as JSON
45218
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
45219
+ Completed 401 Unauthorized in 81ms
45220
+  (0.1ms) rollback transaction
45221
+  (0.0ms) begin transaction
45222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45223
+  (0.1ms) rollback transaction
45224
+  (0.1ms) begin transaction
45225
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
45226
+  (0.1ms) rollback transaction