contour 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +13 -0
- data/README.rdoc +2 -2
- data/app/helpers/contour_helper.rb +4 -2
- data/app/views/contour/authentications/_login_table.html.erb +14 -0
- data/app/views/contour/sessions/new.html.erb +2 -0
- data/contour.gemspec +2 -2
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/lib/generators/contour/scaffold/templates/controller.rb +15 -5
- data/test/dummy/app/controllers/application_controller.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2355 -0
- data/test/test_helper.rb +16 -18
- metadata +5 -4
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
== 1.0.4
|
2
|
+
|
3
|
+
* Enhancements
|
4
|
+
* Rails updated to minimum 3.2.8
|
5
|
+
* Removed deprecated use of update_attribute for Rails 4.0 compatibility
|
6
|
+
* Cancel button no longer uses btn-danger class for consistency with Bootstrap cancel button defaults
|
7
|
+
* <tt>devise.failure.unauthenticated</tt> message is no longer displayed when navigating to the root_url
|
8
|
+
* <tt>rails g contour:scaffold</tt> updated to include better ordering and object counts on index pages
|
9
|
+
* Sign in with PROVIDER buttons added to sign in page
|
10
|
+
|
11
|
+
* Testing
|
12
|
+
* Use ActionDispatch for Integration tests instead of ActionController
|
13
|
+
|
1
14
|
== 1.0.3
|
2
15
|
|
3
16
|
* Enhancements
|
data/README.rdoc
CHANGED
@@ -14,7 +14,7 @@ Or update your <tt>Gemfile</tt> to include
|
|
14
14
|
|
15
15
|
== Getting started
|
16
16
|
|
17
|
-
Make sure you have Rails 3.2.
|
17
|
+
Make sure you have Rails 3.2.8
|
18
18
|
|
19
19
|
rails -v
|
20
20
|
|
@@ -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.
|
27
|
+
gem 'contour', '~> 1.0.4'
|
28
28
|
|
29
29
|
Run Bundle install
|
30
30
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module ContourHelper
|
2
2
|
|
3
3
|
def cancel
|
4
|
-
link_to 'Cancel', URI.parse(request.referer.to_s).path.blank? ? root_path : (URI.parse(request.referer.to_s).path), class: 'btn
|
4
|
+
link_to 'Cancel', URI.parse(request.referer.to_s).path.blank? ? root_path : (URI.parse(request.referer.to_s).path), class: 'btn'
|
5
5
|
end
|
6
6
|
|
7
7
|
def sort_field_helper(order, sort_field, display_name, search_form_id = 'search_form')
|
@@ -17,7 +17,9 @@ module ContourHelper
|
|
17
17
|
def flash_block
|
18
18
|
output = ''
|
19
19
|
flash.each do |type, message|
|
20
|
-
|
20
|
+
unless session["user_return_to"] == root_path and I18n.t("devise.failure.unauthenticated") == message
|
21
|
+
output += flash_container(type, message) if ['alert', 'notice', 'error', 'warning', 'success', 'info'].include?(type.to_s)
|
22
|
+
end
|
21
23
|
end
|
22
24
|
|
23
25
|
raw(output)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<% if PROVIDERS.size > 0 %>
|
2
|
+
<div class="control-group">
|
3
|
+
<label class="control-label">Sign in with</label>
|
4
|
+
<div class="controls">
|
5
|
+
<% PROVIDERS.each do |provider| %>
|
6
|
+
<% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
|
7
|
+
<% image_name = provider.to_s.downcase %>
|
8
|
+
<a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="btn" style="white-space:nowrap" rel='tooltip' data-title='<%= provider_name %>' data-placement='bottom'>
|
9
|
+
<%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px" %>
|
10
|
+
</a>
|
11
|
+
<% end %>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
data/contour.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Compiling the Gem
|
2
2
|
# gem build contour.gemspec
|
3
|
-
# gem install ./contour-x.x.x.gem --no-ri --no-rdoc
|
3
|
+
# gem install ./contour-x.x.x.gem --no-ri --no-rdoc --local
|
4
4
|
#
|
5
5
|
# gem push contour-x.x.x.gem
|
6
6
|
# gem list -r contour
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.files = Dir["{app,config,db,lib}/**/*"] + ["CHANGELOG.rdoc", "contour.gemspec", "LICENSE", "Rakefile", "README.rdoc"]
|
24
24
|
s.test_files = Dir["test/**/*"]
|
25
25
|
|
26
|
-
s.add_dependency 'rails', '~> 3.2.
|
26
|
+
s.add_dependency 'rails', '~> 3.2.8'
|
27
27
|
s.add_dependency 'jquery-rails', '~> 2.0.2'
|
28
28
|
s.add_dependency 'devise', '~> 2.1.2'
|
29
29
|
s.add_dependency 'omniauth', '~> 1.1.0'
|
data/lib/contour/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<%%= render partial: 'contour/layouts/per_page', locals: { type: '<%= resource_name_plural %>', per_page: 20 } %>
|
1
|
+
<%%= render partial: 'contour/layouts/per_page', locals: { type: '<%= resource_name_plural %>', per_page: 20, object_count: @<%= resource_name %>_count } %>
|
2
2
|
|
3
3
|
<table class="table table-striped table-bordered" style="width:100%">
|
4
4
|
<thead>
|
@@ -5,8 +5,9 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
|
|
5
5
|
# GET /<%= resource_name_plural %>.json
|
6
6
|
def index
|
7
7
|
<%= resource_name %>_scope = <%= resource_class_name %>.current
|
8
|
-
@order = <%= resource_class_name
|
8
|
+
@order = scrub_order(<%= resource_class_name %>, params[:order], "<%= resource_name_plural %>.name")
|
9
9
|
<%= resource_name %>_scope = <%= resource_name %>_scope.order(@order)
|
10
|
+
@<%= resource_name %>_count = <%= resource_name %>_scope.count
|
10
11
|
@<%= resource_name_plural %> = <%= resource_name %>_scope.page(params[:page]).per( 20 )
|
11
12
|
|
12
13
|
respond_to do |format|
|
@@ -89,10 +90,6 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
|
|
89
90
|
|
90
91
|
private
|
91
92
|
|
92
|
-
def parse_date(date_string)
|
93
|
-
date_string.to_s.split('/').last.size == 2 ? Date.strptime(date_string, "%m/%d/%y") : Date.strptime(date_string, "%m/%d/%Y") rescue ""
|
94
|
-
end
|
95
|
-
|
96
93
|
def post_params
|
97
94
|
params[:<%= resource_name %>] ||= {}
|
98
95
|
|
@@ -104,4 +101,17 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
|
|
104
101
|
<%= columns.collect{|c| ":#{c.name}"}.join(', ') %>
|
105
102
|
)
|
106
103
|
end
|
104
|
+
|
105
|
+
# Scrub order and parse_date can be moved to your ApplicationController
|
106
|
+
def scrub_order(model, params_order, default_order)
|
107
|
+
(params_column, params_direction) = params_order.to_s.strip.downcase.split(' ')
|
108
|
+
direction = (params_direction == 'desc' ? 'DESC' : nil)
|
109
|
+
column_name = (model.column_names.collect{|c| model.table_name + "." + c}.select{|c| c == params_column}.first)
|
110
|
+
order = column_name.blank? ? default_order : [column_name, direction].compact.join(' ')
|
111
|
+
order
|
112
|
+
end
|
113
|
+
|
114
|
+
def parse_date(date_string, default_date = '')
|
115
|
+
date_string.to_s.split('/').last.size == 2 ? Date.strptime(date_string, "%m/%d/%y") : Date.strptime(date_string, "%m/%d/%Y") rescue default_date
|
116
|
+
end
|
107
117
|
end
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -42083,3 +42083,2358 @@ Completed 401 Unauthorized in 78ms
|
|
42083
42083
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42084
42084
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42085
42085
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42086
|
+
Connecting to database specified by database.yml
|
42087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42088
|
+
[1m[35mFixture Delete (19.8ms)[0m DELETE FROM "authentications"
|
42089
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 949717663, 201799169)[0m
|
42090
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 876923740, 201799169)
|
42091
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 864673665, 201799169)[0m
|
42092
|
+
[1m[35mFixture Delete (1.5ms)[0m DELETE FROM "users"
|
42093
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 201799169)[0m
|
42094
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 999914115)
|
42095
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 725306934)[0m
|
42096
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 349534908)
|
42097
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
42098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42099
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
42100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42102
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42103
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42105
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42106
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42107
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42108
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
42109
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:44:38 UTC", "updated_at"=>"2012-08-14 14:44:38 UTC"}}
|
42110
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
42111
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42112
|
+
Logged in user found, creating associated authentication.
|
42113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42114
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["user_id", 201799169]]
|
42115
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42116
|
+
Redirected to http://test.host/authentications
|
42117
|
+
Completed 302 Found in 86ms (ActiveRecord: 0.9ms)
|
42118
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42119
|
+
[1m[35m (15.7ms)[0m rollback transaction
|
42120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42121
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42122
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
42123
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42124
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
42125
|
+
Parameters: {"id"=>"949717663"}
|
42126
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42127
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
42128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42129
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
42130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42131
|
+
Redirected to http://test.host/authentications
|
42132
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
42133
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42134
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
42135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42136
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42137
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42138
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
42139
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42140
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
42141
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
42142
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.4ms)
|
42143
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
42144
|
+
Completed 200 OK in 91ms (Views: 88.9ms | ActiveRecord: 0.3ms)
|
42145
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42147
|
+
Processing by Contour::PasswordsController#create as HTML
|
42148
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
42149
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42150
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ZPqoWRTQGpsFKqnRGkct' LIMIT 1[0m
|
42151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42152
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ZPqoWRTQGpsFKqnRGkct', "reset_password_sent_at" = '2012-08-14 14:44:39.207238', "updated_at" = '2012-08-14 14:44:39.207989' WHERE "users"."id" = 201799169[0m
|
42153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42154
|
+
|
42155
|
+
Sent mail to valid@example.com (61ms)
|
42156
|
+
Date: Tue, 14 Aug 2012 10:44:39 -0400
|
42157
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
42158
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
42159
|
+
To: valid@example.com
|
42160
|
+
Message-ID: <502a64577665f_956f3fc5b6035adc185e9@edge2.partners.org.mail>
|
42161
|
+
Subject: Reset password instructions
|
42162
|
+
Mime-Version: 1.0
|
42163
|
+
Content-Type: text/html;
|
42164
|
+
charset=UTF-8
|
42165
|
+
Content-Transfer-Encoding: 7bit
|
42166
|
+
|
42167
|
+
<p>Hello valid@example.com!</p>
|
42168
|
+
|
42169
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
42170
|
+
|
42171
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=ZPqoWRTQGpsFKqnRGkct">Change my password</a></p>
|
42172
|
+
|
42173
|
+
<p>If you didn't request this, please ignore this email.</p>
|
42174
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
42175
|
+
|
42176
|
+
Redirected to http://test.host/users/login
|
42177
|
+
Completed 302 Found in 365ms (ActiveRecord: 0.0ms)
|
42178
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
42179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42180
|
+
Processing by Contour::PasswordsController#new as HTML
|
42181
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
|
42182
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
|
42183
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
|
42184
|
+
Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms)
|
42185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42187
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42191
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42192
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42193
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42194
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42195
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42196
|
+
|
42197
|
+
|
42198
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42199
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42200
|
+
Completed 401 Unauthorized in 1ms
|
42201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42202
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42203
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42204
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$FcB671znoFX64u1k9WWXVO7JOhZqQWQdid2dd4.YzQWf3QYTs/vqa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00]]
|
42205
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42206
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42207
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
42208
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42209
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42210
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-08-14 14:44:39.691934' WHERE "users"."id" = 999914116
|
42211
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42212
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42213
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-08-14 14:44:39.693224' WHERE "users"."id" = 999914116[0m
|
42214
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42215
|
+
|
42216
|
+
|
42217
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42218
|
+
Processing by Contour::SessionsController#create as HTML
|
42219
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
42220
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42221
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42222
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42223
|
+
Completed 401 Unauthorized in 6ms
|
42224
|
+
|
42225
|
+
|
42226
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42227
|
+
Processing by Contour::SessionsController#new as HTML
|
42228
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
42229
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
42230
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
42231
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
42232
|
+
Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
|
42233
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
42234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42235
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42236
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42237
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42238
|
+
|
42239
|
+
|
42240
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42241
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42242
|
+
Completed 401 Unauthorized in 0ms
|
42243
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42244
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
42245
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42246
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$0AYchuOTTA5QFFQpQiKZueOb1jsVM8B5TZiUoO68UDUAyc0G5/dQq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00]]
|
42247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42248
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42249
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
42250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42251
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42252
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-08-14 14:44:39.748190' WHERE "users"."id" = 999914116[0m
|
42253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42256
|
+
|
42257
|
+
|
42258
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42259
|
+
Processing by Contour::SessionsController#create as HTML
|
42260
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
42261
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
42262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42263
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:44:39.757638', "current_sign_in_at" = '2012-08-14 14:44:39.757638', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:44:39.758123' WHERE "users"."id" = 999914116[0m
|
42264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42265
|
+
Redirected to http://www.example.com/logged_in_page
|
42266
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
42267
|
+
|
42268
|
+
|
42269
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42270
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42271
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
42272
|
+
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
42273
|
+
[1m[35m (30.2ms)[0m rollback transaction
|
42274
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42275
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42276
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42277
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42278
|
+
|
42279
|
+
|
42280
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42281
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42282
|
+
Completed 401 Unauthorized in 0ms
|
42283
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42284
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
42285
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42286
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CeaoXCK1rXsyx4kxNKeEuOk0yOB7wBMQmI2Xqc.RdcWYqvGId0ioO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00]]
|
42287
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42288
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42289
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
42290
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42292
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42293
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42295
|
+
|
42296
|
+
|
42297
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42298
|
+
Processing by Contour::SessionsController#create as HTML
|
42299
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
42300
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
42301
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42302
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42303
|
+
Completed 401 Unauthorized in 4ms
|
42304
|
+
|
42305
|
+
|
42306
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42307
|
+
Processing by Contour::SessionsController#new as HTML
|
42308
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
42309
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
42310
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
42311
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
42312
|
+
Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)
|
42313
|
+
[1m[36m (47.4ms)[0m [1mrollback transaction[0m
|
42314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42315
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42316
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42317
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42318
|
+
|
42319
|
+
|
42320
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42321
|
+
Processing by WelcomeController#index as HTML
|
42322
|
+
Completed 401 Unauthorized in 1ms
|
42323
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42325
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42326
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42327
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42328
|
+
|
42329
|
+
|
42330
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:44:39 -0400
|
42331
|
+
Processing by WelcomeController#logged_in_page as JSON
|
42332
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
42333
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42334
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:44:40.003961', "current_sign_in_at" = '2012-08-14 14:44:40.003961', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:44:40.004718' WHERE "users"."id" = 201799169[0m
|
42335
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42336
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
42337
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
42338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42339
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42340
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42341
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42342
|
+
|
42343
|
+
|
42344
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:44:40 -0400
|
42345
|
+
Processing by WelcomeController#logged_in_page as JSON
|
42346
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42347
|
+
Completed 401 Unauthorized in 82ms
|
42348
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42349
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42350
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42351
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42353
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42354
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42355
|
+
Connecting to database specified by database.yml
|
42356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42357
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
42358
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 949717663, 201799169)[0m
|
42359
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 876923740, 201799169)
|
42360
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 864673665, 201799169)[0m
|
42361
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
42362
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 201799169)[0m
|
42363
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 999914115)
|
42364
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 725306934)[0m
|
42365
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 349534908)
|
42366
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
42367
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42368
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
42369
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42370
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42371
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42372
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42374
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42375
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42376
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42377
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
42378
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:48:36 UTC", "updated_at"=>"2012-08-14 14:48:36 UTC"}}
|
42379
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
42380
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42381
|
+
Logged in user found, creating associated authentication.
|
42382
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42383
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["user_id", 201799169]]
|
42384
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42385
|
+
Redirected to http://test.host/authentications
|
42386
|
+
Completed 302 Found in 58ms (ActiveRecord: 1.0ms)
|
42387
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42388
|
+
[1m[35m (4.6ms)[0m rollback transaction
|
42389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42390
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42391
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
42392
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42393
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
42394
|
+
Parameters: {"id"=>"949717663"}
|
42395
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42396
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
42397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42398
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
42399
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42400
|
+
Redirected to http://test.host/authentications
|
42401
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
42402
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42403
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
42404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42405
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42406
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42407
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
42408
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42409
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
42410
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
42411
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
|
42412
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms)
|
42413
|
+
Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.4ms)
|
42414
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42415
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
42416
|
+
Processing by Contour::PasswordsController#create as HTML
|
42417
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
42418
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42419
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LdBL7JyN5NaKjyEJRkNG' LIMIT 1[0m
|
42420
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42421
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LdBL7JyN5NaKjyEJRkNG', "reset_password_sent_at" = '2012-08-14 14:48:36.301022', "updated_at" = '2012-08-14 14:48:36.302235' WHERE "users"."id" = 201799169[0m
|
42422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42423
|
+
|
42424
|
+
Sent mail to valid@example.com (42ms)
|
42425
|
+
Date: Tue, 14 Aug 2012 10:48:36 -0400
|
42426
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
42427
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
42428
|
+
To: valid@example.com
|
42429
|
+
Message-ID: <502a65445ce39_95ab3fe675835ae082992@edge2.partners.org.mail>
|
42430
|
+
Subject: Reset password instructions
|
42431
|
+
Mime-Version: 1.0
|
42432
|
+
Content-Type: text/html;
|
42433
|
+
charset=UTF-8
|
42434
|
+
Content-Transfer-Encoding: 7bit
|
42435
|
+
|
42436
|
+
<p>Hello valid@example.com!</p>
|
42437
|
+
|
42438
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
42439
|
+
|
42440
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=LdBL7JyN5NaKjyEJRkNG">Change my password</a></p>
|
42441
|
+
|
42442
|
+
<p>If you didn't request this, please ignore this email.</p>
|
42443
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
42444
|
+
|
42445
|
+
Redirected to http://test.host/users/login
|
42446
|
+
Completed 302 Found in 105ms (ActiveRecord: 0.0ms)
|
42447
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
42448
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42449
|
+
Processing by Contour::PasswordsController#new as HTML
|
42450
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.7ms)
|
42451
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
42452
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
42453
|
+
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
|
42454
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42455
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42456
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42457
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42459
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42460
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42461
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42462
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42463
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42464
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42465
|
+
|
42466
|
+
|
42467
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42468
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42469
|
+
Completed 401 Unauthorized in 1ms
|
42470
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42471
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42472
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42473
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9AS/Lbe.fDRZlarkBu/7fuF0Q./Vm6YyUw/bTt8OV0p8qAh23aSwy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00]]
|
42474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42475
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42476
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
42477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42478
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
42479
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
42480
|
+
|
42481
|
+
|
42482
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42483
|
+
Processing by Contour::SessionsController#create as HTML
|
42484
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
42485
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42486
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42488
|
+
Completed 401 Unauthorized in 7ms
|
42489
|
+
|
42490
|
+
|
42491
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42492
|
+
Processing by Contour::SessionsController#new as HTML
|
42493
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
42494
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
42495
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
42496
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
42497
|
+
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
42498
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
42499
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42500
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42501
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42502
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42503
|
+
|
42504
|
+
|
42505
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42506
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42507
|
+
Completed 401 Unauthorized in 0ms
|
42508
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42509
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
42510
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42511
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$n.s4EyGSGcvARXRITZf0ceKZY9ZPM1APJa5XT5BfQwiyvauJ/OOfq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00]]
|
42512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42513
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42514
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
42515
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42516
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
42517
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
42518
|
+
|
42519
|
+
|
42520
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42521
|
+
Processing by Contour::SessionsController#create as HTML
|
42522
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
42523
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
42524
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42525
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:48:36.566913', "current_sign_in_at" = '2012-08-14 14:48:36.566913', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:48:36.567571' WHERE "users"."id" = 999914116
|
42526
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42527
|
+
Redirected to http://www.example.com/logged_in_page
|
42528
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
42529
|
+
|
42530
|
+
|
42531
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42532
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42533
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
42534
|
+
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|
42535
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
42536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42537
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42538
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42539
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42540
|
+
|
42541
|
+
|
42542
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42543
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42544
|
+
Completed 401 Unauthorized in 0ms
|
42545
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42546
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
42547
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42548
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$M62lom3ck1bWE6gkK97nLOjRcnWlUk6YYpXw/U85V4yhur15omELm"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00]]
|
42549
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42551
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
42552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42553
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
42554
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
42555
|
+
|
42556
|
+
|
42557
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42558
|
+
Processing by Contour::SessionsController#create as HTML
|
42559
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
42560
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
42561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42562
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42563
|
+
Completed 401 Unauthorized in 4ms
|
42564
|
+
|
42565
|
+
|
42566
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42567
|
+
Processing by Contour::SessionsController#new as HTML
|
42568
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
42569
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
42570
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
42571
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
42572
|
+
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
42573
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
42574
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42575
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42576
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42577
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42578
|
+
|
42579
|
+
|
42580
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42581
|
+
Processing by WelcomeController#index as HTML
|
42582
|
+
Completed 401 Unauthorized in 0ms
|
42583
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42584
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42585
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42586
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42587
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42588
|
+
|
42589
|
+
|
42590
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42591
|
+
Processing by WelcomeController#logged_in_page as JSON
|
42592
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42593
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42594
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:48:36.721081', "current_sign_in_at" = '2012-08-14 14:48:36.721081', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:48:36.722173' WHERE "users"."id" = 201799169
|
42595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42596
|
+
Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
42597
|
+
[1m[35m (3.3ms)[0m rollback transaction
|
42598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42599
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42600
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42601
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42602
|
+
|
42603
|
+
|
42604
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:48:36 -0400
|
42605
|
+
Processing by WelcomeController#logged_in_page as JSON
|
42606
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
42607
|
+
Completed 401 Unauthorized in 82ms
|
42608
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42609
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42610
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42613
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42614
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42615
|
+
Connecting to database specified by database.yml
|
42616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42617
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
42618
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 949717663, 201799169)[0m
|
42619
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 876923740, 201799169)
|
42620
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 864673665, 201799169)[0m
|
42621
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
42622
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 201799169)[0m
|
42623
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 999914115)
|
42624
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 725306934)[0m
|
42625
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 349534908)
|
42626
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
42627
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42628
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
42629
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42631
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42632
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42634
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42635
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42636
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42637
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
42638
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:50:34 UTC", "updated_at"=>"2012-08-14 14:50:34 UTC"}}
|
42639
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
42640
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42641
|
+
Logged in user found, creating associated authentication.
|
42642
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42643
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["user_id", 201799169]]
|
42644
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42645
|
+
Redirected to http://test.host/authentications
|
42646
|
+
Completed 302 Found in 53ms (ActiveRecord: 0.9ms)
|
42647
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42648
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42650
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42651
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
42652
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42653
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
42654
|
+
Parameters: {"id"=>"949717663"}
|
42655
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42656
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
42657
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42658
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
42659
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42660
|
+
Redirected to http://test.host/authentications
|
42661
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
42662
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42663
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
42664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42665
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42666
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42667
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
42668
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42669
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
42670
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
42671
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.0ms)
|
42672
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
42673
|
+
Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.4ms)
|
42674
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42676
|
+
Processing by Contour::PasswordsController#create as HTML
|
42677
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
42678
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42679
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wMv66W2sGuwdznpDKpAp' LIMIT 1[0m
|
42680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42681
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'wMv66W2sGuwdznpDKpAp', "reset_password_sent_at" = '2012-08-14 14:50:34.506413', "updated_at" = '2012-08-14 14:50:34.507432' WHERE "users"."id" = 201799169[0m
|
42682
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42683
|
+
|
42684
|
+
Sent mail to valid@example.com (51ms)
|
42685
|
+
Date: Tue, 14 Aug 2012 10:50:34 -0400
|
42686
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
42687
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
42688
|
+
To: valid@example.com
|
42689
|
+
Message-ID: <502a65ba913b9_95cf3fbff5435ae09221f@edge2.partners.org.mail>
|
42690
|
+
Subject: Reset password instructions
|
42691
|
+
Mime-Version: 1.0
|
42692
|
+
Content-Type: text/html;
|
42693
|
+
charset=UTF-8
|
42694
|
+
Content-Transfer-Encoding: 7bit
|
42695
|
+
|
42696
|
+
<p>Hello valid@example.com!</p>
|
42697
|
+
|
42698
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
42699
|
+
|
42700
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=wMv66W2sGuwdznpDKpAp">Change my password</a></p>
|
42701
|
+
|
42702
|
+
<p>If you didn't request this, please ignore this email.</p>
|
42703
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
42704
|
+
|
42705
|
+
Redirected to http://test.host/users/login
|
42706
|
+
Completed 302 Found in 118ms (ActiveRecord: 0.0ms)
|
42707
|
+
[1m[36m (1.6ms)[0m [1mrollback transaction[0m
|
42708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42709
|
+
Processing by Contour::PasswordsController#new as HTML
|
42710
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
|
42711
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
42712
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
42713
|
+
Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
|
42714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42716
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42717
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42718
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42720
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42722
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42723
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42724
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42725
|
+
|
42726
|
+
|
42727
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42728
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42729
|
+
Completed 401 Unauthorized in 1ms
|
42730
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42731
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42732
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42733
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$TTjyjlJd2ZEAKAjStNK6De1pHKodH/6twAmuauGXre7R4aHarnuIq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00]]
|
42734
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42736
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
42737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42738
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
42739
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
42740
|
+
|
42741
|
+
|
42742
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42743
|
+
Processing by Contour::SessionsController#create as HTML
|
42744
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
42745
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42747
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42748
|
+
Completed 401 Unauthorized in 8ms
|
42749
|
+
|
42750
|
+
|
42751
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42752
|
+
Processing by Contour::SessionsController#new as HTML
|
42753
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
42754
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
42755
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
42756
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
42757
|
+
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
|
42758
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
42759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42760
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42761
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42762
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42763
|
+
|
42764
|
+
|
42765
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42766
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42767
|
+
Completed 401 Unauthorized in 0ms
|
42768
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42769
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
42770
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42771
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iYvOwKCNekSElYuZQIi3auqKgg3BUbRVdkiNHKInQE8IUYa6QUZzW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00]]
|
42772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42774
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
42775
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42776
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
42777
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
42778
|
+
|
42779
|
+
|
42780
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42781
|
+
Processing by Contour::SessionsController#create as HTML
|
42782
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
42783
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
42784
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42785
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:50:34.784263', "current_sign_in_at" = '2012-08-14 14:50:34.784263', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:50:34.784775' WHERE "users"."id" = 999914116
|
42786
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42787
|
+
Redirected to http://www.example.com/logged_in_page
|
42788
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
42789
|
+
|
42790
|
+
|
42791
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42792
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42793
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
42794
|
+
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
42795
|
+
[1m[36m (35.6ms)[0m [1mrollback transaction[0m
|
42796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42797
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42798
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42799
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42800
|
+
|
42801
|
+
|
42802
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42803
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42804
|
+
Completed 401 Unauthorized in 0ms
|
42805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42806
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
42807
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42808
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$vpwjAd.BWH5Ov87qRmUXIuh85yY7LsOD49unGFfzUetMRyQnzitda"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00]]
|
42809
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42811
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
42812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42813
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
42814
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
42815
|
+
|
42816
|
+
|
42817
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42818
|
+
Processing by Contour::SessionsController#create as HTML
|
42819
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
42820
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
42821
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42823
|
+
Completed 401 Unauthorized in 5ms
|
42824
|
+
|
42825
|
+
|
42826
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42827
|
+
Processing by Contour::SessionsController#new as HTML
|
42828
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
|
42829
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
42830
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
42831
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
|
42832
|
+
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)
|
42833
|
+
[1m[35m (30.2ms)[0m rollback transaction
|
42834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42835
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42836
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42837
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42838
|
+
|
42839
|
+
|
42840
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42841
|
+
Processing by WelcomeController#index as HTML
|
42842
|
+
Completed 401 Unauthorized in 1ms
|
42843
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42844
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42845
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42846
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42847
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42848
|
+
|
42849
|
+
|
42850
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:50:34 -0400
|
42851
|
+
Processing by WelcomeController#logged_in_page as JSON
|
42852
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42854
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:50:35.032559', "current_sign_in_at" = '2012-08-14 14:50:35.032559', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:50:35.033279' WHERE "users"."id" = 201799169
|
42855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42856
|
+
Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
42857
|
+
[1m[35m (41.0ms)[0m rollback transaction
|
42858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42859
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42860
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
42861
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
42862
|
+
|
42863
|
+
|
42864
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:50:35 -0400
|
42865
|
+
Processing by WelcomeController#logged_in_page as JSON
|
42866
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
42867
|
+
Completed 401 Unauthorized in 81ms
|
42868
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42870
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42871
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42873
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42874
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42875
|
+
Connecting to database specified by database.yml
|
42876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42877
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
42878
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 949717663, 201799169)[0m
|
42879
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 876923740, 201799169)
|
42880
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 864673665, 201799169)[0m
|
42881
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
42882
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 201799169)[0m
|
42883
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 999914115)
|
42884
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 725306934)[0m
|
42885
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 349534908)
|
42886
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
42887
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42888
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
42889
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42891
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42892
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42894
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42895
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42896
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42897
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
42898
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 15:25:06 UTC", "updated_at"=>"2012-08-14 15:25:06 UTC"}}
|
42899
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
42900
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42901
|
+
Logged in user found, creating associated authentication.
|
42902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42903
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:25:06 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 15:25:06 UTC +00:00], ["user_id", 201799169]]
|
42904
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42905
|
+
Redirected to http://test.host/authentications
|
42906
|
+
Completed 302 Found in 100ms (ActiveRecord: 1.2ms)
|
42907
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
42908
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42909
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42910
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
42911
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
42912
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42913
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
42914
|
+
Parameters: {"id"=>"949717663"}
|
42915
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42916
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
42917
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42918
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
42919
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42920
|
+
Redirected to http://test.host/authentications
|
42921
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
42922
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
42923
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42925
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42926
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
42927
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
42928
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
42929
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
42930
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
42931
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms)
|
42932
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
42933
|
+
Completed 200 OK in 107ms (Views: 105.0ms | ActiveRecord: 0.4ms)
|
42934
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42936
|
+
Processing by Contour::PasswordsController#create as HTML
|
42937
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
42938
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
42939
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'EjaptxwLdgzhyfkL2Rni' LIMIT 1[0m
|
42940
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42941
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'EjaptxwLdgzhyfkL2Rni', "reset_password_sent_at" = '2012-08-14 15:25:06.842675', "updated_at" = '2012-08-14 15:25:06.843992' WHERE "users"."id" = 201799169[0m
|
42942
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42943
|
+
|
42944
|
+
Sent mail to valid@example.com (40ms)
|
42945
|
+
Date: Tue, 14 Aug 2012 11:25:07 -0400
|
42946
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
42947
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
42948
|
+
To: valid@example.com
|
42949
|
+
Message-ID: <502a6dd34d08_98c63fc7b5835ad8708f3@edge2.partners.org.mail>
|
42950
|
+
Subject: Reset password instructions
|
42951
|
+
Mime-Version: 1.0
|
42952
|
+
Content-Type: text/html;
|
42953
|
+
charset=UTF-8
|
42954
|
+
Content-Transfer-Encoding: 7bit
|
42955
|
+
|
42956
|
+
<p>Hello valid@example.com!</p>
|
42957
|
+
|
42958
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
42959
|
+
|
42960
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=EjaptxwLdgzhyfkL2Rni">Change my password</a></p>
|
42961
|
+
|
42962
|
+
<p>If you didn't request this, please ignore this email.</p>
|
42963
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
42964
|
+
|
42965
|
+
Redirected to http://test.host/users/login
|
42966
|
+
Completed 302 Found in 240ms (ActiveRecord: 0.0ms)
|
42967
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42969
|
+
Processing by Contour::PasswordsController#new as HTML
|
42970
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
|
42971
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
|
42972
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms)
|
42973
|
+
Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
|
42974
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42975
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42976
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42977
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42978
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42980
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42982
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
42983
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
42984
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
42985
|
+
|
42986
|
+
|
42987
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
42988
|
+
Processing by WelcomeController#logged_in_page as HTML
|
42989
|
+
Completed 401 Unauthorized in 1ms
|
42990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42991
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
42992
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
42993
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$NSBJ5Vvy2v7hqC3mLKk3we60S9h0ODcdgaTSfMojUv4CjiXD1I1Um"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00]]
|
42994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42996
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
42997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42998
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
42999
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
43000
|
+
|
43001
|
+
|
43002
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43003
|
+
Processing by Contour::SessionsController#create as HTML
|
43004
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
43005
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43007
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43008
|
+
Completed 401 Unauthorized in 21ms
|
43009
|
+
|
43010
|
+
|
43011
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43012
|
+
Processing by Contour::SessionsController#new as HTML
|
43013
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
|
43014
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
43015
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
43016
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
|
43017
|
+
Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms)
|
43018
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
43019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43020
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43021
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43022
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43023
|
+
|
43024
|
+
|
43025
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43026
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43027
|
+
Completed 401 Unauthorized in 0ms
|
43028
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43029
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43030
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43031
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZubOp9Fw4JZUsO.b0.nNwOFl6wZskkc.9j0H5qu3XZUMLakI9ODny"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00]]
|
43032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43034
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
43035
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43036
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
43037
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
43038
|
+
|
43039
|
+
|
43040
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43041
|
+
Processing by Contour::SessionsController#create as HTML
|
43042
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
43043
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43044
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43045
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:25:07.348792', "current_sign_in_at" = '2012-08-14 15:25:07.348792', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:25:07.349336' WHERE "users"."id" = 999914116
|
43046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43047
|
+
Setting Flash Message
|
43048
|
+
Redirected to http://www.example.com/logged_in_page
|
43049
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
|
43050
|
+
|
43051
|
+
|
43052
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43053
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43054
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
43055
|
+
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.1ms)
|
43056
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
43057
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43058
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43059
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43060
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43061
|
+
|
43062
|
+
|
43063
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43064
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43065
|
+
Completed 401 Unauthorized in 0ms
|
43066
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43067
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43068
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43069
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$77Z6uJAShOaoyDwm/pJxGOc7YsfYm9/2CxcXKYF7s1EPN/lGreAMu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00]]
|
43070
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43072
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43073
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43074
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
43075
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
43076
|
+
|
43077
|
+
|
43078
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43079
|
+
Processing by Contour::SessionsController#create as HTML
|
43080
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
43081
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43082
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43083
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43084
|
+
Completed 401 Unauthorized in 6ms
|
43085
|
+
|
43086
|
+
|
43087
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43088
|
+
Processing by Contour::SessionsController#new as HTML
|
43089
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
43090
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
43091
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
43092
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
|
43093
|
+
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
|
43094
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
43095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43096
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43097
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43098
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43099
|
+
|
43100
|
+
|
43101
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43102
|
+
Processing by WelcomeController#index as HTML
|
43103
|
+
Completed 401 Unauthorized in 1ms
|
43104
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43106
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43107
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43108
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43109
|
+
|
43110
|
+
|
43111
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43112
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43113
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43114
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43115
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:25:07.541370', "current_sign_in_at" = '2012-08-14 15:25:07.541370', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:25:07.542368' WHERE "users"."id" = 201799169
|
43116
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43117
|
+
Completed 200 OK in 89ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
43118
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
43119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43120
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43121
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43122
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43123
|
+
|
43124
|
+
|
43125
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:25:07 -0400
|
43126
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43127
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
43128
|
+
Completed 401 Unauthorized in 87ms
|
43129
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43131
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43132
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43133
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43134
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43136
|
+
Connecting to database specified by database.yml
|
43137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43138
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
43139
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 949717663, 201799169)[0m
|
43140
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 876923740, 201799169)
|
43141
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 864673665, 201799169)[0m
|
43142
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
43143
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 201799169)[0m
|
43144
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 999914115)
|
43145
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 725306934)[0m
|
43146
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 349534908)
|
43147
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
43148
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43149
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
43150
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43151
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43152
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43153
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43155
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43156
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43157
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43158
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
43159
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 15:44:05 UTC", "updated_at"=>"2012-08-14 15:44:05 UTC"}}
|
43160
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
43161
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43162
|
+
Logged in user found, creating associated authentication.
|
43163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43164
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:44:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 15:44:05 UTC +00:00], ["user_id", 201799169]]
|
43165
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43166
|
+
Redirected to http://test.host/authentications
|
43167
|
+
Completed 302 Found in 80ms (ActiveRecord: 0.9ms)
|
43168
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43169
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
43170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43171
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43172
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
43173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43174
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
43175
|
+
Parameters: {"id"=>"949717663"}
|
43176
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43177
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
43178
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43179
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
43180
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43181
|
+
Redirected to http://test.host/authentications
|
43182
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
43183
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43184
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
43185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43186
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43187
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43188
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
43189
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43190
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
43191
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
43192
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms)
|
43193
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
43194
|
+
Completed 200 OK in 61ms (Views: 59.4ms | ActiveRecord: 0.4ms)
|
43195
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43197
|
+
Processing by Contour::PasswordsController#create as HTML
|
43198
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
43199
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43200
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'vEm7weMoQPYtYzSs4Vaw' LIMIT 1[0m
|
43201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43202
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'vEm7weMoQPYtYzSs4Vaw', "reset_password_sent_at" = '2012-08-14 15:44:06.065607', "updated_at" = '2012-08-14 15:44:06.066699' WHERE "users"."id" = 201799169[0m
|
43203
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43204
|
+
|
43205
|
+
Sent mail to valid@example.com (30ms)
|
43206
|
+
Date: Tue, 14 Aug 2012 11:44:06 -0400
|
43207
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
43208
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
43209
|
+
To: valid@example.com
|
43210
|
+
Message-ID: <502a7246393bc_9a723ffd46035ad8589ee@edge2.partners.org.mail>
|
43211
|
+
Subject: Reset password instructions
|
43212
|
+
Mime-Version: 1.0
|
43213
|
+
Content-Type: text/html;
|
43214
|
+
charset=UTF-8
|
43215
|
+
Content-Transfer-Encoding: 7bit
|
43216
|
+
|
43217
|
+
<p>Hello valid@example.com!</p>
|
43218
|
+
|
43219
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
43220
|
+
|
43221
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=vEm7weMoQPYtYzSs4Vaw">Change my password</a></p>
|
43222
|
+
|
43223
|
+
<p>If you didn't request this, please ignore this email.</p>
|
43224
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
43225
|
+
|
43226
|
+
Redirected to http://test.host/users/login
|
43227
|
+
Completed 302 Found in 196ms (ActiveRecord: 0.0ms)
|
43228
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
43229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43230
|
+
Processing by Contour::PasswordsController#new as HTML
|
43231
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
|
43232
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
43233
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
|
43234
|
+
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
43235
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43236
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43237
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43239
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43240
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43241
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43243
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43244
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43245
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43246
|
+
|
43247
|
+
|
43248
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43249
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43250
|
+
Completed 401 Unauthorized in 1ms
|
43251
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43252
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43253
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43254
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$KnLkUCYAxuyNw8mccGCQ4eOsfKZipT9P86TWQWAsSYedUV20JLd/e"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00]]
|
43255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43256
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43257
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43259
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
43260
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
43261
|
+
|
43262
|
+
|
43263
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43264
|
+
Processing by Contour::SessionsController#create as HTML
|
43265
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
43266
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43267
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43269
|
+
Completed 401 Unauthorized in 7ms
|
43270
|
+
|
43271
|
+
|
43272
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43273
|
+
Processing by Contour::SessionsController#new as HTML
|
43274
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
43275
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
43276
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
43277
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
43278
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms)
|
43279
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
43280
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43281
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43282
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43283
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43284
|
+
|
43285
|
+
|
43286
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43287
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43288
|
+
Completed 401 Unauthorized in 1ms
|
43289
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43290
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43291
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43292
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$5lBcYFrWoHfw13AiOFPwKeFGVJPAQ.kEc/xpL03kK5aOFkvthiEv6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00]]
|
43293
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43294
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43295
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
43296
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43297
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
43298
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
43299
|
+
|
43300
|
+
|
43301
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43302
|
+
Processing by Contour::SessionsController#create as HTML
|
43303
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
43304
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43305
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43306
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:44:06.471540', "current_sign_in_at" = '2012-08-14 15:44:06.471540', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:44:06.472080' WHERE "users"."id" = 999914116
|
43307
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43308
|
+
Setting Flash Message
|
43309
|
+
Redirected to http://www.example.com/logged_in_page
|
43310
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
43311
|
+
|
43312
|
+
|
43313
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43314
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43315
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
43316
|
+
Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.2ms)
|
43317
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
43318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43319
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43320
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43321
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43322
|
+
|
43323
|
+
|
43324
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43325
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43326
|
+
Completed 401 Unauthorized in 0ms
|
43327
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43328
|
+
[1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43329
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43330
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$fPEBm.mng5ZBM2Y0FIKv0uyt8K2xryPKVTm5nhzdO8a0UY.Bk2NGe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00]]
|
43331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43332
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43333
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43334
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43335
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
43336
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
43337
|
+
|
43338
|
+
|
43339
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43340
|
+
Processing by Contour::SessionsController#create as HTML
|
43341
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
43342
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43343
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43344
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43345
|
+
Completed 401 Unauthorized in 4ms
|
43346
|
+
|
43347
|
+
|
43348
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43349
|
+
Processing by Contour::SessionsController#new as HTML
|
43350
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
43351
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
43352
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
43353
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
43354
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
43355
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
43356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43357
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43358
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43359
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43360
|
+
|
43361
|
+
|
43362
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43363
|
+
Processing by WelcomeController#index as HTML
|
43364
|
+
Completed 401 Unauthorized in 1ms
|
43365
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43366
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43367
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43368
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43369
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43370
|
+
|
43371
|
+
|
43372
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43373
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43374
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43376
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:44:06.651276', "current_sign_in_at" = '2012-08-14 15:44:06.651276', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:44:06.652210' WHERE "users"."id" = 201799169
|
43377
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43378
|
+
Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
43379
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
43380
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43381
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43382
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43383
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43384
|
+
|
43385
|
+
|
43386
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:44:06 -0400
|
43387
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43388
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
43389
|
+
Completed 401 Unauthorized in 79ms
|
43390
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43392
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43393
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43395
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43396
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43397
|
+
Connecting to database specified by database.yml
|
43398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43399
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
43400
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 949717663, 201799169)[0m
|
43401
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 876923740, 201799169)
|
43402
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 864673665, 201799169)[0m
|
43403
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
43404
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 201799169)[0m
|
43405
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 999914115)
|
43406
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 725306934)[0m
|
43407
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 349534908)
|
43408
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
43409
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43410
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
43411
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43413
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43414
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43415
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43416
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43417
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43418
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43419
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
43420
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 16:19:35 UTC", "updated_at"=>"2012-08-14 16:19:35 UTC"}}
|
43421
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
43422
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43423
|
+
Logged in user found, creating associated authentication.
|
43424
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43425
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:19:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 16:19:35 UTC +00:00], ["user_id", 201799169]]
|
43426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43427
|
+
Redirected to http://test.host/authentications
|
43428
|
+
Completed 302 Found in 50ms (ActiveRecord: 0.9ms)
|
43429
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43430
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
43431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43432
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43433
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
43434
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43435
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
43436
|
+
Parameters: {"id"=>"949717663"}
|
43437
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43438
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
43439
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43440
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
43441
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43442
|
+
Redirected to http://test.host/authentications
|
43443
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
43444
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43445
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
43446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43447
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43448
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43449
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
43450
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43451
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
43452
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
43453
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.4ms)
|
43454
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
|
43455
|
+
Completed 200 OK in 75ms (Views: 73.0ms | ActiveRecord: 0.5ms)
|
43456
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43458
|
+
Processing by Contour::PasswordsController#create as HTML
|
43459
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
43460
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43461
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KyC7sCmVuGsJCx2acwwY' LIMIT 1[0m
|
43462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43463
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KyC7sCmVuGsJCx2acwwY', "reset_password_sent_at" = '2012-08-14 16:19:35.825240', "updated_at" = '2012-08-14 16:19:35.826070' WHERE "users"."id" = 201799169[0m
|
43464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43465
|
+
|
43466
|
+
Sent mail to valid@example.com (48ms)
|
43467
|
+
Date: Tue, 14 Aug 2012 12:19:36 -0400
|
43468
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
43469
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
43470
|
+
To: valid@example.com
|
43471
|
+
Message-ID: <502a7a9870c_9d323fda15435ad826a0@edge2.partners.org.mail>
|
43472
|
+
Subject: Reset password instructions
|
43473
|
+
Mime-Version: 1.0
|
43474
|
+
Content-Type: text/html;
|
43475
|
+
charset=UTF-8
|
43476
|
+
Content-Transfer-Encoding: 7bit
|
43477
|
+
|
43478
|
+
<p>Hello valid@example.com!</p>
|
43479
|
+
|
43480
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
43481
|
+
|
43482
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=KyC7sCmVuGsJCx2acwwY">Change my password</a></p>
|
43483
|
+
|
43484
|
+
<p>If you didn't request this, please ignore this email.</p>
|
43485
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
43486
|
+
|
43487
|
+
Redirected to http://test.host/users/login
|
43488
|
+
Completed 302 Found in 217ms (ActiveRecord: 0.0ms)
|
43489
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
43490
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43491
|
+
Processing by Contour::PasswordsController#new as HTML
|
43492
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
|
43493
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
43494
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
|
43495
|
+
Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms)
|
43496
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43497
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43498
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43499
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43500
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43501
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43502
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43504
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43505
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43506
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43507
|
+
|
43508
|
+
|
43509
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43510
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43511
|
+
Completed 401 Unauthorized in 1ms
|
43512
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43513
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43514
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43515
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$8G1SSUapKyakQizsQ62qKOUh4.U/IlkqQj4n5yaWPgsARHpmo7DI."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00]]
|
43516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43518
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43520
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
43521
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
43522
|
+
|
43523
|
+
|
43524
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43525
|
+
Processing by Contour::SessionsController#create as HTML
|
43526
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
43527
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43528
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43530
|
+
Completed 401 Unauthorized in 21ms
|
43531
|
+
|
43532
|
+
|
43533
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43534
|
+
Processing by Contour::SessionsController#new as HTML
|
43535
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
43536
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
43537
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
43538
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
43539
|
+
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
|
43540
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
43541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43542
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43543
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43544
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43545
|
+
|
43546
|
+
|
43547
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43548
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43549
|
+
Completed 401 Unauthorized in 0ms
|
43550
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43551
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43552
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43553
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$dLgia8zeNXkHX6If0dAbiuuqVXUMMR9H3CbzScfhOGoMMe6jZzyFS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00]]
|
43554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43555
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43556
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
43557
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43558
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
43559
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
43560
|
+
|
43561
|
+
|
43562
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43563
|
+
Processing by Contour::SessionsController#create as HTML
|
43564
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
43565
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43566
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43567
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:19:36.267083', "current_sign_in_at" = '2012-08-14 16:19:36.267083', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:19:36.267676' WHERE "users"."id" = 999914116
|
43568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43569
|
+
Redirected to http://www.example.com/logged_in_page
|
43570
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
43571
|
+
|
43572
|
+
|
43573
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43574
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43575
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
43576
|
+
Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.1ms)
|
43577
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
43578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43579
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43580
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43581
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43582
|
+
|
43583
|
+
|
43584
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43585
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43586
|
+
Completed 401 Unauthorized in 0ms
|
43587
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43588
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43589
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43590
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ptab13mVIlTPr0ACZnrMJekMKP2VO5vkOSfKsWS2sTC1JzIxJJq3u"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00]]
|
43591
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43592
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43593
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43594
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43595
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
43596
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
43597
|
+
|
43598
|
+
|
43599
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43600
|
+
Processing by Contour::SessionsController#create as HTML
|
43601
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
43602
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43605
|
+
Completed 401 Unauthorized in 5ms
|
43606
|
+
|
43607
|
+
|
43608
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43609
|
+
Processing by Contour::SessionsController#new as HTML
|
43610
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
43611
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
43612
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
43613
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
43614
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
43615
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
43616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43617
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43618
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43619
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43620
|
+
|
43621
|
+
|
43622
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43623
|
+
Processing by WelcomeController#index as HTML
|
43624
|
+
Completed 401 Unauthorized in 1ms
|
43625
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43627
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43628
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43629
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43630
|
+
|
43631
|
+
|
43632
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43633
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43634
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43635
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43636
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:19:36.442689', "current_sign_in_at" = '2012-08-14 16:19:36.442689', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:19:36.443414' WHERE "users"."id" = 201799169
|
43637
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43638
|
+
Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
43639
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
43640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43641
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43642
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43643
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43644
|
+
|
43645
|
+
|
43646
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:19:36 -0400
|
43647
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43648
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
43649
|
+
Completed 401 Unauthorized in 85ms
|
43650
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43651
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43652
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43653
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43654
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43655
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43656
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43657
|
+
Connecting to database specified by database.yml
|
43658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43659
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications"
|
43660
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 949717663, 201799169)[0m
|
43661
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 876923740, 201799169)
|
43662
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 864673665, 201799169)[0m
|
43663
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
43664
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 201799169)[0m
|
43665
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 999914115)
|
43666
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 725306934)[0m
|
43667
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 349534908)
|
43668
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
43669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43670
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
43671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43673
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43674
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43675
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43676
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43677
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43678
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43679
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
43680
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 16:32:37 UTC", "updated_at"=>"2012-08-14 16:32:37 UTC"}}
|
43681
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
43682
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43683
|
+
Logged in user found, creating associated authentication.
|
43684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43685
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:32:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 16:32:37 UTC +00:00], ["user_id", 201799169]]
|
43686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43687
|
+
Redirected to http://test.host/authentications
|
43688
|
+
Completed 302 Found in 64ms (ActiveRecord: 1.1ms)
|
43689
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43690
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
43691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43692
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43693
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
43694
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43695
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
43696
|
+
Parameters: {"id"=>"949717663"}
|
43697
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43698
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
43699
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43700
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
43701
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43702
|
+
Redirected to http://test.host/authentications
|
43703
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
|
43704
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43705
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
43706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43707
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43708
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43709
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
43710
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43711
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
43712
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
43713
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.0ms)
|
43714
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
|
43715
|
+
Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.6ms)
|
43716
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43718
|
+
Processing by Contour::PasswordsController#create as HTML
|
43719
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
43720
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43721
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'y81pakDk2sA4ssLG6Lns' LIMIT 1[0m
|
43722
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43723
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'y81pakDk2sA4ssLG6Lns', "reset_password_sent_at" = '2012-08-14 16:32:37.805532', "updated_at" = '2012-08-14 16:32:37.806637' WHERE "users"."id" = 201799169[0m
|
43724
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43725
|
+
|
43726
|
+
Sent mail to valid@example.com (26ms)
|
43727
|
+
Date: Tue, 14 Aug 2012 12:32:37 -0400
|
43728
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
43729
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
43730
|
+
To: valid@example.com
|
43731
|
+
Message-ID: <502a7da5e1388_9dfd3fef15835ad8270b@edge2.partners.org.mail>
|
43732
|
+
Subject: Reset password instructions
|
43733
|
+
Mime-Version: 1.0
|
43734
|
+
Content-Type: text/html;
|
43735
|
+
charset=UTF-8
|
43736
|
+
Content-Transfer-Encoding: 7bit
|
43737
|
+
|
43738
|
+
<p>Hello valid@example.com!</p>
|
43739
|
+
|
43740
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
43741
|
+
|
43742
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=y81pakDk2sA4ssLG6Lns">Change my password</a></p>
|
43743
|
+
|
43744
|
+
<p>If you didn't request this, please ignore this email.</p>
|
43745
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
43746
|
+
|
43747
|
+
Redirected to http://test.host/users/login
|
43748
|
+
Completed 302 Found in 146ms (ActiveRecord: 0.0ms)
|
43749
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
43750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43751
|
+
Processing by Contour::PasswordsController#new as HTML
|
43752
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
43753
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
43754
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
43755
|
+
Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.0ms)
|
43756
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43758
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43760
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43762
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43764
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43765
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43766
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43767
|
+
|
43768
|
+
|
43769
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:37 -0400
|
43770
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43771
|
+
Completed 401 Unauthorized in 1ms
|
43772
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43773
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43774
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43775
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$hsPTwHkanbRUSWIAAylRnefxt6XR7KzKRQ6YOyZPzCbP437PxsDDq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00]]
|
43776
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43778
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43779
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43780
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
43781
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
43782
|
+
|
43783
|
+
|
43784
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43785
|
+
Processing by Contour::SessionsController#create as HTML
|
43786
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
43787
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
43788
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43789
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43790
|
+
Completed 401 Unauthorized in 7ms
|
43791
|
+
|
43792
|
+
|
43793
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43794
|
+
Processing by Contour::SessionsController#new as HTML
|
43795
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
43796
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
43797
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
43798
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
43799
|
+
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
43800
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
43801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43802
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43803
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43804
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43805
|
+
|
43806
|
+
|
43807
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43808
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43809
|
+
Completed 401 Unauthorized in 0ms
|
43810
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43811
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43812
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43813
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NhBVP5fwolXLPrbhlNPk4Or061nU3CnkvqHivhJzaT.MOrLocmFWe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00]]
|
43814
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43815
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43816
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
43817
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43818
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
43819
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
43820
|
+
|
43821
|
+
|
43822
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43823
|
+
Processing by Contour::SessionsController#create as HTML
|
43824
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
43825
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
43826
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43827
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:32:38.132749', "current_sign_in_at" = '2012-08-14 16:32:38.132749', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:32:38.133287' WHERE "users"."id" = 999914116
|
43828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43829
|
+
Redirected to http://www.example.com/logged_in_page
|
43830
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
43831
|
+
|
43832
|
+
|
43833
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43834
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43835
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
43836
|
+
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
43837
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
43838
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43839
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43840
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43841
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43842
|
+
|
43843
|
+
|
43844
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43845
|
+
Processing by WelcomeController#logged_in_page as HTML
|
43846
|
+
Completed 401 Unauthorized in 0ms
|
43847
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43848
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43849
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
43850
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qwvpfG7TXeRM8efkFuWMZuqSF0E/85.N1YtLhyVZ1IaBez/tUMjyK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00]]
|
43851
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43852
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43853
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
43854
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43855
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
43856
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
43857
|
+
|
43858
|
+
|
43859
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43860
|
+
Processing by Contour::SessionsController#create as HTML
|
43861
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
43862
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
43863
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43865
|
+
Completed 401 Unauthorized in 4ms
|
43866
|
+
|
43867
|
+
|
43868
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43869
|
+
Processing by Contour::SessionsController#new as HTML
|
43870
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
43871
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
43872
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
43873
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
43874
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
43875
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
43876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43877
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43878
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43879
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43880
|
+
|
43881
|
+
|
43882
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43883
|
+
Processing by WelcomeController#index as HTML
|
43884
|
+
Completed 401 Unauthorized in 1ms
|
43885
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43887
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43888
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
43889
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
43890
|
+
|
43891
|
+
|
43892
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43893
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43894
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43895
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43896
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:32:38.289217', "current_sign_in_at" = '2012-08-14 16:32:38.289217', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:32:38.289916' WHERE "users"."id" = 201799169
|
43897
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43898
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
43899
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
43900
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43901
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43902
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
43903
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
43904
|
+
|
43905
|
+
|
43906
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:32:38 -0400
|
43907
|
+
Processing by WelcomeController#logged_in_page as JSON
|
43908
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
43909
|
+
Completed 401 Unauthorized in 79ms
|
43910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43912
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43913
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43914
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43915
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43916
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43917
|
+
Connecting to database specified by database.yml
|
43918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43919
|
+
[1m[35mFixture Delete (19.1ms)[0m DELETE FROM "authentications"
|
43920
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 949717663, 201799169)[0m
|
43921
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 876923740, 201799169)
|
43922
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 864673665, 201799169)[0m
|
43923
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
43924
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 201799169)[0m
|
43925
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 999914115)
|
43926
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 725306934)[0m
|
43927
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 349534908)
|
43928
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
43929
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43930
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
43931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43933
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43934
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43935
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43936
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43937
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43938
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43939
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
43940
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 17:32:54 UTC", "updated_at"=>"2012-08-14 17:32:54 UTC"}}
|
43941
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
43942
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43943
|
+
Logged in user found, creating associated authentication.
|
43944
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43945
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:32:54 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 17:32:54 UTC +00:00], ["user_id", 201799169]]
|
43946
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43947
|
+
Redirected to http://test.host/authentications
|
43948
|
+
Completed 302 Found in 90ms (ActiveRecord: 1.0ms)
|
43949
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
43950
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
43951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43952
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
43953
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
43954
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43955
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
43956
|
+
Parameters: {"id"=>"949717663"}
|
43957
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43958
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
43959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43960
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
43961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43962
|
+
Redirected to http://test.host/authentications
|
43963
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
43964
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
43965
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
43966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43967
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
43968
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
43969
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
43970
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
43971
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
43972
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
43973
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (6.4ms)
|
43974
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
43975
|
+
Completed 200 OK in 174ms (Views: 172.3ms | ActiveRecord: 0.4ms)
|
43976
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43978
|
+
Processing by Contour::PasswordsController#create as HTML
|
43979
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
43980
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
43981
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KSr7pk7S7qacmypxpky6' LIMIT 1[0m
|
43982
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43983
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KSr7pk7S7qacmypxpky6', "reset_password_sent_at" = '2012-08-14 17:32:55.086213', "updated_at" = '2012-08-14 17:32:55.087522' WHERE "users"."id" = 201799169[0m
|
43984
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43985
|
+
|
43986
|
+
Sent mail to valid@example.com (97ms)
|
43987
|
+
Date: Tue, 14 Aug 2012 13:32:55 -0400
|
43988
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
43989
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
43990
|
+
To: valid@example.com
|
43991
|
+
Message-ID: <502a8bc77fd5b_a43f3fcac8435ad063692@edge2.partners.org.mail>
|
43992
|
+
Subject: Reset password instructions
|
43993
|
+
Mime-Version: 1.0
|
43994
|
+
Content-Type: text/html;
|
43995
|
+
charset=UTF-8
|
43996
|
+
Content-Transfer-Encoding: 7bit
|
43997
|
+
|
43998
|
+
<p>Hello valid@example.com!</p>
|
43999
|
+
|
44000
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
44001
|
+
|
44002
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=KSr7pk7S7qacmypxpky6">Change my password</a></p>
|
44003
|
+
|
44004
|
+
<p>If you didn't request this, please ignore this email.</p>
|
44005
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
44006
|
+
|
44007
|
+
Redirected to http://test.host/users/login
|
44008
|
+
Completed 302 Found in 571ms (ActiveRecord: 0.0ms)
|
44009
|
+
[1m[36m (16.0ms)[0m [1mrollback transaction[0m
|
44010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44011
|
+
Processing by Contour::PasswordsController#new as HTML
|
44012
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
|
44013
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms)
|
44014
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.0ms)
|
44015
|
+
Completed 200 OK in 117ms (Views: 116.7ms | ActiveRecord: 0.0ms)
|
44016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44018
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44019
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44020
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44022
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44024
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44025
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44026
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44027
|
+
|
44028
|
+
|
44029
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:55 -0400
|
44030
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44031
|
+
Completed 401 Unauthorized in 1ms
|
44032
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44033
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44034
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44035
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$wS98Pc4v03XVTgIUXuPxiuV7UvJq6DWK2enzO2CswvWFmiYhs5jJC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00]]
|
44036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44038
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44039
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44040
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
44041
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
44042
|
+
|
44043
|
+
|
44044
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44045
|
+
Processing by Contour::SessionsController#create as HTML
|
44046
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
44047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44048
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44049
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44050
|
+
Completed 401 Unauthorized in 43ms
|
44051
|
+
|
44052
|
+
|
44053
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44054
|
+
Processing by Contour::SessionsController#new as HTML
|
44055
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
44056
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms)
|
44057
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
44058
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
44059
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
44060
|
+
Completed 200 OK in 70ms (Views: 68.8ms | ActiveRecord: 0.0ms)
|
44061
|
+
[1m[35m (24.7ms)[0m rollback transaction
|
44062
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44063
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44064
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44065
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44066
|
+
|
44067
|
+
|
44068
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44069
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44070
|
+
Completed 401 Unauthorized in 0ms
|
44071
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44072
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44073
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44074
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:32: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$x2xE5JX231XShQY049L3WOeXb5Iscl3tsyvLUHqHKI/IjzybhTFBu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00]]
|
44075
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44076
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44077
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
44078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44079
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
44080
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
44081
|
+
|
44082
|
+
|
44083
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44084
|
+
Processing by Contour::SessionsController#create as HTML
|
44085
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
44086
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44087
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44088
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:32:56.387536', "current_sign_in_at" = '2012-08-14 17:32:56.387536', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:32:56.388067' WHERE "users"."id" = 999914116
|
44089
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44090
|
+
Redirected to http://www.example.com/logged_in_page
|
44091
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
44092
|
+
|
44093
|
+
|
44094
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44095
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44096
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
44097
|
+
Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.1ms)
|
44098
|
+
[1m[36m (8.9ms)[0m [1mrollback transaction[0m
|
44099
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44100
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44101
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44102
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44103
|
+
|
44104
|
+
|
44105
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44106
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44107
|
+
Completed 401 Unauthorized in 0ms
|
44108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44109
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44110
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44111
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:32: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$N.W9mNYyDjNwRF4y5uME0O28aqG.Ho0ibuZI8Ym.jOzRrukwiUR46"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00]]
|
44112
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44114
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44115
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44116
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
44117
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
44118
|
+
|
44119
|
+
|
44120
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44121
|
+
Processing by Contour::SessionsController#create as HTML
|
44122
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
44123
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44125
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44126
|
+
Completed 401 Unauthorized in 7ms
|
44127
|
+
|
44128
|
+
|
44129
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44130
|
+
Processing by Contour::SessionsController#new as HTML
|
44131
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
44132
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
|
44133
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
44134
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
44135
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
44136
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
|
44137
|
+
[1m[35m (23.1ms)[0m rollback transaction
|
44138
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44139
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44140
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44141
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44142
|
+
|
44143
|
+
|
44144
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44145
|
+
Processing by WelcomeController#index as HTML
|
44146
|
+
Completed 401 Unauthorized in 1ms
|
44147
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44148
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44149
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44150
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44151
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44152
|
+
|
44153
|
+
|
44154
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44155
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44156
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44157
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44158
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:32:56.610668', "current_sign_in_at" = '2012-08-14 17:32:56.610668', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:32:56.611665' WHERE "users"."id" = 201799169
|
44159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44160
|
+
Completed 200 OK in 89ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
44161
|
+
[1m[35m (87.9ms)[0m rollback transaction
|
44162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44163
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44164
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44165
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44166
|
+
|
44167
|
+
|
44168
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:32:56 -0400
|
44169
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44170
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
44171
|
+
Completed 401 Unauthorized in 85ms
|
44172
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44174
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44175
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44176
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44177
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44178
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44179
|
+
Connecting to database specified by database.yml
|
44180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44181
|
+
[1m[35mFixture Delete (16.3ms)[0m DELETE FROM "authentications"
|
44182
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 949717663, 201799169)[0m
|
44183
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 876923740, 201799169)
|
44184
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 864673665, 201799169)[0m
|
44185
|
+
[1m[35mFixture Delete (1.2ms)[0m DELETE FROM "users"
|
44186
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 201799169)[0m
|
44187
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 999914115)
|
44188
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 725306934)[0m
|
44189
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 349534908)
|
44190
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
44191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44192
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
44193
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44195
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44196
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44198
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44199
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44200
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44201
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
44202
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 17:37:04 UTC", "updated_at"=>"2012-08-14 17:37:04 UTC"}}
|
44203
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
44204
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44205
|
+
Logged in user found, creating associated authentication.
|
44206
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44207
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["user_id", 201799169]]
|
44208
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44209
|
+
Redirected to http://test.host/authentications
|
44210
|
+
Completed 302 Found in 84ms (ActiveRecord: 1.0ms)
|
44211
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
44212
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
44213
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44214
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44215
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
44216
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
44217
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
44218
|
+
Parameters: {"id"=>"949717663"}
|
44219
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44220
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
44221
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44222
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
44223
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44224
|
+
Redirected to http://test.host/authentications
|
44225
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
44226
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
44227
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
44228
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44229
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44230
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
44231
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
44232
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
44233
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
44234
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
44235
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms)
|
44236
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
44237
|
+
Completed 200 OK in 152ms (Views: 149.8ms | ActiveRecord: 0.4ms)
|
44238
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44240
|
+
Processing by Contour::PasswordsController#create as HTML
|
44241
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
44242
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44243
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qbxtCtTydzSczQpNbBRf' LIMIT 1[0m
|
44244
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44245
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'qbxtCtTydzSczQpNbBRf', "reset_password_sent_at" = '2012-08-14 17:37:05.395731', "updated_at" = '2012-08-14 17:37:05.396869' WHERE "users"."id" = 201799169[0m
|
44246
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
44247
|
+
|
44248
|
+
Sent mail to valid@example.com (71ms)
|
44249
|
+
Date: Tue, 14 Aug 2012 13:37:05 -0400
|
44250
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
44251
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
44252
|
+
To: valid@example.com
|
44253
|
+
Message-ID: <502a8cc1a98ed_a49f3fdfd9035ae0794b8@edge2.partners.org.mail>
|
44254
|
+
Subject: Reset password instructions
|
44255
|
+
Mime-Version: 1.0
|
44256
|
+
Content-Type: text/html;
|
44257
|
+
charset=UTF-8
|
44258
|
+
Content-Transfer-Encoding: 7bit
|
44259
|
+
|
44260
|
+
<p>Hello valid@example.com!</p>
|
44261
|
+
|
44262
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
44263
|
+
|
44264
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=qbxtCtTydzSczQpNbBRf">Change my password</a></p>
|
44265
|
+
|
44266
|
+
<p>If you didn't request this, please ignore this email.</p>
|
44267
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
44268
|
+
|
44269
|
+
Redirected to http://test.host/users/login
|
44270
|
+
Completed 302 Found in 367ms (ActiveRecord: 0.0ms)
|
44271
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
44272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44273
|
+
Processing by Contour::PasswordsController#new as HTML
|
44274
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
44275
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
|
44276
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.7ms)
|
44277
|
+
Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms)
|
44278
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44279
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44280
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44282
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44283
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44284
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44285
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44286
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44287
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44288
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44289
|
+
|
44290
|
+
|
44291
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:05 -0400
|
44292
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44293
|
+
Completed 401 Unauthorized in 1ms
|
44294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44295
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44296
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44297
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$dtSNOAkC.llB3cTs9E6l9eoc5gjRglKjvDsUZWyRuy.E2GKk79xH2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00]]
|
44298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44300
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44302
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
44303
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
44304
|
+
|
44305
|
+
|
44306
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:05 -0400
|
44307
|
+
Processing by Contour::SessionsController#create as HTML
|
44308
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
44309
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
44310
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44311
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44312
|
+
Completed 401 Unauthorized in 23ms
|
44313
|
+
|
44314
|
+
|
44315
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:37:05 -0400
|
44316
|
+
Processing by Contour::SessionsController#new as HTML
|
44317
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
44318
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms)
|
44319
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
44320
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
44321
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
44322
|
+
Completed 200 OK in 51ms (Views: 50.1ms | ActiveRecord: 0.0ms)
|
44323
|
+
[1m[35m (6.9ms)[0m rollback transaction
|
44324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44325
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44326
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44327
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44328
|
+
|
44329
|
+
|
44330
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44331
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44332
|
+
Completed 401 Unauthorized in 0ms
|
44333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44334
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44335
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44336
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$SbQ.vq8Qnpmx627bOzDEIuKUsFwTDbVaApL4hs.zd79m5dXZEM4TG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00]]
|
44337
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44339
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
44340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44341
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
44342
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
44343
|
+
|
44344
|
+
|
44345
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44346
|
+
Processing by Contour::SessionsController#create as HTML
|
44347
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
44348
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
44349
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44350
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:37:06.042032', "current_sign_in_at" = '2012-08-14 17:37:06.042032', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:37:06.042653' WHERE "users"."id" = 999914116
|
44351
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44352
|
+
Redirected to http://www.example.com/logged_in_page
|
44353
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
44354
|
+
|
44355
|
+
|
44356
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44357
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44358
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
44359
|
+
Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.1ms)
|
44360
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
44361
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44362
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44363
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44364
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44365
|
+
|
44366
|
+
|
44367
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44368
|
+
Processing by WelcomeController#logged_in_page as HTML
|
44369
|
+
Completed 401 Unauthorized in 0ms
|
44370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44371
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44372
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
44373
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$UEVSbKKiIdm//ev/uSohouDj98N1DVRdJh6ElkC1J8B34RggwztM."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00]]
|
44374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44376
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
44377
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44378
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
44379
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
44380
|
+
|
44381
|
+
|
44382
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44383
|
+
Processing by Contour::SessionsController#create as HTML
|
44384
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
44385
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
44386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44387
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44388
|
+
Completed 401 Unauthorized in 4ms
|
44389
|
+
|
44390
|
+
|
44391
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44392
|
+
Processing by Contour::SessionsController#new as HTML
|
44393
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
44394
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
|
44395
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
44396
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
44397
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
44398
|
+
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
44399
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
44400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44401
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44402
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44403
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44404
|
+
|
44405
|
+
|
44406
|
+
Started GET "/" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44407
|
+
Processing by WelcomeController#index as HTML
|
44408
|
+
Completed 401 Unauthorized in 1ms
|
44409
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44411
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44412
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
44413
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
44414
|
+
|
44415
|
+
|
44416
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44417
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44418
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
44419
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44420
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:37:06.220602', "current_sign_in_at" = '2012-08-14 17:37:06.220602', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:37:06.221359' WHERE "users"."id" = 201799169
|
44421
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44422
|
+
Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
44423
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
44424
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44425
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44426
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
44427
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
44428
|
+
|
44429
|
+
|
44430
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:37:06 -0400
|
44431
|
+
Processing by WelcomeController#logged_in_page as JSON
|
44432
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
44433
|
+
Completed 401 Unauthorized in 84ms
|
44434
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44435
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44436
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
44437
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44439
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
44440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|