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