contour 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +7 -0
- data/app/assets/stylesheets/contour/global.css +17 -3
- data/app/assets/stylesheets/contour/header.css +7 -2
- data/app/views/contour/layouts/application.html.erb +10 -0
- data/lib/contour.rb +46 -0
- data/lib/contour/version.rb +1 -1
- data/lib/generators/templates/contour.rb +25 -9
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +3887 -0
- metadata +24 -24
data/CHANGELOG.rdoc
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
== 0.10.1
|
|
2
|
+
|
|
3
|
+
* Enhancements
|
|
4
|
+
* Added options for setting body_background_{image|color} and link_color
|
|
5
|
+
* Setting these as arrays will rotate through on a daily basis
|
|
6
|
+
* Use the month_day configuration to set specific colors/images for select days
|
|
7
|
+
|
|
1
8
|
== 0.10.0
|
|
2
9
|
|
|
3
10
|
* Enhancements
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
/* GLOBALS */
|
|
3
3
|
/**************************************/
|
|
4
4
|
|
|
5
|
-
body{
|
|
5
|
+
body {
|
|
6
|
+
color: #404040;
|
|
7
|
+
overflow-y: scroll;
|
|
8
|
+
background-repeat: no-repeat;
|
|
9
|
+
background-position: top center;
|
|
10
|
+
background-attachment: fixed;
|
|
11
|
+
}
|
|
6
12
|
|
|
7
13
|
a:link { color: #057080; }
|
|
8
14
|
a:hover { color: #EB6C20; }
|
|
@@ -16,10 +22,18 @@ a:link.positive {
|
|
|
16
22
|
color: #529214;
|
|
17
23
|
}
|
|
18
24
|
|
|
25
|
+
a:link, a:visited, #header a:hover, #menu a:hover {
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a:hover, a:active, a:focus {
|
|
30
|
+
text-decoration: underline;
|
|
31
|
+
}
|
|
32
|
+
|
|
19
33
|
#content {
|
|
20
34
|
margin-top: 10px;
|
|
21
35
|
padding: 0px 4px 4px 4px;
|
|
22
|
-
background-color:
|
|
36
|
+
background-color: transparent;
|
|
23
37
|
}
|
|
24
38
|
|
|
25
39
|
pre {
|
|
@@ -69,4 +83,4 @@ table.padded td, table.padded.th {
|
|
|
69
83
|
|
|
70
84
|
.field_with_errors_cleared input, .field_with_errors_cleared textarea {
|
|
71
85
|
/* background-color: #66FF66;*/
|
|
72
|
-
}
|
|
86
|
+
}
|
|
@@ -14,5 +14,10 @@
|
|
|
14
14
|
background-repeat: no-repeat;
|
|
15
15
|
background-attachment: scroll;
|
|
16
16
|
background-position: top right;
|
|
17
|
-
background-color:
|
|
18
|
-
}
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
#header a:link, #header a:visited, #header a:active, #header a:focus {
|
|
21
|
+
color: #404040;
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
}
|
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
<%= stylesheet_link_tag "application", media: "all" %>
|
|
7
7
|
<%= javascript_include_tag "application" %>
|
|
8
8
|
<%= csrf_meta_tags %>
|
|
9
|
+
<style type="text/css">
|
|
10
|
+
body {
|
|
11
|
+
<%= "background-image: url(#{image_path(Contour.body_background_image_select) rescue ''});" unless Contour.body_background_image_select.blank? %>
|
|
12
|
+
<%= "background-color: #{Contour.body_background_color_select};" unless Contour.body_background_color_select.blank? %>
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
a:link, a:visited, a:hover, a:active, a:focus, #header a:hover, #menu a:hover {
|
|
16
|
+
<%= "color: #{Contour.link_color_select};" unless Contour.link_color_select.blank? %>
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
9
19
|
</head>
|
|
10
20
|
<body>
|
|
11
21
|
<%= javascript_tag "var root_url='#{request.script_name + '/'}';var auth_token='#{form_authenticity_token}';" %>
|
data/lib/contour.rb
CHANGED
|
@@ -54,7 +54,53 @@ module Contour
|
|
|
54
54
|
mattr_accessor :news_feed_items
|
|
55
55
|
@@news_feed_items = 5
|
|
56
56
|
|
|
57
|
+
# A string or array of strings that represent a CSS color code for generic link color
|
|
58
|
+
mattr_accessor :link_color
|
|
59
|
+
@@link_color = nil
|
|
60
|
+
|
|
61
|
+
# A string or array of strings that represent a CSS color code for the body background
|
|
62
|
+
mattr_accessor :body_background_color
|
|
63
|
+
@@body_background_color = nil
|
|
64
|
+
|
|
65
|
+
# A string or array of strings that represent an image url for the body background image
|
|
66
|
+
mattr_accessor :body_background_image
|
|
67
|
+
@@body_background_image = nil
|
|
68
|
+
|
|
69
|
+
# A hash where the key is a string in "month-day" format where values are a hash of the link_color, body_background_color and/or body_background_image
|
|
70
|
+
# An example might be (April 1st), { "4-1" => { body_background_image: 'aprilfools.jpg' } }
|
|
71
|
+
# Note the lack of leading zeros!
|
|
72
|
+
# Special days take precendence over the rotating options given above
|
|
73
|
+
mattr_accessor :month_day
|
|
74
|
+
@@month_day = {}
|
|
75
|
+
|
|
57
76
|
def self.setup
|
|
58
77
|
yield self
|
|
59
78
|
end
|
|
79
|
+
|
|
80
|
+
def self.link_color_select
|
|
81
|
+
retrieve_option(:link_color) || mod_year(link_color)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def self.body_background_color_select
|
|
85
|
+
retrieve_option(:body_background_color) || mod_year(body_background_color)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def self.body_background_image_select()
|
|
89
|
+
retrieve_option(:body_background_image) || mod_year(body_background_image)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
def self.retrieve_option(option_name)
|
|
93
|
+
key = Date.today.month.to_s + "-" + Date.today.day.to_s
|
|
94
|
+
if month_day.kind_of?(Hash) and month_day[key] and not month_day[key][option_name.to_sym].blank?
|
|
95
|
+
month_day[key][option_name.to_sym]
|
|
96
|
+
else
|
|
97
|
+
nil
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Takes a string or array as input and returns element from location (YearDay % ArraySize)
|
|
102
|
+
def self.mod_year(element)
|
|
103
|
+
array = [element].flatten
|
|
104
|
+
array.size > 0 ? array[Date.today.yday % array.size] : nil
|
|
105
|
+
end
|
|
60
106
|
end
|
data/lib/contour/version.rb
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Use to configure basic appearance of template
|
|
2
2
|
Contour.setup do |config|
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
# Enter your application name here. The name will be displayed in the title of all pages, ex: AppName - PageTitle
|
|
5
5
|
# config.application_name = 'Application Name'
|
|
6
6
|
|
|
7
7
|
# If you want to style your name using html you can do so here, ex: <b>App</b>Name
|
|
8
8
|
# config.application_name_html = ''
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
# Enter your application version here. Do not include a trailing backslash. Recommend using a predefined constant
|
|
11
11
|
# config.application_version = ''
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
# Enter your application header background image here.
|
|
14
14
|
# config.header_background_image = 'rails.png'
|
|
15
15
|
|
|
16
16
|
# Enter your application header title image here.
|
|
17
17
|
# config.header_title_image = ''
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
# Enter the items you wish to see in the menu
|
|
20
|
-
# config.menu_items =
|
|
20
|
+
# config.menu_items =
|
|
21
21
|
# [
|
|
22
22
|
# {
|
|
23
23
|
# name: 'Login', display: 'not_signed_in', path: 'new_user_session_path', position: 'right', condition: 'true',
|
|
@@ -35,11 +35,27 @@ Contour.setup do |config|
|
|
|
35
35
|
# links: []
|
|
36
36
|
# }
|
|
37
37
|
# ]
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
# Enter an address of a valid RSS Feed if you would like to see news on the sign in page.
|
|
40
40
|
# config.news_feed = ''
|
|
41
|
-
|
|
41
|
+
|
|
42
42
|
# Enter the max number of items you want to see in the news feed.
|
|
43
43
|
# config.news_feed_items = 5
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
|
|
45
|
+
# The following three parameters can be set as strings, which will rotate through the colors on a daily basis, selecting an index using (YearDay % ArraySize)
|
|
46
|
+
|
|
47
|
+
# A string or array of strings that represent a CSS color code for generic link color
|
|
48
|
+
# config.link_color = nil
|
|
49
|
+
|
|
50
|
+
# A string or array of strings that represent a CSS color code for the body background color
|
|
51
|
+
# config.body_background_color = nil
|
|
52
|
+
|
|
53
|
+
# A string or array of strings that represent an image url for the body background image
|
|
54
|
+
# config.body_background_image = nil
|
|
55
|
+
|
|
56
|
+
# A hash where the key is a string in "month-day" format where values are a hash of the link_color, body_background_color and/or body_background_image
|
|
57
|
+
# An example might be (April 1st), { "4-1" => { body_background_image: 'aprilfools.jpg' } }
|
|
58
|
+
# Note the lack of leading zeros!
|
|
59
|
+
# Special days take precendence over the rotating options given above
|
|
60
|
+
# config.month_day = {}
|
|
61
|
+
end
|
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -26510,3 +26510,3890 @@ Completed 401 Unauthorized in 83ms
|
|
|
26510
26510
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26511
26511
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26512
26512
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
26513
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26514
|
+
[1m[35mFixture Delete (36.7ms)[0m DELETE FROM "authentications"
|
|
26515
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 14:50:29', '2012-02-14 14:50:29', 949717663, 201799169)[0m
|
|
26516
|
+
[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-02-14 14:50:29', '2012-02-14 14:50:29', 876923740, 201799169)
|
|
26517
|
+
[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-02-14 14:50:29', '2012-02-14 14:50:29', 864673665, 201799169)[0m
|
|
26518
|
+
[1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users"
|
|
26519
|
+
[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-02-14 14:50:30', '2012-02-14 14:50:30', 201799169)[0m
|
|
26520
|
+
[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-02-14 14:50:30', '2012-02-14 14:50:30', 999914115)
|
|
26521
|
+
[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-02-14 14:50:30', '2012-02-14 14:50:30', 725306934)[0m
|
|
26522
|
+
[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-02-14 14:50:30', '2012-02-14 14:50:30', 349534908)
|
|
26523
|
+
[1m[36m (45.6ms)[0m [1mcommit transaction[0m
|
|
26524
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26525
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
26526
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
26527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26528
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
26529
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
26530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26531
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26532
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
26533
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
26534
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
26535
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 14:50:29 UTC", "updated_at"=>"2012-02-14 14:50:29 UTC"}}
|
|
26536
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
26537
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
26538
|
+
Logged in user found, creating associated authentication.
|
|
26539
|
+
[1m[35m (16.7ms)[0m SAVEPOINT active_record_1
|
|
26540
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 14:50:30 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 14:50:30 UTC +00:00], ["user_id", 201799169]]
|
|
26541
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26542
|
+
Redirected to http://test.host/authentications
|
|
26543
|
+
Completed 302 Found in 271ms (ActiveRecord: 17.8ms)
|
|
26544
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
26545
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
26546
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26547
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26548
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
26549
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
26550
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
26551
|
+
Parameters: {"id"=>"949717663"}
|
|
26552
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
26553
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
26554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26555
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
26556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26557
|
+
Redirected to http://test.host/authentications
|
|
26558
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
26559
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
26560
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
26561
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
26562
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26563
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
26564
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
26565
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
26566
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
26567
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
26568
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms)
|
|
26569
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
|
|
26570
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms)
|
|
26571
|
+
Completed 200 OK in 209ms (Views: 207.2ms | ActiveRecord: 0.4ms)
|
|
26572
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
26573
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26574
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
26575
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
26576
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
26577
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DSkaQRYCsVczLG9yrQpv' LIMIT 1[0m
|
|
26578
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26579
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'DSkaQRYCsVczLG9yrQpv', "reset_password_sent_at" = '2012-02-14 14:50:30.861235', "updated_at" = '2012-02-14 14:50:30.862080' WHERE "users"."id" = 201799169[0m
|
|
26580
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26581
|
+
|
|
26582
|
+
Sent mail to valid@example.com (47ms)
|
|
26583
|
+
Date: Tue, 14 Feb 2012 09:50:31 -0500
|
|
26584
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
26585
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
26586
|
+
To: valid@example.com
|
|
26587
|
+
Message-ID: <4f3a74b7126f_6f1f3fc120434d44665d5@edge.mail>
|
|
26588
|
+
Subject: Reset password instructions
|
|
26589
|
+
Mime-Version: 1.0
|
|
26590
|
+
Content-Type: text/html;
|
|
26591
|
+
charset=UTF-8
|
|
26592
|
+
Content-Transfer-Encoding: 7bit
|
|
26593
|
+
|
|
26594
|
+
<p>Hello valid@example.com!</p>
|
|
26595
|
+
|
|
26596
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
26597
|
+
|
|
26598
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=DSkaQRYCsVczLG9yrQpv">Change my password</a></p>
|
|
26599
|
+
|
|
26600
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
26601
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
26602
|
+
|
|
26603
|
+
Redirected to http://test.host/users/login
|
|
26604
|
+
Completed 302 Found in 214ms (ActiveRecord: 0.0ms)
|
|
26605
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
26606
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
26607
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
26608
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
26609
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms)
|
|
26610
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.6ms)
|
|
26611
|
+
Completed 200 OK in 55ms (Views: 53.9ms | ActiveRecord: 0.0ms)
|
|
26612
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
26613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26614
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
26615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26616
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26617
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
26618
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
26619
|
+
|
|
26620
|
+
|
|
26621
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26622
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26623
|
+
Completed 401 Unauthorized in 1ms
|
|
26624
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26625
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
26626
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
26627
|
+
[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 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ySorqIoZg9M7iBI.C/eXV.dlhFgTB.esIrE.TQaamRDC1OH1ArU32"], ["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 Feb 2012 14:50:31 UTC +00:00]]
|
|
26628
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26629
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26630
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
26631
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26632
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26633
|
+
[1m[35m (12.9ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 14:50:31.295200' WHERE "users"."id" = 999914116
|
|
26634
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26635
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26636
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 14:50:31.309571' WHERE "users"."id" = 999914116[0m
|
|
26637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26638
|
+
|
|
26639
|
+
|
|
26640
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26641
|
+
Processing by Contour::SessionsController#create as HTML
|
|
26642
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
26643
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
26644
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26645
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26646
|
+
Completed 401 Unauthorized in 20ms
|
|
26647
|
+
|
|
26648
|
+
|
|
26649
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26650
|
+
Processing by Contour::SessionsController#new as HTML
|
|
26651
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
|
26652
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
|
26653
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
|
26654
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
26655
|
+
Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms)
|
|
26656
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
26657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26658
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26659
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
26660
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
26661
|
+
|
|
26662
|
+
|
|
26663
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26664
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26665
|
+
Completed 401 Unauthorized in 0ms
|
|
26666
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26667
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
26668
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
26669
|
+
[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 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ba/mxEWPN2q8Xr3nbVOpiea1YjdU7bPV/6urrKFBdACh2VODAmWia"], ["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 Feb 2012 14:50:31 UTC +00:00]]
|
|
26670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26671
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26672
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
26673
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26674
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26675
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 14:50:31.393182' WHERE "users"."id" = 999914116[0m
|
|
26676
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26677
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26679
|
+
|
|
26680
|
+
|
|
26681
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26682
|
+
Processing by Contour::SessionsController#create as HTML
|
|
26683
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
26684
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
26685
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26686
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 14:50:31.402094', "current_sign_in_at" = '2012-02-14 14:50:31.402094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 14:50:31.402505' WHERE "users"."id" = 999914116[0m
|
|
26687
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26688
|
+
Redirected to http://www.example.com/logged_in_page
|
|
26689
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
26690
|
+
|
|
26691
|
+
|
|
26692
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26693
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26694
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
26695
|
+
Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.1ms)
|
|
26696
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
26697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26698
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26699
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
26700
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
26701
|
+
|
|
26702
|
+
|
|
26703
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26704
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26705
|
+
Completed 401 Unauthorized in 0ms
|
|
26706
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26707
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
26708
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
26709
|
+
[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 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$plRQ6W9az6iI9Th9E6EEQuz9UBxm.JfHNQkU/90W1pmYYUjwgsy1S"], ["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 Feb 2012 14:50:31 UTC +00:00]]
|
|
26710
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26711
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26712
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
26713
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26714
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26715
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26717
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26718
|
+
|
|
26719
|
+
|
|
26720
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26721
|
+
Processing by Contour::SessionsController#create as HTML
|
|
26722
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
26723
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
26724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26726
|
+
Completed 401 Unauthorized in 4ms
|
|
26727
|
+
|
|
26728
|
+
|
|
26729
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26730
|
+
Processing by Contour::SessionsController#new as HTML
|
|
26731
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
26732
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
26733
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
|
26734
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
26735
|
+
Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms)
|
|
26736
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
|
26737
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26738
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26739
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
26740
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
26741
|
+
|
|
26742
|
+
|
|
26743
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26744
|
+
Processing by WelcomeController#index as HTML
|
|
26745
|
+
Completed 401 Unauthorized in 1ms
|
|
26746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
26747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26748
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26749
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
26750
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
26751
|
+
|
|
26752
|
+
|
|
26753
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26754
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
26755
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
26756
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26757
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 14:50:31.605983', "current_sign_in_at" = '2012-02-14 14:50:31.605983', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 14:50:31.606621' WHERE "users"."id" = 201799169[0m
|
|
26758
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26759
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
26760
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
26761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26763
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
26764
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
26765
|
+
|
|
26766
|
+
|
|
26767
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 09:50:31 -0500
|
|
26768
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
26769
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
26770
|
+
Completed 401 Unauthorized in 82ms
|
|
26771
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
26772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26773
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26774
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
26775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26776
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26777
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
26778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26779
|
+
[1m[35mFixture Delete (22.3ms)[0m DELETE FROM "authentications"
|
|
26780
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 949717663, 201799169)[0m
|
|
26781
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 876923740, 201799169)
|
|
26782
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 864673665, 201799169)[0m
|
|
26783
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users"
|
|
26784
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 201799169)[0m
|
|
26785
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 999914115)
|
|
26786
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 725306934)[0m
|
|
26787
|
+
[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-02-14 15:00:31', '2012-02-14 15:00:31', 349534908)
|
|
26788
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
|
26789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
26790
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
26791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
26792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26793
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
26794
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
26795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26796
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26797
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
26798
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
26799
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
26800
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:00:31 UTC", "updated_at"=>"2012-02-14 15:00:31 UTC"}}
|
|
26801
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
26802
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
26803
|
+
Logged in user found, creating associated authentication.
|
|
26804
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26805
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["user_id", 201799169]]
|
|
26806
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26807
|
+
Redirected to http://test.host/authentications
|
|
26808
|
+
Completed 302 Found in 160ms (ActiveRecord: 1.2ms)
|
|
26809
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
26810
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
26811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26812
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26813
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
26814
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
26815
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
26816
|
+
Parameters: {"id"=>"949717663"}
|
|
26817
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
26818
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
26819
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26820
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
26821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26822
|
+
Redirected to http://test.host/authentications
|
|
26823
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
26824
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
26825
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
26826
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
26827
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26828
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
26829
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
26830
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
26831
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
26832
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
26833
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
|
26834
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
|
|
26835
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.2ms)
|
|
26836
|
+
Completed 200 OK in 183ms (Views: 181.2ms | ActiveRecord: 0.4ms)
|
|
26837
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
26838
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26839
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
26840
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
26841
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
26842
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'p2LDmyYKyYcU3H94sK4M' LIMIT 1[0m
|
|
26843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26844
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'p2LDmyYKyYcU3H94sK4M', "reset_password_sent_at" = '2012-02-14 15:00:31.590810', "updated_at" = '2012-02-14 15:00:31.591549' WHERE "users"."id" = 201799169[0m
|
|
26845
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26846
|
+
|
|
26847
|
+
Sent mail to valid@example.com (46ms)
|
|
26848
|
+
Date: Tue, 14 Feb 2012 10:00:31 -0500
|
|
26849
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
26850
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
26851
|
+
To: valid@example.com
|
|
26852
|
+
Message-ID: <4f3a770fafa78_6fa53fd711034d3c862f2@edge.mail>
|
|
26853
|
+
Subject: Reset password instructions
|
|
26854
|
+
Mime-Version: 1.0
|
|
26855
|
+
Content-Type: text/html;
|
|
26856
|
+
charset=UTF-8
|
|
26857
|
+
Content-Transfer-Encoding: 7bit
|
|
26858
|
+
|
|
26859
|
+
<p>Hello valid@example.com!</p>
|
|
26860
|
+
|
|
26861
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
26862
|
+
|
|
26863
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=p2LDmyYKyYcU3H94sK4M">Change my password</a></p>
|
|
26864
|
+
|
|
26865
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
26866
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
26867
|
+
|
|
26868
|
+
Redirected to http://test.host/users/login
|
|
26869
|
+
Completed 302 Found in 206ms (ActiveRecord: 0.0ms)
|
|
26870
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
26871
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26872
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
26873
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
26874
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms)
|
|
26875
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.3ms)
|
|
26876
|
+
Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.0ms)
|
|
26877
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
26878
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
26879
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
26880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
26881
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
26882
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
26883
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
26884
|
+
|
|
26885
|
+
|
|
26886
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:31 -0500
|
|
26887
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26888
|
+
Completed 401 Unauthorized in 1ms
|
|
26889
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26890
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
26891
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
26892
|
+
[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 Feb 2012 15:00:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$tr2pFgKx.YaorAADuBYS6uPUIylNLu8QHgZ9Ft904pKb23ywp.LvW"], ["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 Feb 2012 15:00:31 UTC +00:00]]
|
|
26893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26894
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26895
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
26896
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26897
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26898
|
+
[1m[35m (13.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:00:31.980211' WHERE "users"."id" = 999914116
|
|
26899
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26901
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:00:31.994677' WHERE "users"."id" = 999914116[0m
|
|
26902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26903
|
+
|
|
26904
|
+
|
|
26905
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:31 -0500
|
|
26906
|
+
Processing by Contour::SessionsController#create as HTML
|
|
26907
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
26908
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
26909
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
26910
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26911
|
+
Completed 401 Unauthorized in 22ms
|
|
26912
|
+
|
|
26913
|
+
|
|
26914
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26915
|
+
Processing by Contour::SessionsController#new as HTML
|
|
26916
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
26917
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
26918
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
|
26919
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
26920
|
+
Completed 200 OK in 29ms (Views: 27.6ms | ActiveRecord: 0.0ms)
|
|
26921
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
26922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26923
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26924
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
26925
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
26926
|
+
|
|
26927
|
+
|
|
26928
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26929
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26930
|
+
Completed 401 Unauthorized in 0ms
|
|
26931
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26932
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
26933
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
26934
|
+
[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 Feb 2012 15:00:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$aUF2Ik.r4p5pgBSxsniroO5PD.WpGy347ySjQS0qOs5TRmOEuERWq"], ["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 Feb 2012 15:00:32 UTC +00:00]]
|
|
26935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26937
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
26938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26940
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:00:32.077058' WHERE "users"."id" = 999914116[0m
|
|
26941
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26942
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26944
|
+
|
|
26945
|
+
|
|
26946
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26947
|
+
Processing by Contour::SessionsController#create as HTML
|
|
26948
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
26949
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
26950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26951
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:00:32.086736', "current_sign_in_at" = '2012-02-14 15:00:32.086736', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:00:32.087185' WHERE "users"."id" = 999914116[0m
|
|
26952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26953
|
+
Redirected to http://www.example.com/logged_in_page
|
|
26954
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
26955
|
+
|
|
26956
|
+
|
|
26957
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26958
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26959
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
26960
|
+
Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.1ms)
|
|
26961
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
26962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26963
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
26964
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
26965
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
26966
|
+
|
|
26967
|
+
|
|
26968
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26969
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
26970
|
+
Completed 401 Unauthorized in 0ms
|
|
26971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26972
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
26973
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
26974
|
+
[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 Feb 2012 15:00:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lUoxI2O1ENgJpalBm55GweY2xtS6RKTgDn6kuGP5iTS.iIkejoDs6"], ["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 Feb 2012 15:00:32 UTC +00:00]]
|
|
26975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26977
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
26978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26980
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26981
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26982
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
26983
|
+
|
|
26984
|
+
|
|
26985
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26986
|
+
Processing by Contour::SessionsController#create as HTML
|
|
26987
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
26988
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
26989
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
26990
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
26991
|
+
Completed 401 Unauthorized in 4ms
|
|
26992
|
+
|
|
26993
|
+
|
|
26994
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
26995
|
+
Processing by Contour::SessionsController#new as HTML
|
|
26996
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
26997
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
26998
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
|
26999
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
27000
|
+
Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)
|
|
27001
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
|
27002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27003
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27004
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27005
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27006
|
+
|
|
27007
|
+
|
|
27008
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
27009
|
+
Processing by WelcomeController#index as HTML
|
|
27010
|
+
Completed 401 Unauthorized in 0ms
|
|
27011
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27012
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
27013
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27014
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27015
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27016
|
+
|
|
27017
|
+
|
|
27018
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
27019
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27020
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
27021
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27022
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:00:32.274669', "current_sign_in_at" = '2012-02-14 15:00:32.274669', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:00:32.275289' WHERE "users"."id" = 201799169[0m
|
|
27023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27024
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
27025
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
27026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27027
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27028
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27029
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27030
|
+
|
|
27031
|
+
|
|
27032
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:00:32 -0500
|
|
27033
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27034
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27035
|
+
Completed 401 Unauthorized in 78ms
|
|
27036
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27037
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27038
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27039
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
27041
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27042
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
27043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27044
|
+
[1m[35mFixture Delete (22.3ms)[0m DELETE FROM "authentications"
|
|
27045
|
+
[1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 949717663, 201799169)[0m
|
|
27046
|
+
[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-02-14 15:25:37', '2012-02-14 15:25:37', 876923740, 201799169)
|
|
27047
|
+
[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-02-14 15:25:37', '2012-02-14 15:25:37', 864673665, 201799169)[0m
|
|
27048
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users"
|
|
27049
|
+
[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-02-14 15:25:37', '2012-02-14 15:25:37', 201799169)[0m
|
|
27050
|
+
[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-02-14 15:25:37', '2012-02-14 15:25:37', 999914115)
|
|
27051
|
+
[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-02-14 15:25:37', '2012-02-14 15:25:37', 725306934)[0m
|
|
27052
|
+
[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-02-14 15:25:37', '2012-02-14 15:25:37', 349534908)
|
|
27053
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
|
27054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27055
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
27056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
27058
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27059
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
27060
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27061
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27062
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27063
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27064
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
27065
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:25:37 UTC", "updated_at"=>"2012-02-14 15:25:37 UTC"}}
|
|
27066
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
27067
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27068
|
+
Logged in user found, creating associated authentication.
|
|
27069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27070
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:25:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:25:38 UTC +00:00], ["user_id", 201799169]]
|
|
27071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27072
|
+
Redirected to http://test.host/authentications
|
|
27073
|
+
Completed 302 Found in 749ms (ActiveRecord: 1.0ms)
|
|
27074
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27075
|
+
[1m[35m (2.8ms)[0m rollback transaction
|
|
27076
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27077
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27078
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
27079
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27080
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
27081
|
+
Parameters: {"id"=>"949717663"}
|
|
27082
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27083
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
27084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27085
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
27086
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27087
|
+
Redirected to http://test.host/authentications
|
|
27088
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
27089
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27090
|
+
[1m[36m (3.3ms)[0m [1mrollback transaction[0m
|
|
27091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27092
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27093
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27094
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
27095
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27096
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
27097
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
27098
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.5ms)
|
|
27099
|
+
Completed 500 Internal Server Error in 267ms
|
|
27100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27102
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
27103
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
27104
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27105
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dputJKeWcaBGRxzYoHND' LIMIT 1[0m
|
|
27106
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27107
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'dputJKeWcaBGRxzYoHND', "reset_password_sent_at" = '2012-02-14 15:25:38.894132', "updated_at" = '2012-02-14 15:25:38.894917' WHERE "users"."id" = 201799169[0m
|
|
27108
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27109
|
+
|
|
27110
|
+
Sent mail to valid@example.com (42ms)
|
|
27111
|
+
Date: Tue, 14 Feb 2012 10:25:39 -0500
|
|
27112
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
27113
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
27114
|
+
To: valid@example.com
|
|
27115
|
+
Message-ID: <4f3a7cf368c21_72bb3fd860834d34869c1@edge.mail>
|
|
27116
|
+
Subject: Reset password instructions
|
|
27117
|
+
Mime-Version: 1.0
|
|
27118
|
+
Content-Type: text/html;
|
|
27119
|
+
charset=UTF-8
|
|
27120
|
+
Content-Transfer-Encoding: 7bit
|
|
27121
|
+
|
|
27122
|
+
<p>Hello valid@example.com!</p>
|
|
27123
|
+
|
|
27124
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
27125
|
+
|
|
27126
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=dputJKeWcaBGRxzYoHND">Change my password</a></p>
|
|
27127
|
+
|
|
27128
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
27129
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
27130
|
+
|
|
27131
|
+
Redirected to http://test.host/users/login
|
|
27132
|
+
Completed 302 Found in 619ms (ActiveRecord: 0.0ms)
|
|
27133
|
+
[1m[36m (2.5ms)[0m [1mrollback transaction[0m
|
|
27134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27135
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
27136
|
+
Completed 500 Internal Server Error in 53ms
|
|
27137
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27138
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
27140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27141
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27142
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27143
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27144
|
+
|
|
27145
|
+
|
|
27146
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
|
|
27147
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27148
|
+
Completed 401 Unauthorized in 1ms
|
|
27149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27150
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27151
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27152
|
+
[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 Feb 2012 15:25: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$KvraA6yg3Z9Glp7nzkoEruQNosrzsjT0Gr1S5FVeK1TWLqrFH/432"], ["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 Feb 2012 15:25:39 UTC +00:00]]
|
|
27153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27155
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
27156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27158
|
+
[1m[35m (43.5ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:25:39.729951' WHERE "users"."id" = 999914116
|
|
27159
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27161
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:25:39.774858' WHERE "users"."id" = 999914116[0m
|
|
27162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27163
|
+
|
|
27164
|
+
|
|
27165
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
|
|
27166
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27167
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
27168
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27170
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27171
|
+
Completed 401 Unauthorized in 23ms
|
|
27172
|
+
|
|
27173
|
+
|
|
27174
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
|
|
27175
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27176
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
27177
|
+
Completed 500 Internal Server Error in 37ms
|
|
27178
|
+
[1m[35m (39.1ms)[0m rollback transaction
|
|
27179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27180
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27181
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27182
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27183
|
+
|
|
27184
|
+
|
|
27185
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
|
|
27186
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27187
|
+
Completed 401 Unauthorized in 0ms
|
|
27188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27189
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
27190
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27191
|
+
[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 Feb 2012 15:25: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$NGZrWunKlzIoW9mwEVyRLOxcFYOF4BUF8LWVNKgzAINyOnEIsvr/W"], ["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 Feb 2012 15:25:39 UTC +00:00]]
|
|
27192
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27193
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27194
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27195
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27196
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27197
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:25:39.909454' WHERE "users"."id" = 999914116[0m
|
|
27198
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27199
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27200
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27201
|
+
|
|
27202
|
+
|
|
27203
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
|
|
27204
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27205
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
27206
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
27207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27208
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:25:39.917787', "current_sign_in_at" = '2012-02-14 15:25:39.917787', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:25:39.918199' WHERE "users"."id" = 999914116[0m
|
|
27209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27210
|
+
Redirected to http://www.example.com/logged_in_page
|
|
27211
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
27212
|
+
|
|
27213
|
+
|
|
27214
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500
|
|
27215
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27216
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
27217
|
+
Completed 200 OK in 32ms (Views: 30.4ms | ActiveRecord: 0.1ms)
|
|
27218
|
+
[1m[35m (73.3ms)[0m rollback transaction
|
|
27219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27220
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27221
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27222
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27223
|
+
|
|
27224
|
+
|
|
27225
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
|
|
27226
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27227
|
+
Completed 401 Unauthorized in 0ms
|
|
27228
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27229
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
27230
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27231
|
+
[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 Feb 2012 15:25:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qGkMvLybKl7VjqNfgulMV.pRmDdoEjUVtMHSpqZkxoWTdQxoewTcG"], ["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 Feb 2012 15:25:40 UTC +00:00]]
|
|
27232
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27233
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27234
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27237
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27240
|
+
|
|
27241
|
+
|
|
27242
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
|
|
27243
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27244
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
27245
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
27246
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27248
|
+
Completed 401 Unauthorized in 4ms
|
|
27249
|
+
|
|
27250
|
+
|
|
27251
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
|
|
27252
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27253
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
27254
|
+
Completed 500 Internal Server Error in 10ms
|
|
27255
|
+
[1m[36m (184.9ms)[0m [1mrollback transaction[0m
|
|
27256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27257
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27258
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27259
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27260
|
+
|
|
27261
|
+
|
|
27262
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
|
|
27263
|
+
Processing by WelcomeController#index as HTML
|
|
27264
|
+
Completed 401 Unauthorized in 1ms
|
|
27265
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27267
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27268
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27269
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27270
|
+
|
|
27271
|
+
|
|
27272
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
|
|
27273
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27274
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
27275
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27276
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:25:40.360922', "current_sign_in_at" = '2012-02-14 15:25:40.360922', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:25:40.361576' WHERE "users"."id" = 201799169[0m
|
|
27277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27278
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
27279
|
+
[1m[36m (2.9ms)[0m [1mrollback transaction[0m
|
|
27280
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27281
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27282
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27283
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27284
|
+
|
|
27285
|
+
|
|
27286
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:25:40 -0500
|
|
27287
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27288
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27289
|
+
Completed 401 Unauthorized in 79ms
|
|
27290
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27291
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27292
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27293
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
27295
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27296
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
27297
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27298
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications"
|
|
27299
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 949717663, 201799169)[0m
|
|
27300
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 876923740, 201799169)
|
|
27301
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 864673665, 201799169)[0m
|
|
27302
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
27303
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 201799169)[0m
|
|
27304
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 999914115)
|
|
27305
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 725306934)[0m
|
|
27306
|
+
[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-02-14 15:27:23', '2012-02-14 15:27:23', 349534908)
|
|
27307
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
|
27308
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27309
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
27310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27312
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27313
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27315
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27316
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27317
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27318
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
27319
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:27:23 UTC", "updated_at"=>"2012-02-14 15:27:23 UTC"}}
|
|
27320
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
27321
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27322
|
+
Logged in user found, creating associated authentication.
|
|
27323
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27324
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:27:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:27:23 UTC +00:00], ["user_id", 201799169]]
|
|
27325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27326
|
+
Redirected to http://test.host/authentications
|
|
27327
|
+
Completed 302 Found in 213ms (ActiveRecord: 0.9ms)
|
|
27328
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27329
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
27330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27331
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27332
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
27333
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27334
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
27335
|
+
Parameters: {"id"=>"949717663"}
|
|
27336
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27337
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
27338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27339
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
27340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27341
|
+
Redirected to http://test.host/authentications
|
|
27342
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
27343
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27344
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
27345
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27346
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27347
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27348
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
27349
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27350
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
27351
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
27352
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (27.4ms)
|
|
27353
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms)
|
|
27354
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
|
27355
|
+
Completed 200 OK in 252ms (Views: 249.5ms | ActiveRecord: 0.5ms)
|
|
27356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27358
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
27359
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
27360
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27361
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1qAytVDxa7zzqwh9WrBR' LIMIT 1[0m
|
|
27362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27363
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '1qAytVDxa7zzqwh9WrBR', "reset_password_sent_at" = '2012-02-14 15:27:23.738008', "updated_at" = '2012-02-14 15:27:23.738808' WHERE "users"."id" = 201799169[0m
|
|
27364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27365
|
+
|
|
27366
|
+
Sent mail to valid@example.com (19ms)
|
|
27367
|
+
Date: Tue, 14 Feb 2012 10:27:23 -0500
|
|
27368
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
27369
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
27370
|
+
To: valid@example.com
|
|
27371
|
+
Message-ID: <4f3a7d5bd06c1_72d43fefd8834d402374a@edge.mail>
|
|
27372
|
+
Subject: Reset password instructions
|
|
27373
|
+
Mime-Version: 1.0
|
|
27374
|
+
Content-Type: text/html;
|
|
27375
|
+
charset=UTF-8
|
|
27376
|
+
Content-Transfer-Encoding: 7bit
|
|
27377
|
+
|
|
27378
|
+
<p>Hello valid@example.com!</p>
|
|
27379
|
+
|
|
27380
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
27381
|
+
|
|
27382
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=1qAytVDxa7zzqwh9WrBR">Change my password</a></p>
|
|
27383
|
+
|
|
27384
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
27385
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
27386
|
+
|
|
27387
|
+
Redirected to http://test.host/users/login
|
|
27388
|
+
Completed 302 Found in 168ms (ActiveRecord: 0.0ms)
|
|
27389
|
+
[1m[36m (17.7ms)[0m [1mrollback transaction[0m
|
|
27390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27391
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
27392
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
27393
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
|
|
27394
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.9ms)
|
|
27395
|
+
Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)
|
|
27396
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27397
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27398
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27399
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27400
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27401
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27402
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27403
|
+
|
|
27404
|
+
|
|
27405
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:23 -0500
|
|
27406
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27407
|
+
Completed 401 Unauthorized in 1ms
|
|
27408
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27409
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27410
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27411
|
+
[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 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$arlQqAm1C2iMSRsH2iswQuyblvGikMKZLFol6f/7t6eubf2Gfe51q"], ["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 Feb 2012 15:27:24 UTC +00:00]]
|
|
27412
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27414
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
27415
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27416
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27417
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:27:24.127215' WHERE "users"."id" = 999914116
|
|
27418
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27419
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27420
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:27:24.128542' WHERE "users"."id" = 999914116[0m
|
|
27421
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27422
|
+
|
|
27423
|
+
|
|
27424
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27425
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27426
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
27427
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27430
|
+
Completed 401 Unauthorized in 29ms
|
|
27431
|
+
|
|
27432
|
+
|
|
27433
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27434
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27435
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
|
27436
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
|
27437
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
|
|
27438
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
|
|
27439
|
+
Completed 200 OK in 30ms (Views: 29.2ms | ActiveRecord: 0.0ms)
|
|
27440
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
27441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27442
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27443
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27444
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27445
|
+
|
|
27446
|
+
|
|
27447
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27448
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27449
|
+
Completed 401 Unauthorized in 0ms
|
|
27450
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27451
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
27452
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27453
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BVIab1O47jP/11cc0yTxWOP1TXVnbVCGg7D84cpWK.YBMXDxufuWu"], ["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 Feb 2012 15:27:24 UTC +00:00]]
|
|
27454
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27455
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27456
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27457
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27458
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27459
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:27:24.240647' WHERE "users"."id" = 999914116[0m
|
|
27460
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27462
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27463
|
+
|
|
27464
|
+
|
|
27465
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27466
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27467
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
27468
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
27469
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27470
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:27:24.250970', "current_sign_in_at" = '2012-02-14 15:27:24.250970', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:27:24.251590' WHERE "users"."id" = 999914116[0m
|
|
27471
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27472
|
+
Redirected to http://www.example.com/logged_in_page
|
|
27473
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
27474
|
+
|
|
27475
|
+
|
|
27476
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27477
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27478
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
27479
|
+
Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.1ms)
|
|
27480
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
27481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27482
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27483
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27484
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27485
|
+
|
|
27486
|
+
|
|
27487
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27488
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27489
|
+
Completed 401 Unauthorized in 0ms
|
|
27490
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27491
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
27492
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27493
|
+
[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 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$BqS1JkBNrUOU391678y1aO30jSW4kjCkGEZ7B8skzJi9DcWGQ/nGu"], ["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 Feb 2012 15:27:24 UTC +00:00]]
|
|
27494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27495
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27496
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27500
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27501
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27502
|
+
|
|
27503
|
+
|
|
27504
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27505
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27506
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
27507
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
27508
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27510
|
+
Completed 401 Unauthorized in 39ms
|
|
27511
|
+
|
|
27512
|
+
|
|
27513
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27514
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27515
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
27516
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
27517
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
|
27518
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
27519
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
|
27520
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
27521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27522
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27523
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27524
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27525
|
+
|
|
27526
|
+
|
|
27527
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27528
|
+
Processing by WelcomeController#index as HTML
|
|
27529
|
+
Completed 401 Unauthorized in 1ms
|
|
27530
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27532
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27533
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27534
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27535
|
+
|
|
27536
|
+
|
|
27537
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27538
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27539
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
27540
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27541
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:27:24.459307', "current_sign_in_at" = '2012-02-14 15:27:24.459307', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:27:24.459978' WHERE "users"."id" = 201799169[0m
|
|
27542
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27543
|
+
Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
27544
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
27545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27546
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27547
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27548
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27549
|
+
|
|
27550
|
+
|
|
27551
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:27:24 -0500
|
|
27552
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27553
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27554
|
+
Completed 401 Unauthorized in 83ms
|
|
27555
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27556
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27557
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27558
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27559
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27560
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27561
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
27562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27563
|
+
[1m[35mFixture Delete (22.0ms)[0m DELETE FROM "authentications"
|
|
27564
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 949717663, 201799169)[0m
|
|
27565
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 876923740, 201799169)
|
|
27566
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 864673665, 201799169)[0m
|
|
27567
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users"
|
|
27568
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 201799169)[0m
|
|
27569
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 999914115)
|
|
27570
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 725306934)[0m
|
|
27571
|
+
[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-02-14 16:14:41', '2012-02-14 16:14:41', 349534908)
|
|
27572
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
|
27573
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27574
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
27575
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
27577
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27578
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27580
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27581
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27582
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27583
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
27584
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:14:41 UTC", "updated_at"=>"2012-02-14 16:14:41 UTC"}}
|
|
27585
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
27586
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27587
|
+
Logged in user found, creating associated authentication.
|
|
27588
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27589
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:14:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:14:41 UTC +00:00], ["user_id", 201799169]]
|
|
27590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27591
|
+
Redirected to http://test.host/authentications
|
|
27592
|
+
Completed 302 Found in 194ms (ActiveRecord: 1.2ms)
|
|
27593
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27594
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
27595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27596
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27597
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
27598
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27599
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
27600
|
+
Parameters: {"id"=>"949717663"}
|
|
27601
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27602
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
27603
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27604
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
27605
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27606
|
+
Redirected to http://test.host/authentications
|
|
27607
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
|
27608
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27609
|
+
[1m[36m (123.5ms)[0m [1mrollback transaction[0m
|
|
27610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27611
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27612
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27613
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
27614
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27615
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
27616
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
27617
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (38.0ms)
|
|
27618
|
+
Completed 500 Internal Server Error in 189ms
|
|
27619
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27621
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
27622
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
27623
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27624
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Q72LdC1gVTysJCstqUFZ' LIMIT 1[0m
|
|
27625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27626
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'Q72LdC1gVTysJCstqUFZ', "reset_password_sent_at" = '2012-02-14 16:14:41.811754', "updated_at" = '2012-02-14 16:14:41.812619' WHERE "users"."id" = 201799169[0m
|
|
27627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27628
|
+
|
|
27629
|
+
Sent mail to valid@example.com (36ms)
|
|
27630
|
+
Date: Tue, 14 Feb 2012 11:14:41 -0500
|
|
27631
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
27632
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
27633
|
+
To: valid@example.com
|
|
27634
|
+
Message-ID: <4f3a8871f2cdf_75a23fdac1834d4486738@edge.mail>
|
|
27635
|
+
Subject: Reset password instructions
|
|
27636
|
+
Mime-Version: 1.0
|
|
27637
|
+
Content-Type: text/html;
|
|
27638
|
+
charset=UTF-8
|
|
27639
|
+
Content-Transfer-Encoding: 7bit
|
|
27640
|
+
|
|
27641
|
+
<p>Hello valid@example.com!</p>
|
|
27642
|
+
|
|
27643
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
27644
|
+
|
|
27645
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=Q72LdC1gVTysJCstqUFZ">Change my password</a></p>
|
|
27646
|
+
|
|
27647
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
27648
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
27649
|
+
|
|
27650
|
+
Redirected to http://test.host/users/login
|
|
27651
|
+
Completed 302 Found in 231ms (ActiveRecord: 0.0ms)
|
|
27652
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
27653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27654
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
27655
|
+
Completed 500 Internal Server Error in 40ms
|
|
27656
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27658
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27659
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27660
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27661
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27662
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27663
|
+
|
|
27664
|
+
|
|
27665
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27666
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27667
|
+
Completed 401 Unauthorized in 1ms
|
|
27668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27669
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27670
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27671
|
+
[1m[35mSQL (1.1ms)[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 Feb 2012 16:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$6K1RIMsroi8HvQ/R3FhUDO78naYub6dczOL8xtaalLnCv7CNTiWuq"], ["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 Feb 2012 16:14:42 UTC +00:00]]
|
|
27672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27674
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
27675
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27677
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:14:42.293814' WHERE "users"."id" = 999914116
|
|
27678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27679
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27680
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:14:42.295205' WHERE "users"."id" = 999914116[0m
|
|
27681
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27682
|
+
|
|
27683
|
+
|
|
27684
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27685
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27686
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
27687
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27690
|
+
Completed 401 Unauthorized in 32ms
|
|
27691
|
+
|
|
27692
|
+
|
|
27693
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27694
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27695
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
|
27696
|
+
Completed 500 Internal Server Error in 174ms
|
|
27697
|
+
[1m[35m (123.5ms)[0m rollback transaction
|
|
27698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27699
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27700
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27701
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27702
|
+
|
|
27703
|
+
|
|
27704
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27705
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27706
|
+
Completed 401 Unauthorized in 0ms
|
|
27707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27708
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
27709
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27710
|
+
[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 Feb 2012 16:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7xbolghHsyLSjL/hopSptuH35Ia5BOA3AtMh3yE976AD4PIYuyH.e"], ["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 Feb 2012 16:14:42 UTC +00:00]]
|
|
27711
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27713
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27714
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27716
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:14:42.715433' WHERE "users"."id" = 999914116[0m
|
|
27717
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27718
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27719
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27720
|
+
|
|
27721
|
+
|
|
27722
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27723
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27724
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
27725
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
27726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27727
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:14:42.724769', "current_sign_in_at" = '2012-02-14 16:14:42.724769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:14:42.725232' WHERE "users"."id" = 999914116[0m
|
|
27728
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27729
|
+
Redirected to http://www.example.com/logged_in_page
|
|
27730
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
27731
|
+
|
|
27732
|
+
|
|
27733
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27734
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27735
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
27736
|
+
Completed 200 OK in 117ms (Views: 115.5ms | ActiveRecord: 0.1ms)
|
|
27737
|
+
[1m[35m (91.9ms)[0m rollback transaction
|
|
27738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27739
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27740
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27741
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27742
|
+
|
|
27743
|
+
|
|
27744
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500
|
|
27745
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27746
|
+
Completed 401 Unauthorized in 0ms
|
|
27747
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27748
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
27749
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27750
|
+
[1m[36mSQL (7.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 Feb 2012 16:14:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$1tjEtUTWvfDA2tFc4SE9ruKD4zqvUsekOmeDfRc0RgU54lcmQu5EG"], ["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 Feb 2012 16:14:43 UTC +00:00]]
|
|
27751
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27752
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27753
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27754
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27755
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27759
|
+
|
|
27760
|
+
|
|
27761
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
|
|
27762
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27763
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
27764
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
27765
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27767
|
+
Completed 401 Unauthorized in 5ms
|
|
27768
|
+
|
|
27769
|
+
|
|
27770
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
|
|
27771
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27772
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
27773
|
+
Completed 500 Internal Server Error in 111ms
|
|
27774
|
+
[1m[36m (174.4ms)[0m [1mrollback transaction[0m
|
|
27775
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27776
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27777
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27778
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27779
|
+
|
|
27780
|
+
|
|
27781
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
|
|
27782
|
+
Processing by WelcomeController#index as HTML
|
|
27783
|
+
Completed 401 Unauthorized in 1ms
|
|
27784
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27786
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27787
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27788
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27789
|
+
|
|
27790
|
+
|
|
27791
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
|
|
27792
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27793
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
27794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27795
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:14:43.473468', "current_sign_in_at" = '2012-02-14 16:14:43.473468', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:14:43.474124' WHERE "users"."id" = 201799169[0m
|
|
27796
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27797
|
+
Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
27798
|
+
[1m[36m (472.2ms)[0m [1mrollback transaction[0m
|
|
27799
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27800
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27801
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27802
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27803
|
+
|
|
27804
|
+
|
|
27805
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:14:43 -0500
|
|
27806
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
27807
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27808
|
+
Completed 401 Unauthorized in 85ms
|
|
27809
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
27811
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27812
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27813
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
27814
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27815
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27817
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
27818
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 949717663, 201799169)[0m
|
|
27819
|
+
[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-02-14 16:16:32', '2012-02-14 16:16:32', 876923740, 201799169)
|
|
27820
|
+
[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-02-14 16:16:32', '2012-02-14 16:16:32', 864673665, 201799169)[0m
|
|
27821
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
27822
|
+
[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-02-14 16:16:32', '2012-02-14 16:16:32', 201799169)[0m
|
|
27823
|
+
[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-02-14 16:16:32', '2012-02-14 16:16:32', 999914115)
|
|
27824
|
+
[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-02-14 16:16:32', '2012-02-14 16:16:32', 725306934)[0m
|
|
27825
|
+
[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-02-14 16:16:32', '2012-02-14 16:16:32', 349534908)
|
|
27826
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
|
27827
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27828
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
27829
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27830
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27831
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27832
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27833
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27834
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27835
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27836
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27837
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
27838
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:16:32 UTC", "updated_at"=>"2012-02-14 16:16:32 UTC"}}
|
|
27839
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
27840
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27841
|
+
Logged in user found, creating associated authentication.
|
|
27842
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27843
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:16:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:16:32 UTC +00:00], ["user_id", 201799169]]
|
|
27844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27845
|
+
Redirected to http://test.host/authentications
|
|
27846
|
+
Completed 302 Found in 237ms (ActiveRecord: 1.0ms)
|
|
27847
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
27848
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
27849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27850
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27851
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
27852
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27853
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
27854
|
+
Parameters: {"id"=>"949717663"}
|
|
27855
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27856
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
27857
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27858
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
27859
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27860
|
+
Redirected to http://test.host/authentications
|
|
27861
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
|
27862
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
27863
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
27864
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27865
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27866
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
27867
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
27868
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
27869
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
27870
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
27871
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (42.1ms)
|
|
27872
|
+
Completed 500 Internal Server Error in 218ms
|
|
27873
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27875
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
27876
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
27877
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
27878
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '29qBRzbZnvGszczCAYj8' LIMIT 1[0m
|
|
27879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27880
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '29qBRzbZnvGszczCAYj8', "reset_password_sent_at" = '2012-02-14 16:16:33.167291', "updated_at" = '2012-02-14 16:16:33.168110' WHERE "users"."id" = 201799169[0m
|
|
27881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27882
|
+
|
|
27883
|
+
Sent mail to valid@example.com (35ms)
|
|
27884
|
+
Date: Tue, 14 Feb 2012 11:16:33 -0500
|
|
27885
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
27886
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
27887
|
+
To: valid@example.com
|
|
27888
|
+
Message-ID: <4f3a88e151db8_75c13ffe38834d401749c@edge.mail>
|
|
27889
|
+
Subject: Reset password instructions
|
|
27890
|
+
Mime-Version: 1.0
|
|
27891
|
+
Content-Type: text/html;
|
|
27892
|
+
charset=UTF-8
|
|
27893
|
+
Content-Transfer-Encoding: 7bit
|
|
27894
|
+
|
|
27895
|
+
<p>Hello valid@example.com!</p>
|
|
27896
|
+
|
|
27897
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
27898
|
+
|
|
27899
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=29qBRzbZnvGszczCAYj8">Change my password</a></p>
|
|
27900
|
+
|
|
27901
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
27902
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
27903
|
+
|
|
27904
|
+
Redirected to http://test.host/users/login
|
|
27905
|
+
Completed 302 Found in 218ms (ActiveRecord: 0.0ms)
|
|
27906
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
|
27907
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27908
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
27909
|
+
Completed 500 Internal Server Error in 31ms
|
|
27910
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
27911
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27912
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
27913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
27914
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
27915
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
27916
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
27917
|
+
|
|
27918
|
+
|
|
27919
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27920
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27921
|
+
Completed 401 Unauthorized in 1ms
|
|
27922
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27923
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27924
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27925
|
+
[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 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qsfn1/phWlclTQqO6evMguzjY1NNUT0UJB9k/eEm48Yq5xg1lVpP6"], ["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 Feb 2012 16:16:33 UTC +00:00]]
|
|
27926
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27927
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27928
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
27929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27930
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27931
|
+
[1m[35m (33.9ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:16:33.600620' WHERE "users"."id" = 999914116
|
|
27932
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27934
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:16:33.635981' WHERE "users"."id" = 999914116[0m
|
|
27935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27936
|
+
|
|
27937
|
+
|
|
27938
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27939
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27940
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
27941
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
27942
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27944
|
+
Completed 401 Unauthorized in 22ms
|
|
27945
|
+
|
|
27946
|
+
|
|
27947
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27948
|
+
Processing by Contour::SessionsController#new as HTML
|
|
27949
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
|
27950
|
+
Completed 500 Internal Server Error in 28ms
|
|
27951
|
+
[1m[35m (14.0ms)[0m rollback transaction
|
|
27952
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27953
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27954
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27955
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27956
|
+
|
|
27957
|
+
|
|
27958
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27959
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27960
|
+
Completed 401 Unauthorized in 0ms
|
|
27961
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27962
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
27963
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
27964
|
+
[1m[36mSQL (0.8ms)[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 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$uWkRYrVKTJO24.OjKaL0D.ppigc.FsvhMIM7DKQit.Npi5ypv8e8q"], ["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 Feb 2012 16:16:33 UTC +00:00]]
|
|
27965
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27966
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27967
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
27968
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
27969
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27970
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:16:33.742069' WHERE "users"."id" = 999914116[0m
|
|
27971
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
27973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27974
|
+
|
|
27975
|
+
|
|
27976
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27977
|
+
Processing by Contour::SessionsController#create as HTML
|
|
27978
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
27979
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
27980
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
27981
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:16:33.752196', "current_sign_in_at" = '2012-02-14 16:16:33.752196', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:16:33.752939' WHERE "users"."id" = 999914116[0m
|
|
27982
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
27983
|
+
Redirected to http://www.example.com/logged_in_page
|
|
27984
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
|
27985
|
+
|
|
27986
|
+
|
|
27987
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27988
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
27989
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
27990
|
+
Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.1ms)
|
|
27991
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
27992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
27993
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
27994
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
27995
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
27996
|
+
|
|
27997
|
+
|
|
27998
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
27999
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28000
|
+
Completed 401 Unauthorized in 0ms
|
|
28001
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28002
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28003
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28004
|
+
[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 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$uSGUAE43TQh5jyvBPWURrO6i9r0GUh/6XM78.M5a/FAvp7wrMS0Ly"], ["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 Feb 2012 16:16:33 UTC +00:00]]
|
|
28005
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28006
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28007
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28008
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28010
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28012
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28013
|
+
|
|
28014
|
+
|
|
28015
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
28016
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28017
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
28018
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28019
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28020
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28021
|
+
Completed 401 Unauthorized in 5ms
|
|
28022
|
+
|
|
28023
|
+
|
|
28024
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
28025
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28026
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
28027
|
+
Completed 500 Internal Server Error in 10ms
|
|
28028
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
28029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28030
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28031
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28032
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28033
|
+
|
|
28034
|
+
|
|
28035
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
28036
|
+
Processing by WelcomeController#index as HTML
|
|
28037
|
+
Completed 401 Unauthorized in 1ms
|
|
28038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28040
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28041
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28042
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28043
|
+
|
|
28044
|
+
|
|
28045
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
28046
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28047
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
28048
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28049
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:16:33.935924', "current_sign_in_at" = '2012-02-14 16:16:33.935924', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:16:33.936818' WHERE "users"."id" = 201799169[0m
|
|
28050
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28051
|
+
Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
|
28052
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
28053
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28054
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28055
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28056
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28057
|
+
|
|
28058
|
+
|
|
28059
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:16:33 -0500
|
|
28060
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28061
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28062
|
+
Completed 401 Unauthorized in 85ms
|
|
28063
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28065
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28068
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28069
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28070
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28071
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
28072
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 949717663, 201799169)[0m
|
|
28073
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 876923740, 201799169)
|
|
28074
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 864673665, 201799169)[0m
|
|
28075
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
28076
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 201799169)[0m
|
|
28077
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 999914115)
|
|
28078
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 725306934)[0m
|
|
28079
|
+
[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-02-14 16:18:50', '2012-02-14 16:18:50', 349534908)
|
|
28080
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
|
28081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28082
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
28083
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28085
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28086
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28087
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28088
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28089
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28090
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28091
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
28092
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:18:50 UTC", "updated_at"=>"2012-02-14 16:18:50 UTC"}}
|
|
28093
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
28094
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28095
|
+
Logged in user found, creating associated authentication.
|
|
28096
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28097
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:18:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:18:50 UTC +00:00], ["user_id", 201799169]]
|
|
28098
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28099
|
+
Redirected to http://test.host/authentications
|
|
28100
|
+
Completed 302 Found in 47ms (ActiveRecord: 0.8ms)
|
|
28101
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28102
|
+
[1m[35m (8.1ms)[0m rollback transaction
|
|
28103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28104
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28105
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
28106
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28107
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
28108
|
+
Parameters: {"id"=>"949717663"}
|
|
28109
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28110
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
28111
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28112
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
28113
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28114
|
+
Redirected to http://test.host/authentications
|
|
28115
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
28116
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28117
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
28118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28120
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28121
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
28122
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28123
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
28124
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
28125
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
|
|
28126
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
|
|
28127
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.8ms)
|
|
28128
|
+
Completed 200 OK in 101ms (Views: 99.7ms | ActiveRecord: 0.4ms)
|
|
28129
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28131
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
28132
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
28133
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28134
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'cdDeXMYxqc3cBMz3eQEB' LIMIT 1[0m
|
|
28135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28136
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'cdDeXMYxqc3cBMz3eQEB', "reset_password_sent_at" = '2012-02-14 16:18:50.899132', "updated_at" = '2012-02-14 16:18:50.899836' WHERE "users"."id" = 201799169[0m
|
|
28137
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28138
|
+
|
|
28139
|
+
Sent mail to valid@example.com (40ms)
|
|
28140
|
+
Date: Tue, 14 Feb 2012 11:18:50 -0500
|
|
28141
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
28142
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
28143
|
+
To: valid@example.com
|
|
28144
|
+
Message-ID: <4f3a896af21c6_75e83fd130434d389598b@edge.mail>
|
|
28145
|
+
Subject: Reset password instructions
|
|
28146
|
+
Mime-Version: 1.0
|
|
28147
|
+
Content-Type: text/html;
|
|
28148
|
+
charset=UTF-8
|
|
28149
|
+
Content-Transfer-Encoding: 7bit
|
|
28150
|
+
|
|
28151
|
+
<p>Hello valid@example.com!</p>
|
|
28152
|
+
|
|
28153
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
28154
|
+
|
|
28155
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=cdDeXMYxqc3cBMz3eQEB">Change my password</a></p>
|
|
28156
|
+
|
|
28157
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
28158
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
28159
|
+
|
|
28160
|
+
Redirected to http://test.host/users/login
|
|
28161
|
+
Completed 302 Found in 112ms (ActiveRecord: 0.0ms)
|
|
28162
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
|
28163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28164
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
28165
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
28166
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
|
|
28167
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
|
|
28168
|
+
Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
|
28169
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28171
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28173
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28174
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28175
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28176
|
+
|
|
28177
|
+
|
|
28178
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28179
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28180
|
+
Completed 401 Unauthorized in 1ms
|
|
28181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28182
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28183
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28184
|
+
[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 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$CU7fTVAiSGpJjgt1ESSGyeNbAeoYW7uSlCECrpe/RkwWXYrl6Zf9i"], ["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 Feb 2012 16:18:51 UTC +00:00]]
|
|
28185
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28186
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28187
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
28188
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28189
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28190
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:18:51.096501' WHERE "users"."id" = 999914116
|
|
28191
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28192
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28193
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:18:51.097672' WHERE "users"."id" = 999914116[0m
|
|
28194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28195
|
+
|
|
28196
|
+
|
|
28197
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28198
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28199
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
28200
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28203
|
+
Completed 401 Unauthorized in 6ms
|
|
28204
|
+
|
|
28205
|
+
|
|
28206
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28207
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28208
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
28209
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
28210
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
28211
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
|
28212
|
+
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
|
|
28213
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
28214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28215
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28216
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28217
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28218
|
+
|
|
28219
|
+
|
|
28220
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28221
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28222
|
+
Completed 401 Unauthorized in 0ms
|
|
28223
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28224
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
28225
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28226
|
+
[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 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iz.BrYixnq9Fin9PhbDqLOZQ5ESbVQdzSWPoE4jzibY6v/F3M1.8i"], ["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 Feb 2012 16:18:51 UTC +00:00]]
|
|
28227
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28229
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28230
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28232
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:18:51.148956' WHERE "users"."id" = 999914116[0m
|
|
28233
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28236
|
+
|
|
28237
|
+
|
|
28238
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28239
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28240
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
28241
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
28242
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28243
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:18:51.160519', "current_sign_in_at" = '2012-02-14 16:18:51.160519', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:18:51.161013' WHERE "users"."id" = 999914116[0m
|
|
28244
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28245
|
+
Redirected to http://www.example.com/logged_in_page
|
|
28246
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
28247
|
+
|
|
28248
|
+
|
|
28249
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28250
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28251
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
28252
|
+
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
|
28253
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
28254
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28255
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28256
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28257
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28258
|
+
|
|
28259
|
+
|
|
28260
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28261
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28262
|
+
Completed 401 Unauthorized in 0ms
|
|
28263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28264
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28265
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28266
|
+
[1m[36mSQL (0.8ms)[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 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$DnWIVm5RhT0iPj2wgNk8ruKT2jwIqRmsGSjTpcstm.7YPt/UhJ2Ga"], ["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 Feb 2012 16:18:51 UTC +00:00]]
|
|
28267
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28269
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28272
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28273
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28275
|
+
|
|
28276
|
+
|
|
28277
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28278
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28279
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
28280
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28282
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28283
|
+
Completed 401 Unauthorized in 5ms
|
|
28284
|
+
|
|
28285
|
+
|
|
28286
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28287
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28288
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
28289
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
28290
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
28291
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
|
|
28292
|
+
Completed 200 OK in 40ms (Views: 39.3ms | ActiveRecord: 0.0ms)
|
|
28293
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
|
28294
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28295
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28296
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28297
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28298
|
+
|
|
28299
|
+
|
|
28300
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28301
|
+
Processing by WelcomeController#index as HTML
|
|
28302
|
+
Completed 401 Unauthorized in 0ms
|
|
28303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28305
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28306
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28307
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28308
|
+
|
|
28309
|
+
|
|
28310
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28311
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28312
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
28313
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28314
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:18:51.340572', "current_sign_in_at" = '2012-02-14 16:18:51.340572', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:18:51.341187' WHERE "users"."id" = 201799169[0m
|
|
28315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28316
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
28317
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
28318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28319
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28320
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28321
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28322
|
+
|
|
28323
|
+
|
|
28324
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:18:51 -0500
|
|
28325
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28326
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28327
|
+
Completed 401 Unauthorized in 77ms
|
|
28328
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28330
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28333
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28334
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28336
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
|
28337
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 949717663, 201799169)[0m
|
|
28338
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 876923740, 201799169)
|
|
28339
|
+
[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-02-14 16:37:56', '2012-02-14 16:37:56', 864673665, 201799169)[0m
|
|
28340
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
28341
|
+
[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-02-14 16:37:56', '2012-02-14 16:37:56', 201799169)[0m
|
|
28342
|
+
[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-02-14 16:37:56', '2012-02-14 16:37:56', 999914115)
|
|
28343
|
+
[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-02-14 16:37:56', '2012-02-14 16:37:56', 725306934)[0m
|
|
28344
|
+
[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-02-14 16:37:56', '2012-02-14 16:37:56', 349534908)
|
|
28345
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
|
28346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28347
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
28348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28350
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28351
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28352
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28353
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28354
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28355
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28356
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
28357
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:37:56 UTC", "updated_at"=>"2012-02-14 16:37:56 UTC"}}
|
|
28358
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
28359
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28360
|
+
Logged in user found, creating associated authentication.
|
|
28361
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28362
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["user_id", 201799169]]
|
|
28363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28364
|
+
Redirected to http://test.host/authentications
|
|
28365
|
+
Completed 302 Found in 47ms (ActiveRecord: 0.9ms)
|
|
28366
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28367
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
28368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28369
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28370
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
28371
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28372
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
28373
|
+
Parameters: {"id"=>"949717663"}
|
|
28374
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28375
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
28376
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28377
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
28378
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28379
|
+
Redirected to http://test.host/authentications
|
|
28380
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
28381
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28382
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
28383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28384
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28385
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28386
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
28387
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28388
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
28389
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
28390
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms)
|
|
28391
|
+
Completed 500 Internal Server Error in 60ms
|
|
28392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28394
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
28395
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
28396
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28397
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '11GhrHeEzTv6YCd4613d' LIMIT 1[0m
|
|
28398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28399
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '11GhrHeEzTv6YCd4613d', "reset_password_sent_at" = '2012-02-14 16:37:57.233612', "updated_at" = '2012-02-14 16:37:57.234381' WHERE "users"."id" = 201799169[0m
|
|
28400
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28401
|
+
|
|
28402
|
+
Sent mail to valid@example.com (15ms)
|
|
28403
|
+
Date: Tue, 14 Feb 2012 11:37:57 -0500
|
|
28404
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
28405
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
28406
|
+
To: valid@example.com
|
|
28407
|
+
Message-ID: <4f3a8de54fb3e_76e73fc338c34d4053437@edge.mail>
|
|
28408
|
+
Subject: Reset password instructions
|
|
28409
|
+
Mime-Version: 1.0
|
|
28410
|
+
Content-Type: text/html;
|
|
28411
|
+
charset=UTF-8
|
|
28412
|
+
Content-Transfer-Encoding: 7bit
|
|
28413
|
+
|
|
28414
|
+
<p>Hello valid@example.com!</p>
|
|
28415
|
+
|
|
28416
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
28417
|
+
|
|
28418
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=11GhrHeEzTv6YCd4613d">Change my password</a></p>
|
|
28419
|
+
|
|
28420
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
28421
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
28422
|
+
|
|
28423
|
+
Redirected to http://test.host/users/login
|
|
28424
|
+
Completed 302 Found in 109ms (ActiveRecord: 0.0ms)
|
|
28425
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
|
28426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28427
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
28428
|
+
Completed 500 Internal Server Error in 8ms
|
|
28429
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28431
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28433
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28434
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28435
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28436
|
+
|
|
28437
|
+
|
|
28438
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28439
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28440
|
+
Completed 401 Unauthorized in 1ms
|
|
28441
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28442
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28443
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28444
|
+
[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 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JIOIwzB1r2vaccr7Aoa/iu4oXkFYBSH1paNayv3lpGbmqPhydQm9m"], ["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 Feb 2012 16:37:57 UTC +00:00]]
|
|
28445
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28446
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28447
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
28448
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28449
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28450
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:37:57.425959' WHERE "users"."id" = 999914116
|
|
28451
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28453
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:37:57.427166' WHERE "users"."id" = 999914116[0m
|
|
28454
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28455
|
+
|
|
28456
|
+
|
|
28457
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28458
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28459
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
28460
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28461
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28462
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28463
|
+
Completed 401 Unauthorized in 8ms
|
|
28464
|
+
|
|
28465
|
+
|
|
28466
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28467
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28468
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
|
28469
|
+
Completed 500 Internal Server Error in 11ms
|
|
28470
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
28471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28472
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28473
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28474
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28475
|
+
|
|
28476
|
+
|
|
28477
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28478
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28479
|
+
Completed 401 Unauthorized in 0ms
|
|
28480
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28481
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
28482
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28483
|
+
[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 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ws4CJ1bUxbY/2h5vQ0T8z.PdBOlWlEEtPo2GFi77oUflcOMw6mIP2"], ["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 Feb 2012 16:37:57 UTC +00:00]]
|
|
28484
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28486
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28488
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28489
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:37:57.478274' WHERE "users"."id" = 999914116[0m
|
|
28490
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28492
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28493
|
+
|
|
28494
|
+
|
|
28495
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28496
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28497
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
28498
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
28499
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28500
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:37:57.486266', "current_sign_in_at" = '2012-02-14 16:37:57.486266', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:37:57.487092' WHERE "users"."id" = 999914116[0m
|
|
28501
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28502
|
+
Redirected to http://www.example.com/logged_in_page
|
|
28503
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
|
28504
|
+
|
|
28505
|
+
|
|
28506
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28507
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28508
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
28509
|
+
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
|
28510
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
28511
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28512
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28513
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28514
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28515
|
+
|
|
28516
|
+
|
|
28517
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28518
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28519
|
+
Completed 401 Unauthorized in 0ms
|
|
28520
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28521
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28522
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28523
|
+
[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 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CF/swc45WSRX1q402EIUFeV6Yqrt7tReak4NYFU6rKXgThkZN5Qna"], ["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 Feb 2012 16:37:57 UTC +00:00]]
|
|
28524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28525
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28527
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28528
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28531
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28532
|
+
|
|
28533
|
+
|
|
28534
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28535
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28536
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
28537
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28538
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28540
|
+
Completed 401 Unauthorized in 4ms
|
|
28541
|
+
|
|
28542
|
+
|
|
28543
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28544
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28545
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
28546
|
+
Completed 500 Internal Server Error in 8ms
|
|
28547
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
28548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28549
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28550
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28551
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28552
|
+
|
|
28553
|
+
|
|
28554
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28555
|
+
Processing by WelcomeController#index as HTML
|
|
28556
|
+
Completed 401 Unauthorized in 0ms
|
|
28557
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28559
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28560
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28561
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28562
|
+
|
|
28563
|
+
|
|
28564
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28565
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28566
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
28567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28568
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:37:57.638772', "current_sign_in_at" = '2012-02-14 16:37:57.638772', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:37:57.639380' WHERE "users"."id" = 201799169[0m
|
|
28569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28570
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
28571
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
28572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28573
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28574
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28575
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28576
|
+
|
|
28577
|
+
|
|
28578
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:37:57 -0500
|
|
28579
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28580
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28581
|
+
Completed 401 Unauthorized in 81ms
|
|
28582
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28583
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28584
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28587
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28588
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28589
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28590
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
|
28591
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 949717663, 201799169)[0m
|
|
28592
|
+
[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-02-14 16:39:07', '2012-02-14 16:39:07', 876923740, 201799169)
|
|
28593
|
+
[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-02-14 16:39:07', '2012-02-14 16:39:07', 864673665, 201799169)[0m
|
|
28594
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
28595
|
+
[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-02-14 16:39:07', '2012-02-14 16:39:07', 201799169)[0m
|
|
28596
|
+
[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-02-14 16:39:07', '2012-02-14 16:39:07', 999914115)
|
|
28597
|
+
[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-02-14 16:39:07', '2012-02-14 16:39:07', 725306934)[0m
|
|
28598
|
+
[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-02-14 16:39:07', '2012-02-14 16:39:07', 349534908)
|
|
28599
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
|
28600
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28601
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
28602
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28603
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28604
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28605
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28607
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28608
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28609
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28610
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
28611
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:39:07 UTC", "updated_at"=>"2012-02-14 16:39:07 UTC"}}
|
|
28612
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
28613
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28614
|
+
Logged in user found, creating associated authentication.
|
|
28615
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28616
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["user_id", 201799169]]
|
|
28617
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28618
|
+
Redirected to http://test.host/authentications
|
|
28619
|
+
Completed 302 Found in 52ms (ActiveRecord: 1.0ms)
|
|
28620
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28621
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
28622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28623
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28624
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
28625
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28626
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
28627
|
+
Parameters: {"id"=>"949717663"}
|
|
28628
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28629
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
28630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28631
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
28632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28633
|
+
Redirected to http://test.host/authentications
|
|
28634
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
28635
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28636
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
28637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28638
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28639
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28640
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
28641
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28642
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
28643
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
28644
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.9ms)
|
|
28645
|
+
Completed 500 Internal Server Error in 59ms
|
|
28646
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28648
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
28649
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
28650
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28651
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9sZFeK4Diu9EVHApQt76' LIMIT 1[0m
|
|
28652
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28653
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = '9sZFeK4Diu9EVHApQt76', "reset_password_sent_at" = '2012-02-14 16:39:08.160150', "updated_at" = '2012-02-14 16:39:08.161402' WHERE "users"."id" = 201799169[0m
|
|
28654
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28655
|
+
|
|
28656
|
+
Sent mail to valid@example.com (15ms)
|
|
28657
|
+
Date: Tue, 14 Feb 2012 11:39:08 -0500
|
|
28658
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
28659
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
28660
|
+
To: valid@example.com
|
|
28661
|
+
Message-ID: <4f3a8e2c38660_76f83ffd5dc34d40849d3@edge.mail>
|
|
28662
|
+
Subject: Reset password instructions
|
|
28663
|
+
Mime-Version: 1.0
|
|
28664
|
+
Content-Type: text/html;
|
|
28665
|
+
charset=UTF-8
|
|
28666
|
+
Content-Transfer-Encoding: 7bit
|
|
28667
|
+
|
|
28668
|
+
<p>Hello valid@example.com!</p>
|
|
28669
|
+
|
|
28670
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
28671
|
+
|
|
28672
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=9sZFeK4Diu9EVHApQt76">Change my password</a></p>
|
|
28673
|
+
|
|
28674
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
28675
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
28676
|
+
|
|
28677
|
+
Redirected to http://test.host/users/login
|
|
28678
|
+
Completed 302 Found in 88ms (ActiveRecord: 0.0ms)
|
|
28679
|
+
[1m[36m (15.5ms)[0m [1mrollback transaction[0m
|
|
28680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28681
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
28682
|
+
Completed 500 Internal Server Error in 12ms
|
|
28683
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28684
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28685
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28687
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28688
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28689
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28690
|
+
|
|
28691
|
+
|
|
28692
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28693
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28694
|
+
Completed 401 Unauthorized in 0ms
|
|
28695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28696
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28697
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28698
|
+
[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 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$7xnpu/ew8D2LqwbHd00ysuUFWo8dLKQN/VzkPN09hJnoEs9UDx2dO"], ["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 Feb 2012 16:39:08 UTC +00:00]]
|
|
28699
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28700
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28701
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
28702
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28703
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28704
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:39:08.354442' WHERE "users"."id" = 999914116
|
|
28705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28706
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28707
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:39:08.355635' WHERE "users"."id" = 999914116[0m
|
|
28708
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28709
|
+
|
|
28710
|
+
|
|
28711
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28712
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28713
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
28714
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28715
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28716
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28717
|
+
Completed 401 Unauthorized in 8ms
|
|
28718
|
+
|
|
28719
|
+
|
|
28720
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28721
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28722
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
|
28723
|
+
Completed 500 Internal Server Error in 11ms
|
|
28724
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
28725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28726
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28727
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28728
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28729
|
+
|
|
28730
|
+
|
|
28731
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28732
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28733
|
+
Completed 401 Unauthorized in 0ms
|
|
28734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28735
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
28736
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28737
|
+
[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 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Uv6/azflzJ5mCuaav52Fau.CQFEveGsU1PSxdN8LD/cYqpzR/9Q4W"], ["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 Feb 2012 16:39:08 UTC +00:00]]
|
|
28738
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28740
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28741
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28742
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28743
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:39:08.405756' WHERE "users"."id" = 999914116[0m
|
|
28744
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28745
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28746
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28747
|
+
|
|
28748
|
+
|
|
28749
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28750
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28751
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
28752
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
28753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28754
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:39:08.413727', "current_sign_in_at" = '2012-02-14 16:39:08.413727', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:39:08.414136' WHERE "users"."id" = 999914116[0m
|
|
28755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28756
|
+
Redirected to http://www.example.com/logged_in_page
|
|
28757
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
28758
|
+
|
|
28759
|
+
|
|
28760
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28761
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
28763
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
|
28764
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
28765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28766
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28767
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28768
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28769
|
+
|
|
28770
|
+
|
|
28771
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28772
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28773
|
+
Completed 401 Unauthorized in 0ms
|
|
28774
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28775
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28776
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28777
|
+
[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 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$XccntoqJqMRG1lqLz0vXY.tLyQGkzWRhPstrWwrbwuFsxdbTDjMHG"], ["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 Feb 2012 16:39:08 UTC +00:00]]
|
|
28778
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28779
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28780
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28783
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28784
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28786
|
+
|
|
28787
|
+
|
|
28788
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28789
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28790
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
28791
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
28792
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28794
|
+
Completed 401 Unauthorized in 4ms
|
|
28795
|
+
|
|
28796
|
+
|
|
28797
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28798
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28799
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
28800
|
+
Completed 500 Internal Server Error in 8ms
|
|
28801
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
28802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28803
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28804
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28805
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28806
|
+
|
|
28807
|
+
|
|
28808
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28809
|
+
Processing by WelcomeController#index as HTML
|
|
28810
|
+
Completed 401 Unauthorized in 1ms
|
|
28811
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28813
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28814
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28815
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28816
|
+
|
|
28817
|
+
|
|
28818
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28819
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28820
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
28821
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28822
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:39:08.562754', "current_sign_in_at" = '2012-02-14 16:39:08.562754', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:39:08.563356' WHERE "users"."id" = 201799169[0m
|
|
28823
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28824
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
28825
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
28826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28827
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28828
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28829
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28830
|
+
|
|
28831
|
+
|
|
28832
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:39:08 -0500
|
|
28833
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
28834
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28835
|
+
Completed 401 Unauthorized in 78ms
|
|
28836
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28838
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28839
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28841
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28842
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28844
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications"
|
|
28845
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 949717663, 201799169)[0m
|
|
28846
|
+
[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-02-14 16:40:33', '2012-02-14 16:40:33', 876923740, 201799169)
|
|
28847
|
+
[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-02-14 16:40:33', '2012-02-14 16:40:33', 864673665, 201799169)[0m
|
|
28848
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
28849
|
+
[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-02-14 16:40:33', '2012-02-14 16:40:33', 201799169)[0m
|
|
28850
|
+
[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-02-14 16:40:33', '2012-02-14 16:40:33', 999914115)
|
|
28851
|
+
[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-02-14 16:40:33', '2012-02-14 16:40:33', 725306934)[0m
|
|
28852
|
+
[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-02-14 16:40:33', '2012-02-14 16:40:33', 349534908)
|
|
28853
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
|
28854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28855
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
28856
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28857
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28858
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28859
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28860
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28861
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28862
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28863
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28864
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
28865
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:40:33 UTC", "updated_at"=>"2012-02-14 16:40:33 UTC"}}
|
|
28866
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
28867
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28868
|
+
Logged in user found, creating associated authentication.
|
|
28869
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28870
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["user_id", 201799169]]
|
|
28871
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28872
|
+
Redirected to http://test.host/authentications
|
|
28873
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.9ms)
|
|
28874
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
28875
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
28876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28877
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28878
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
28879
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28880
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
28881
|
+
Parameters: {"id"=>"949717663"}
|
|
28882
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28883
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
28884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28885
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
28886
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28887
|
+
Redirected to http://test.host/authentications
|
|
28888
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
28889
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
28890
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
28891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28893
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
28894
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
28895
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
28896
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
28897
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
28898
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
|
28899
|
+
Completed 500 Internal Server Error in 59ms
|
|
28900
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
28901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28902
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
28903
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
28904
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
28905
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XHDsfY7LcyTFvFs2EyxL' LIMIT 1[0m
|
|
28906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28907
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'XHDsfY7LcyTFvFs2EyxL', "reset_password_sent_at" = '2012-02-14 16:40:33.582853', "updated_at" = '2012-02-14 16:40:33.583585' WHERE "users"."id" = 201799169[0m
|
|
28908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28909
|
+
|
|
28910
|
+
Sent mail to valid@example.com (15ms)
|
|
28911
|
+
Date: Tue, 14 Feb 2012 11:40:33 -0500
|
|
28912
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
28913
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
28914
|
+
To: valid@example.com
|
|
28915
|
+
Message-ID: <4f3a8e819f616_770b3ff2e4834d40836eb@edge.mail>
|
|
28916
|
+
Subject: Reset password instructions
|
|
28917
|
+
Mime-Version: 1.0
|
|
28918
|
+
Content-Type: text/html;
|
|
28919
|
+
charset=UTF-8
|
|
28920
|
+
Content-Transfer-Encoding: 7bit
|
|
28921
|
+
|
|
28922
|
+
<p>Hello valid@example.com!</p>
|
|
28923
|
+
|
|
28924
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
28925
|
+
|
|
28926
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=XHDsfY7LcyTFvFs2EyxL">Change my password</a></p>
|
|
28927
|
+
|
|
28928
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
28929
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
28930
|
+
|
|
28931
|
+
Redirected to http://test.host/users/login
|
|
28932
|
+
Completed 302 Found in 87ms (ActiveRecord: 0.0ms)
|
|
28933
|
+
[1m[36m (23.8ms)[0m [1mrollback transaction[0m
|
|
28934
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28935
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
28936
|
+
Completed 500 Internal Server Error in 9ms
|
|
28937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
28938
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
28939
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
28940
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
28941
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
28942
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
28943
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
28944
|
+
|
|
28945
|
+
|
|
28946
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
28947
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28948
|
+
Completed 401 Unauthorized in 1ms
|
|
28949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28950
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28951
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28952
|
+
[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 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZssKLL58gaLxjgbGo03EveITe6bxSLS6DLQXbiJp16EVFRv/F8dJm"], ["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 Feb 2012 16:40:33 UTC +00:00]]
|
|
28953
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28954
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28955
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
28956
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28957
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28958
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:40:33.775679' WHERE "users"."id" = 999914116
|
|
28959
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28960
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28961
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:40:33.776978' WHERE "users"."id" = 999914116[0m
|
|
28962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28963
|
+
|
|
28964
|
+
|
|
28965
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
28966
|
+
Processing by Contour::SessionsController#create as HTML
|
|
28967
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
28968
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
28969
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
28970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28971
|
+
Completed 401 Unauthorized in 6ms
|
|
28972
|
+
|
|
28973
|
+
|
|
28974
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
28975
|
+
Processing by Contour::SessionsController#new as HTML
|
|
28976
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
28977
|
+
Completed 500 Internal Server Error in 11ms
|
|
28978
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
28979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
28980
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
28981
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
28982
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
28983
|
+
|
|
28984
|
+
|
|
28985
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
28986
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
28987
|
+
Completed 401 Unauthorized in 0ms
|
|
28988
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28989
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
28990
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
28991
|
+
[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 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N3ufIhyXXGw9GcXyyhigc.Tc6setlFGFYLkRZrOS/mYCzMUDiGMJe"], ["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 Feb 2012 16:40:33 UTC +00:00]]
|
|
28992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
28994
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
28995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
28996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
28997
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:40:33.827376' WHERE "users"."id" = 999914116[0m
|
|
28998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
28999
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29000
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29001
|
+
|
|
29002
|
+
|
|
29003
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29004
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29005
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
29006
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
29007
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29008
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:40:33.836432', "current_sign_in_at" = '2012-02-14 16:40:33.836432', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:40:33.836852' WHERE "users"."id" = 999914116[0m
|
|
29009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29010
|
+
Redirected to http://www.example.com/logged_in_page
|
|
29011
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
29012
|
+
|
|
29013
|
+
|
|
29014
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29015
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29016
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
29017
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
|
29018
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
29019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29020
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29021
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29022
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29023
|
+
|
|
29024
|
+
|
|
29025
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29026
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29027
|
+
Completed 401 Unauthorized in 0ms
|
|
29028
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29029
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29030
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29031
|
+
[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 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$4KLQknP/uzol9ISipHLVpOyzNccUfjpsF0Rpvj3LL5Pc5a9WfmNKa"], ["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 Feb 2012 16:40:33 UTC +00:00]]
|
|
29032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29034
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29035
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29037
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29039
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29040
|
+
|
|
29041
|
+
|
|
29042
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29043
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29044
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
29045
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29046
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29047
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29048
|
+
Completed 401 Unauthorized in 4ms
|
|
29049
|
+
|
|
29050
|
+
|
|
29051
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29052
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29053
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
29054
|
+
Completed 500 Internal Server Error in 6ms
|
|
29055
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29056
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29057
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29058
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29059
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29060
|
+
|
|
29061
|
+
|
|
29062
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29063
|
+
Processing by WelcomeController#index as HTML
|
|
29064
|
+
Completed 401 Unauthorized in 1ms
|
|
29065
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29067
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29068
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29069
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29070
|
+
|
|
29071
|
+
|
|
29072
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29073
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29074
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
29075
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29076
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:40:33.981938', "current_sign_in_at" = '2012-02-14 16:40:33.981938', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:40:33.982582' WHERE "users"."id" = 201799169[0m
|
|
29077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29078
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
29079
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
29080
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29081
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29082
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29083
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29084
|
+
|
|
29085
|
+
|
|
29086
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:40:33 -0500
|
|
29087
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29088
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29089
|
+
Completed 401 Unauthorized in 79ms
|
|
29090
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29092
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29095
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29096
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29098
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
29099
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 949717663, 201799169)[0m
|
|
29100
|
+
[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-02-14 16:44:35', '2012-02-14 16:44:35', 876923740, 201799169)
|
|
29101
|
+
[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-02-14 16:44:35', '2012-02-14 16:44:35', 864673665, 201799169)[0m
|
|
29102
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
29103
|
+
[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-02-14 16:44:35', '2012-02-14 16:44:35', 201799169)[0m
|
|
29104
|
+
[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-02-14 16:44:35', '2012-02-14 16:44:35', 999914115)
|
|
29105
|
+
[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-02-14 16:44:35', '2012-02-14 16:44:35', 725306934)[0m
|
|
29106
|
+
[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-02-14 16:44:35', '2012-02-14 16:44:35', 349534908)
|
|
29107
|
+
[1m[36m (14.8ms)[0m [1mcommit transaction[0m
|
|
29108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29109
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
29110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29112
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29113
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29115
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29116
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29117
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29118
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
29119
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:44:35 UTC", "updated_at"=>"2012-02-14 16:44:35 UTC"}}
|
|
29120
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
29121
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29122
|
+
Logged in user found, creating associated authentication.
|
|
29123
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29124
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["user_id", 201799169]]
|
|
29125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29126
|
+
Redirected to http://test.host/authentications
|
|
29127
|
+
Completed 302 Found in 49ms (ActiveRecord: 1.0ms)
|
|
29128
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29129
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
29130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29131
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29132
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
29133
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29134
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
29135
|
+
Parameters: {"id"=>"949717663"}
|
|
29136
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29137
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
29138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29139
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
29140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29141
|
+
Redirected to http://test.host/authentications
|
|
29142
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
29143
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29144
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29146
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29147
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29148
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
29149
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29150
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
29151
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
29152
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.0ms)
|
|
29153
|
+
Completed 500 Internal Server Error in 59ms
|
|
29154
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29156
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
29157
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
29158
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29159
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XRAFUNmsZER4Gcn32vL4' LIMIT 1[0m
|
|
29160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29161
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'XRAFUNmsZER4Gcn32vL4', "reset_password_sent_at" = '2012-02-14 16:44:35.790359', "updated_at" = '2012-02-14 16:44:35.791034' WHERE "users"."id" = 201799169[0m
|
|
29162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29163
|
+
|
|
29164
|
+
Sent mail to valid@example.com (15ms)
|
|
29165
|
+
Date: Tue, 14 Feb 2012 11:44:35 -0500
|
|
29166
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
29167
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
29168
|
+
To: valid@example.com
|
|
29169
|
+
Message-ID: <4f3a8f73d137c_773d3fd821434d4015893@edge.mail>
|
|
29170
|
+
Subject: Reset password instructions
|
|
29171
|
+
Mime-Version: 1.0
|
|
29172
|
+
Content-Type: text/html;
|
|
29173
|
+
charset=UTF-8
|
|
29174
|
+
Content-Transfer-Encoding: 7bit
|
|
29175
|
+
|
|
29176
|
+
<p>Hello valid@example.com!</p>
|
|
29177
|
+
|
|
29178
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
29179
|
+
|
|
29180
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=XRAFUNmsZER4Gcn32vL4">Change my password</a></p>
|
|
29181
|
+
|
|
29182
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
29183
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
29184
|
+
|
|
29185
|
+
Redirected to http://test.host/users/login
|
|
29186
|
+
Completed 302 Found in 83ms (ActiveRecord: 0.0ms)
|
|
29187
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29189
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
29190
|
+
Completed 500 Internal Server Error in 8ms
|
|
29191
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29192
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29193
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29194
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29195
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29196
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29197
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29198
|
+
|
|
29199
|
+
|
|
29200
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:35 -0500
|
|
29201
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29202
|
+
Completed 401 Unauthorized in 1ms
|
|
29203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29204
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29205
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29206
|
+
[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 Feb 2012 16:44:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$fz0jtQFdACiQdiYchh1k3uPrvKjGb/6XrpbaSe23RfWyFYUgIxEEi"], ["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 Feb 2012 16:44:35 UTC +00:00]]
|
|
29207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29208
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29209
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
29210
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29211
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29212
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:44:35.957677' WHERE "users"."id" = 999914116
|
|
29213
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29214
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29215
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:44:35.958858' WHERE "users"."id" = 999914116[0m
|
|
29216
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29217
|
+
|
|
29218
|
+
|
|
29219
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:35 -0500
|
|
29220
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29221
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
29222
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29225
|
+
Completed 401 Unauthorized in 6ms
|
|
29226
|
+
|
|
29227
|
+
|
|
29228
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:44:35 -0500
|
|
29229
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29230
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
|
29231
|
+
Completed 500 Internal Server Error in 10ms
|
|
29232
|
+
[1m[35m (6.7ms)[0m rollback transaction
|
|
29233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29234
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29235
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29236
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29237
|
+
|
|
29238
|
+
|
|
29239
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29240
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29241
|
+
Completed 401 Unauthorized in 0ms
|
|
29242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29243
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
29244
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29245
|
+
[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 Feb 2012 16:44: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$yNJkM9qmwcysTu9a1RQfm.J/Hyk2TMkyzk.w1Mo/DSYDGb/jfFdy."], ["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 Feb 2012 16:44:36 UTC +00:00]]
|
|
29246
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29248
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29249
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29251
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:44:36.015150' WHERE "users"."id" = 999914116[0m
|
|
29252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29253
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29254
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29255
|
+
|
|
29256
|
+
|
|
29257
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29258
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29259
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
29260
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
29261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29262
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:44:36.023646', "current_sign_in_at" = '2012-02-14 16:44:36.023646', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:44:36.024334' WHERE "users"."id" = 999914116[0m
|
|
29263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29264
|
+
Redirected to http://www.example.com/logged_in_page
|
|
29265
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
|
29266
|
+
|
|
29267
|
+
|
|
29268
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29269
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29270
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
29271
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
|
29272
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
|
29273
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29274
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29275
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29276
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29277
|
+
|
|
29278
|
+
|
|
29279
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29280
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29281
|
+
Completed 401 Unauthorized in 0ms
|
|
29282
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29283
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29284
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29285
|
+
[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 Feb 2012 16:44: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$LhRP3Gzgiwh6dR/4dmdb7OqrqIJywKqbkkdT.1P2KcuLavMFMjW/W"], ["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 Feb 2012 16:44:36 UTC +00:00]]
|
|
29286
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29288
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29292
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29293
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29294
|
+
|
|
29295
|
+
|
|
29296
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29297
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29298
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
29299
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29300
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29302
|
+
Completed 401 Unauthorized in 4ms
|
|
29303
|
+
|
|
29304
|
+
|
|
29305
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29306
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29307
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
29308
|
+
Completed 500 Internal Server Error in 8ms
|
|
29309
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
29310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29311
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29312
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29313
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29314
|
+
|
|
29315
|
+
|
|
29316
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29317
|
+
Processing by WelcomeController#index as HTML
|
|
29318
|
+
Completed 401 Unauthorized in 0ms
|
|
29319
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29321
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29322
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29323
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29324
|
+
|
|
29325
|
+
|
|
29326
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29327
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29328
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
29329
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29330
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:44:36.168374', "current_sign_in_at" = '2012-02-14 16:44:36.168374', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:44:36.168982' WHERE "users"."id" = 201799169[0m
|
|
29331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29332
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
29333
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29334
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29335
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29336
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29337
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29338
|
+
|
|
29339
|
+
|
|
29340
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:44:36 -0500
|
|
29341
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29342
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29343
|
+
Completed 401 Unauthorized in 78ms
|
|
29344
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29346
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29349
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29350
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29352
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
29353
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 949717663, 201799169)[0m
|
|
29354
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 876923740, 201799169)
|
|
29355
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 864673665, 201799169)[0m
|
|
29356
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
|
29357
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 201799169)[0m
|
|
29358
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 999914115)
|
|
29359
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 725306934)[0m
|
|
29360
|
+
[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-02-14 16:45:11', '2012-02-14 16:45:11', 349534908)
|
|
29361
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
|
29362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29363
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
29364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29366
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29367
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29369
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29370
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29371
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29372
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
29373
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:45:11 UTC", "updated_at"=>"2012-02-14 16:45:11 UTC"}}
|
|
29374
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
29375
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29376
|
+
Logged in user found, creating associated authentication.
|
|
29377
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29378
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["user_id", 201799169]]
|
|
29379
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29380
|
+
Redirected to http://test.host/authentications
|
|
29381
|
+
Completed 302 Found in 50ms (ActiveRecord: 0.9ms)
|
|
29382
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29383
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
29384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29385
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29386
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
29387
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29388
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
29389
|
+
Parameters: {"id"=>"949717663"}
|
|
29390
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29391
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
29392
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29393
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
29394
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29395
|
+
Redirected to http://test.host/authentications
|
|
29396
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
29397
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29398
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29399
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29400
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29401
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29402
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
29403
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29404
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
29405
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
29406
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.3ms)
|
|
29407
|
+
Completed 500 Internal Server Error in 60ms
|
|
29408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29409
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29410
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
29411
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
29412
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29413
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8xrqHjKXXtREqpNtjAS6' LIMIT 1[0m
|
|
29414
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29415
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '8xrqHjKXXtREqpNtjAS6', "reset_password_sent_at" = '2012-02-14 16:45:11.687035', "updated_at" = '2012-02-14 16:45:11.687736' WHERE "users"."id" = 201799169[0m
|
|
29416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29417
|
+
|
|
29418
|
+
Sent mail to valid@example.com (15ms)
|
|
29419
|
+
Date: Tue, 14 Feb 2012 11:45:11 -0500
|
|
29420
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
29421
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
29422
|
+
To: valid@example.com
|
|
29423
|
+
Message-ID: <4f3a8f97b86c1_77463fe81e034d3c632f6@edge.mail>
|
|
29424
|
+
Subject: Reset password instructions
|
|
29425
|
+
Mime-Version: 1.0
|
|
29426
|
+
Content-Type: text/html;
|
|
29427
|
+
charset=UTF-8
|
|
29428
|
+
Content-Transfer-Encoding: 7bit
|
|
29429
|
+
|
|
29430
|
+
<p>Hello valid@example.com!</p>
|
|
29431
|
+
|
|
29432
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
29433
|
+
|
|
29434
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=8xrqHjKXXtREqpNtjAS6">Change my password</a></p>
|
|
29435
|
+
|
|
29436
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
29437
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
29438
|
+
|
|
29439
|
+
Redirected to http://test.host/users/login
|
|
29440
|
+
Completed 302 Found in 85ms (ActiveRecord: 0.0ms)
|
|
29441
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
|
29442
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29443
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
29444
|
+
Completed 500 Internal Server Error in 8ms
|
|
29445
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29447
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29449
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29450
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29451
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29452
|
+
|
|
29453
|
+
|
|
29454
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29455
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29456
|
+
Completed 401 Unauthorized in 1ms
|
|
29457
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29458
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29459
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29460
|
+
[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 Feb 2012 16:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$pwJT6S7zyD7VvGMrl5Y/duX5JIfza4mJDaBbrWo2OW7gmTy8G.eb6"], ["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 Feb 2012 16:45:11 UTC +00:00]]
|
|
29461
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29463
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
29464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29465
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29466
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:45:11.856147' WHERE "users"."id" = 999914116
|
|
29467
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29469
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:45:11.857331' WHERE "users"."id" = 999914116[0m
|
|
29470
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29471
|
+
|
|
29472
|
+
|
|
29473
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29474
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29475
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
29476
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29477
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29478
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29479
|
+
Completed 401 Unauthorized in 6ms
|
|
29480
|
+
|
|
29481
|
+
|
|
29482
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29483
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29484
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
|
29485
|
+
Completed 500 Internal Server Error in 11ms
|
|
29486
|
+
[1m[35m (5.8ms)[0m rollback transaction
|
|
29487
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29488
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29489
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29490
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29491
|
+
|
|
29492
|
+
|
|
29493
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29494
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29495
|
+
Completed 401 Unauthorized in 1ms
|
|
29496
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29497
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
29498
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29499
|
+
[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 Feb 2012 16:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$pSoLRQX7HkM.EqNiRn8a0elqzjFWAFG/i5etvSoKqXoW1jVUM7cnS"], ["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 Feb 2012 16:45:11 UTC +00:00]]
|
|
29500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29502
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29505
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:45:11.915004' WHERE "users"."id" = 999914116[0m
|
|
29506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29507
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29509
|
+
|
|
29510
|
+
|
|
29511
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29512
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29513
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
29514
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
29515
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29516
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:45:11.925029', "current_sign_in_at" = '2012-02-14 16:45:11.925029', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:45:11.925709' WHERE "users"."id" = 999914116[0m
|
|
29517
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29518
|
+
Redirected to http://www.example.com/logged_in_page
|
|
29519
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
|
29520
|
+
|
|
29521
|
+
|
|
29522
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29523
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29524
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
29525
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
|
29526
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
|
29527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29528
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29529
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29530
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29531
|
+
|
|
29532
|
+
|
|
29533
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29534
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29535
|
+
Completed 401 Unauthorized in 0ms
|
|
29536
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29537
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29538
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29539
|
+
[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 Feb 2012 16:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$OWwngWgiaELdy0FqkvPr4eDBCtUdN5O5KsOi286xILTCufUkHa1fG"], ["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 Feb 2012 16:45:11 UTC +00:00]]
|
|
29540
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29541
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29542
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29543
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29544
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29545
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29547
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29548
|
+
|
|
29549
|
+
|
|
29550
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29551
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29552
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
29553
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29555
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29556
|
+
Completed 401 Unauthorized in 4ms
|
|
29557
|
+
|
|
29558
|
+
|
|
29559
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29560
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29561
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
29562
|
+
Completed 500 Internal Server Error in 6ms
|
|
29563
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
29564
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29565
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29566
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29567
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29568
|
+
|
|
29569
|
+
|
|
29570
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29571
|
+
Processing by WelcomeController#index as HTML
|
|
29572
|
+
Completed 401 Unauthorized in 1ms
|
|
29573
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29575
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29576
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29577
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29578
|
+
|
|
29579
|
+
|
|
29580
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:45:11 -0500
|
|
29581
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29582
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
29583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29584
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:45:12.074843', "current_sign_in_at" = '2012-02-14 16:45:12.074843', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:45:12.075515' WHERE "users"."id" = 201799169[0m
|
|
29585
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29586
|
+
Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
29587
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29588
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29589
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29590
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29591
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29592
|
+
|
|
29593
|
+
|
|
29594
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:45:12 -0500
|
|
29595
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29596
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29597
|
+
Completed 401 Unauthorized in 81ms
|
|
29598
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29599
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29600
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29603
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29604
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29605
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29606
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
|
29607
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 949717663, 201799169)[0m
|
|
29608
|
+
[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-02-14 16:46:31', '2012-02-14 16:46:31', 876923740, 201799169)
|
|
29609
|
+
[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-02-14 16:46:31', '2012-02-14 16:46:31', 864673665, 201799169)[0m
|
|
29610
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
|
29611
|
+
[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-02-14 16:46:31', '2012-02-14 16:46:31', 201799169)[0m
|
|
29612
|
+
[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-02-14 16:46:31', '2012-02-14 16:46:31', 999914115)
|
|
29613
|
+
[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-02-14 16:46:31', '2012-02-14 16:46:31', 725306934)[0m
|
|
29614
|
+
[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-02-14 16:46:31', '2012-02-14 16:46:31', 349534908)
|
|
29615
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
|
29616
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29617
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
29618
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29619
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29620
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29621
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29622
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29623
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29624
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29625
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29626
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
29627
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:46:31 UTC", "updated_at"=>"2012-02-14 16:46:31 UTC"}}
|
|
29628
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
29629
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29630
|
+
Logged in user found, creating associated authentication.
|
|
29631
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29632
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["user_id", 201799169]]
|
|
29633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29634
|
+
Redirected to http://test.host/authentications
|
|
29635
|
+
Completed 302 Found in 58ms (ActiveRecord: 0.9ms)
|
|
29636
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29637
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
29638
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29639
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29640
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
29641
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29642
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
29643
|
+
Parameters: {"id"=>"949717663"}
|
|
29644
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29645
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
29646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29647
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
29648
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29649
|
+
Redirected to http://test.host/authentications
|
|
29650
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
29651
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29652
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
29653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29654
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29655
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29656
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
29657
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29658
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
29659
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
29660
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.1ms)
|
|
29661
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms)
|
|
29662
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.8ms)
|
|
29663
|
+
Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.4ms)
|
|
29664
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29666
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
29667
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
29668
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29669
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ciY7FhskrtwixbcuFgic' LIMIT 1[0m
|
|
29670
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29671
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ciY7FhskrtwixbcuFgic', "reset_password_sent_at" = '2012-02-14 16:46:31.816725', "updated_at" = '2012-02-14 16:46:31.817411' WHERE "users"."id" = 201799169[0m
|
|
29672
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29673
|
+
|
|
29674
|
+
Sent mail to valid@example.com (15ms)
|
|
29675
|
+
Date: Tue, 14 Feb 2012 11:46:31 -0500
|
|
29676
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
29677
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
29678
|
+
To: valid@example.com
|
|
29679
|
+
Message-ID: <4f3a8fe7d827c_77583fc889034d3c330b3@edge.mail>
|
|
29680
|
+
Subject: Reset password instructions
|
|
29681
|
+
Mime-Version: 1.0
|
|
29682
|
+
Content-Type: text/html;
|
|
29683
|
+
charset=UTF-8
|
|
29684
|
+
Content-Transfer-Encoding: 7bit
|
|
29685
|
+
|
|
29686
|
+
<p>Hello valid@example.com!</p>
|
|
29687
|
+
|
|
29688
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
29689
|
+
|
|
29690
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=ciY7FhskrtwixbcuFgic">Change my password</a></p>
|
|
29691
|
+
|
|
29692
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
29693
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
29694
|
+
|
|
29695
|
+
Redirected to http://test.host/users/login
|
|
29696
|
+
Completed 302 Found in 88ms (ActiveRecord: 0.0ms)
|
|
29697
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
|
29698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29699
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
29700
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
29701
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
|
29702
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms)
|
|
29703
|
+
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
|
29704
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29705
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29706
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29708
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29709
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29710
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29711
|
+
|
|
29712
|
+
|
|
29713
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:31 -0500
|
|
29714
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29715
|
+
Completed 401 Unauthorized in 0ms
|
|
29716
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29717
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29718
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29719
|
+
[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 Feb 2012 16:46:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$iGLtWMEkQEqo6/al7Mxx/./YAI8EVUhqp4JwI4ip4fyKVsFjzJ8fq"], ["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 Feb 2012 16:46:31 UTC +00:00]]
|
|
29720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29722
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
29723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29725
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:46:31.992747' WHERE "users"."id" = 999914116
|
|
29726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29728
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:46:31.993905' WHERE "users"."id" = 999914116[0m
|
|
29729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29730
|
+
|
|
29731
|
+
|
|
29732
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:31 -0500
|
|
29733
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29734
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
29735
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29736
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29737
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29738
|
+
Completed 401 Unauthorized in 6ms
|
|
29739
|
+
|
|
29740
|
+
|
|
29741
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29742
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29743
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
29744
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms)
|
|
29745
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
29746
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
|
29747
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
|
|
29748
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
|
29749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29750
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29751
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29752
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29753
|
+
|
|
29754
|
+
|
|
29755
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29756
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29757
|
+
Completed 401 Unauthorized in 0ms
|
|
29758
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29759
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
29760
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29761
|
+
[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 Feb 2012 16:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZpQcfsQ6Fs/gUajWrbabPe6t.KZheVsithOpEdltFFoRDbNvHcgpO"], ["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 Feb 2012 16:46:32 UTC +00:00]]
|
|
29762
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29763
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29764
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29765
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29766
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29767
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:46:32.043815' WHERE "users"."id" = 999914116[0m
|
|
29768
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29769
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29771
|
+
|
|
29772
|
+
|
|
29773
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29774
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29775
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
29776
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
29777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29778
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:46:32.052071', "current_sign_in_at" = '2012-02-14 16:46:32.052071', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:46:32.052511' WHERE "users"."id" = 999914116[0m
|
|
29779
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29780
|
+
Redirected to http://www.example.com/logged_in_page
|
|
29781
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
29782
|
+
|
|
29783
|
+
|
|
29784
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29785
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29786
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
29787
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
|
29788
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
29789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29790
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29791
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29792
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29793
|
+
|
|
29794
|
+
|
|
29795
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29796
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29797
|
+
Completed 401 Unauthorized in 0ms
|
|
29798
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29799
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29800
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29801
|
+
[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 Feb 2012 16:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GiwmGUKW6gHOVLP5Jq.ODefw01U.TYDaIpEAhAIkwwB.JFEI3a6Pa"], ["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 Feb 2012 16:46:32 UTC +00:00]]
|
|
29802
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29804
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
29805
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29807
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29808
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29810
|
+
|
|
29811
|
+
|
|
29812
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29813
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29814
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
29815
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
29816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29818
|
+
Completed 401 Unauthorized in 34ms
|
|
29819
|
+
|
|
29820
|
+
|
|
29821
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29822
|
+
Processing by Contour::SessionsController#new as HTML
|
|
29823
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
29824
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
29825
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
|
29826
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
|
29827
|
+
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
|
|
29828
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
29829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29830
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29831
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29832
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29833
|
+
|
|
29834
|
+
|
|
29835
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29836
|
+
Processing by WelcomeController#index as HTML
|
|
29837
|
+
Completed 401 Unauthorized in 1ms
|
|
29838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29840
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29841
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
29842
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
29843
|
+
|
|
29844
|
+
|
|
29845
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29846
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29847
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
29848
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29849
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:46:32.228209', "current_sign_in_at" = '2012-02-14 16:46:32.228209', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:46:32.228813' WHERE "users"."id" = 201799169[0m
|
|
29850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29851
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
29852
|
+
[1m[36m (7.7ms)[0m [1mrollback transaction[0m
|
|
29853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29854
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29855
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29856
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29857
|
+
|
|
29858
|
+
|
|
29859
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:46:32 -0500
|
|
29860
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
29861
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29862
|
+
Completed 401 Unauthorized in 82ms
|
|
29863
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29864
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29865
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29866
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29868
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29869
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29871
|
+
[1m[35mFixture Delete (30.4ms)[0m DELETE FROM "authentications"
|
|
29872
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 949717663, 201799169)[0m
|
|
29873
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 876923740, 201799169)
|
|
29874
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 864673665, 201799169)[0m
|
|
29875
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users"
|
|
29876
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 201799169)[0m
|
|
29877
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 999914115)
|
|
29878
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 725306934)[0m
|
|
29879
|
+
[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-02-14 18:12:41', '2012-02-14 18:12:41', 349534908)
|
|
29880
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
|
29881
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29882
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
29883
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29885
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29886
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
29887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29888
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29889
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29890
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29891
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
29892
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 18:12:41 UTC", "updated_at"=>"2012-02-14 18:12:41 UTC"}}
|
|
29893
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
29894
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29895
|
+
Logged in user found, creating associated authentication.
|
|
29896
|
+
[1m[35m (19.5ms)[0m SAVEPOINT active_record_1
|
|
29897
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:12:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 18:12:42 UTC +00:00], ["user_id", 201799169]]
|
|
29898
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29899
|
+
Redirected to http://test.host/authentications
|
|
29900
|
+
Completed 302 Found in 291ms (ActiveRecord: 20.7ms)
|
|
29901
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
29902
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
29903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29904
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
29905
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
29906
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29907
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
29908
|
+
Parameters: {"id"=>"949717663"}
|
|
29909
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29910
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
29911
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29912
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
29913
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29914
|
+
Redirected to http://test.host/authentications
|
|
29915
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
29916
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
29917
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
29918
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29919
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29920
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
29921
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
29922
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
29923
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
29924
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
29925
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.1ms)
|
|
29926
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms)
|
|
29927
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms)
|
|
29928
|
+
Completed 200 OK in 228ms (Views: 226.6ms | ActiveRecord: 0.4ms)
|
|
29929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29931
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
29932
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
29933
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
29934
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KEA6RYDKr6s4k4hkJ9bu' LIMIT 1[0m
|
|
29935
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29936
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KEA6RYDKr6s4k4hkJ9bu', "reset_password_sent_at" = '2012-02-14 18:12:42.654156', "updated_at" = '2012-02-14 18:12:42.654981' WHERE "users"."id" = 201799169[0m
|
|
29937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29938
|
+
|
|
29939
|
+
Sent mail to valid@example.com (44ms)
|
|
29940
|
+
Date: Tue, 14 Feb 2012 13:12:42 -0500
|
|
29941
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
29942
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
29943
|
+
To: valid@example.com
|
|
29944
|
+
Message-ID: <4f3aa41ac2c62_7da43fd608434d38957d9@edge.mail>
|
|
29945
|
+
Subject: Reset password instructions
|
|
29946
|
+
Mime-Version: 1.0
|
|
29947
|
+
Content-Type: text/html;
|
|
29948
|
+
charset=UTF-8
|
|
29949
|
+
Content-Transfer-Encoding: 7bit
|
|
29950
|
+
|
|
29951
|
+
<p>Hello valid@example.com!</p>
|
|
29952
|
+
|
|
29953
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
29954
|
+
|
|
29955
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=KEA6RYDKr6s4k4hkJ9bu">Change my password</a></p>
|
|
29956
|
+
|
|
29957
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
29958
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
29959
|
+
|
|
29960
|
+
Redirected to http://test.host/users/login
|
|
29961
|
+
Completed 302 Found in 263ms (ActiveRecord: 0.0ms)
|
|
29962
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
29963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29964
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
29965
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
29966
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
|
29967
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.1ms)
|
|
29968
|
+
Completed 200 OK in 66ms (Views: 65.2ms | ActiveRecord: 0.0ms)
|
|
29969
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29970
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29971
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
29972
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
29973
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
29974
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
29975
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
29976
|
+
|
|
29977
|
+
|
|
29978
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:42 -0500
|
|
29979
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
29980
|
+
Completed 401 Unauthorized in 1ms
|
|
29981
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
29982
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
29983
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
29984
|
+
[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 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZBZpXtKXGwm9jHTESbXmg.6z6MruEdDTBn7wWjwNTl0Vyv5DV1lMW"], ["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 Feb 2012 18:12:43 UTC +00:00]]
|
|
29985
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29987
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
29988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
29990
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:12:43.156834' WHERE "users"."id" = 999914116
|
|
29991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
29992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
29993
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 18:12:43.158436' WHERE "users"."id" = 999914116[0m
|
|
29994
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
29995
|
+
|
|
29996
|
+
|
|
29997
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
29998
|
+
Processing by Contour::SessionsController#create as HTML
|
|
29999
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
30000
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
30001
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30002
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30003
|
+
Completed 401 Unauthorized in 21ms
|
|
30004
|
+
|
|
30005
|
+
|
|
30006
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30007
|
+
Processing by Contour::SessionsController#new as HTML
|
|
30008
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
30009
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms)
|
|
30010
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
30011
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
30012
|
+
Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.0ms)
|
|
30013
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
30014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
30015
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30016
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
30017
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
30018
|
+
|
|
30019
|
+
|
|
30020
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30021
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30022
|
+
Completed 401 Unauthorized in 0ms
|
|
30023
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30024
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
30025
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
30026
|
+
[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 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2SYqKGsfq8Cw8DKcOb4vqOyKbLqQqy.Fj9daR.VWyH0BDHoo8f9oe"], ["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 Feb 2012 18:12:43 UTC +00:00]]
|
|
30027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30029
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
30030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30031
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30032
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:12:43.282015' WHERE "users"."id" = 999914116[0m
|
|
30033
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30034
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30036
|
+
|
|
30037
|
+
|
|
30038
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30039
|
+
Processing by Contour::SessionsController#create as HTML
|
|
30040
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
30041
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
30042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30043
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:12:43.290419', "current_sign_in_at" = '2012-02-14 18:12:43.290419', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:12:43.290882' WHERE "users"."id" = 999914116[0m
|
|
30044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30045
|
+
Redirected to http://www.example.com/logged_in_page
|
|
30046
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
30047
|
+
|
|
30048
|
+
|
|
30049
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30050
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30051
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
30052
|
+
Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms)
|
|
30053
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
30054
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
30055
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30056
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
30057
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
30058
|
+
|
|
30059
|
+
|
|
30060
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30061
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30062
|
+
Completed 401 Unauthorized in 0ms
|
|
30063
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30064
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
30065
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
30066
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nzAcDNmoU0b.Q2IuLc6ia.eAumXlz5xX.FB7fpyglX9VOx5MMVhSG"], ["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 Feb 2012 18:12:43 UTC +00:00]]
|
|
30067
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30068
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30069
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
30070
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30073
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30075
|
+
|
|
30076
|
+
|
|
30077
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30078
|
+
Processing by Contour::SessionsController#create as HTML
|
|
30079
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
30080
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
30081
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30082
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30083
|
+
Completed 401 Unauthorized in 4ms
|
|
30084
|
+
|
|
30085
|
+
|
|
30086
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30087
|
+
Processing by Contour::SessionsController#new as HTML
|
|
30088
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
30089
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
30090
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
|
30091
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
30092
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
|
30093
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
30094
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
30095
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30096
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
30097
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
30098
|
+
|
|
30099
|
+
|
|
30100
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30101
|
+
Processing by WelcomeController#index as HTML
|
|
30102
|
+
Completed 401 Unauthorized in 0ms
|
|
30103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
30104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
30105
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30106
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
30107
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
30108
|
+
|
|
30109
|
+
|
|
30110
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30111
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
30112
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
30113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30114
|
+
[1m[36m (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:12:43.487069', "current_sign_in_at" = '2012-02-14 18:12:43.487069', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:12:43.488058' WHERE "users"."id" = 201799169[0m
|
|
30115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30116
|
+
Completed 200 OK in 90ms (Views: 0.4ms | ActiveRecord: 1.2ms)
|
|
30117
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
30118
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30120
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
30121
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
30122
|
+
|
|
30123
|
+
|
|
30124
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:12:43 -0500
|
|
30125
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
30126
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
30127
|
+
Completed 401 Unauthorized in 83ms
|
|
30128
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
30129
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30130
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
30132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30133
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30134
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
30135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30136
|
+
[1m[35mFixture Delete (19.1ms)[0m DELETE FROM "authentications"
|
|
30137
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 949717663, 201799169)[0m
|
|
30138
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 876923740, 201799169)
|
|
30139
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 864673665, 201799169)[0m
|
|
30140
|
+
[1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users"
|
|
30141
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 201799169)[0m
|
|
30142
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 999914115)
|
|
30143
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 725306934)[0m
|
|
30144
|
+
[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-02-14 18:24:17', '2012-02-14 18:24:17', 349534908)
|
|
30145
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
|
30146
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
30147
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
30148
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
30149
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
30150
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
30151
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
30152
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
30153
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30154
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
30155
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
30156
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
30157
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 18:24:17 UTC", "updated_at"=>"2012-02-14 18:24:17 UTC"}}
|
|
30158
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
30159
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
30160
|
+
Logged in user found, creating associated authentication.
|
|
30161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30162
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:24:17 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 18:24:17 UTC +00:00], ["user_id", 201799169]]
|
|
30163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30164
|
+
Redirected to http://test.host/authentications
|
|
30165
|
+
Completed 302 Found in 192ms (ActiveRecord: 1.0ms)
|
|
30166
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
|
30167
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
30168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
30169
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30170
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
30171
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
30172
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
30173
|
+
Parameters: {"id"=>"949717663"}
|
|
30174
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
30175
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
|
30176
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30177
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
30178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30179
|
+
Redirected to http://test.host/authentications
|
|
30180
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
|
30181
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
30182
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
30183
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
30184
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30185
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
30186
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
30187
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
|
30188
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
|
30189
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
|
30190
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.3ms)
|
|
30191
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms)
|
|
30192
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
|
30193
|
+
Completed 200 OK in 219ms (Views: 217.0ms | ActiveRecord: 0.4ms)
|
|
30194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
30195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30196
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
30197
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
30198
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
30199
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '3nc74dsUPjfTT46XB3ds' LIMIT 1[0m
|
|
30200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30201
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '3nc74dsUPjfTT46XB3ds', "reset_password_sent_at" = '2012-02-14 18:24:17.874751', "updated_at" = '2012-02-14 18:24:17.875777' WHERE "users"."id" = 201799169[0m
|
|
30202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30203
|
+
|
|
30204
|
+
Sent mail to valid@example.com (26ms)
|
|
30205
|
+
Date: Tue, 14 Feb 2012 13:24:18 -0500
|
|
30206
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
30207
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
30208
|
+
To: valid@example.com
|
|
30209
|
+
Message-ID: <4f3aa6d248b0_7e673fd530c34d40344f2@edge.mail>
|
|
30210
|
+
Subject: Reset password instructions
|
|
30211
|
+
Mime-Version: 1.0
|
|
30212
|
+
Content-Type: text/html;
|
|
30213
|
+
charset=UTF-8
|
|
30214
|
+
Content-Transfer-Encoding: 7bit
|
|
30215
|
+
|
|
30216
|
+
<p>Hello valid@example.com!</p>
|
|
30217
|
+
|
|
30218
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
|
30219
|
+
|
|
30220
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=3nc74dsUPjfTT46XB3ds">Change my password</a></p>
|
|
30221
|
+
|
|
30222
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
30223
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
30224
|
+
|
|
30225
|
+
Redirected to http://test.host/users/login
|
|
30226
|
+
Completed 302 Found in 217ms (ActiveRecord: 0.0ms)
|
|
30227
|
+
[1m[36m (48.5ms)[0m [1mrollback transaction[0m
|
|
30228
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30229
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
30230
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
30231
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
|
|
30232
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.9ms)
|
|
30233
|
+
Completed 200 OK in 139ms (Views: 137.9ms | ActiveRecord: 0.0ms)
|
|
30234
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
30235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30236
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
30237
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30238
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30239
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
30240
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
30241
|
+
|
|
30242
|
+
|
|
30243
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30244
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30245
|
+
Completed 401 Unauthorized in 1ms
|
|
30246
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30247
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
30248
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
30249
|
+
[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 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$0if/oeezZVC04zNMQbGV6Oq6ZkFduAs2C8J9H.TQX...nBxAuGRaS"], ["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 Feb 2012 18:24:18 UTC +00:00]]
|
|
30250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30251
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30252
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
|
30253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30255
|
+
[1m[35m (38.0ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:24:18.442045' WHERE "users"."id" = 999914116
|
|
30256
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30258
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 18:24:18.481711' WHERE "users"."id" = 999914116[0m
|
|
30259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30260
|
+
|
|
30261
|
+
|
|
30262
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30263
|
+
Processing by Contour::SessionsController#create as HTML
|
|
30264
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
30265
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
30266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30267
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30268
|
+
Completed 401 Unauthorized in 27ms
|
|
30269
|
+
|
|
30270
|
+
|
|
30271
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30272
|
+
Processing by Contour::SessionsController#new as HTML
|
|
30273
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
|
30274
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
30275
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms)
|
|
30276
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
|
30277
|
+
Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms)
|
|
30278
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
30279
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30280
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30281
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
30282
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
30283
|
+
|
|
30284
|
+
|
|
30285
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30286
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30287
|
+
Completed 401 Unauthorized in 0ms
|
|
30288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30289
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
30290
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
30291
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$V6PyVue0DMxS60RlfzO39O5AlD.nv/0z3zc8ghbczSGLJV75gOyIK"], ["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 Feb 2012 18:24:18 UTC +00:00]]
|
|
30292
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30293
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30294
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
30295
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30296
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30297
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:24:18.572809' WHERE "users"."id" = 999914116[0m
|
|
30298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30299
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30300
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30301
|
+
|
|
30302
|
+
|
|
30303
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30304
|
+
Processing by Contour::SessionsController#create as HTML
|
|
30305
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
30306
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
30307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30308
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:24:18.582056', "current_sign_in_at" = '2012-02-14 18:24:18.582056', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:24:18.582509' WHERE "users"."id" = 999914116[0m
|
|
30309
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30310
|
+
Redirected to http://www.example.com/logged_in_page
|
|
30311
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
30312
|
+
|
|
30313
|
+
|
|
30314
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30315
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30316
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
|
30317
|
+
Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.2ms)
|
|
30318
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
30319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30320
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30321
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
30322
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
30323
|
+
|
|
30324
|
+
|
|
30325
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30326
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
30327
|
+
Completed 401 Unauthorized in 0ms
|
|
30328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30329
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
30330
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
30331
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Gj5frd6ar5g5Huisfr8WU.lXJy2vzen0YRWu/fjZ4UDHICplwT9.m"], ["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 Feb 2012 18:24:18 UTC +00:00]]
|
|
30332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30333
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30334
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
|
30335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30337
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30338
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30340
|
+
|
|
30341
|
+
|
|
30342
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30343
|
+
Processing by Contour::SessionsController#create as HTML
|
|
30344
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
30345
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
30346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
30347
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30348
|
+
Completed 401 Unauthorized in 5ms
|
|
30349
|
+
|
|
30350
|
+
|
|
30351
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30352
|
+
Processing by Contour::SessionsController#new as HTML
|
|
30353
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
30354
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms)
|
|
30355
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
|
30356
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
30357
|
+
Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
|
30358
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
30359
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30360
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30361
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
30362
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
30363
|
+
|
|
30364
|
+
|
|
30365
|
+
Started GET "/" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30366
|
+
Processing by WelcomeController#index as HTML
|
|
30367
|
+
Completed 401 Unauthorized in 1ms
|
|
30368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
30369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
30370
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30371
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
30372
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
30373
|
+
|
|
30374
|
+
|
|
30375
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30376
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
30377
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
30378
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
30379
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:24:18.785205', "current_sign_in_at" = '2012-02-14 18:24:18.785205', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:24:18.785854' WHERE "users"."id" = 201799169[0m
|
|
30380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
30381
|
+
Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
30382
|
+
[1m[36m (41.3ms)[0m [1mrollback transaction[0m
|
|
30383
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
30384
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30385
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
30386
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
30387
|
+
|
|
30388
|
+
|
|
30389
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:24:18 -0500
|
|
30390
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
30391
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
30392
|
+
Completed 401 Unauthorized in 82ms
|
|
30393
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
30394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
30395
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
30396
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
30397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30398
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
30399
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|