contour 1.0.0.beta12 → 1.0.0.rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +4 -0
- data/README.rdoc +83 -14
- data/app/assets/images/contour/ajax-loader.gif +0 -0
- data/app/assets/javascripts/contour/global.js.coffee +23 -2
- data/app/helpers/contour_helper.rb +18 -1
- data/app/views/contour/layouts/_per_page.html.erb +7 -0
- data/config/initializers/devise.rb +0 -29
- data/contour.gemspec +5 -5
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/install/install_generator.rb +30 -0
- data/lib/generators/{templates → contour/install/templates}/README +9 -13
- data/lib/generators/{templates → contour/install/templates}/contour.rb +0 -0
- data/lib/generators/{templates → contour/install/templates}/omniauth.rb +0 -0
- data/lib/generators/contour/scaffold/USAGE +15 -0
- data/lib/generators/contour/scaffold/scaffold_generator.rb +58 -0
- data/lib/generators/contour/scaffold/templates/_form.html.erb +37 -0
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +30 -0
- data/lib/generators/contour/scaffold/templates/controller.rb +107 -0
- data/lib/generators/contour/scaffold/templates/edit.html.erb +3 -0
- data/lib/generators/contour/scaffold/templates/index.html.erb +21 -0
- data/lib/generators/contour/scaffold/templates/index.js.erb +1 -0
- data/lib/generators/contour/scaffold/templates/new.html.erb +3 -0
- data/lib/generators/contour/scaffold/templates/show.html.erb +23 -0
- data/test/dummy/config/initializers/devise.rb +14 -13
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1574 -0
- metadata +53 -42
- data/lib/generators/contour/install_generator.rb +0 -46
- data/lib/generators/templates/devise.rb +0 -142
@@ -0,0 +1,37 @@
|
|
1
|
+
<div class="page-header">
|
2
|
+
<h1><%%= @title %></h1>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<%%= form_for @<%= resource_name %>, html: { class: 'form-horizontal' } do |f| %>
|
6
|
+
<%% if @<%= resource_name %>.errors.any? %>
|
7
|
+
<div id="error_explanation">
|
8
|
+
<h2><%%= pluralize(@<%= resource_name %>.errors.count, "error") %> prohibited this <%= resource_name %> from being saved:</h2>
|
9
|
+
|
10
|
+
<ul>
|
11
|
+
<%% @<%= resource_name %>.errors.full_messages.each do |msg| %>
|
12
|
+
<li><%%= msg %></li>
|
13
|
+
<%% end %>
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
<%% end %>
|
17
|
+
|
18
|
+
<%- columns.each do |column| -%>
|
19
|
+
<div class="control-group">
|
20
|
+
<%%= f.label :<%= column.name %>, nil, class: 'control-label' %>
|
21
|
+
<div class="controls">
|
22
|
+
<%- if column.name.split('_').last == 'id' -%>
|
23
|
+
<%%= f.select :<%= column.name %>, [['---', nil]] + <%= column.name.split('_')[0..-2].join('_').camelize %>.current.collect{|<%= column.name.first %>| [<%= column.name.first %>.name, <%= column.name.first %>.id]} %>
|
24
|
+
<%- elsif column.field_type == :date_select -%>
|
25
|
+
<%%= f.text_field :<%= column.name %>, class: 'datepicker', value: @<%= resource_name %>.<%= column.name %> ? @<%= resource_name %>.<%= column.name %>.strftime('%m/%d/%Y') : '' %>
|
26
|
+
<%- else -%>
|
27
|
+
<%%= f.<%= column.field_type %> :<%= column.name %><%= ", rows: 7, style: 'width:95%'" if column.field_type == :text_area %> %>
|
28
|
+
<%- end -%>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<%- end -%>
|
33
|
+
<div class="form-actions">
|
34
|
+
<%%= f.submit nil, class: 'btn btn-primary' %>
|
35
|
+
<%%= cancel %>
|
36
|
+
</div>
|
37
|
+
<%% end %>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<%%= render partial: 'contour/layouts/per_page', locals: { type: '<%= resource_name_plural %>', per_page: 20 } %>
|
2
|
+
|
3
|
+
<table class="table table-striped table-bordered" style="width:100%">
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<%- columns.each do |column| -%>
|
7
|
+
<th style="white-space:nowrap"><%%== sort_field_helper(@order, '<%= resource_name_plural %>.<%= column.name %>', '<%= column.name.titleize %>', '<%= resource_name_plural %>_search') %></th>
|
8
|
+
<%- end -%>
|
9
|
+
<th>Actions</th>
|
10
|
+
</tr>
|
11
|
+
</thead>
|
12
|
+
|
13
|
+
<%% @<%= resource_name_plural %>.each do |<%= resource_name %>| %>
|
14
|
+
<tr>
|
15
|
+
<%- columns.each do |column| -%>
|
16
|
+
<%- if column.name.split('_').last == 'id' -%>
|
17
|
+
<td><%%= link_to <%= resource_name %>.<%= column.name.split('_')[0..-2].join('_') %>.name, <%= resource_name %>.<%= column.name.split('_')[0..-2].join('_') %> if <%= resource_name %>.<%= column.name.split('_')[0..-2].join('_') %> %></td>
|
18
|
+
<%- else -%>
|
19
|
+
<td><%%= <%= resource_name %>.<%= column.name %> %></td>
|
20
|
+
<%- end -%>
|
21
|
+
<%- end -%>
|
22
|
+
<td>
|
23
|
+
<%%= link_to 'Edit', edit_<%= resource_name %>_path(<%= resource_name %>), class: 'btn btn-mini' %>
|
24
|
+
<%%= link_to 'Delete', <%= resource_name %>, confirm: "Are you sure you want to delete <%= resource_title %> #{<%= resource_name %>.name}?", method: :delete, class: 'btn btn-mini btn-danger' %>
|
25
|
+
</td>
|
26
|
+
</tr>
|
27
|
+
<%% end %>
|
28
|
+
</table>
|
29
|
+
|
30
|
+
<center><%%= paginate @<%= resource_name_plural %> %></center>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
class <%= resource_class_name_plural %>Controller < ApplicationController
|
2
|
+
before_filter :authenticate_user!
|
3
|
+
|
4
|
+
# GET /<%= resource_name_plural %>
|
5
|
+
# GET /<%= resource_name_plural %>.json
|
6
|
+
def index
|
7
|
+
<%= resource_name %>_scope = <%= resource_class_name %>.current
|
8
|
+
@order = <%= resource_class_name %>.column_names.collect{|column_name| "<%= resource_name_plural %>.#{column_name}"}.include?(params[:order].to_s.split(' ').first) ? params[:order] : "<%= resource_name_plural %>.name"
|
9
|
+
<%= resource_name %>_scope = <%= resource_name %>_scope.order(@order)
|
10
|
+
@<%= resource_name_plural %> = <%= resource_name %>_scope.page(params[:page]).per( 20 )
|
11
|
+
|
12
|
+
respond_to do |format|
|
13
|
+
format.html # index.html.erb
|
14
|
+
format.js
|
15
|
+
format.json { render json: @<%= resource_name_plural %> }
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
# GET /<%= resource_name_plural %>/1
|
20
|
+
# GET /<%= resource_name_plural %>/1.json
|
21
|
+
def show
|
22
|
+
@<%= resource_name %> = <%= resource_class_name %>.current.find(params[:id])
|
23
|
+
|
24
|
+
respond_to do |format|
|
25
|
+
format.html # show.html.erb
|
26
|
+
format.json { render json: @<%= resource_name %> }
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# GET /<%= resource_name_plural %>/new
|
31
|
+
# GET /<%= resource_name_plural %>/new.json
|
32
|
+
def new
|
33
|
+
@<%= resource_name %> = <%= resource_class_name %>.new
|
34
|
+
|
35
|
+
respond_to do |format|
|
36
|
+
format.html # new.html.erb
|
37
|
+
format.json { render json: @<%= resource_name %> }
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# GET /<%= resource_name_plural %>/1/edit
|
42
|
+
def edit
|
43
|
+
@<%= resource_name %> = <%= resource_class_name %>.current.find(params[:id])
|
44
|
+
end
|
45
|
+
|
46
|
+
# POST /<%= resource_name_plural %>
|
47
|
+
# POST /<%= resource_name_plural %>.json
|
48
|
+
def create
|
49
|
+
@<%= resource_name %> = <%= resource_class_name %>.new(post_params)
|
50
|
+
|
51
|
+
respond_to do |format|
|
52
|
+
if @<%= resource_name %>.save
|
53
|
+
format.html { redirect_to @<%= resource_name %>, notice: '<%= resource_class_name %> was successfully created.' }
|
54
|
+
format.json { render json: @<%= resource_name %>, status: :created, location: @<%= resource_name %> }
|
55
|
+
else
|
56
|
+
format.html { render action: "new" }
|
57
|
+
format.json { render json: @<%= resource_name %>.errors, status: :unprocessable_entity }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# PUT /<%= resource_name_plural %>/1
|
63
|
+
# PUT /<%= resource_name_plural %>/1.json
|
64
|
+
def update
|
65
|
+
@<%= resource_name %> = <%= resource_class_name %>.current.find(params[:id])
|
66
|
+
|
67
|
+
respond_to do |format|
|
68
|
+
if @<%= resource_name %>.update_attributes(post_params)
|
69
|
+
format.html { redirect_to @<%= resource_name %>, notice: '<%= resource_class_name %> was successfully updated.' }
|
70
|
+
format.json { head :no_content }
|
71
|
+
else
|
72
|
+
format.html { render action: "edit" }
|
73
|
+
format.json { render json: @<%= resource_name %>.errors, status: :unprocessable_entity }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# DELETE /<%= resource_name_plural %>/1
|
79
|
+
# DELETE /<%= resource_name_plural %>/1.json
|
80
|
+
def destroy
|
81
|
+
@<%= resource_name %> = <%= resource_class_name %>.current.find(params[:id])
|
82
|
+
@<%= resource_name %>.destroy
|
83
|
+
|
84
|
+
respond_to do |format|
|
85
|
+
format.html { redirect_to <%= resource_name_plural %>_url }
|
86
|
+
format.json { head :no_content }
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
private
|
91
|
+
|
92
|
+
def parse_date(date_string)
|
93
|
+
date_string.to_s.split('/').last.size == 2 ? Date.strptime(date_string, "%m/%d/%y") : Date.strptime(date_string, "%m/%d/%Y") rescue ""
|
94
|
+
end
|
95
|
+
|
96
|
+
def post_params
|
97
|
+
|
98
|
+
[<%= date_columns.collect{|c| ":#{c.name}"}.join(', ') %>].each do |date|
|
99
|
+
params[:<%= resource_name %>][date] = parse_date(params[:<%= resource_name %>][date])
|
100
|
+
end
|
101
|
+
|
102
|
+
params[:<%= resource_name %>] ||= {}
|
103
|
+
params[:<%= resource_name %>].slice(
|
104
|
+
<%= columns.collect{|c| ":#{c.name}"}.join(', ') %>
|
105
|
+
)
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<%% @title = '<%= resource_title_plural %>' %>
|
2
|
+
<div class="page-header">
|
3
|
+
<h1>
|
4
|
+
<%%= @title %>
|
5
|
+
<%%= link_to "Create <%= resource_title %>", new_<%= resource_name %>_path, class: 'btn btn-mini btn-primary' %>
|
6
|
+
</h1>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<%%= form_tag <%= resource_name_plural %>_path, method: :get, remote: true, id: "<%= resource_name_plural %>_search", class: 'form-search' do %>
|
10
|
+
<%%= hidden_field_tag :order %>
|
11
|
+
<%%= text_field_tag 'search', params[:search], class: 'search-query' %>
|
12
|
+
<%%= submit_tag 'Search', class: 'btn btn-primary' %>
|
13
|
+
<%% end %>
|
14
|
+
|
15
|
+
<div id="<%= resource_name_plural %>"><center><%%= image_tag "contour/ajax-loader.gif" %></center></div>
|
16
|
+
|
17
|
+
<%%= javascript_tag do %>
|
18
|
+
$(function(){
|
19
|
+
$.get($("#<%= resource_name_plural %>_search").attr("action"), $("#<%= resource_name_plural %>_search").serialize(), null, "script");
|
20
|
+
});
|
21
|
+
<%% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
$("#<%= resource_name_plural %>").html("<%%= escape_javascript(render("<%= resource_name_plural %>")) %>");
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<%% @title = "<%= resource_title %>: #{@<%= resource_name %>.name}" %>
|
2
|
+
<div class="page-header">
|
3
|
+
<h1>
|
4
|
+
<%%= @title %>
|
5
|
+
<%%= link_to "Edit <%= resource_title %>", edit_<%= resource_name %>_path(@<%= resource_name %>), class: 'btn btn-mini' %>
|
6
|
+
<%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?", method: :delete, class: 'btn btn-mini btn-danger' %>
|
7
|
+
<%%= link_to "View <%= resource_title_plural %>", <%= resource_name_plural %>_path, class: 'btn btn-mini' %>
|
8
|
+
</h1>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<dl class="dl-horizontal">
|
12
|
+
<%- columns.each do |column| -%>
|
13
|
+
<dt><%= column.name.titleize %></dt>
|
14
|
+
<%- if column.name.split('_').last == 'id' -%>
|
15
|
+
<dd><%%= link_to @<%= resource_name %>.<%= column.name.split('_')[0..-2].join('_') %>.name, @<%= resource_name %>.<%= column.name.split('_')[0..-2].join('_') %> if @<%= resource_name %>.<%= column.name.split('_')[0..-2].join('_') %> %></dd>
|
16
|
+
<%- elsif column.field_type == :text_area -%>
|
17
|
+
<dd><%%= simple_format @<%= resource_name %>.<%= column.name %> %></dd>
|
18
|
+
<%- else -%>
|
19
|
+
<dd><%%= @<%= resource_name %>.<%= column.name %> %></dd>
|
20
|
+
<%- end -%>
|
21
|
+
|
22
|
+
<%- end -%>
|
23
|
+
</dl>
|
@@ -9,9 +9,6 @@ Devise.setup do |config|
|
|
9
9
|
# Configure the class responsible to send e-mails.
|
10
10
|
# config.mailer = "Devise::Mailer"
|
11
11
|
|
12
|
-
# Automatically apply schema changes in tableless databases
|
13
|
-
config.apply_schema = false
|
14
|
-
|
15
12
|
# ==> ORM configuration
|
16
13
|
# Load and configure the ORM. Supports :active_record (default) and
|
17
14
|
# :mongoid (bson_ext recommended) by default. Other ORMs may be
|
@@ -46,9 +43,15 @@ Devise.setup do |config|
|
|
46
43
|
config.strip_whitespace_keys = [ :email ]
|
47
44
|
|
48
45
|
# Tell if authentication through request.params is enabled. True by default.
|
46
|
+
# It can be set to an array that will enable params authentication only for the
|
47
|
+
# given strategies, for example, `config.params_authenticatable = [:database]` will
|
48
|
+
# enable it only for database (email + password) authentication.
|
49
49
|
# config.params_authenticatable = true
|
50
50
|
|
51
51
|
# Tell if authentication through HTTP Basic Auth is enabled. False by default.
|
52
|
+
# It can be set to an array that will enable http authentication only for the
|
53
|
+
# given strategies, for example, `config.http_authenticatable = [:token]` will
|
54
|
+
# enable it only for token authentication.
|
52
55
|
config.http_authenticatable = true
|
53
56
|
|
54
57
|
# If http headers should be returned for AJAX requests. True by default.
|
@@ -64,6 +67,9 @@ Devise.setup do |config|
|
|
64
67
|
|
65
68
|
# By default Devise will store the user in session. You can skip storage for
|
66
69
|
# :http_auth and :token_auth by adding those symbols to the array below.
|
70
|
+
# Notice that if you are skipping storage for all authentication paths, you
|
71
|
+
# may want to disable generating routes to Devise's sessions controller by
|
72
|
+
# passing :skip => :sessions to `devise_for` in your config/routes.rb
|
67
73
|
config.skip_session_storage = [:http_auth]
|
68
74
|
|
69
75
|
# ==> Configuration for :database_authenticatable
|
@@ -78,7 +84,7 @@ Devise.setup do |config|
|
|
78
84
|
# Setup a pepper to generate the encrypted password.
|
79
85
|
config.pepper = "d142367154e5beacca404b1a6a4f8bc52c6fdcfa3ccc3cf8eb49f3458a688ee6ac3b9fae488432a3bfca863b8a90008368a9f3a3dfbe5a962e64b6ab8f3a3a1a"
|
80
86
|
|
81
|
-
# ==> Configuration for :confirmable
|
87
|
+
# ==> Configuration for :confirmable
|
82
88
|
# A period that the user is allowed to access the website even without
|
83
89
|
# confirming his account. For instance, if set to 2.days, the user will be
|
84
90
|
# able to access the website for two days without confirming his account,
|
@@ -86,7 +92,7 @@ Devise.setup do |config|
|
|
86
92
|
# the user cannot access the website without confirming his account.
|
87
93
|
# config.allow_unconfirmed_access_for = 2.days
|
88
94
|
|
89
|
-
# If true, requires any email changes to be confirmed (
|
95
|
+
# If true, requires any email changes to be confirmed (exactly the same way as
|
90
96
|
# initial account confirmation) to be applied. Requires additional unconfirmed_email
|
91
97
|
# db field (see migrations). Until confirmed new email is stored in
|
92
98
|
# unconfirmed email column, and copied to email column on successful confirmation.
|
@@ -102,13 +108,9 @@ Devise.setup do |config|
|
|
102
108
|
# If true, extends the user's remember period when remembered via cookie.
|
103
109
|
# config.extend_remember_period = false
|
104
110
|
|
105
|
-
# If true, uses the password salt as remember token. This should be turned
|
106
|
-
# to false if you are not using database authenticatable.
|
107
|
-
config.use_salt_as_remember_token = true
|
108
|
-
|
109
111
|
# Options to be passed to the created cookie. For instance, you can set
|
110
112
|
# :secure => true in order to force SSL only cookies.
|
111
|
-
# config.
|
113
|
+
# config.rememberable_options = {}
|
112
114
|
|
113
115
|
# ==> Configuration for :validatable
|
114
116
|
# Range for password length. Default is 6..128.
|
@@ -192,9 +194,8 @@ Devise.setup do |config|
|
|
192
194
|
# If you have any extra navigational formats, like :iphone or :mobile, you
|
193
195
|
# should add them to the navigational formats lists.
|
194
196
|
#
|
195
|
-
# The
|
196
|
-
#
|
197
|
-
# config.navigational_formats = [:"*/*", "*/*", :html]
|
197
|
+
# The "*/*" below is required to match Internet Explorer requests.
|
198
|
+
# config.navigational_formats = ["*/*", :html]
|
198
199
|
|
199
200
|
# The default HTTP method used to sign out a resource. Default is :delete.
|
200
201
|
config.sign_out_via = :get
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -35408,3 +35408,1577 @@ Completed 401 Unauthorized in 86ms
|
|
35408
35408
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35409
35409
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35410
35410
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
35411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35412
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
35413
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 949717663, 201799169)[0m
|
35414
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 876923740, 201799169)
|
35415
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 864673665, 201799169)[0m
|
35416
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
35417
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 201799169)[0m
|
35418
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 999914115)
|
35419
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 725306934)[0m
|
35420
|
+
[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-05-11 13:16:15', '2012-05-11 13:16:15', 349534908)
|
35421
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
35422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35423
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
35424
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35425
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35426
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35427
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
35428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35429
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35430
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35431
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
35432
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
35433
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:16:15 UTC", "updated_at"=>"2012-05-11 13:16:15 UTC"}}
|
35434
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
35435
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35436
|
+
Logged in user found, creating associated authentication.
|
35437
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35438
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:16:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:16:15 UTC +00:00], ["user_id", 201799169]]
|
35439
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35440
|
+
Redirected to http://test.host/authentications
|
35441
|
+
Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
|
35442
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
35443
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
35444
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35445
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35446
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
35447
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
35448
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
35449
|
+
Parameters: {"id"=>"949717663"}
|
35450
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35451
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
35452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35453
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
35454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35455
|
+
Redirected to http://test.host/authentications
|
35456
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
35457
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
35458
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
35459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35460
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35461
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35462
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
35463
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35464
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
35465
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
35466
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
35467
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
|
35468
|
+
Completed 200 OK in 53ms (Views: 50.8ms | ActiveRecord: 0.3ms)
|
35469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35470
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35471
|
+
Processing by Contour::PasswordsController#create as HTML
|
35472
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
35473
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
35474
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'MpNxNWgeDCKpKwoiEyNJ' LIMIT 1[0m
|
35475
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35476
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'MpNxNWgeDCKpKwoiEyNJ', "reset_password_sent_at" = '2012-05-11 13:16:15.860360', "updated_at" = '2012-05-11 13:16:15.861064' WHERE "users"."id" = 201799169[0m
|
35477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35478
|
+
|
35479
|
+
Sent mail to valid@example.com (14ms)
|
35480
|
+
Date: Fri, 11 May 2012 09:16:15 -0400
|
35481
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
35482
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
35483
|
+
To: valid@example.com
|
35484
|
+
Message-ID: <4fad111fe3659_28533fd315034cd84244f@edge.mail>
|
35485
|
+
Subject: Reset password instructions
|
35486
|
+
Mime-Version: 1.0
|
35487
|
+
Content-Type: text/html;
|
35488
|
+
charset=UTF-8
|
35489
|
+
Content-Transfer-Encoding: 7bit
|
35490
|
+
|
35491
|
+
<p>Hello valid@example.com!</p>
|
35492
|
+
|
35493
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
35494
|
+
|
35495
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=MpNxNWgeDCKpKwoiEyNJ">Change my password</a></p>
|
35496
|
+
|
35497
|
+
<p>If you didn't request this, please ignore this email.</p>
|
35498
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
35499
|
+
|
35500
|
+
Redirected to http://test.host/users/login
|
35501
|
+
Completed 302 Found in 90ms (ActiveRecord: 0.0ms)
|
35502
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
35503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35504
|
+
Processing by Contour::PasswordsController#new as HTML
|
35505
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.1ms)
|
35506
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (28.5ms)
|
35507
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.2ms)
|
35508
|
+
Completed 200 OK in 44ms (Views: 43.2ms | ActiveRecord: 0.0ms)
|
35509
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
35510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35511
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
35512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35513
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35514
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
35515
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
35516
|
+
|
35517
|
+
|
35518
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35519
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35520
|
+
Completed 401 Unauthorized in 1ms
|
35521
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35522
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
35523
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
35524
|
+
[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", Fri, 11 May 2012 13:16:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$TnL6srMEv3Z2/nz99o8MbeDso7u2CLTaGNWBb2GdMq181xMKpa.di"], ["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", Fri, 11 May 2012 13:16:16 UTC +00:00]]
|
35525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35527
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
35528
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35529
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35530
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:16:16.051859' WHERE "users"."id" = 999914116
|
35531
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35533
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:16:16.053031' WHERE "users"."id" = 999914116[0m
|
35534
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35535
|
+
|
35536
|
+
|
35537
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35538
|
+
Processing by Contour::SessionsController#create as HTML
|
35539
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
35540
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
35541
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35542
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35543
|
+
Completed 401 Unauthorized in 8ms
|
35544
|
+
|
35545
|
+
|
35546
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35547
|
+
Processing by Contour::SessionsController#new as HTML
|
35548
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
35549
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
35550
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
35551
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
35552
|
+
Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms)
|
35553
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
35554
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35555
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35556
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
35557
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
35558
|
+
|
35559
|
+
|
35560
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35561
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35562
|
+
Completed 401 Unauthorized in 0ms
|
35563
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35564
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
35565
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
35566
|
+
[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", Fri, 11 May 2012 13:16:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$tmceR06fFliku9ScYyjnTuBofA74MShAcnnWaAygyf70VoPHMv0ui"], ["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", Fri, 11 May 2012 13:16:16 UTC +00:00]]
|
35567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35568
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35569
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
35570
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35571
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35572
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:16:16.135111' WHERE "users"."id" = 999914116[0m
|
35573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35574
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35575
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35576
|
+
|
35577
|
+
|
35578
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35579
|
+
Processing by Contour::SessionsController#create as HTML
|
35580
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
35581
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
35582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35583
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:16:16.143592', "current_sign_in_at" = '2012-05-11 13:16:16.143592', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:16:16.144085' WHERE "users"."id" = 999914116[0m
|
35584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35585
|
+
Redirected to http://www.example.com/logged_in_page
|
35586
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
35587
|
+
|
35588
|
+
|
35589
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35590
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35591
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
35592
|
+
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
|
35593
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
35594
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35595
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35596
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
35597
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
35598
|
+
|
35599
|
+
|
35600
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35601
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35602
|
+
Completed 401 Unauthorized in 0ms
|
35603
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35604
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
35605
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
35606
|
+
[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", Fri, 11 May 2012 13:16:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$zwFgJ06MTbsHkDR.1/VIju/pSe2Awgkj7LhC/Hzj0Htx7wgMqi2Wu"], ["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", Fri, 11 May 2012 13:16:16 UTC +00:00]]
|
35607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35608
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35609
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
35610
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35611
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35612
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35613
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35615
|
+
|
35616
|
+
|
35617
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35618
|
+
Processing by Contour::SessionsController#create as HTML
|
35619
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
35620
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
35621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35623
|
+
Completed 401 Unauthorized in 4ms
|
35624
|
+
|
35625
|
+
|
35626
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35627
|
+
Processing by Contour::SessionsController#new as HTML
|
35628
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
35629
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
35630
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
35631
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
35632
|
+
Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
35633
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
35634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35635
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35636
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
35637
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
35638
|
+
|
35639
|
+
|
35640
|
+
Started GET "/" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35641
|
+
Processing by WelcomeController#index as HTML
|
35642
|
+
Completed 401 Unauthorized in 1ms
|
35643
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35645
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35646
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
35647
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
35648
|
+
|
35649
|
+
|
35650
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35651
|
+
Processing by WelcomeController#logged_in_page as JSON
|
35652
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
35653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35654
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:16:16.300818', "current_sign_in_at" = '2012-05-11 13:16:16.300818', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:16:16.301419' WHERE "users"."id" = 201799169[0m
|
35655
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35656
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
35657
|
+
[1m[36m (5.1ms)[0m [1mrollback transaction[0m
|
35658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35659
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35660
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
35661
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
35662
|
+
|
35663
|
+
|
35664
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:16:16 -0400
|
35665
|
+
Processing by WelcomeController#logged_in_page as JSON
|
35666
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
35667
|
+
Completed 401 Unauthorized in 87ms
|
35668
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
35669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35670
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35673
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35674
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
35675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35676
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
35677
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 949717663, 201799169)[0m
|
35678
|
+
[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-05-11 13:33:56', '2012-05-11 13:33:56', 876923740, 201799169)
|
35679
|
+
[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-05-11 13:33:56', '2012-05-11 13:33:56', 864673665, 201799169)[0m
|
35680
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
35681
|
+
[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-05-11 13:33:56', '2012-05-11 13:33:56', 201799169)[0m
|
35682
|
+
[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-05-11 13:33:56', '2012-05-11 13:33:56', 999914115)
|
35683
|
+
[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-05-11 13:33:56', '2012-05-11 13:33:56', 725306934)[0m
|
35684
|
+
[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-05-11 13:33:56', '2012-05-11 13:33:56', 349534908)
|
35685
|
+
[1m[36m (315.7ms)[0m [1mcommit transaction[0m
|
35686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35687
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
35688
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35689
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35690
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35691
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
35692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35693
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35694
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35695
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
35696
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
35697
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:33:56 UTC", "updated_at"=>"2012-05-11 13:33:56 UTC"}}
|
35698
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
35699
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35700
|
+
Logged in user found, creating associated authentication.
|
35701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35702
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["user_id", 201799169]]
|
35703
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35704
|
+
Redirected to http://test.host/authentications
|
35705
|
+
Completed 302 Found in 48ms (ActiveRecord: 0.9ms)
|
35706
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
35707
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
35708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35709
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35710
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
35711
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
35712
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
35713
|
+
Parameters: {"id"=>"949717663"}
|
35714
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35715
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
35716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35717
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
35718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35719
|
+
Redirected to http://test.host/authentications
|
35720
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
35721
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
35722
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
35723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35724
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35725
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35726
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
35727
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35728
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
35729
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
35730
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
35731
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
|
35732
|
+
Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.3ms)
|
35733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35735
|
+
Processing by Contour::PasswordsController#create as HTML
|
35736
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
35737
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
35738
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WEvnJDc2DhpFsAnyxiWE' LIMIT 1[0m
|
35739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35740
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'WEvnJDc2DhpFsAnyxiWE', "reset_password_sent_at" = '2012-05-11 13:33:57.406221', "updated_at" = '2012-05-11 13:33:57.406880' WHERE "users"."id" = 201799169[0m
|
35741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35742
|
+
|
35743
|
+
Sent mail to valid@example.com (14ms)
|
35744
|
+
Date: Fri, 11 May 2012 09:33:57 -0400
|
35745
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
35746
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
35747
|
+
To: valid@example.com
|
35748
|
+
Message-ID: <4fad154574d52_28883fca6e034cd870552@edge.mail>
|
35749
|
+
Subject: Reset password instructions
|
35750
|
+
Mime-Version: 1.0
|
35751
|
+
Content-Type: text/html;
|
35752
|
+
charset=UTF-8
|
35753
|
+
Content-Transfer-Encoding: 7bit
|
35754
|
+
|
35755
|
+
<p>Hello valid@example.com!</p>
|
35756
|
+
|
35757
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
35758
|
+
|
35759
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=WEvnJDc2DhpFsAnyxiWE">Change my password</a></p>
|
35760
|
+
|
35761
|
+
<p>If you didn't request this, please ignore this email.</p>
|
35762
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
35763
|
+
|
35764
|
+
Redirected to http://test.host/users/login
|
35765
|
+
Completed 302 Found in 91ms (ActiveRecord: 0.0ms)
|
35766
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
35767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35768
|
+
Processing by Contour::PasswordsController#new as HTML
|
35769
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms)
|
35770
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (31.2ms)
|
35771
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.1ms)
|
35772
|
+
Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms)
|
35773
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
35774
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
35776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35777
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35778
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
35779
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
35780
|
+
|
35781
|
+
|
35782
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35783
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35784
|
+
Completed 401 Unauthorized in 1ms
|
35785
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35786
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
35787
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
35788
|
+
[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", Fri, 11 May 2012 13:33:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Snnyks2xqCaGaOF3U0/Ueut.LTHFLc6xzCMHWZIW86LI67eanBHz6"], ["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", Fri, 11 May 2012 13:33:57 UTC +00:00]]
|
35789
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35791
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
35792
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35793
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35794
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:33:57.599270' WHERE "users"."id" = 999914116
|
35795
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35796
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35797
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:33:57.600444' WHERE "users"."id" = 999914116[0m
|
35798
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35799
|
+
|
35800
|
+
|
35801
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35802
|
+
Processing by Contour::SessionsController#create as HTML
|
35803
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
35804
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
35805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35807
|
+
Completed 401 Unauthorized in 8ms
|
35808
|
+
|
35809
|
+
|
35810
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35811
|
+
Processing by Contour::SessionsController#new as HTML
|
35812
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
35813
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
35814
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
35815
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
35816
|
+
Completed 200 OK in 40ms (Views: 39.0ms | ActiveRecord: 0.0ms)
|
35817
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
35818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35819
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35820
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
35821
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
35822
|
+
|
35823
|
+
|
35824
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35825
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35826
|
+
Completed 401 Unauthorized in 0ms
|
35827
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35828
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
35829
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
35830
|
+
[1m[36mSQL (0.4ms)[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", Fri, 11 May 2012 13:33:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xoAcxIkP60VIWyg1xjiIAuTWIUq1o5eAVCqo96atIvjQboL7A3htq"], ["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", Fri, 11 May 2012 13:33:57 UTC +00:00]]
|
35831
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35832
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35833
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
35834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35835
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35836
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:33:57.679478' WHERE "users"."id" = 999914116[0m
|
35837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35838
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35839
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35840
|
+
|
35841
|
+
|
35842
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35843
|
+
Processing by Contour::SessionsController#create as HTML
|
35844
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
35845
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
35846
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35847
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:33:57.687720', "current_sign_in_at" = '2012-05-11 13:33:57.687720', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:33:57.688104' WHERE "users"."id" = 999914116[0m
|
35848
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35849
|
+
Redirected to http://www.example.com/logged_in_page
|
35850
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
35851
|
+
|
35852
|
+
|
35853
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35854
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35855
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
35856
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
35857
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
35858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35859
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35860
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
35861
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
35862
|
+
|
35863
|
+
|
35864
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35865
|
+
Processing by WelcomeController#logged_in_page as HTML
|
35866
|
+
Completed 401 Unauthorized in 0ms
|
35867
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35868
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
35869
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
35870
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$JGChGSnl0DYd0amYO8NfN.O.caMzy4pczrfWtRlFrBNROWozDSM0a"], ["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", Fri, 11 May 2012 13:33:57 UTC +00:00]]
|
35871
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35872
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35873
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
35874
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35877
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35879
|
+
|
35880
|
+
|
35881
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35882
|
+
Processing by Contour::SessionsController#create as HTML
|
35883
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
35884
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
35885
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35886
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35887
|
+
Completed 401 Unauthorized in 4ms
|
35888
|
+
|
35889
|
+
|
35890
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35891
|
+
Processing by Contour::SessionsController#new as HTML
|
35892
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
35893
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
35894
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
35895
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
35896
|
+
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
|
35897
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
35898
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35899
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35900
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
35901
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
35902
|
+
|
35903
|
+
|
35904
|
+
Started GET "/" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35905
|
+
Processing by WelcomeController#index as HTML
|
35906
|
+
Completed 401 Unauthorized in 1ms
|
35907
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35908
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35909
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35910
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
35911
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
35912
|
+
|
35913
|
+
|
35914
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35915
|
+
Processing by WelcomeController#logged_in_page as JSON
|
35916
|
+
Completed 401 Unauthorized in 0ms
|
35917
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
35918
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35919
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35920
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
35921
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
35922
|
+
|
35923
|
+
|
35924
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:33:57 -0400
|
35925
|
+
Processing by WelcomeController#logged_in_page as JSON
|
35926
|
+
Completed 401 Unauthorized in 0ms
|
35927
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35929
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35930
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
35931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35932
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35933
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
35934
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35935
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
35936
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 949717663, 201799169)[0m
|
35937
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 876923740, 201799169)
|
35938
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 864673665, 201799169)[0m
|
35939
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
35940
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 201799169)[0m
|
35941
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 999914115)
|
35942
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 725306934)[0m
|
35943
|
+
[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-05-11 13:35:10', '2012-05-11 13:35:10', 349534908)
|
35944
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
35945
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35946
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
35947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35949
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35950
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
35951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35952
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35953
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35954
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
35955
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
35956
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:35:10 UTC", "updated_at"=>"2012-05-11 13:35:10 UTC"}}
|
35957
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
35958
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35959
|
+
Logged in user found, creating associated authentication.
|
35960
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35961
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["user_id", 201799169]]
|
35962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35963
|
+
Redirected to http://test.host/authentications
|
35964
|
+
Completed 302 Found in 53ms (ActiveRecord: 0.9ms)
|
35965
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
35966
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
35967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35968
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
35969
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
35970
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
35971
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
35972
|
+
Parameters: {"id"=>"949717663"}
|
35973
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35974
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
35975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35976
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
35977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35978
|
+
Redirected to http://test.host/authentications
|
35979
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
35980
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
35981
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
35982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35983
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
35984
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
35985
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
35986
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
35987
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
35988
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
35989
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
35990
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
|
35991
|
+
Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.4ms)
|
35992
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35994
|
+
Processing by Contour::PasswordsController#create as HTML
|
35995
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
35996
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
35997
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jjYz6Y1ystxJ7Brypy1K' LIMIT 1[0m
|
35998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35999
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'jjYz6Y1ystxJ7Brypy1K', "reset_password_sent_at" = '2012-05-11 13:35:10.335105', "updated_at" = '2012-05-11 13:35:10.335829' WHERE "users"."id" = 201799169[0m
|
36000
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36001
|
+
|
36002
|
+
Sent mail to valid@example.com (20ms)
|
36003
|
+
Date: Fri, 11 May 2012 09:35:10 -0400
|
36004
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
36005
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
36006
|
+
To: valid@example.com
|
36007
|
+
Message-ID: <4fad158e6bfdf_288d3ffb80434cdc4324f@edge.mail>
|
36008
|
+
Subject: Reset password instructions
|
36009
|
+
Mime-Version: 1.0
|
36010
|
+
Content-Type: text/html;
|
36011
|
+
charset=UTF-8
|
36012
|
+
Content-Transfer-Encoding: 7bit
|
36013
|
+
|
36014
|
+
<p>Hello valid@example.com!</p>
|
36015
|
+
|
36016
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
36017
|
+
|
36018
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=jjYz6Y1ystxJ7Brypy1K">Change my password</a></p>
|
36019
|
+
|
36020
|
+
<p>If you didn't request this, please ignore this email.</p>
|
36021
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
36022
|
+
|
36023
|
+
Redirected to http://test.host/users/login
|
36024
|
+
Completed 302 Found in 129ms (ActiveRecord: 0.0ms)
|
36025
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
36026
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36027
|
+
Processing by Contour::PasswordsController#new as HTML
|
36028
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.6ms)
|
36029
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (42.5ms)
|
36030
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (45.3ms)
|
36031
|
+
Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)
|
36032
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36034
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36036
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36037
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36038
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36039
|
+
|
36040
|
+
|
36041
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36042
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36043
|
+
Completed 401 Unauthorized in 1ms
|
36044
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36045
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36046
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36047
|
+
[1m[35mSQL (0.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", Fri, 11 May 2012 13:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/NTZ1NSkcR/O82lC2QozvuLAYj6Ms7D9Nq2sZWwIgXpnfAOTqTwXm"], ["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", Fri, 11 May 2012 13:35:10 UTC +00:00]]
|
36048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36050
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
36051
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36053
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:10.593029' WHERE "users"."id" = 999914116
|
36054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36055
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36056
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:35:10.595116' WHERE "users"."id" = 999914116[0m
|
36057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36058
|
+
|
36059
|
+
|
36060
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36061
|
+
Processing by Contour::SessionsController#create as HTML
|
36062
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
36063
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36064
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36065
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36066
|
+
Completed 401 Unauthorized in 7ms
|
36067
|
+
|
36068
|
+
|
36069
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36070
|
+
Processing by Contour::SessionsController#new as HTML
|
36071
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms)
|
36072
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
|
36073
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
36074
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
|
36075
|
+
Completed 200 OK in 58ms (Views: 56.7ms | ActiveRecord: 0.0ms)
|
36076
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
36077
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36078
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36079
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36080
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36081
|
+
|
36082
|
+
|
36083
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36084
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36085
|
+
Completed 401 Unauthorized in 0ms
|
36086
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36087
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
36088
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36089
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xYZxKhFAX7g5ZdAq.x9Pwu0tlEv/Hvqe37pNWnWfb6QxDUr32v6wy"], ["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", Fri, 11 May 2012 13:35:10 UTC +00:00]]
|
36090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36091
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36092
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36093
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36094
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36095
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:10.698284' WHERE "users"."id" = 999914116[0m
|
36096
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36097
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36098
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36099
|
+
|
36100
|
+
|
36101
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36102
|
+
Processing by Contour::SessionsController#create as HTML
|
36103
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
36104
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
36105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36106
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:35:10.709345', "current_sign_in_at" = '2012-05-11 13:35:10.709345', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:35:10.709948' WHERE "users"."id" = 999914116[0m
|
36107
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36108
|
+
Redirected to http://www.example.com/logged_in_page
|
36109
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
36110
|
+
|
36111
|
+
|
36112
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36113
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36114
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
36115
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
36116
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
36117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36118
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36120
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36121
|
+
|
36122
|
+
|
36123
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36124
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36125
|
+
Completed 401 Unauthorized in 0ms
|
36126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36127
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36128
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36129
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$K5iLU6e/QMDIyBSkkcR5jeAdojy4vJ2EkxleBZcsqTmTwshZms2Oi"], ["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", Fri, 11 May 2012 13:35:10 UTC +00:00]]
|
36130
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36131
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36132
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36133
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36134
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36137
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36138
|
+
|
36139
|
+
|
36140
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36141
|
+
Processing by Contour::SessionsController#create as HTML
|
36142
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
36143
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36144
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36146
|
+
Completed 401 Unauthorized in 4ms
|
36147
|
+
|
36148
|
+
|
36149
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36150
|
+
Processing by Contour::SessionsController#new as HTML
|
36151
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
36152
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
36153
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
36154
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
36155
|
+
Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
36156
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
36157
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36158
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36159
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36160
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36161
|
+
|
36162
|
+
|
36163
|
+
Started GET "/" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36164
|
+
Processing by WelcomeController#index as HTML
|
36165
|
+
Completed 401 Unauthorized in 0ms
|
36166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36168
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36169
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36170
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36171
|
+
|
36172
|
+
|
36173
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36174
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36175
|
+
Completed 401 Unauthorized in 0ms
|
36176
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36178
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36179
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36180
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36181
|
+
|
36182
|
+
|
36183
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:10 -0400
|
36184
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36185
|
+
Completed 401 Unauthorized in 0ms
|
36186
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36187
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36188
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36191
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36193
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36194
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
36195
|
+
[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-05-11 13:35:47', '2012-05-11 13:35:47', 949717663, 201799169)[0m
|
36196
|
+
[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-05-11 13:35:47', '2012-05-11 13:35:47', 876923740, 201799169)
|
36197
|
+
[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-05-11 13:35:47', '2012-05-11 13:35:47', 864673665, 201799169)[0m
|
36198
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
36199
|
+
[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-05-11 13:35:47', '2012-05-11 13:35:47', 201799169)[0m
|
36200
|
+
[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-05-11 13:35:47', '2012-05-11 13:35:47', 999914115)
|
36201
|
+
[1m[36mFixture Insert (0.2ms)[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-05-11 13:35:47', '2012-05-11 13:35:47', 725306934)[0m
|
36202
|
+
[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-05-11 13:35:47', '2012-05-11 13:35:47', 349534908)
|
36203
|
+
[1m[36m (124.1ms)[0m [1mcommit transaction[0m
|
36204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36205
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
36206
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36208
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36209
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36211
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36212
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36213
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
36214
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
36215
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:35:47 UTC", "updated_at"=>"2012-05-11 13:35:47 UTC"}}
|
36216
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
36217
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36218
|
+
Logged in user found, creating associated authentication.
|
36219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36220
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["user_id", 201799169]]
|
36221
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36222
|
+
Redirected to http://test.host/authentications
|
36223
|
+
Completed 302 Found in 52ms (ActiveRecord: 0.9ms)
|
36224
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
36225
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
36226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36227
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36228
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
36229
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
36230
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
36231
|
+
Parameters: {"id"=>"949717663"}
|
36232
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36233
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
36234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36235
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
36236
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36237
|
+
Redirected to http://test.host/authentications
|
36238
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
36239
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
36240
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
36241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36242
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36243
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36244
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
36245
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36246
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
36247
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
36248
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
36249
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
|
36250
|
+
Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.3ms)
|
36251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36253
|
+
Processing by Contour::PasswordsController#create as HTML
|
36254
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
36255
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
36256
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '6JgDhzqpHjWBohsC5nBv' LIMIT 1[0m
|
36257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36258
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '6JgDhzqpHjWBohsC5nBv', "reset_password_sent_at" = '2012-05-11 13:35:48.178353', "updated_at" = '2012-05-11 13:35:48.179026' WHERE "users"."id" = 201799169[0m
|
36259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36260
|
+
|
36261
|
+
Sent mail to valid@example.com (15ms)
|
36262
|
+
Date: Fri, 11 May 2012 09:35:48 -0400
|
36263
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
36264
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
36265
|
+
To: valid@example.com
|
36266
|
+
Message-ID: <4fad15b43e9fd_28903fe6f5034cd0915e3@edge.mail>
|
36267
|
+
Subject: Reset password instructions
|
36268
|
+
Mime-Version: 1.0
|
36269
|
+
Content-Type: text/html;
|
36270
|
+
charset=UTF-8
|
36271
|
+
Content-Transfer-Encoding: 7bit
|
36272
|
+
|
36273
|
+
<p>Hello valid@example.com!</p>
|
36274
|
+
|
36275
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
36276
|
+
|
36277
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=6JgDhzqpHjWBohsC5nBv">Change my password</a></p>
|
36278
|
+
|
36279
|
+
<p>If you didn't request this, please ignore this email.</p>
|
36280
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
36281
|
+
|
36282
|
+
Redirected to http://test.host/users/login
|
36283
|
+
Completed 302 Found in 98ms (ActiveRecord: 0.0ms)
|
36284
|
+
[1m[36m (7.6ms)[0m [1mrollback transaction[0m
|
36285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36286
|
+
Processing by Contour::PasswordsController#new as HTML
|
36287
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
36288
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (29.7ms)
|
36289
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.2ms)
|
36290
|
+
Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms)
|
36291
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36292
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36293
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36294
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36295
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36296
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36297
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36298
|
+
|
36299
|
+
|
36300
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36301
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36302
|
+
Completed 401 Unauthorized in 1ms
|
36303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36304
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36305
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36306
|
+
[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", Fri, 11 May 2012 13:35:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$f8U5.lkpZ5.hOFbayaxICekeu.WtzPWt2QLIBT2FtgWciWmz2Pime"], ["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", Fri, 11 May 2012 13:35:48 UTC +00:00]]
|
36307
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36308
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36309
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
36310
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36311
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36312
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:48.374725' WHERE "users"."id" = 999914116
|
36313
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36314
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36315
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:35:48.376142' WHERE "users"."id" = 999914116[0m
|
36316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36317
|
+
|
36318
|
+
|
36319
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36320
|
+
Processing by Contour::SessionsController#create as HTML
|
36321
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
36322
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36323
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36324
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36325
|
+
Completed 401 Unauthorized in 7ms
|
36326
|
+
|
36327
|
+
|
36328
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36329
|
+
Processing by Contour::SessionsController#new as HTML
|
36330
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
36331
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
36332
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
36333
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
36334
|
+
Completed 200 OK in 40ms (Views: 38.7ms | ActiveRecord: 0.0ms)
|
36335
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
36336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36337
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36338
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36339
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36340
|
+
|
36341
|
+
|
36342
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36343
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36344
|
+
Completed 401 Unauthorized in 0ms
|
36345
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36346
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
36347
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36348
|
+
[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", Fri, 11 May 2012 13:35:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$AwR4duYtaKuu3X3uffDtPeAQlL.H3ypQMl2plpKOIUkno59vEZxtK"], ["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", Fri, 11 May 2012 13:35:48 UTC +00:00]]
|
36349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36350
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36351
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36352
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36353
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36354
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:48.455720' WHERE "users"."id" = 999914116[0m
|
36355
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36356
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36358
|
+
|
36359
|
+
|
36360
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36361
|
+
Processing by Contour::SessionsController#create as HTML
|
36362
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
36363
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
36364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36365
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:35:48.464257', "current_sign_in_at" = '2012-05-11 13:35:48.464257', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:35:48.464716' WHERE "users"."id" = 999914116[0m
|
36366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36367
|
+
Redirected to http://www.example.com/logged_in_page
|
36368
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
36369
|
+
|
36370
|
+
|
36371
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36372
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36373
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
36374
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
36375
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
36376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36377
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36378
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36379
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36380
|
+
|
36381
|
+
|
36382
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36383
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36384
|
+
Completed 401 Unauthorized in 0ms
|
36385
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36386
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36387
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36388
|
+
[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", Fri, 11 May 2012 13:35:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GGfxOuaCTTx6yDkXHhomv.CWoHJxEpm7FiZdttNW2vbXpemWuQo6u"], ["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", Fri, 11 May 2012 13:35:48 UTC +00:00]]
|
36389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36391
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36392
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36393
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36394
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36396
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36397
|
+
|
36398
|
+
|
36399
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36400
|
+
Processing by Contour::SessionsController#create as HTML
|
36401
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
36402
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36403
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36405
|
+
Completed 401 Unauthorized in 4ms
|
36406
|
+
|
36407
|
+
|
36408
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36409
|
+
Processing by Contour::SessionsController#new as HTML
|
36410
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
36411
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
36412
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
36413
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
36414
|
+
Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
36415
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
36416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36417
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36418
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36419
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36420
|
+
|
36421
|
+
|
36422
|
+
Started GET "/" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36423
|
+
Processing by WelcomeController#index as HTML
|
36424
|
+
Completed 401 Unauthorized in 1ms
|
36425
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36426
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36427
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36428
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36429
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36430
|
+
|
36431
|
+
|
36432
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36433
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36434
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
36435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36436
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:35:48.622203', "current_sign_in_at" = '2012-05-11 13:35:48.622203', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:35:48.622823' WHERE "users"."id" = 201799169[0m
|
36437
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36438
|
+
Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
36439
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
36440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36441
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36442
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36443
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36444
|
+
|
36445
|
+
|
36446
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:48 -0400
|
36447
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36448
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
36449
|
+
Completed 401 Unauthorized in 81ms
|
36450
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36452
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36453
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36455
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36456
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36458
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
36459
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 949717663, 201799169)[0m
|
36460
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 876923740, 201799169)
|
36461
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 864673665, 201799169)[0m
|
36462
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
36463
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 201799169)[0m
|
36464
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 999914115)
|
36465
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 725306934)[0m
|
36466
|
+
[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-05-24 16:41:00', '2012-05-24 16:41:00', 349534908)
|
36467
|
+
[1m[36m (17.0ms)[0m [1mcommit transaction[0m
|
36468
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36469
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
36470
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36472
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36473
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36474
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36475
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36476
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36477
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
36478
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
36479
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-24 16:41:00 UTC", "updated_at"=>"2012-05-24 16:41:00 UTC"}}
|
36480
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
36481
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36482
|
+
Logged in user found, creating associated authentication.
|
36483
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36484
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:41:00 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 24 May 2012 16:41:00 UTC +00:00], ["user_id", 201799169]]
|
36485
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36486
|
+
Redirected to http://test.host/authentications
|
36487
|
+
Completed 302 Found in 98ms (ActiveRecord: 1.0ms)
|
36488
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
36489
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
36490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36491
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36492
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
36493
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
36494
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
36495
|
+
Parameters: {"id"=>"949717663"}
|
36496
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36497
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
36498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36499
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
36500
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36501
|
+
Redirected to http://test.host/authentications
|
36502
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
36503
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
36504
|
+
[1m[36m (23.9ms)[0m [1mrollback transaction[0m
|
36505
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36506
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36507
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36508
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
36509
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36510
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
36511
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
36512
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.9ms)
|
36513
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.7ms)
|
36514
|
+
Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.5ms)
|
36515
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36517
|
+
Processing by Contour::PasswordsController#create as HTML
|
36518
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
36519
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
36520
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '42S3DyMCf2GhJi9cSG3k' LIMIT 1[0m
|
36521
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36522
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '42S3DyMCf2GhJi9cSG3k', "reset_password_sent_at" = '2012-05-24 16:41:01.091941', "updated_at" = '2012-05-24 16:41:01.092663' WHERE "users"."id" = 201799169[0m
|
36523
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36524
|
+
|
36525
|
+
Sent mail to valid@example.com (80ms)
|
36526
|
+
Date: Thu, 24 May 2012 12:41:01 -0400
|
36527
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
36528
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
36529
|
+
To: valid@example.com
|
36530
|
+
Message-ID: <4fbe649d49cd1_117753ff009034ce0723a7@edge.mail>
|
36531
|
+
Subject: Reset password instructions
|
36532
|
+
Mime-Version: 1.0
|
36533
|
+
Content-Type: text/html;
|
36534
|
+
charset=UTF-8
|
36535
|
+
Content-Transfer-Encoding: 7bit
|
36536
|
+
|
36537
|
+
<p>Hello valid@example.com!</p>
|
36538
|
+
|
36539
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
36540
|
+
|
36541
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=42S3DyMCf2GhJi9cSG3k">Change my password</a></p>
|
36542
|
+
|
36543
|
+
<p>If you didn't request this, please ignore this email.</p>
|
36544
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
36545
|
+
|
36546
|
+
Redirected to http://test.host/users/login
|
36547
|
+
Completed 302 Found in 256ms (ActiveRecord: 0.0ms)
|
36548
|
+
[1m[36m (19.8ms)[0m [1mrollback transaction[0m
|
36549
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36550
|
+
Processing by Contour::PasswordsController#new as HTML
|
36551
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms)
|
36552
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
|
36553
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.8ms)
|
36554
|
+
Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms)
|
36555
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36556
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36559
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36560
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36561
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36562
|
+
|
36563
|
+
|
36564
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36565
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36566
|
+
Completed 401 Unauthorized in 1ms
|
36567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36568
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36569
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36570
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 24 May 2012 16:41:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9pVyG7.j4jqvJLoQq7g19Ozgigp.WOURq4Vg4bNYCf0C9kDcnNZfO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:41:01 UTC +00:00]]
|
36571
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36573
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
36574
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36576
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:41:01.546421' WHERE "users"."id" = 999914116
|
36577
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36578
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36579
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-24 16:41:01.548544' WHERE "users"."id" = 999914116[0m
|
36580
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36581
|
+
|
36582
|
+
|
36583
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36584
|
+
Processing by Contour::SessionsController#create as HTML
|
36585
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
36586
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36587
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36589
|
+
Completed 401 Unauthorized in 35ms
|
36590
|
+
|
36591
|
+
|
36592
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36593
|
+
Processing by Contour::SessionsController#new as HTML
|
36594
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
|
36595
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
36596
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
36597
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
|
36598
|
+
Completed 200 OK in 58ms (Views: 56.5ms | ActiveRecord: 0.0ms)
|
36599
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
36600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36601
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36602
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36603
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36604
|
+
|
36605
|
+
|
36606
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36607
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36608
|
+
Completed 401 Unauthorized in 0ms
|
36609
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36610
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
36611
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36612
|
+
[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", Thu, 24 May 2012 16:41:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xkTUSL6NpsVh88viHRBUxOpYTYvJLBfFURUOzSwaIwLWga5sSY3LS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:41:01 UTC +00:00]]
|
36613
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36615
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36617
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36618
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:41:01.682789' WHERE "users"."id" = 999914116[0m
|
36619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36622
|
+
|
36623
|
+
|
36624
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36625
|
+
Processing by Contour::SessionsController#create as HTML
|
36626
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
36627
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
36628
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36629
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:41:01.694855', "current_sign_in_at" = '2012-05-24 16:41:01.694855', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:41:01.695372' WHERE "users"."id" = 999914116[0m
|
36630
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36631
|
+
Redirected to http://www.example.com/logged_in_page
|
36632
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
36633
|
+
|
36634
|
+
|
36635
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36636
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36637
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
36638
|
+
Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.1ms)
|
36639
|
+
[1m[35m (7.4ms)[0m rollback transaction
|
36640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36641
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36642
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36643
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36644
|
+
|
36645
|
+
|
36646
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36647
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36648
|
+
Completed 401 Unauthorized in 0ms
|
36649
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36650
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36651
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36652
|
+
[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", Thu, 24 May 2012 16:41:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$OlDk.tQEoMdwvsk82gx0feUvk5X63BDFoXxgmh3TvZTeAFNF5AuIO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:41:01 UTC +00:00]]
|
36653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36655
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36658
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36660
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36661
|
+
|
36662
|
+
|
36663
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36664
|
+
Processing by Contour::SessionsController#create as HTML
|
36665
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
36666
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36667
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36669
|
+
Completed 401 Unauthorized in 4ms
|
36670
|
+
|
36671
|
+
|
36672
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36673
|
+
Processing by Contour::SessionsController#new as HTML
|
36674
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
36675
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
36676
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
36677
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms)
|
36678
|
+
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
|
36679
|
+
[1m[36m (4.3ms)[0m [1mrollback transaction[0m
|
36680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36681
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36682
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36683
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36684
|
+
|
36685
|
+
|
36686
|
+
Started GET "/" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36687
|
+
Processing by WelcomeController#index as HTML
|
36688
|
+
Completed 401 Unauthorized in 1ms
|
36689
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36690
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36691
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36692
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36693
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36694
|
+
|
36695
|
+
|
36696
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36697
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36698
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
36699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36700
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:41:01.886013', "current_sign_in_at" = '2012-05-24 16:41:01.886013', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:41:01.886739' WHERE "users"."id" = 201799169[0m
|
36701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36702
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
36703
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
36704
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36705
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36706
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36707
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36708
|
+
|
36709
|
+
|
36710
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:41:01 -0400
|
36711
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36712
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
36713
|
+
Completed 401 Unauthorized in 82ms
|
36714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36716
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36719
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36720
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36722
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
36723
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 949717663, 201799169)[0m
|
36724
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 876923740, 201799169)
|
36725
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 864673665, 201799169)[0m
|
36726
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
36727
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 201799169)[0m
|
36728
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 999914115)
|
36729
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 725306934)[0m
|
36730
|
+
[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-05-24 16:53:38', '2012-05-24 16:53:38', 349534908)
|
36731
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
36732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36733
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
36734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36736
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36737
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36738
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36739
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36740
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36741
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
36742
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
36743
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-24 16:53:38 UTC", "updated_at"=>"2012-05-24 16:53:38 UTC"}}
|
36744
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
36745
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36746
|
+
Logged in user found, creating associated authentication.
|
36747
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36748
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:53:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 24 May 2012 16:53:38 UTC +00:00], ["user_id", 201799169]]
|
36749
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36750
|
+
Redirected to http://test.host/authentications
|
36751
|
+
Completed 302 Found in 52ms (ActiveRecord: 1.0ms)
|
36752
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
36753
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
36754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36755
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36756
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
36757
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
36758
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
36759
|
+
Parameters: {"id"=>"949717663"}
|
36760
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36761
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
36762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36763
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
36764
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36765
|
+
Redirected to http://test.host/authentications
|
36766
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
36767
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
36768
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
36769
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36770
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36771
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
36772
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
36773
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
36774
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
36775
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
36776
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.5ms)
|
36777
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
36778
|
+
Completed 200 OK in 58ms (Views: 56.3ms | ActiveRecord: 0.4ms)
|
36779
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36781
|
+
Processing by Contour::PasswordsController#create as HTML
|
36782
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
36783
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
36784
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'a3xwEDK4JPKxVpgi7vkn' LIMIT 1[0m
|
36785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36786
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'a3xwEDK4JPKxVpgi7vkn', "reset_password_sent_at" = '2012-05-24 16:53:38.957721', "updated_at" = '2012-05-24 16:53:38.958398' WHERE "users"."id" = 201799169[0m
|
36787
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36788
|
+
|
36789
|
+
Sent mail to valid@example.com (18ms)
|
36790
|
+
Date: Thu, 24 May 2012 12:53:39 -0400
|
36791
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
36792
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
36793
|
+
To: valid@example.com
|
36794
|
+
Message-ID: <4fbe679387ae_118333ffa11434cd4422e3@edge.mail>
|
36795
|
+
Subject: Reset password instructions
|
36796
|
+
Mime-Version: 1.0
|
36797
|
+
Content-Type: text/html;
|
36798
|
+
charset=UTF-8
|
36799
|
+
Content-Transfer-Encoding: 7bit
|
36800
|
+
|
36801
|
+
<p>Hello valid@example.com!</p>
|
36802
|
+
|
36803
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
36804
|
+
|
36805
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=a3xwEDK4JPKxVpgi7vkn">Change my password</a></p>
|
36806
|
+
|
36807
|
+
<p>If you didn't request this, please ignore this email.</p>
|
36808
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
36809
|
+
|
36810
|
+
Redirected to http://test.host/users/login
|
36811
|
+
Completed 302 Found in 98ms (ActiveRecord: 0.0ms)
|
36812
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
36813
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36814
|
+
Processing by Contour::PasswordsController#new as HTML
|
36815
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
36816
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
36817
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
|
36818
|
+
Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms)
|
36819
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36821
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36822
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36823
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36824
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36825
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36826
|
+
|
36827
|
+
|
36828
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36829
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36830
|
+
Completed 401 Unauthorized in 1ms
|
36831
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36832
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36833
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36834
|
+
[1m[35mSQL (0.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", Thu, 24 May 2012 16:53:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$XFhq863FDw1jN5OHtJGu7.lRKiCmInWSPNDiyLaFzH.fsyBk7K1Jm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:53:39 UTC +00:00]]
|
36835
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36837
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
36838
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36839
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36840
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:53:39.145589' WHERE "users"."id" = 999914116
|
36841
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36843
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-24 16:53:39.146985' WHERE "users"."id" = 999914116[0m
|
36844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36845
|
+
|
36846
|
+
|
36847
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36848
|
+
Processing by Contour::SessionsController#create as HTML
|
36849
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
36850
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
36851
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36852
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36853
|
+
Completed 401 Unauthorized in 6ms
|
36854
|
+
|
36855
|
+
|
36856
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36857
|
+
Processing by Contour::SessionsController#new as HTML
|
36858
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
36859
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
36860
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
36861
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
36862
|
+
Completed 200 OK in 47ms (Views: 46.2ms | ActiveRecord: 0.0ms)
|
36863
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
36864
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36865
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36866
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36867
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36868
|
+
|
36869
|
+
|
36870
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36871
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36872
|
+
Completed 401 Unauthorized in 0ms
|
36873
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36874
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
36875
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36876
|
+
[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", Thu, 24 May 2012 16:53:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$9t9tFkh4tbGhOFxPIuFRB.kD1Y8.g.0kUuD11yiK0jripD9zghwEq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:53:39 UTC +00:00]]
|
36877
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36878
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36879
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36881
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36882
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:53:39.235638' WHERE "users"."id" = 999914116[0m
|
36883
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36886
|
+
|
36887
|
+
|
36888
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36889
|
+
Processing by Contour::SessionsController#create as HTML
|
36890
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
36891
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
36892
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36893
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:53:39.245286', "current_sign_in_at" = '2012-05-24 16:53:39.245286', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:53:39.245716' WHERE "users"."id" = 999914116[0m
|
36894
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36895
|
+
Redirected to http://www.example.com/logged_in_page
|
36896
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
36897
|
+
|
36898
|
+
|
36899
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36900
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36901
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
36902
|
+
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms)
|
36903
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
36904
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36905
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36906
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36907
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36908
|
+
|
36909
|
+
|
36910
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36911
|
+
Processing by WelcomeController#logged_in_page as HTML
|
36912
|
+
Completed 401 Unauthorized in 0ms
|
36913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36914
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36915
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
36916
|
+
[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", Thu, 24 May 2012 16:53:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$iHvI3WGYymIOlLcXUyn7luLzG86bsep2BdIVZa3aWTHEzEIVG89Sy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:53:39 UTC +00:00]]
|
36917
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36919
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
36920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36922
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36923
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36925
|
+
|
36926
|
+
|
36927
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36928
|
+
Processing by Contour::SessionsController#create as HTML
|
36929
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
36930
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
36931
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36933
|
+
Completed 401 Unauthorized in 4ms
|
36934
|
+
|
36935
|
+
|
36936
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36937
|
+
Processing by Contour::SessionsController#new as HTML
|
36938
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
36939
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
36940
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
36941
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms)
|
36942
|
+
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
36943
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
36944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36945
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36946
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36947
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36948
|
+
|
36949
|
+
|
36950
|
+
Started GET "/" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36951
|
+
Processing by WelcomeController#index as HTML
|
36952
|
+
Completed 401 Unauthorized in 1ms
|
36953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36955
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36956
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
36957
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
36958
|
+
|
36959
|
+
|
36960
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36961
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36962
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
36963
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
36964
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:53:39.398144', "current_sign_in_at" = '2012-05-24 16:53:39.398144', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:53:39.398757' WHERE "users"."id" = 201799169[0m
|
36965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36966
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
36967
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
36968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36969
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36970
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
36971
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
36972
|
+
|
36973
|
+
|
36974
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:53:39 -0400
|
36975
|
+
Processing by WelcomeController#logged_in_page as JSON
|
36976
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
36977
|
+
Completed 401 Unauthorized in 79ms
|
36978
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36980
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
36981
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36982
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36983
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
36984
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|