contour 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,14 @@
1
+ == 1.0.3
2
+
3
+ * Enhancements
4
+ * JavaScript includes reordered to allow Twitter Bootstrap buttons to be the default $().button() instead of jQuery UI
5
+ * Added styling CSS for an About page
6
+ * All headers (h1, h2, ...) have had their font-weight changed from bold to 300
7
+ * Flash messages can be added using JavaScript:
8
+ * flashMessage('My Message', alert_type, overwrite)
9
+ * alert_type can be 'success' (default), 'error', 'info', or '', which are green, red, blue, and yellow respectively
10
+ * overwrite can be <tt>true</tt> (default), or <tt>false</tt> in which case it will append to the already existing alerts
11
+
1
12
  == 1.0.2
2
13
 
3
14
  * Enhancements
data/README.rdoc CHANGED
@@ -24,7 +24,7 @@ Make sure you have Rails 3.2.6
24
24
 
25
25
  Modify <tt>Gemfile</tt> and add
26
26
 
27
- gem 'contour', '~> 1.0.2'
27
+ gem 'contour', '~> 1.0.3'
28
28
 
29
29
  Run Bundle install
30
30
 
@@ -4,6 +4,9 @@
4
4
  //= require jquery
5
5
  //= require jquery_ujs
6
6
  //
7
+ //= require external/jquery-ui-1.8.10.custom.min.js
8
+ //= require external/jquery.qtip.min.js
9
+ //
7
10
  //= require twitter-bootstrap/v2.0.4/bootstrap
8
11
  //= require twitter-bootstrap/v2.0.4/plugins/bootstrap-alert
9
12
  //= require twitter-bootstrap/v2.0.4/plugins/bootstrap-button
@@ -6,6 +6,14 @@
6
6
  else if element
7
7
  element.html('<img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + text)
8
8
 
9
+ @flashMessage = (message, alert_type = 'success', overwrite = true) ->
10
+ div_block = "<div class='alert alert-#{alert_type}'><button type='button' class='close' data-dismiss='alert'>×</button>#{message}</div>"
11
+ flash_container = $('[data-object~="flash-container"]')
12
+ if overwrite
13
+ flash_container.html(div_block)
14
+ else
15
+ flash_container.append(div_block)
16
+
9
17
  jQuery ->
10
18
  $(".datepicker").datepicker
11
19
  showOtherMonths: true
@@ -19,3 +19,7 @@
19
19
 
20
20
 
21
21
  body { padding-top: 60px; }
22
+
23
+ h1, h2, h3, h4, h5, h6 {
24
+ font-weight: 300;
25
+ }
@@ -11,5 +11,6 @@
11
11
  *= require bootstrap-responsive-overrides
12
12
  *= require jquery-ui-1.8.10.custom
13
13
  *= require jquery.qtip
14
+ *= require contour/about
14
15
  *= require contour/authentication
15
16
  */
@@ -0,0 +1,54 @@
1
+ /* About Page Styling */
2
+
3
+ /* Faded out hr */
4
+ hr.soften {
5
+ height: 1px;
6
+ margin: 54px 0 20px 0;
7
+ background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
8
+ background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
9
+ background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
10
+ background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
11
+ border: 0;
12
+ }
13
+
14
+ h1.about-title {
15
+ font-size:40px;
16
+ font-weight:300;
17
+ text-align:center;
18
+ margin-bottom:9px
19
+ }
20
+
21
+ h2.about-title {
22
+ font-size: 22px;
23
+ font-weight: 300;
24
+ line-height: 36px;
25
+ text-align:center;
26
+ margin-bottom: 9px;
27
+ }
28
+
29
+ p.about-tagline {
30
+ font-size:18px;
31
+ line-height:36px;
32
+ font-weight:300;
33
+ color:#999;
34
+ text-align:center
35
+ }
36
+
37
+ p.about-signup {
38
+ text-align:center;
39
+ line-height:36px;
40
+ }
41
+
42
+ p.about-description {
43
+ font-size:18px;
44
+ line-height:36px;
45
+ font-weight:300;
46
+ color:#999;
47
+ text-align:center;
48
+ margin-bottom:20px;
49
+ }
50
+
51
+ p.about-footer {
52
+ text-align:center;
53
+ font-weight:300;
54
+ }
@@ -36,7 +36,7 @@
36
36
  <%= render partial: 'contour/layouts/menu' %>
37
37
  </div>
38
38
 
39
- <div class="container">
39
+ <div class="container" data-object="flash-container">
40
40
  <%= flash_block %>
41
41
  </div>
42
42
 
@@ -1,24 +1,31 @@
1
- <% @title = 'Contour Details' %>
2
- <div class="page-header">
3
- <h1><%= @title %></h1>
1
+ <% @title = 'About Contour' %>
2
+
3
+ <div class="row" style="margin-top:54px">
4
+ <div class="span12">
5
+ <h1 class="about-title"><%= @title %></h1>
6
+ </div>
4
7
  </div>
5
8
 
6
- <dl class="dl-horizontal">
7
- <dt>Contour Version</dt>
8
- <dd><%= Contour::VERSION::STRING %></dd>
9
- </dl>
9
+ <hr class="soften">
10
+
11
+ <p class="about-description">Contour is a <%= link_to 'free to use*', 'https://github.com/remomueller/contour/blob/master/LICENSE', rel: 'tooltip', data: { title: 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License' } %> and <%= link_to 'open source', 'https://github.com/remomueller/contour', rel: 'tooltip', data: { title: 'Source code freely available on GitHub' } %> Ruby on Rails gem for rapid prototyping of Rails applications with nice default styling and a solid authentication system.</p>
12
+
13
+ <hr class="soften">
14
+
15
+ <footer class="footer">
16
+ <p class="muted about-footer">Contour Version <%= link_to Contour::VERSION::STRING, "https://github.com/remomueller/contour/tree/#{Contour::VERSION::MAJOR}.#{Contour::VERSION::MINOR}.#{Contour::VERSION::TINY}" %></p>
17
+ </footer>
18
+
19
+
20
+ <h2 class="about-title" style="text-align:left">Application Configuration</h2>
21
+
22
+ <p>Contour can be configured in:</p>
10
23
 
24
+ <p style='margin-left:10px'><tt>config/initializers/contour.rb</tt></p>
11
25
 
12
- <h2>Application Details</h2>
26
+ <p>If the file does not exist run:</p>
13
27
 
14
- These items can all be specified in:<br />
15
- <br />
16
- <code style="margin-left:10px">config/initializers/contour.rb</code><br />
17
- <br />
18
- If the file does not exist run:<br />
19
- <br />
20
- <code style="margin-left:10px">rails generate contour:install</code><br />
21
- <br />
28
+ <p style='margin-left:10px'><tt>rails generate contour:install</tt></p>
22
29
 
23
30
  <dl class="dl-horizontal">
24
31
  <% unless request.script_name.blank? %>
data/contour.gemspec CHANGED
@@ -28,11 +28,11 @@ Gem::Specification.new do |s|
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
- s.add_dependency 'omniauth-facebook', '~> 1.3.0'
31
+ s.add_dependency 'omniauth-facebook', '~> 1.4.1'
32
32
  s.add_dependency 'omniauth-ldap', '~> 1.0.2'
33
33
  s.add_dependency 'omniauth-linkedin', '~> 0.0.6'
34
34
  s.add_dependency 'omniauth-openid', '~> 1.0.1'
35
- s.add_dependency 'omniauth-twitter', '~> 0.0.11'
35
+ s.add_dependency 'omniauth-twitter', '~> 0.0.12'
36
36
 
37
37
  s.add_development_dependency "sqlite3"
38
38
  end
@@ -2,7 +2,7 @@ module Contour
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
Binary file
@@ -41007,3 +41007,1079 @@ Completed 401 Unauthorized in 83ms
41007
41007
   (0.1ms) begin transaction
41008
41008
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41009
41009
   (0.1ms) rollback transaction
41010
+ Connecting to database specified by database.yml
41011
+  (0.1ms) begin transaction
41012
+ Fixture Delete (0.4ms) DELETE FROM "authentications"
41013
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 949717663, 201799169)
41014
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 876923740, 201799169)
41015
+ 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-07-11 19:05:54', '2012-07-11 19:05:54', 864673665, 201799169)
41016
+ Fixture Delete (0.2ms) DELETE FROM "users"
41017
+ 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-07-11 19:05:54', '2012-07-11 19:05:54', 201799169)
41018
+ 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-07-11 19:05:54', '2012-07-11 19:05:54', 999914115)
41019
+ 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-07-11 19:05:54', '2012-07-11 19:05:54', 725306934)
41020
+ 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-07-11 19:05:54', '2012-07-11 19:05:54', 349534908)
41021
+  (66.5ms) commit transaction
41022
+  (0.1ms) begin transaction
41023
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
41024
+  (0.1ms) rollback transaction
41025
+  (0.1ms) begin transaction
41026
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41027
+  (0.1ms) rollback transaction
41028
+  (0.1ms) begin transaction
41029
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41030
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41031
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41032
+ Processing by Contour::AuthenticationsController#create as HTML
41033
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 19:05:54 UTC", "updated_at"=>"2012-07-11 19:05:54 UTC"}}
41034
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
41035
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41036
+ Logged in user found, creating associated authentication.
41037
+  (21.1ms) SAVEPOINT active_record_1
41038
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00], ["user_id", 201799169]]
41039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41040
+ Redirected to http://test.host/authentications
41041
+ Completed 302 Found in 125ms (ActiveRecord: 21.9ms)
41042
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41043
+  (0.6ms) rollback transaction
41044
+  (0.1ms) begin transaction
41045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41046
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41047
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41048
+ Processing by Contour::AuthenticationsController#destroy as HTML
41049
+ Parameters: {"id"=>"949717663"}
41050
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41051
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
41052
+  (0.0ms) SAVEPOINT active_record_1
41053
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
41054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41055
+ Redirected to http://test.host/authentications
41056
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
41057
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41058
+  (0.7ms) rollback transaction
41059
+  (0.0ms) begin transaction
41060
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41061
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41062
+ Processing by Contour::AuthenticationsController#index as HTML
41063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41064
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
41065
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
41066
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms)
41067
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
41068
+ Completed 200 OK in 114ms (Views: 112.0ms | ActiveRecord: 0.5ms)
41069
+  (0.1ms) rollback transaction
41070
+  (0.1ms) begin transaction
41071
+ Processing by Contour::PasswordsController#create as HTML
41072
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
41073
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41074
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'gzsEcCzruVQ6kSq7Nt7a' LIMIT 1
41075
+  (0.1ms) SAVEPOINT active_record_1
41076
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'gzsEcCzruVQ6kSq7Nt7a', "reset_password_sent_at" = '2012-07-11 19:05:55.390231', "updated_at" = '2012-07-11 19:05:55.391323' WHERE "users"."id" = 201799169
41077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41078
+
41079
+ Sent mail to valid@example.com (74ms)
41080
+ Date: Wed, 11 Jul 2012 15:05:55 -0400
41081
+ From: please-change-me-at-config-initializers-devise@example.com
41082
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
41083
+ To: valid@example.com
41084
+ Message-ID: <4ffdce93a1ec3_6cf73fe2f8834cd863870@edge.mail>
41085
+ Subject: Reset password instructions
41086
+ Mime-Version: 1.0
41087
+ Content-Type: text/html;
41088
+ charset=UTF-8
41089
+ Content-Transfer-Encoding: 7bit
41090
+
41091
+ <p>Hello valid@example.com!</p>
41092
+
41093
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
41094
+
41095
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=gzsEcCzruVQ6kSq7Nt7a">Change my password</a></p>
41096
+
41097
+ <p>If you didn't request this, please ignore this email.</p>
41098
+ <p>Your password won't change until you access the link above and create a new one.</p>
41099
+
41100
+ Redirected to http://test.host/users/login
41101
+ Completed 302 Found in 333ms (ActiveRecord: 0.0ms)
41102
+  (12.7ms) rollback transaction
41103
+  (0.1ms) begin transaction
41104
+ Processing by Contour::PasswordsController#new as HTML
41105
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
41106
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
41107
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms)
41108
+ Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
41109
+  (0.1ms) rollback transaction
41110
+  (0.1ms) begin transaction
41111
+  (0.1ms) rollback transaction
41112
+  (0.0ms) begin transaction
41113
+  (0.0ms) rollback transaction
41114
+  (0.0ms) begin transaction
41115
+  (0.0ms) rollback transaction
41116
+  (0.0ms) begin transaction
41117
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41118
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41119
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41120
+
41121
+
41122
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:55 -0400
41123
+ Processing by WelcomeController#logged_in_page as HTML
41124
+ Completed 401 Unauthorized in 1ms
41125
+  (0.1ms) SAVEPOINT active_record_1
41126
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41127
+ Binary data inserted for `string` type on column `encrypted_password`
41128
+ SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$XEJ/Zk3BFXKJ40sGvc5pNeNT8v/6SRLFcjW9o2Eo8macgCiqU7BtS"], ["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, 11 Jul 2012 19:05:55 UTC +00:00]]
41129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41130
+  (0.0ms) SAVEPOINT active_record_1
41131
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41133
+  (0.0ms) SAVEPOINT active_record_1
41134
+  (0.6ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:05:55.941019' WHERE "users"."id" = 999914116
41135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41136
+  (0.1ms) SAVEPOINT active_record_1
41137
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 19:05:55.943495' WHERE "users"."id" = 999914116
41138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41139
+
41140
+
41141
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:05:55 -0400
41142
+ Processing by Contour::SessionsController#create as HTML
41143
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
41144
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41145
+  (0.1ms) SAVEPOINT active_record_1
41146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41147
+ Completed 401 Unauthorized in 24ms
41148
+
41149
+
41150
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:05:55 -0400
41151
+ Processing by Contour::SessionsController#new as HTML
41152
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
41153
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
41154
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
41155
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
41156
+ Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms)
41157
+  (17.6ms) rollback transaction
41158
+  (0.1ms) begin transaction
41159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41160
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41161
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41162
+
41163
+
41164
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41165
+ Processing by WelcomeController#logged_in_page as HTML
41166
+ Completed 401 Unauthorized in 0ms
41167
+  (0.1ms) SAVEPOINT active_record_1
41168
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41169
+ Binary data inserted for `string` type on column `encrypted_password`
41170
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 19:05:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$sQdXrGMOFs8dTAR3cMWFxOg1zZRvRa2GvrvqFuHyddYgJyxXKcMvq"], ["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, 11 Jul 2012 19:05:56 UTC +00:00]]
41171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41172
+  (0.1ms) SAVEPOINT active_record_1
41173
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41175
+  (0.1ms) SAVEPOINT active_record_1
41176
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:05:56.052706' WHERE "users"."id" = 999914116
41177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41178
+  (0.0ms) SAVEPOINT active_record_1
41179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41180
+
41181
+
41182
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41183
+ Processing by Contour::SessionsController#create as HTML
41184
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
41185
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41186
+  (0.1ms) SAVEPOINT active_record_1
41187
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:05:56.064571', "current_sign_in_at" = '2012-07-11 19:05:56.064571', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:05:56.065166' WHERE "users"."id" = 999914116
41188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41189
+ Redirected to http://www.example.com/logged_in_page
41190
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
41191
+
41192
+
41193
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41194
+ Processing by WelcomeController#logged_in_page as HTML
41195
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
41196
+ Completed 200 OK in 50ms (Views: 48.5ms | ActiveRecord: 0.1ms)
41197
+  (0.9ms) rollback transaction
41198
+  (0.1ms) begin transaction
41199
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41200
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41201
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41202
+
41203
+
41204
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41205
+ Processing by WelcomeController#logged_in_page as HTML
41206
+ Completed 401 Unauthorized in 1ms
41207
+  (0.1ms) SAVEPOINT active_record_1
41208
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
41209
+ Binary data inserted for `string` type on column `encrypted_password`
41210
+ 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", Wed, 11 Jul 2012 19:05:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$b3G76Qw4NyKIi83ryAGF/O7KjXI1w1i2ySioNwcKZ3GGbszzjFbtW"], ["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, 11 Jul 2012 19:05:56 UTC +00:00]]
41211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41212
+  (0.0ms) SAVEPOINT active_record_1
41213
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41215
+  (0.0ms) SAVEPOINT active_record_1
41216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41217
+  (0.0ms) SAVEPOINT active_record_1
41218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41219
+
41220
+
41221
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41222
+ Processing by Contour::SessionsController#create as HTML
41223
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
41224
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
41225
+  (0.1ms) SAVEPOINT active_record_1
41226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41227
+ Completed 401 Unauthorized in 6ms
41228
+
41229
+
41230
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41231
+ Processing by Contour::SessionsController#new as HTML
41232
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
41233
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
41234
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
41235
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
41236
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
41237
+  (5.9ms) rollback transaction
41238
+  (0.1ms) begin transaction
41239
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41240
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41241
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41242
+
41243
+
41244
+ Started GET "/" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41245
+ Processing by WelcomeController#index as HTML
41246
+ Completed 401 Unauthorized in 0ms
41247
+  (0.1ms) rollback transaction
41248
+  (0.0ms) begin transaction
41249
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41250
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41251
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41252
+
41253
+
41254
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41255
+ Processing by WelcomeController#logged_in_page as JSON
41256
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41257
+  (0.1ms) SAVEPOINT active_record_1
41258
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:05:56.295144', "current_sign_in_at" = '2012-07-11 19:05:56.295144', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:05:56.295881' WHERE "users"."id" = 201799169
41259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41260
+ Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 0.6ms)
41261
+  (69.9ms) rollback transaction
41262
+  (0.1ms) begin transaction
41263
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41264
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41265
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41266
+
41267
+
41268
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:05:56 -0400
41269
+ Processing by WelcomeController#logged_in_page as JSON
41270
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41271
+ Completed 401 Unauthorized in 83ms
41272
+  (0.1ms) rollback transaction
41273
+  (0.1ms) begin transaction
41274
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41275
+  (0.1ms) rollback transaction
41276
+  (0.0ms) begin transaction
41277
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41278
+  (0.0ms) rollback transaction
41279
+ Connecting to database specified by database.yml
41280
+  (0.1ms) begin transaction
41281
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
41282
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 949717663, 201799169)
41283
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 876923740, 201799169)
41284
+ 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-07-11 19:58:41', '2012-07-11 19:58:41', 864673665, 201799169)
41285
+ Fixture Delete (0.1ms) DELETE FROM "users"
41286
+ 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-07-11 19:58:41', '2012-07-11 19:58:41', 201799169)
41287
+ 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-07-11 19:58:41', '2012-07-11 19:58:41', 999914115)
41288
+ 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-07-11 19:58:41', '2012-07-11 19:58:41', 725306934)
41289
+ 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-07-11 19:58:41', '2012-07-11 19:58:41', 349534908)
41290
+  (1.7ms) commit transaction
41291
+  (0.0ms) begin transaction
41292
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
41293
+  (0.1ms) rollback transaction
41294
+  (0.0ms) begin transaction
41295
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41296
+  (0.0ms) rollback transaction
41297
+  (0.0ms) begin transaction
41298
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41299
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41300
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41301
+ Processing by Contour::AuthenticationsController#create as HTML
41302
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 19:58:41 UTC", "updated_at"=>"2012-07-11 19:58:41 UTC"}}
41303
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
41304
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41305
+ Logged in user found, creating associated authentication.
41306
+  (0.1ms) SAVEPOINT active_record_1
41307
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 19:58:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 19:58:41 UTC +00:00], ["user_id", 201799169]]
41308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41309
+ Redirected to http://test.host/authentications
41310
+ Completed 302 Found in 52ms (ActiveRecord: 0.8ms)
41311
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41312
+  (0.7ms) rollback transaction
41313
+  (0.0ms) begin transaction
41314
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41315
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41316
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41317
+ Processing by Contour::AuthenticationsController#destroy as HTML
41318
+ Parameters: {"id"=>"949717663"}
41319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41320
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
41321
+  (0.0ms) SAVEPOINT active_record_1
41322
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
41323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41324
+ Redirected to http://test.host/authentications
41325
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
41326
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41327
+  (0.4ms) rollback transaction
41328
+  (0.0ms) begin transaction
41329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41330
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41331
+ Processing by Contour::AuthenticationsController#index as HTML
41332
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41333
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
41334
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
41335
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.9ms)
41336
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
41337
+ Completed 200 OK in 130ms (Views: 128.3ms | ActiveRecord: 0.3ms)
41338
+  (0.1ms) rollback transaction
41339
+  (0.1ms) begin transaction
41340
+ Processing by Contour::PasswordsController#create as HTML
41341
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
41342
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41343
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xAy7eJV41aRiUKZJzxH4' LIMIT 1
41344
+  (0.0ms) SAVEPOINT active_record_1
41345
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'xAy7eJV41aRiUKZJzxH4', "reset_password_sent_at" = '2012-07-11 19:58:41.655569', "updated_at" = '2012-07-11 19:58:41.656287' WHERE "users"."id" = 201799169
41346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41347
+
41348
+ Sent mail to valid@example.com (33ms)
41349
+ Date: Wed, 11 Jul 2012 15:58:41 -0400
41350
+ From: please-change-me-at-config-initializers-devise@example.com
41351
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
41352
+ To: valid@example.com
41353
+ Message-ID: <4ffddaf1c708f_6fba3fc224834cdc482d@edge.mail>
41354
+ Subject: Reset password instructions
41355
+ Mime-Version: 1.0
41356
+ Content-Type: text/html;
41357
+ charset=UTF-8
41358
+ Content-Transfer-Encoding: 7bit
41359
+
41360
+ <p>Hello valid@example.com!</p>
41361
+
41362
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
41363
+
41364
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=xAy7eJV41aRiUKZJzxH4">Change my password</a></p>
41365
+
41366
+ <p>If you didn't request this, please ignore this email.</p>
41367
+ <p>Your password won't change until you access the link above and create a new one.</p>
41368
+
41369
+ Redirected to http://test.host/users/login
41370
+ Completed 302 Found in 204ms (ActiveRecord: 0.0ms)
41371
+  (0.8ms) rollback transaction
41372
+  (0.1ms) begin transaction
41373
+ Processing by Contour::PasswordsController#new as HTML
41374
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.2ms)
41375
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
41376
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms)
41377
+ Completed 200 OK in 41ms (Views: 39.9ms | ActiveRecord: 0.0ms)
41378
+  (0.1ms) rollback transaction
41379
+  (0.1ms) begin transaction
41380
+  (0.0ms) rollback transaction
41381
+  (0.0ms) begin transaction
41382
+  (0.0ms) rollback transaction
41383
+  (0.0ms) begin transaction
41384
+  (0.0ms) rollback transaction
41385
+  (0.0ms) begin transaction
41386
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41387
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41388
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41389
+
41390
+
41391
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:41 -0400
41392
+ Processing by WelcomeController#logged_in_page as HTML
41393
+ Completed 401 Unauthorized in 1ms
41394
+  (0.1ms) SAVEPOINT active_record_1
41395
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41396
+ Binary data inserted for `string` type on column `encrypted_password`
41397
+ 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", Wed, 11 Jul 2012 19:58:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$VXvns/RG7wg5vJWk1LLzEuJtiKcgZQnaFIYTydCa476vSJYwSDLIC"], ["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, 11 Jul 2012 19:58:41 UTC +00:00]]
41398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41399
+  (0.0ms) SAVEPOINT active_record_1
41400
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41402
+  (0.0ms) SAVEPOINT active_record_1
41403
+  (26.7ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:58:41.985825' WHERE "users"."id" = 999914116
41404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41405
+  (0.0ms) SAVEPOINT active_record_1
41406
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 19:58:42.013750' WHERE "users"."id" = 999914116
41407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41408
+
41409
+
41410
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41411
+ Processing by Contour::SessionsController#create as HTML
41412
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
41413
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41414
+  (0.1ms) SAVEPOINT active_record_1
41415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41416
+ Completed 401 Unauthorized in 6ms
41417
+
41418
+
41419
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41420
+ Processing by Contour::SessionsController#new as HTML
41421
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
41422
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
41423
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
41424
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
41425
+ Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms)
41426
+  (0.8ms) rollback transaction
41427
+  (0.1ms) begin transaction
41428
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41429
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41430
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41431
+
41432
+
41433
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41434
+ Processing by WelcomeController#logged_in_page as HTML
41435
+ Completed 401 Unauthorized in 0ms
41436
+  (0.1ms) SAVEPOINT active_record_1
41437
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41438
+ Binary data inserted for `string` type on column `encrypted_password`
41439
+ 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", Wed, 11 Jul 2012 19:58:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$90CVUr71YYp85.rsKbvahuxxiR1jvrASAC2nVCqDkJgFS4AaY7.Z."], ["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, 11 Jul 2012 19:58:42 UTC +00:00]]
41440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41441
+  (0.0ms) SAVEPOINT active_record_1
41442
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41444
+  (0.0ms) SAVEPOINT active_record_1
41445
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:58:42.065718' WHERE "users"."id" = 999914116
41446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41447
+  (0.0ms) SAVEPOINT active_record_1
41448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41449
+
41450
+
41451
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41452
+ Processing by Contour::SessionsController#create as HTML
41453
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
41454
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41455
+  (0.0ms) SAVEPOINT active_record_1
41456
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:58:42.076953', "current_sign_in_at" = '2012-07-11 19:58:42.076953', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:58:42.077515' WHERE "users"."id" = 999914116
41457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41458
+ Redirected to http://www.example.com/logged_in_page
41459
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
41460
+
41461
+
41462
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41463
+ Processing by WelcomeController#logged_in_page as HTML
41464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
41465
+ Completed 200 OK in 31ms (Views: 29.8ms | ActiveRecord: 0.1ms)
41466
+  (0.8ms) rollback transaction
41467
+  (0.1ms) begin transaction
41468
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41469
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41470
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41471
+
41472
+
41473
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41474
+ Processing by WelcomeController#logged_in_page as HTML
41475
+ Completed 401 Unauthorized in 0ms
41476
+  (0.1ms) SAVEPOINT active_record_1
41477
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
41478
+ Binary data inserted for `string` type on column `encrypted_password`
41479
+ 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", Wed, 11 Jul 2012 19:58:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Xv70Z2c55XIdSu0wPSykbOomlkoihgUEVUSj7BnY/WuayQF9AP4Ei"], ["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, 11 Jul 2012 19:58:42 UTC +00:00]]
41480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41481
+  (0.0ms) SAVEPOINT active_record_1
41482
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41484
+  (0.0ms) SAVEPOINT active_record_1
41485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41486
+  (0.0ms) SAVEPOINT active_record_1
41487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41488
+
41489
+
41490
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41491
+ Processing by Contour::SessionsController#create as HTML
41492
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
41493
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
41494
+  (0.0ms) SAVEPOINT active_record_1
41495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41496
+ Completed 401 Unauthorized in 4ms
41497
+
41498
+
41499
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41500
+ Processing by Contour::SessionsController#new as HTML
41501
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
41502
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
41503
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
41504
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
41505
+ Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)
41506
+  (0.7ms) rollback transaction
41507
+  (0.1ms) begin transaction
41508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41509
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41510
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41511
+
41512
+
41513
+ Started GET "/" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41514
+ Processing by WelcomeController#index as HTML
41515
+ Completed 401 Unauthorized in 0ms
41516
+  (0.1ms) rollback transaction
41517
+  (0.0ms) begin transaction
41518
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41519
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41520
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41521
+
41522
+
41523
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41524
+ Processing by WelcomeController#logged_in_page as JSON
41525
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41526
+  (0.1ms) SAVEPOINT active_record_1
41527
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:58:42.249950', "current_sign_in_at" = '2012-07-11 19:58:42.249950', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:58:42.250648' WHERE "users"."id" = 201799169
41528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41529
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
41530
+  (0.7ms) rollback transaction
41531
+  (0.1ms) begin transaction
41532
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41533
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41534
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41535
+
41536
+
41537
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:58:42 -0400
41538
+ Processing by WelcomeController#logged_in_page as JSON
41539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41540
+ Completed 401 Unauthorized in 78ms
41541
+  (0.1ms) rollback transaction
41542
+  (0.0ms) begin transaction
41543
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41544
+  (0.1ms) rollback transaction
41545
+  (0.1ms) begin transaction
41546
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41547
+  (0.0ms) rollback transaction
41548
+ Connecting to database specified by database.yml
41549
+  (0.1ms) begin transaction
41550
+ Fixture Delete (8.4ms) DELETE FROM "authentications"
41551
+ Fixture Insert (0.5ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 949717663, 201799169)
41552
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 876923740, 201799169)
41553
+ 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-07-11 20:15:43', '2012-07-11 20:15:43', 864673665, 201799169)
41554
+ Fixture Delete (1.4ms) DELETE FROM "users"
41555
+ 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-07-11 20:15:43', '2012-07-11 20:15:43', 201799169)
41556
+ 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-07-11 20:15:43', '2012-07-11 20:15:43', 999914115)
41557
+ 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-07-11 20:15:43', '2012-07-11 20:15:43', 725306934)
41558
+ 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-07-11 20:15:43', '2012-07-11 20:15:43', 349534908)
41559
+  (1.8ms) commit transaction
41560
+  (0.0ms) begin transaction
41561
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
41562
+  (0.1ms) rollback transaction
41563
+  (0.1ms) begin transaction
41564
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41565
+  (0.0ms) rollback transaction
41566
+  (0.1ms) begin transaction
41567
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41568
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41569
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41570
+ Processing by Contour::AuthenticationsController#create as HTML
41571
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 20:15:43 UTC", "updated_at"=>"2012-07-11 20:15:43 UTC"}}
41572
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
41573
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41574
+ Logged in user found, creating associated authentication.
41575
+  (0.1ms) SAVEPOINT active_record_1
41576
+ SQL (0.7ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 20:15:43 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 20:15:43 UTC +00:00], ["user_id", 201799169]]
41577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41578
+ Redirected to http://test.host/authentications
41579
+ Completed 302 Found in 126ms (ActiveRecord: 1.1ms)
41580
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41581
+  (0.8ms) rollback transaction
41582
+  (0.1ms) begin transaction
41583
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41584
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41585
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41586
+ Processing by Contour::AuthenticationsController#destroy as HTML
41587
+ Parameters: {"id"=>"949717663"}
41588
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41589
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
41590
+  (0.1ms) SAVEPOINT active_record_1
41591
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
41592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41593
+ Redirected to http://test.host/authentications
41594
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
41595
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41596
+  (0.6ms) rollback transaction
41597
+  (0.1ms) begin transaction
41598
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41599
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41600
+ Processing by Contour::AuthenticationsController#index as HTML
41601
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41602
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
41603
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
41604
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms)
41605
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
41606
+ Completed 200 OK in 166ms (Views: 163.9ms | ActiveRecord: 0.4ms)
41607
+  (0.1ms) rollback transaction
41608
+  (0.1ms) begin transaction
41609
+ Processing by Contour::PasswordsController#create as HTML
41610
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
41611
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41612
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'hfyHrxhDYyXMJPzsVewy' LIMIT 1
41613
+  (0.0ms) SAVEPOINT active_record_1
41614
+  (0.4ms) UPDATE "users" SET "reset_password_token" = 'hfyHrxhDYyXMJPzsVewy', "reset_password_sent_at" = '2012-07-11 20:15:43.670143', "updated_at" = '2012-07-11 20:15:43.670877' WHERE "users"."id" = 201799169
41615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41616
+
41617
+ Sent mail to valid@example.com (33ms)
41618
+ Date: Wed, 11 Jul 2012 16:15:43 -0400
41619
+ From: please-change-me-at-config-initializers-devise@example.com
41620
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
41621
+ To: valid@example.com
41622
+ Message-ID: <4ffddeefd0b83_70c73fef31034cdc39439@edge.mail>
41623
+ Subject: Reset password instructions
41624
+ Mime-Version: 1.0
41625
+ Content-Type: text/html;
41626
+ charset=UTF-8
41627
+ Content-Transfer-Encoding: 7bit
41628
+
41629
+ <p>Hello valid@example.com!</p>
41630
+
41631
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
41632
+
41633
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=hfyHrxhDYyXMJPzsVewy">Change my password</a></p>
41634
+
41635
+ <p>If you didn't request this, please ignore this email.</p>
41636
+ <p>Your password won't change until you access the link above and create a new one.</p>
41637
+
41638
+ Redirected to http://test.host/users/login
41639
+ Completed 302 Found in 222ms (ActiveRecord: 0.0ms)
41640
+  (1.0ms) rollback transaction
41641
+  (0.1ms) begin transaction
41642
+ Processing by Contour::PasswordsController#new as HTML
41643
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
41644
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms)
41645
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms)
41646
+ Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms)
41647
+  (0.1ms) rollback transaction
41648
+  (0.1ms) begin transaction
41649
+  (0.0ms) rollback transaction
41650
+  (0.0ms) begin transaction
41651
+  (0.0ms) rollback transaction
41652
+  (0.0ms) begin transaction
41653
+  (0.0ms) rollback transaction
41654
+  (0.0ms) begin transaction
41655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41656
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41657
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41658
+
41659
+
41660
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:43 -0400
41661
+ Processing by WelcomeController#logged_in_page as HTML
41662
+ Completed 401 Unauthorized in 1ms
41663
+  (0.1ms) SAVEPOINT active_record_1
41664
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41665
+ Binary data inserted for `string` type on column `encrypted_password`
41666
+ 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", Wed, 11 Jul 2012 20:15:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qqkVYo4G0bpB17mTiHOCLu7t9rhiVUvvJN7wHMgpp67PQrYcaCIYi"], ["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, 11 Jul 2012 20:15:44 UTC +00:00]]
41667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41668
+  (0.0ms) SAVEPOINT active_record_1
41669
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41671
+  (0.0ms) SAVEPOINT active_record_1
41672
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:15:44.049678' WHERE "users"."id" = 999914116
41673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41674
+  (0.0ms) SAVEPOINT active_record_1
41675
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 20:15:44.050964' WHERE "users"."id" = 999914116
41676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41677
+
41678
+
41679
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41680
+ Processing by Contour::SessionsController#create as HTML
41681
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
41682
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41683
+  (0.1ms) SAVEPOINT active_record_1
41684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41685
+ Completed 401 Unauthorized in 21ms
41686
+
41687
+
41688
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41689
+ Processing by Contour::SessionsController#new as HTML
41690
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
41691
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
41692
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
41693
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
41694
+ Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms)
41695
+  (0.8ms) rollback transaction
41696
+  (0.1ms) begin transaction
41697
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41698
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41699
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41700
+
41701
+
41702
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41703
+ Processing by WelcomeController#logged_in_page as HTML
41704
+ Completed 401 Unauthorized in 0ms
41705
+  (0.1ms) SAVEPOINT active_record_1
41706
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41707
+ Binary data inserted for `string` type on column `encrypted_password`
41708
+ 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", Wed, 11 Jul 2012 20:15:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$oTkheP7gYVyU72qfqOM05OqfBVCS5MaqZbivkzO/6TJGl.Mllnwwu"], ["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, 11 Jul 2012 20:15:44 UTC +00:00]]
41709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41710
+  (0.0ms) SAVEPOINT active_record_1
41711
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41713
+  (0.0ms) SAVEPOINT active_record_1
41714
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:15:44.126680' WHERE "users"."id" = 999914116
41715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41716
+  (0.0ms) SAVEPOINT active_record_1
41717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41718
+
41719
+
41720
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41721
+ Processing by Contour::SessionsController#create as HTML
41722
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
41723
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41724
+  (0.0ms) SAVEPOINT active_record_1
41725
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:15:44.135702', "current_sign_in_at" = '2012-07-11 20:15:44.135702', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:15:44.136244' WHERE "users"."id" = 999914116
41726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41727
+ Redirected to http://www.example.com/logged_in_page
41728
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
41729
+
41730
+
41731
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41732
+ Processing by WelcomeController#logged_in_page as HTML
41733
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
41734
+ Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.1ms)
41735
+  (0.6ms) rollback transaction
41736
+  (0.0ms) begin transaction
41737
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41738
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41739
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41740
+
41741
+
41742
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41743
+ Processing by WelcomeController#logged_in_page as HTML
41744
+ Completed 401 Unauthorized in 0ms
41745
+  (0.1ms) SAVEPOINT active_record_1
41746
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
41747
+ Binary data inserted for `string` type on column `encrypted_password`
41748
+ 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", Wed, 11 Jul 2012 20:15:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$W3tOanEm9v5BpkcVH8K4Cep3TnT.ZyQ8b5neFaqE4syvCeCXldlee"], ["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, 11 Jul 2012 20:15:44 UTC +00:00]]
41749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41750
+  (0.0ms) SAVEPOINT active_record_1
41751
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41753
+  (0.0ms) SAVEPOINT active_record_1
41754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41755
+  (0.0ms) SAVEPOINT active_record_1
41756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41757
+
41758
+
41759
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41760
+ Processing by Contour::SessionsController#create as HTML
41761
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
41762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
41763
+  (0.0ms) SAVEPOINT active_record_1
41764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41765
+ Completed 401 Unauthorized in 4ms
41766
+
41767
+
41768
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41769
+ Processing by Contour::SessionsController#new as HTML
41770
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
41771
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
41772
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
41773
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
41774
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
41775
+  (0.8ms) rollback transaction
41776
+  (0.1ms) begin transaction
41777
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41778
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41779
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41780
+
41781
+
41782
+ Started GET "/" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41783
+ Processing by WelcomeController#index as HTML
41784
+ Completed 401 Unauthorized in 0ms
41785
+  (0.1ms) rollback transaction
41786
+  (0.0ms) begin transaction
41787
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41788
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41789
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41790
+
41791
+
41792
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41793
+ Processing by WelcomeController#logged_in_page as JSON
41794
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41795
+  (0.1ms) SAVEPOINT active_record_1
41796
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:15:44.318810', "current_sign_in_at" = '2012-07-11 20:15:44.318810', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:15:44.319485' WHERE "users"."id" = 201799169
41797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41798
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
41799
+  (0.8ms) rollback transaction
41800
+  (0.1ms) begin transaction
41801
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41802
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41803
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41804
+
41805
+
41806
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:15:44 -0400
41807
+ Processing by WelcomeController#logged_in_page as JSON
41808
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41809
+ Completed 401 Unauthorized in 78ms
41810
+  (0.1ms) rollback transaction
41811
+  (0.1ms) begin transaction
41812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41813
+  (0.1ms) rollback transaction
41814
+  (0.0ms) begin transaction
41815
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41816
+  (0.0ms) rollback transaction
41817
+ Connecting to database specified by database.yml
41818
+  (0.1ms) begin transaction
41819
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
41820
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 949717663, 201799169)
41821
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 876923740, 201799169)
41822
+ Fixture Insert (0.0ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 864673665, 201799169)
41823
+ Fixture Delete (0.1ms) DELETE FROM "users"
41824
+ 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-07-11 20:18:07', '2012-07-11 20:18:07', 201799169)
41825
+ 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-07-11 20:18:07', '2012-07-11 20:18:07', 999914115)
41826
+ 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-07-11 20:18:07', '2012-07-11 20:18:07', 725306934)
41827
+ 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-07-11 20:18:07', '2012-07-11 20:18:07', 349534908)
41828
+  (25.1ms) commit transaction
41829
+  (0.1ms) begin transaction
41830
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
41831
+  (0.1ms) rollback transaction
41832
+  (0.1ms) begin transaction
41833
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41834
+  (0.0ms) rollback transaction
41835
+  (0.1ms) begin transaction
41836
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41837
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41838
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41839
+ Processing by Contour::AuthenticationsController#create as HTML
41840
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 20:18:07 UTC", "updated_at"=>"2012-07-11 20:18:07 UTC"}}
41841
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
41842
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41843
+ Logged in user found, creating associated authentication.
41844
+  (0.1ms) SAVEPOINT active_record_1
41845
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["user_id", 201799169]]
41846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41847
+ Redirected to http://test.host/authentications
41848
+ Completed 302 Found in 49ms (ActiveRecord: 0.9ms)
41849
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
41850
+  (0.7ms) rollback transaction
41851
+  (0.0ms) begin transaction
41852
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41853
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41854
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41855
+ Processing by Contour::AuthenticationsController#destroy as HTML
41856
+ Parameters: {"id"=>"949717663"}
41857
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41858
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
41859
+  (0.0ms) SAVEPOINT active_record_1
41860
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
41861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41862
+ Redirected to http://test.host/authentications
41863
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
41864
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
41865
+  (0.9ms) rollback transaction
41866
+  (0.0ms) begin transaction
41867
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41868
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
41869
+ Processing by Contour::AuthenticationsController#index as HTML
41870
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
41871
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
41872
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
41873
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
41874
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
41875
+ Completed 200 OK in 78ms (Views: 75.9ms | ActiveRecord: 0.4ms)
41876
+  (0.1ms) rollback transaction
41877
+  (0.1ms) begin transaction
41878
+ Processing by Contour::PasswordsController#create as HTML
41879
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
41880
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
41881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kMXKQee9kB8gmLqyxH1i' LIMIT 1
41882
+  (0.1ms) SAVEPOINT active_record_1
41883
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'kMXKQee9kB8gmLqyxH1i', "reset_password_sent_at" = '2012-07-11 20:18:08.134893', "updated_at" = '2012-07-11 20:18:08.135768' WHERE "users"."id" = 201799169
41884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41885
+
41886
+ Sent mail to valid@example.com (15ms)
41887
+ Date: Wed, 11 Jul 2012 16:18:08 -0400
41888
+ From: please-change-me-at-config-initializers-devise@example.com
41889
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
41890
+ To: valid@example.com
41891
+ Message-ID: <4ffddf8032e4d_70ea3fd1ad834cd01575@edge.mail>
41892
+ Subject: Reset password instructions
41893
+ Mime-Version: 1.0
41894
+ Content-Type: text/html;
41895
+ charset=UTF-8
41896
+ Content-Transfer-Encoding: 7bit
41897
+
41898
+ <p>Hello valid@example.com!</p>
41899
+
41900
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
41901
+
41902
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=kMXKQee9kB8gmLqyxH1i">Change my password</a></p>
41903
+
41904
+ <p>If you didn't request this, please ignore this email.</p>
41905
+ <p>Your password won't change until you access the link above and create a new one.</p>
41906
+
41907
+ Redirected to http://test.host/users/login
41908
+ Completed 302 Found in 96ms (ActiveRecord: 0.0ms)
41909
+  (0.7ms) rollback transaction
41910
+  (0.1ms) begin transaction
41911
+ Processing by Contour::PasswordsController#new as HTML
41912
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms)
41913
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
41914
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
41915
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
41916
+  (0.1ms) rollback transaction
41917
+  (0.1ms) begin transaction
41918
+  (0.0ms) rollback transaction
41919
+  (0.0ms) begin transaction
41920
+  (0.0ms) rollback transaction
41921
+  (0.0ms) begin transaction
41922
+  (0.0ms) rollback transaction
41923
+  (0.0ms) begin transaction
41924
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41925
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41926
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41927
+
41928
+
41929
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
41930
+ Processing by WelcomeController#logged_in_page as HTML
41931
+ Completed 401 Unauthorized in 1ms
41932
+  (0.1ms) SAVEPOINT active_record_1
41933
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41934
+ Binary data inserted for `string` type on column `encrypted_password`
41935
+ 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", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$stxXPSfA3fM3xWL.EXBYxe7ji..n9RD24x6i.8aOTV6AdYquhx.5W"], ["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, 11 Jul 2012 20:18:08 UTC +00:00]]
41936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41937
+  (0.0ms) SAVEPOINT active_record_1
41938
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41940
+  (0.0ms) SAVEPOINT active_record_1
41941
+  (36.6ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:18:08.317739' WHERE "users"."id" = 999914116
41942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41943
+  (0.1ms) SAVEPOINT active_record_1
41944
+  (0.2ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 20:18:08.355882' WHERE "users"."id" = 999914116
41945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41946
+
41947
+
41948
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
41949
+ Processing by Contour::SessionsController#create as HTML
41950
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
41951
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
41952
+  (0.1ms) SAVEPOINT active_record_1
41953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41954
+ Completed 401 Unauthorized in 6ms
41955
+
41956
+
41957
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
41958
+ Processing by Contour::SessionsController#new as HTML
41959
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
41960
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
41961
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
41962
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
41963
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
41964
+  (0.8ms) rollback transaction
41965
+  (0.1ms) begin transaction
41966
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
41967
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
41968
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
41969
+
41970
+
41971
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
41972
+ Processing by WelcomeController#logged_in_page as HTML
41973
+ Completed 401 Unauthorized in 0ms
41974
+  (0.1ms) SAVEPOINT active_record_1
41975
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41976
+ Binary data inserted for `string` type on column `encrypted_password`
41977
+ 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", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$E0TmBb0Ev18qkjjeIm6j0uSuN5uxsnFrqBA/IaEj4zVN.Y86ktZi6"], ["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, 11 Jul 2012 20:18:08 UTC +00:00]]
41978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41979
+  (0.0ms) SAVEPOINT active_record_1
41980
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
41981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41982
+  (0.0ms) SAVEPOINT active_record_1
41983
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:18:08.408476' WHERE "users"."id" = 999914116
41984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41985
+  (0.0ms) SAVEPOINT active_record_1
41986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41987
+
41988
+
41989
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
41990
+ Processing by Contour::SessionsController#create as HTML
41991
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
41992
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
41993
+  (0.0ms) SAVEPOINT active_record_1
41994
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:18:08.417329', "current_sign_in_at" = '2012-07-11 20:18:08.417329', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:18:08.417853' WHERE "users"."id" = 999914116
41995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41996
+ Redirected to http://www.example.com/logged_in_page
41997
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
41998
+
41999
+
42000
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42001
+ Processing by WelcomeController#logged_in_page as HTML
42002
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
42003
+ Completed 200 OK in 31ms (Views: 30.0ms | ActiveRecord: 0.1ms)
42004
+  (0.8ms) rollback transaction
42005
+  (0.1ms) begin transaction
42006
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42007
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42008
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42009
+
42010
+
42011
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42012
+ Processing by WelcomeController#logged_in_page as HTML
42013
+ Completed 401 Unauthorized in 0ms
42014
+  (0.1ms) SAVEPOINT active_record_1
42015
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42016
+ Binary data inserted for `string` type on column `encrypted_password`
42017
+ 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", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$OfPoZNkBA.cMD2Ae4c2S1eay/ATzQUQHBKn4wV/ocehzWDMgP/EL."], ["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, 11 Jul 2012 20:18:08 UTC +00:00]]
42018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42019
+  (0.0ms) SAVEPOINT active_record_1
42020
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
42021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42022
+  (0.0ms) SAVEPOINT active_record_1
42023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42024
+  (0.0ms) SAVEPOINT active_record_1
42025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42026
+
42027
+
42028
+ Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42029
+ Processing by Contour::SessionsController#create as HTML
42030
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
42031
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
42032
+  (0.0ms) SAVEPOINT active_record_1
42033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42034
+ Completed 401 Unauthorized in 4ms
42035
+
42036
+
42037
+ Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42038
+ Processing by Contour::SessionsController#new as HTML
42039
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
42040
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
42041
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.1ms)
42042
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms)
42043
+ Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms)
42044
+  (0.8ms) rollback transaction
42045
+  (0.0ms) begin transaction
42046
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42047
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42048
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42049
+
42050
+
42051
+ Started GET "/" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42052
+ Processing by WelcomeController#index as HTML
42053
+ Completed 401 Unauthorized in 0ms
42054
+  (0.1ms) rollback transaction
42055
+  (0.0ms) begin transaction
42056
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42057
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42058
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42059
+
42060
+
42061
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42062
+ Processing by WelcomeController#logged_in_page as JSON
42063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42064
+  (0.1ms) SAVEPOINT active_record_1
42065
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:18:08.597793', "current_sign_in_at" = '2012-07-11 20:18:08.597793', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:18:08.598488' WHERE "users"."id" = 201799169
42066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42067
+ Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
42068
+  (0.7ms) rollback transaction
42069
+  (0.1ms) begin transaction
42070
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42071
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
42072
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
42073
+
42074
+
42075
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:18:08 -0400
42076
+ Processing by WelcomeController#logged_in_page as JSON
42077
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
42078
+ Completed 401 Unauthorized in 78ms
42079
+  (0.1ms) rollback transaction
42080
+  (0.1ms) begin transaction
42081
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42082
+  (0.1ms) rollback transaction
42083
+  (0.0ms) begin transaction
42084
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
42085
+  (0.0ms) rollback transaction