sunrise-cms 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/app/assets/javascripts/sunrise/application.js +6 -4
- data/{vendor/assets/javascripts → app/assets/javascripts/sunrise}/chosen.jquery.js +254 -113
- data/app/assets/javascripts/sunrise/chosen.overflow.fix.js +66 -0
- data/{vendor/assets/javascripts → app/assets/javascripts/sunrise}/jquery-ui-timepicker-addon.js +0 -0
- data/{vendor/assets/javascripts → app/assets/javascripts/sunrise}/jquery.cookie.js +0 -0
- data/{vendor/assets/javascripts → app/assets/javascripts/sunrise}/jquery.tmpl.min.js +0 -0
- data/app/assets/javascripts/sunrise/manage.js.coffee +5 -1
- data/app/assets/stylesheets/sunrise/application.css +3 -1
- data/{vendor/assets/stylesheets → app/assets/stylesheets/sunrise}/chosen.css +3 -3
- data/app/assets/stylesheets/sunrise/customize.css +41 -0
- data/app/assets/stylesheets/sunrise/pagination.css +145 -0
- data/app/assets/stylesheets/sunrise/plugins.css +0 -0
- data/app/views/kaminari/sunrise/_first_page.html.erb +2 -0
- data/app/views/kaminari/sunrise/_gap.html.erb +2 -0
- data/app/views/kaminari/sunrise/_last_page.html.erb +2 -0
- data/app/views/kaminari/sunrise/_next_page.html.erb +3 -1
- data/app/views/kaminari/sunrise/_page.html.erb +7 -3
- data/app/views/kaminari/sunrise/_paginator.html.erb +12 -10
- data/app/views/kaminari/sunrise/_prev_page.html.erb +4 -1
- data/app/views/sunrise/manager/table/index.html.erb +1 -1
- data/app/views/sunrise/manager/thumbs/index.html.erb +1 -1
- data/lib/sunrise/version.rb +1 -1
- data/spec/dummy/log/test.log +3027 -0
- data/spec/dummy/public/uploads/avatar/content_rails.png +0 -0
- data/spec/dummy/public/uploads/avatar/rails.png +0 -0
- data/spec/dummy/public/uploads/avatar/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-1429/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-1429/small_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-1429/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-2911/silicon_valley.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-2911/small_silicon_valley.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-2911/thumb_silicon_valley.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-3054/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-3369/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-4170/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-4170/small_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-4170/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-7130/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-7130/small_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1713-12193-7130/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1714-12193-2865/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1714-12193-3844/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130329-1714-12193-6957/rails.png +0 -0
- data/vendor/assets/images/sunrise/chosen-sprite.png +0 -0
- data/vendor/assets/images/sunrise/chosen-sprite@2x.png +0 -0
- metadata +45 -7
@@ -0,0 +1,66 @@
|
|
1
|
+
/*
|
2
|
+
Chosen gets "cut" when placed in area with "overflow:hidden".
|
3
|
+
https://github.com/harvesthq/chosen/issues/86#issuecomment-11632999
|
4
|
+
*/
|
5
|
+
Chosen.prototype.results_reposition = function() {
|
6
|
+
var dd_top, offset, scrolly, toppy;
|
7
|
+
|
8
|
+
dd_top = this.is_multiple ? this.container.height() : this.container.height() - 1;
|
9
|
+
|
10
|
+
// when in a modal get the scroll distance and apply to top of .chzn-drop
|
11
|
+
offset = this.container.offset();
|
12
|
+
scrolly = parseInt($(window).scrollTop(), 10);
|
13
|
+
scrolly = scrolly < 0 ? 0 : scrolly;
|
14
|
+
toppy = offset.top+ dd_top - scrolly;
|
15
|
+
|
16
|
+
this.dropdown.css({
|
17
|
+
"top": toppy + "px",
|
18
|
+
"left": offset.left + "px"
|
19
|
+
});
|
20
|
+
};
|
21
|
+
|
22
|
+
Chosen.prototype.results_show = function() {
|
23
|
+
var dd_top;
|
24
|
+
var self = this;
|
25
|
+
|
26
|
+
// hide .chzn-drop when the window resizes else it will stay fixed with previous top and left coordinates
|
27
|
+
$(window).resize(function() {
|
28
|
+
self.results_hide();
|
29
|
+
});
|
30
|
+
|
31
|
+
if (!this.is_multiple) {
|
32
|
+
this.selected_item.addClass("chzn-single-with-drop");
|
33
|
+
if (this.result_single_selected) {
|
34
|
+
this.result_do_highlight(this.result_single_selected);
|
35
|
+
}
|
36
|
+
} else if (this.max_selected_options <= this.choices) {
|
37
|
+
this.form_field_jq.trigger("liszt:maxselected", {
|
38
|
+
chosen: this
|
39
|
+
});
|
40
|
+
return false;
|
41
|
+
}
|
42
|
+
dd_top = this.is_multiple ? this.container.height() : this.container.height() - 1;
|
43
|
+
this.form_field_jq.trigger("liszt:showing_dropdown", {
|
44
|
+
chosen: this
|
45
|
+
});
|
46
|
+
|
47
|
+
if($('.post-edit-holder').length) {
|
48
|
+
this.results_reposition();
|
49
|
+
|
50
|
+
$(window).scroll(function() {
|
51
|
+
if (self.results_showing) {
|
52
|
+
self.results_reposition();
|
53
|
+
}
|
54
|
+
});
|
55
|
+
} else {
|
56
|
+
this.dropdown.css({
|
57
|
+
"top": dd_top + "px",
|
58
|
+
"left": 0
|
59
|
+
});
|
60
|
+
}
|
61
|
+
|
62
|
+
this.results_showing = true;
|
63
|
+
this.search_field.focus();
|
64
|
+
this.search_field.val(this.search_field.val());
|
65
|
+
return this.winnow_results();
|
66
|
+
};
|
data/{vendor/assets/javascripts → app/assets/javascripts/sunrise}/jquery-ui-timepicker-addon.js
RENAMED
File without changes
|
File without changes
|
File without changes
|
@@ -6,10 +6,14 @@ class Sunrise
|
|
6
6
|
|
7
7
|
setup: ->
|
8
8
|
($ '[title]').tooltip()
|
9
|
-
($ ".chzn-select").chosen()
|
10
9
|
($ ".ddmenu").ddmenu()
|
11
10
|
($ '[data-editable]').editable()
|
12
11
|
($ '[data-lang]').lang_tabs()
|
12
|
+
($ "select.select:hidden").css("width", "225")
|
13
|
+
($ "select.select").chosen(
|
14
|
+
allow_single_deselect: true
|
15
|
+
disable_search_threshold: 10
|
16
|
+
)
|
13
17
|
|
14
18
|
this.init_submit_buttons()
|
15
19
|
this.init_group_menus()
|
@@ -3,8 +3,10 @@
|
|
3
3
|
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
4
|
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
5
|
*= require sunrise/main.css
|
6
|
+
*= require sunrise/pagination.css
|
6
7
|
*= require sunrise/customize.css
|
7
|
-
*= require
|
8
|
+
*= require sunrise/plugins.css
|
9
|
+
*= require sunrise/chosen.css
|
8
10
|
*= require smoothness/jquery-ui-1.8.16.custom.css
|
9
11
|
*= require uploader/application
|
10
12
|
*/
|
@@ -63,9 +63,9 @@
|
|
63
63
|
display: block;
|
64
64
|
position: absolute;
|
65
65
|
right: 26px;
|
66
|
-
top:
|
66
|
+
top: 9px;
|
67
67
|
width: 12px;
|
68
|
-
height:
|
68
|
+
height: 10px;
|
69
69
|
font-size: 1px;
|
70
70
|
background: url(chosen-sprite.png) right top no-repeat;
|
71
71
|
}
|
@@ -81,7 +81,7 @@
|
|
81
81
|
width: 18px;
|
82
82
|
}
|
83
83
|
.chzn-container-single .chzn-single div b {
|
84
|
-
background: url('chosen-sprite.png') no-repeat 0
|
84
|
+
background: url('chosen-sprite.png') no-repeat 0 4px;
|
85
85
|
display: block;
|
86
86
|
width: 100%;
|
87
87
|
height: 100%;
|
@@ -238,4 +238,45 @@ div.input.boolean input {
|
|
238
238
|
.buttons-holder .grey-but {
|
239
239
|
float: left;
|
240
240
|
margin-right: 15px;
|
241
|
+
}
|
242
|
+
|
243
|
+
/* Datepicker */
|
244
|
+
.padder input.date,
|
245
|
+
.padder input.datetime {
|
246
|
+
width: 190px;
|
247
|
+
float: left;
|
248
|
+
}
|
249
|
+
.padder .calend-holder .but-holder {
|
250
|
+
width: 50px;
|
251
|
+
position: absolute;
|
252
|
+
top: 0;
|
253
|
+
right: 0;
|
254
|
+
}
|
255
|
+
.padder .calend-holder .but-holder .but-container {
|
256
|
+
height: 29px;
|
257
|
+
}
|
258
|
+
.padder .calend-holder {
|
259
|
+
margin-bottom: 10px;
|
260
|
+
height: 30px;
|
261
|
+
position: relative;
|
262
|
+
width: 255px;
|
263
|
+
}
|
264
|
+
.ui-datepicker {
|
265
|
+
font-size: 12px !important;
|
266
|
+
}
|
267
|
+
|
268
|
+
/* css for timepicker */
|
269
|
+
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
|
270
|
+
.ui-timepicker-div dl { text-align: left; }
|
271
|
+
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
|
272
|
+
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
|
273
|
+
.ui-timepicker-div td { font-size: 90%; }
|
274
|
+
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
|
275
|
+
|
276
|
+
.ui-timepicker-rtl{ direction: rtl; }
|
277
|
+
.ui-timepicker-rtl dl { text-align: right; }
|
278
|
+
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
|
279
|
+
|
280
|
+
.post-edit-holder .chzn-container .chzn-drop {
|
281
|
+
position:fixed;
|
241
282
|
}
|
@@ -0,0 +1,145 @@
|
|
1
|
+
.pagination {
|
2
|
+
margin: 20px 0;
|
3
|
+
}
|
4
|
+
|
5
|
+
.pagination ul {
|
6
|
+
display: inline-block;
|
7
|
+
*display: inline;
|
8
|
+
margin-bottom: 0;
|
9
|
+
margin-left: 0;
|
10
|
+
-webkit-border-radius: 4px;
|
11
|
+
-moz-border-radius: 4px;
|
12
|
+
border-radius: 4px;
|
13
|
+
*zoom: 1;
|
14
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
15
|
+
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
16
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
17
|
+
}
|
18
|
+
|
19
|
+
.pagination ul > li {
|
20
|
+
display: inline;
|
21
|
+
}
|
22
|
+
|
23
|
+
.pagination ul > li > a,
|
24
|
+
.pagination ul > li > span {
|
25
|
+
float: left;
|
26
|
+
padding: 4px 12px;
|
27
|
+
line-height: 20px;
|
28
|
+
text-decoration: none;
|
29
|
+
background-color: #ffffff;
|
30
|
+
border: 1px solid #dddddd;
|
31
|
+
border-left-width: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
.pagination ul > li > a:hover,
|
35
|
+
.pagination ul > li > a:focus,
|
36
|
+
.pagination ul > .active > a,
|
37
|
+
.pagination ul > .active > span {
|
38
|
+
background-color: #f5f5f5;
|
39
|
+
}
|
40
|
+
|
41
|
+
.pagination ul > .active > a,
|
42
|
+
.pagination ul > .active > span {
|
43
|
+
color: #999999;
|
44
|
+
cursor: default;
|
45
|
+
}
|
46
|
+
|
47
|
+
.pagination ul > .disabled > span,
|
48
|
+
.pagination ul > .disabled > a,
|
49
|
+
.pagination ul > .disabled > a:hover,
|
50
|
+
.pagination ul > .disabled > a:focus {
|
51
|
+
color: #999999;
|
52
|
+
cursor: default;
|
53
|
+
background-color: transparent;
|
54
|
+
}
|
55
|
+
|
56
|
+
.pagination ul > li:first-child > a,
|
57
|
+
.pagination ul > li:first-child > span {
|
58
|
+
border-left-width: 1px;
|
59
|
+
-webkit-border-bottom-left-radius: 4px;
|
60
|
+
border-bottom-left-radius: 4px;
|
61
|
+
-webkit-border-top-left-radius: 4px;
|
62
|
+
border-top-left-radius: 4px;
|
63
|
+
-moz-border-radius-bottomleft: 4px;
|
64
|
+
-moz-border-radius-topleft: 4px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.pagination ul > li:last-child > a,
|
68
|
+
.pagination ul > li:last-child > span {
|
69
|
+
-webkit-border-top-right-radius: 4px;
|
70
|
+
border-top-right-radius: 4px;
|
71
|
+
-webkit-border-bottom-right-radius: 4px;
|
72
|
+
border-bottom-right-radius: 4px;
|
73
|
+
-moz-border-radius-topright: 4px;
|
74
|
+
-moz-border-radius-bottomright: 4px;
|
75
|
+
}
|
76
|
+
|
77
|
+
.pagination-centered {
|
78
|
+
text-align: center;
|
79
|
+
}
|
80
|
+
|
81
|
+
.pagination-right {
|
82
|
+
text-align: right;
|
83
|
+
}
|
84
|
+
|
85
|
+
.pagination-large ul > li > a,
|
86
|
+
.pagination-large ul > li > span {
|
87
|
+
padding: 11px 19px;
|
88
|
+
font-size: 17.5px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.pagination-large ul > li:first-child > a,
|
92
|
+
.pagination-large ul > li:first-child > span {
|
93
|
+
-webkit-border-bottom-left-radius: 6px;
|
94
|
+
border-bottom-left-radius: 6px;
|
95
|
+
-webkit-border-top-left-radius: 6px;
|
96
|
+
border-top-left-radius: 6px;
|
97
|
+
-moz-border-radius-bottomleft: 6px;
|
98
|
+
-moz-border-radius-topleft: 6px;
|
99
|
+
}
|
100
|
+
|
101
|
+
.pagination-large ul > li:last-child > a,
|
102
|
+
.pagination-large ul > li:last-child > span {
|
103
|
+
-webkit-border-top-right-radius: 6px;
|
104
|
+
border-top-right-radius: 6px;
|
105
|
+
-webkit-border-bottom-right-radius: 6px;
|
106
|
+
border-bottom-right-radius: 6px;
|
107
|
+
-moz-border-radius-topright: 6px;
|
108
|
+
-moz-border-radius-bottomright: 6px;
|
109
|
+
}
|
110
|
+
|
111
|
+
.pagination-mini ul > li:first-child > a,
|
112
|
+
.pagination-small ul > li:first-child > a,
|
113
|
+
.pagination-mini ul > li:first-child > span,
|
114
|
+
.pagination-small ul > li:first-child > span {
|
115
|
+
-webkit-border-bottom-left-radius: 3px;
|
116
|
+
border-bottom-left-radius: 3px;
|
117
|
+
-webkit-border-top-left-radius: 3px;
|
118
|
+
border-top-left-radius: 3px;
|
119
|
+
-moz-border-radius-bottomleft: 3px;
|
120
|
+
-moz-border-radius-topleft: 3px;
|
121
|
+
}
|
122
|
+
|
123
|
+
.pagination-mini ul > li:last-child > a,
|
124
|
+
.pagination-small ul > li:last-child > a,
|
125
|
+
.pagination-mini ul > li:last-child > span,
|
126
|
+
.pagination-small ul > li:last-child > span {
|
127
|
+
-webkit-border-top-right-radius: 3px;
|
128
|
+
border-top-right-radius: 3px;
|
129
|
+
-webkit-border-bottom-right-radius: 3px;
|
130
|
+
border-bottom-right-radius: 3px;
|
131
|
+
-moz-border-radius-topright: 3px;
|
132
|
+
-moz-border-radius-bottomright: 3px;
|
133
|
+
}
|
134
|
+
|
135
|
+
.pagination-small ul > li > a,
|
136
|
+
.pagination-small ul > li > span {
|
137
|
+
padding: 2px 10px;
|
138
|
+
font-size: 11.9px;
|
139
|
+
}
|
140
|
+
|
141
|
+
.pagination-mini ul > li > a,
|
142
|
+
.pagination-mini ul > li > span {
|
143
|
+
padding: 0 6px;
|
144
|
+
font-size: 10.5px;
|
145
|
+
}
|
File without changes
|
@@ -6,4 +6,6 @@
|
|
6
6
|
per_page: number of items to fetch per page
|
7
7
|
remote: data-remote
|
8
8
|
-%>
|
9
|
-
|
9
|
+
<li>
|
10
|
+
<%= link_to_unless_span current_page.last?, raw("→"), url, :rel => 'next', :remote => remote, :class => "next_page disabled" %>
|
11
|
+
</li>
|
@@ -9,7 +9,11 @@
|
|
9
9
|
-%>
|
10
10
|
|
11
11
|
<% unless page.current? %>
|
12
|
-
|
12
|
+
<li>
|
13
|
+
<%= link_to page, url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
|
14
|
+
</li>
|
13
15
|
<% else -%>
|
14
|
-
|
15
|
-
|
16
|
+
<li class="active">
|
17
|
+
<%= content_tag(:span, page)%>
|
18
|
+
</li>
|
19
|
+
<% end -%>
|
@@ -8,16 +8,18 @@
|
|
8
8
|
-%>
|
9
9
|
<%= paginator.render do -%>
|
10
10
|
<div class="pagination">
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<%
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
<ul>
|
12
|
+
<%#= first_page_tag unless current_page.first? %>
|
13
|
+
<%= prev_page_tag %>
|
14
|
+
<% each_page do |page| -%>
|
15
|
+
<% if page.left_outer? || page.right_outer? || page.inside_window? -%>
|
16
|
+
<%= page_tag page %>
|
17
|
+
<% elsif !page.was_truncated? -%>
|
18
|
+
<%= gap_tag %>
|
19
|
+
<% end -%>
|
18
20
|
<% end -%>
|
19
|
-
|
20
|
-
|
21
|
-
|
21
|
+
<%= next_page_tag %>
|
22
|
+
<%#= last_page_tag unless current_page.last? %>
|
23
|
+
</ul>
|
22
24
|
</div>
|
23
25
|
<% end -%>
|
@@ -7,4 +7,7 @@
|
|
7
7
|
remote: data-remote
|
8
8
|
-%>
|
9
9
|
|
10
|
-
|
10
|
+
<li>
|
11
|
+
<%= link_to_unless_span current_page.first?, raw("←"), url, :rel => 'prev', :remote => remote, :class => "prev_page disabled" %>
|
12
|
+
</li>
|
13
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="wrapper">
|
2
2
|
<div class="main-item-list" id="records">
|
3
3
|
<%= render :partial => apply_scope("record"), :collection => @records %>
|
4
|
-
<%= paginate @records, :theme => 'sunrise' %>
|
4
|
+
<%= paginate @records, :theme => 'sunrise', :outer_window => 2 %>
|
5
5
|
</div>
|
6
6
|
|
7
7
|
<script type='text/javascript'>
|
data/lib/sunrise/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -133734,3 +133734,3030 @@ Completed 200 OK in 65ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
|
133734
133734
|
[1m[35m (341.5ms)[0m TRUNCATE TABLE `structures`;
|
133735
133735
|
[1m[36m (411.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
133736
133736
|
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
133737
|
+
Connecting to database specified by database.yml
|
133738
|
+
[1m[36m (317.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
133739
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
133740
|
+
Migrating to CreatePageParts (20111227143901)
|
133741
|
+
Migrating to CreatePosts (20111228152051)
|
133742
|
+
Migrating to CreateMetaTags (20120105114018)
|
133743
|
+
Migrating to CreateActivities (20130214090723)
|
133744
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
133745
|
+
Migrating to CreateAssets (20111216144515)
|
133746
|
+
Migrating to CreateStructures (20111216144915)
|
133747
|
+
Migrating to CreateUsers (20111216145015)
|
133748
|
+
Migrating to CreateSettings (20120611095315)
|
133749
|
+
Connecting to database specified by database.yml
|
133750
|
+
[1m[36m (5.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
133751
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
133752
|
+
Migrating to CreatePageParts (20111227143901)
|
133753
|
+
Migrating to CreatePosts (20111228152051)
|
133754
|
+
Migrating to CreateMetaTags (20120105114018)
|
133755
|
+
Migrating to CreateActivities (20130214090723)
|
133756
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
133757
|
+
Migrating to CreateAssets (20111216144515)
|
133758
|
+
Migrating to CreateStructures (20111216144915)
|
133759
|
+
Migrating to CreateUsers (20111216145015)
|
133760
|
+
Migrating to CreateSettings (20120611095315)
|
133761
|
+
[1m[36m (24.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
133762
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
133763
|
+
[1m[36m (123.0ms)[0m [1mSELECT DATABASE() as db[0m
|
133764
|
+
[1m[35m (1119.4ms)[0m select table_name from information_schema.views where table_schema = 'sunrise_dummy_test'
|
133765
|
+
[1m[36m (1109.7ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
133766
|
+
[1m[35m (674.7ms)[0m TRUNCATE TABLE `assets`;
|
133767
|
+
[1m[36m (597.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
133768
|
+
[1m[35m (764.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
133769
|
+
[1m[36m (295.5ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
133770
|
+
[1m[35m (532.2ms)[0m TRUNCATE TABLE `posts`;
|
133771
|
+
[1m[36m (570.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
133772
|
+
[1m[35m (662.8ms)[0m TRUNCATE TABLE `structures`;
|
133773
|
+
[1m[36m (597.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
133774
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
133775
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
133776
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
133777
|
+
[1m[36m (206.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
133778
|
+
[1m[35m (307.4ms)[0m TRUNCATE TABLE `assets`;
|
133779
|
+
[1m[36m (363.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
133780
|
+
[1m[35m (289.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
133781
|
+
[1m[36m (396.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
133782
|
+
[1m[35m (139.3ms)[0m TRUNCATE TABLE `posts`;
|
133783
|
+
[1m[36m (270.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
133784
|
+
[1m[35m (386.2ms)[0m TRUNCATE TABLE `structures`;
|
133785
|
+
[1m[36m (822.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
133786
|
+
[1m[35m (0.3ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
133787
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
133788
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
133789
|
+
[1m[36m (1290.2ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
133790
|
+
[1m[35m (754.1ms)[0m TRUNCATE TABLE `assets`;
|
133791
|
+
[1m[36m (513.2ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
133792
|
+
[1m[35m (250.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
133793
|
+
[1m[36m (295.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
133794
|
+
[1m[35m (162.6ms)[0m TRUNCATE TABLE `posts`;
|
133795
|
+
[1m[36m (570.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
133796
|
+
[1m[35m (227.8ms)[0m TRUNCATE TABLE `structures`;
|
133797
|
+
[1m[36m (608.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
133798
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
133799
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
133800
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
133801
|
+
[1m[36m (406.4ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
133802
|
+
[1m[35m (340.9ms)[0m TRUNCATE TABLE `assets`;
|
133803
|
+
[1m[36m (352.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
133804
|
+
[1m[35m (173.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
133805
|
+
[1m[36m (261.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
133806
|
+
[1m[35m (250.5ms)[0m TRUNCATE TABLE `posts`;
|
133807
|
+
[1m[36m (128.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
133808
|
+
[1m[35m (366.0ms)[0m TRUNCATE TABLE `structures`;
|
133809
|
+
[1m[36m (388.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
133810
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
133811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133812
|
+
[1m[35mUser Exists (46.2ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing1@example.com' LIMIT 1
|
133813
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:32', '2013-03-29 15:13:32', NULL, NULL, 'testing1@example.com', 'd6fdcb9b9141c71e01a823b82b549dacff46bd21fb50885207fa6603142d2010084afe65821246452fbad4d8a7c370fbb394469846e9c0a553bc592460e50c01', 0, NULL, NULL, NULL, 'Test', 'Lvnvrsc6ZTKxVAUcGojt', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:32')[0m
|
133814
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:33', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:13:33')
|
133815
|
+
[1m[36m (24.4ms)[0m [1mCOMMIT[0m
|
133816
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1
|
133817
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1[0m
|
133818
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133819
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing2@example.com' LIMIT 1[0m
|
133820
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:33', '2013-03-29 15:13:33', NULL, NULL, 'testing2@example.com', '35e1d621d0ea113b5bb461b6158a73b492baad2df853766b73419da24f08761a02a394ee53e56c4d0c1fc87b8354a8acf44a892bcf1b19637b6afcdf58e150a8', 0, NULL, NULL, NULL, 'Test', 'NS5XDBwCp6obXmVid1i9', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:33')
|
133821
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:33', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-03-29 15:13:33')[0m
|
133822
|
+
[1m[35m (29.5ms)[0m COMMIT
|
133823
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'testing2@example.com' LIMIT 1[0m
|
133824
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133825
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing3@example.com' LIMIT 1[0m
|
133826
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:33', '2013-03-29 15:13:33', NULL, NULL, 'testing3@example.com', '33e8e5852de8b2879f9da477a642a4739c5618bc61ac04a43252998c38edc8d82c96451ef00a3790f8419748ae257c179fc482b4f609a38d46586d86ebcb9e9b', 0, NULL, NULL, NULL, 'Test', 'JMMzqS4SFxN6wwsZFZdu', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:33')
|
133827
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:33', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'User', '2013-03-29 15:13:33')[0m
|
133828
|
+
[1m[35m (34.0ms)[0m COMMIT
|
133829
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`role_type_id` = 1[0m
|
133830
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133831
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing4@example.com' LIMIT 1[0m
|
133832
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:33', '2013-03-29 15:13:33', NULL, NULL, 'testing4@example.com', '40eb2edae423b30aa56a78bd9a67ad8e6ba359730b1c95f8a3402cbdff0246ef1354442ac2f578e607291ca7deadb2fc26f5082533694d974a08027d5086ba75', 0, NULL, NULL, NULL, 'Test', 'wxfDjEynkTXduyevszTm', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:33')
|
133833
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:33', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'User', '2013-03-29 15:13:33')[0m
|
133834
|
+
[1m[35m (57.0ms)[0m COMMIT
|
133835
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
133836
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT id, email, name, current_sign_in_ip FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000[0m
|
133837
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133838
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing5@example.com' LIMIT 1[0m
|
133839
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:33', '2013-03-29 15:13:33', NULL, NULL, 'testing5@example.com', '028c87df77bade42fad1db649f7fe5bdb8da899113eebab49f7110b14fef532a988553868f41096430737398c87d48ecbfcc8306b3a77cd4d2ed57ccf88c8c01', 0, NULL, NULL, NULL, 'Test', 'Lw7Dyh4zRziUqSZqq1UZ', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:33')
|
133840
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:34', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'User', '2013-03-29 15:13:34')[0m
|
133841
|
+
[1m[35m (58.4ms)[0m COMMIT
|
133842
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
133843
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT id, email, confirmed_at, created_at FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000[0m
|
133844
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133845
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing6@example.com' LIMIT 1[0m
|
133846
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:34', '2013-03-29 15:13:34', NULL, NULL, 'testing6@example.com', '566e67d803c7b9609ee672f7749b4456de4fe595e7d79dc205aa8006f36b2bdb70362de9c13c6d5096b681e36caa388bb2181191bbdfe503eabc7c495b67a10a', 0, NULL, NULL, NULL, 'Test', '3fopyTfqGLvKneJypEfT', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:34')
|
133847
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:34', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 6, 'User', '2013-03-29 15:13:34')[0m
|
133848
|
+
[1m[35m (60.7ms)[0m COMMIT
|
133849
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133850
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing7@example.com' LIMIT 1
|
133851
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:34', '2013-03-29 15:13:34', NULL, NULL, 'testing7@example.com', '15d4f7feb1d76a5fbc0fb6c514f0f49a735fc748a71dc08d44f1d6810b1756764b51c195d74904c47210c15cdfdb9ff667f4fe410e0d8202d2e5c814c12f6c35', 0, NULL, NULL, NULL, 'Test', 'rrt7FpXg7p5NNfVXdMmk', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:34')[0m
|
133852
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:34', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 7, 'User', '2013-03-29 15:13:34')
|
133853
|
+
[1m[36m (41.9ms)[0m [1mCOMMIT[0m
|
133854
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133855
|
+
[1m[36m (32.6ms)[0m [1mUPDATE `users` SET `confirmed_at` = NULL, `locked_at` = '2013-03-29 15:13:34', `unlock_token` = 'pytogtBUbj6jp7w9jMB7', `updated_at` = '2013-03-29 15:13:34' WHERE `users`.`id` = 7[0m
|
133856
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:34', 'user.update', NULL, NULL, '--- {}\n', NULL, NULL, 7, 'User', '2013-03-29 15:13:34')
|
133857
|
+
[1m[36m (35.2ms)[0m [1mCOMMIT[0m
|
133858
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/mailer/unlock_instructions.html.erb (23.0ms)
|
133859
|
+
|
133860
|
+
Sent mail to testing7@example.com (218ms)
|
133861
|
+
Date: Fri, 29 Mar 2013 17:13:35 +0200
|
133862
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
133863
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
133864
|
+
To: testing7@example.com
|
133865
|
+
Message-ID: <5155af9f3c3d0_2fa14f9780c3469f@mario.mail>
|
133866
|
+
Subject: Unlock Instructions
|
133867
|
+
Mime-Version: 1.0
|
133868
|
+
Content-Type: text/html;
|
133869
|
+
charset=UTF-8
|
133870
|
+
Content-Transfer-Encoding: 7bit
|
133871
|
+
|
133872
|
+
<p>Hello testing7@example.com!</p>
|
133873
|
+
|
133874
|
+
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
133875
|
+
|
133876
|
+
<p>Click the link below to unlock your account:</p>
|
133877
|
+
|
133878
|
+
<p><a href="http://test.com/users/unlock?unlock_token=pytogtBUbj6jp7w9jMB7">Unlock my account</a></p>
|
133879
|
+
|
133880
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
133881
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
133882
|
+
[1m[35m (291.0ms)[0m TRUNCATE TABLE `activities`;
|
133883
|
+
[1m[36m (446.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
133884
|
+
[1m[35m (397.5ms)[0m TRUNCATE TABLE `audits`;
|
133885
|
+
[1m[36m (294.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
133886
|
+
[1m[35m (140.4ms)[0m TRUNCATE TABLE `page_parts`;
|
133887
|
+
[1m[36m (228.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
133888
|
+
[1m[35m (239.3ms)[0m TRUNCATE TABLE `settings`;
|
133889
|
+
[1m[36m (208.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
133890
|
+
[1m[35m (330.7ms)[0m TRUNCATE TABLE `users`;
|
133891
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
133892
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
133893
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
133894
|
+
[1m[35m (295.2ms)[0m TRUNCATE TABLE `activities`;
|
133895
|
+
[1m[36m (307.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
133896
|
+
[1m[35m (330.5ms)[0m TRUNCATE TABLE `audits`;
|
133897
|
+
[1m[36m (372.8ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
133898
|
+
[1m[35m (1677.7ms)[0m TRUNCATE TABLE `page_parts`;
|
133899
|
+
[1m[36m (248.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
133900
|
+
[1m[35m (239.2ms)[0m TRUNCATE TABLE `settings`;
|
133901
|
+
[1m[36m (220.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
133902
|
+
[1m[35m (418.9ms)[0m TRUNCATE TABLE `users`;
|
133903
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
133904
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133905
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing8@example.com' LIMIT 1[0m
|
133906
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:43', '2013-03-29 15:13:43', NULL, NULL, 'testing8@example.com', 'a92f57d3a1e5b7651a63e78d31a2f329327fecbcbb3b626a99a36b446bfc315d86253f379dc8c27823b61c33c69415c6f7ecefe9d852cf81c4e5caf6e36bf9b3', 0, NULL, NULL, NULL, 'Test', 'nyDbrpNhHzm2DCaq6nKr', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:43')
|
133907
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:43', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:13:43')[0m
|
133908
|
+
[1m[35m (29.0ms)[0m COMMIT
|
133909
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133910
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (1, 'User', '2013-03-29 15:13:43', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:43', NULL, 50)
|
133911
|
+
[1m[36m (36.8ms)[0m [1mCOMMIT[0m
|
133912
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133913
|
+
[1m[36mSQL (36.1ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 1[0m
|
133914
|
+
[1m[35m (38.8ms)[0m COMMIT
|
133915
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133916
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing9@example.com' LIMIT 1
|
133917
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:43', '2013-03-29 15:13:44', NULL, NULL, 'testing9@example.com', 'e3fb765e3db7c13eb38294d9dd3c266be9e7f410852242a571171cbf9c296bcda035830c4f3fa93a2418ddc47df3d5e8e83954ed4edc0090ee9b9f57eb6b3ca5', 0, NULL, NULL, NULL, 'Test', 'iLQ1x7xp9XkCCqHgssiv', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:44')[0m
|
133918
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:44', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-03-29 15:13:44')
|
133919
|
+
[1m[36m (34.1ms)[0m [1mCOMMIT[0m
|
133920
|
+
[1m[35m (0.2ms)[0m BEGIN
|
133921
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing10@example.com' LIMIT 1[0m
|
133922
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:44', '2013-03-29 15:13:44', NULL, NULL, 'testing10@example.com', 'cd2de127fa51eca74c7b8ac70e783ec79ef5944114fd7f459adebc60840c88e1b2a71bf6847dd20c7da3104d9ead8cac84197f67e186e6e806dd08b19a660e23', 0, NULL, NULL, NULL, 'Test', 'RqwiKjswP4trb6KCtBsh', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:44')
|
133923
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:44', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'User', '2013-03-29 15:13:44')[0m
|
133924
|
+
[1m[35m (34.9ms)[0m COMMIT
|
133925
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133926
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing11@example.com' LIMIT 1
|
133927
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:44', '2013-03-29 15:13:44', NULL, NULL, 'testing11@example.com', '37c58ca0221d49310d78e25f505b58e1a7e790a8eb929a881d0afcee203bbd70388825e0ae408d66eacef86c1de307c5d02a60b3452476fefd40515c04b59675', 0, NULL, NULL, NULL, 'Test', '5VHzSxrwx5zThWN81GXj', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:44')[0m
|
133928
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:44', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'User', '2013-03-29 15:13:44')
|
133929
|
+
[1m[36m (26.0ms)[0m [1mCOMMIT[0m
|
133930
|
+
[1m[35m (0.2ms)[0m BEGIN
|
133931
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing12@example.com' LIMIT 1[0m
|
133932
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:47', '2013-03-29 15:13:47', NULL, NULL, 'testing12@example.com', 'b9bd5b1418f8163c3aaae02863687fe69804c10c2411fdf88efb675992934c0d15b61db9351375c5d8ac2481c5df089511c9c31c59db74433823fb85afd87288', 0, NULL, NULL, NULL, 'Test', 'RMwWFE1hNFULxfGVsXbE', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:47')
|
133933
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:47', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'User', '2013-03-29 15:13:47')[0m
|
133934
|
+
[1m[35m (30.4ms)[0m COMMIT
|
133935
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133936
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing13@example.com' LIMIT 1
|
133937
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:48', '2013-03-29 15:13:48', NULL, NULL, 'testing13@example.com', '289cafa290b25a8da6c17ba45eeb9c403d3c4eb0dc0bd778a0c9590d8529292b498924bde47bf69370b9d41aab6d3ef4238bf9dd7f4858d59f5c5d0517c9f464', 0, NULL, NULL, NULL, 'Test', 'cDxNiXrQqYmSK1QyHizP', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:48')[0m
|
133938
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:48', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 6, 'User', '2013-03-29 15:13:48')
|
133939
|
+
[1m[36m (32.9ms)[0m [1mCOMMIT[0m
|
133940
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133941
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (6, 'User', '2013-03-29 15:13:48', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:48', NULL, 50)[0m
|
133942
|
+
[1m[35m (36.4ms)[0m COMMIT
|
133943
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133944
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 2
|
133945
|
+
[1m[36m (20.6ms)[0m [1mCOMMIT[0m
|
133946
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133947
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing14@example.com' LIMIT 1[0m
|
133948
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:48', '2013-03-29 15:13:48', NULL, NULL, 'testing14@example.com', '97fa27e03bd0075ef261c6ed677b665b21a4e8eccdd93886be2ef6e70d6b5df134209c309d910f3f247d2402ab32e6d4a1584d3316ccdcdfa94efd5249fe84f7', 0, NULL, NULL, NULL, 'Test', 'tkisAt7s1h5RfwEYYDEY', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:48')
|
133949
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:48', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 7, 'User', '2013-03-29 15:13:48')[0m
|
133950
|
+
[1m[35m (32.8ms)[0m COMMIT
|
133951
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133952
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (7, 'User', '2013-03-29 15:13:48', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:48', NULL, 50)
|
133953
|
+
[1m[36m (37.2ms)[0m [1mCOMMIT[0m
|
133954
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133955
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 3[0m
|
133956
|
+
[1m[35m (42.9ms)[0m COMMIT
|
133957
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
133958
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing15@example.com' LIMIT 1
|
133959
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:49', '2013-03-29 15:13:49', NULL, NULL, 'testing15@example.com', '5a0b9ab4f03ee98b7959a3cde1c53eb2b5427497a2e959e694b9c858a298f0b87ed561f9d3b00677e4498669df9255fb255a1fbe0b4cf1037aaed73da3431829', 0, NULL, NULL, NULL, 'Test', 'Dvazy1B6iK5zt6XFizwC', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:49')[0m
|
133960
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:49', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 8, 'User', '2013-03-29 15:13:49')
|
133961
|
+
[1m[36m (172.8ms)[0m [1mCOMMIT[0m
|
133962
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133963
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (8, 'User', '2013-03-29 15:13:49', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:49', NULL, 50)[0m
|
133964
|
+
[1m[35m (46.0ms)[0m COMMIT
|
133965
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133966
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 4
|
133967
|
+
[1m[36m (31.6ms)[0m [1mCOMMIT[0m
|
133968
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133969
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing16@example.com' LIMIT 1[0m
|
133970
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:49', '2013-03-29 15:13:49', NULL, NULL, 'testing16@example.com', '75f29c88b4d4f9ff3ab9715733f1fd32d689edf6da6b2c43020e8d416c5a7435bd41cef4cf81f52825fa74f3a515ea9b55ab397f09a38ed9e68dace8ead6943d', 0, NULL, NULL, NULL, 'Test', 'BeDbzcFGtYKUvKbBo8sz', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:49')
|
133971
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:49', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 9, 'User', '2013-03-29 15:13:49')[0m
|
133972
|
+
[1m[35m (29.3ms)[0m COMMIT
|
133973
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133974
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (9, 'User', '2013-03-29 15:13:49', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:49', NULL, 50)
|
133975
|
+
[1m[36m (37.1ms)[0m [1mCOMMIT[0m
|
133976
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133977
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 5[0m
|
133978
|
+
[1m[35m (20.6ms)[0m COMMIT
|
133979
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
133980
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing17@example.com' LIMIT 1
|
133981
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:50', '2013-03-29 15:13:50', NULL, NULL, 'testing17@example.com', '2e02e7b01756bebcc876ec5e1f34c455086ed23e003feb3824e9f0ec58e7883eb69076109331f378dc093af8526180f4e8b589fcd13e01835fc342412156c989', 0, NULL, NULL, NULL, 'Test', '49DyspVayAVVa1c8JiSS', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:50')[0m
|
133982
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:50', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 10, 'User', '2013-03-29 15:13:50')
|
133983
|
+
[1m[36m (120.6ms)[0m [1mCOMMIT[0m
|
133984
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133985
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (10, 'User', '2013-03-29 15:13:50', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:50', NULL, 50)[0m
|
133986
|
+
[1m[35m (380.2ms)[0m COMMIT
|
133987
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133988
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 6
|
133989
|
+
[1m[36m (28.7ms)[0m [1mCOMMIT[0m
|
133990
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133991
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing18@example.com' LIMIT 1[0m
|
133992
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:51', '2013-03-29 15:13:51', NULL, NULL, 'testing18@example.com', '944f4d6e85aeb1a5334b54659b05b8f72b985138f1646db1080893f3a795c03d789059c8257cfa4b2adf35b8fe37c5565cd684afd55e8116cf0cef49d9ac929c', 0, NULL, NULL, NULL, 'Test', 'SYc35gtAScn1AwcHyE38', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:51')
|
133993
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:51', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 11, 'User', '2013-03-29 15:13:51')[0m
|
133994
|
+
[1m[35m (34.1ms)[0m COMMIT
|
133995
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133996
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (11, 'User', '2013-03-29 15:13:51', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:51', NULL, 50)
|
133997
|
+
[1m[36m (37.1ms)[0m [1mCOMMIT[0m
|
133998
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133999
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 7[0m
|
134000
|
+
[1m[35m (20.7ms)[0m COMMIT
|
134001
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134002
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing19@example.com' LIMIT 1
|
134003
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:51', '2013-03-29 15:13:51', NULL, NULL, 'testing19@example.com', '135b8d248c4495325382d7e8d01c352955f571d38ce2c9713e745d8c9593d758eccaeb55c6910a19d4eb25f71df297be58ed2dd654ebb8422a25dba2f18735cb', 0, NULL, NULL, NULL, 'Test', 'pxznGpA153RfdpKTDqMM', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:51')[0m
|
134004
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:51', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 12, 'User', '2013-03-29 15:13:51')
|
134005
|
+
[1m[36m (29.7ms)[0m [1mCOMMIT[0m
|
134006
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134007
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (12, 'User', '2013-03-29 15:13:51', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:51', NULL, 50)[0m
|
134008
|
+
[1m[35m (20.5ms)[0m COMMIT
|
134009
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134010
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 8
|
134011
|
+
[1m[36m (41.3ms)[0m [1mCOMMIT[0m
|
134012
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134013
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing20@example.com' LIMIT 1[0m
|
134014
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:52', '2013-03-29 15:13:52', NULL, NULL, 'testing20@example.com', 'b1c5cabbcf73ca23ee6bfdfdaef4d1de88011209132f10474cb2b98d1c8e1db1b5d197a9f6c3de0664d76570935f6b39d56e37eb276f25182bf4c07d5260cdc0', 0, NULL, NULL, NULL, 'Test', 'oTErFEyAo8qESoJ6AwSh', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:52')
|
134015
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:52', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 13, 'User', '2013-03-29 15:13:52')[0m
|
134016
|
+
[1m[35m (30.9ms)[0m COMMIT
|
134017
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134018
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (13, 'User', '2013-03-29 15:13:52', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:52', NULL, 50)
|
134019
|
+
[1m[36m (36.8ms)[0m [1mCOMMIT[0m
|
134020
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134021
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 9[0m
|
134022
|
+
[1m[35m (58.7ms)[0m COMMIT
|
134023
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134024
|
+
[1m[35mUser Exists (0.7ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing21@example.com' LIMIT 1
|
134025
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:52', '2013-03-29 15:13:52', NULL, NULL, 'testing21@example.com', '59722c184d1b778ea6b3b32a076b9efd1c2782f6412f2bf8b474cc5537111a5c30a5840fe543c752efa8bcadfb20f0b46cb28b82d4bf8a175847f6702209624c', 0, NULL, NULL, NULL, 'Test', 'AwLd12Du1sJoZzYHympM', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:52')[0m
|
134026
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:52', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 14, 'User', '2013-03-29 15:13:52')
|
134027
|
+
[1m[36m (185.8ms)[0m [1mCOMMIT[0m
|
134028
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134029
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (14, 'User', '2013-03-29 15:13:53', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:53', NULL, 50)[0m
|
134030
|
+
[1m[35m (165.4ms)[0m COMMIT
|
134031
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134032
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 10
|
134033
|
+
[1m[36m (46.2ms)[0m [1mCOMMIT[0m
|
134034
|
+
[1m[35m (0.2ms)[0m BEGIN
|
134035
|
+
[1m[36mUser Exists (0.8ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing22@example.com' LIMIT 1[0m
|
134036
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:53', '2013-03-29 15:13:53', NULL, NULL, 'testing22@example.com', 'c4929b59f2b05f1fe566e72cdba26ddf9430807e9fe7f408de3af3c57567aface9ac028127eb63103e2354cff8c23f3fa7776a47bda4c0ee6bc67880f015d8e7', 0, NULL, NULL, NULL, 'Test', 'uEAsRGmtqFoJx9kLZ7Ba', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:53')
|
134037
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:53', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 15, 'User', '2013-03-29 15:13:53')[0m
|
134038
|
+
[1m[35m (63.4ms)[0m COMMIT
|
134039
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134040
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (15, 'User', '2013-03-29 15:13:53', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:53', NULL, 50)
|
134041
|
+
[1m[36m (35.5ms)[0m [1mCOMMIT[0m
|
134042
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134043
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
134044
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134045
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 11[0m
|
134046
|
+
[1m[35m (30.8ms)[0m COMMIT
|
134047
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134048
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing23@example.com' LIMIT 1
|
134049
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:54', '2013-03-29 15:13:54', NULL, NULL, 'testing23@example.com', '1dd5b44ef691a8b3ca01adbb271c7b4669f0d47a351288aa6c5eb0be98dd60badb51cf42e7708252555364b8dc60f10b37330c8127453b4da4a370752f41fc65', 0, NULL, NULL, NULL, 'Test', 'Vn7Hrpz6YR1uZoDA8Kzx', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:54')[0m
|
134050
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:54', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 16, 'User', '2013-03-29 15:13:54')
|
134051
|
+
[1m[36m (66.2ms)[0m [1mCOMMIT[0m
|
134052
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134053
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (16, 'User', '2013-03-29 15:13:54', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:54', NULL, 50)[0m
|
134054
|
+
[1m[35m (47.4ms)[0m COMMIT
|
134055
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134056
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 12
|
134057
|
+
[1m[36m (31.5ms)[0m [1mCOMMIT[0m
|
134058
|
+
[1m[35m (0.2ms)[0m BEGIN
|
134059
|
+
[1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing24@example.com' LIMIT 1[0m
|
134060
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:55', '2013-03-29 15:13:55', NULL, NULL, 'testing24@example.com', '4123ebe94dd81790bee879239259061ae9415817b09158ec301cbe2af6112868b7654c2d38fcd86f0e4ac5124ecacf6305e9e0067d1f5abc9538bb0c4788c77a', 0, NULL, NULL, NULL, 'Test', 'z1uTPW6NDPt9u7x5VqSu', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:55')
|
134061
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:55', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 17, 'User', '2013-03-29 15:13:55')[0m
|
134062
|
+
[1m[35m (48.4ms)[0m COMMIT
|
134063
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134064
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (17, 'User', '2013-03-29 15:13:55', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:55', NULL, 50)
|
134065
|
+
[1m[36m (33.1ms)[0m [1mCOMMIT[0m
|
134066
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134067
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 13[0m
|
134068
|
+
[1m[35m (46.2ms)[0m COMMIT
|
134069
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134070
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing25@example.com' LIMIT 1
|
134071
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:13:55', '2013-03-29 15:13:55', NULL, NULL, 'testing25@example.com', 'f940350d7dba09a85f1a30d4d482cf13d2d02ac362f2f5999529d6bd2bdaeb38d246dcc754c08ef51cea7cfa26109058214950ba2ad395b355bfa422be6e797f', 0, NULL, NULL, NULL, 'Test', 'PRJBJG8KUfWnzmGdcfBy', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:13:55')[0m
|
134072
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:13:55', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 18, 'User', '2013-03-29 15:13:55')
|
134073
|
+
[1m[36m (184.2ms)[0m [1mCOMMIT[0m
|
134074
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134075
|
+
[1m[36mSQL (3.5ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (18, 'User', '2013-03-29 15:13:56', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-03-29 15:13:56', NULL, 50)[0m
|
134076
|
+
[1m[35m (113.2ms)[0m COMMIT
|
134077
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134078
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
134079
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134080
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 14
|
134081
|
+
[1m[36m (303.9ms)[0m [1mCOMMIT[0m
|
134082
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134083
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134084
|
+
[1m[35m (850.8ms)[0m TRUNCATE TABLE `activities`;
|
134085
|
+
[1m[36m (774.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134086
|
+
[1m[35m (853.3ms)[0m TRUNCATE TABLE `audits`;
|
134087
|
+
[1m[36m (521.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134088
|
+
[1m[35m (1581.7ms)[0m TRUNCATE TABLE `page_parts`;
|
134089
|
+
[1m[36m (927.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134090
|
+
[1m[35m (435.7ms)[0m TRUNCATE TABLE `settings`;
|
134091
|
+
[1m[36m (858.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134092
|
+
[1m[35m (1182.8ms)[0m TRUNCATE TABLE `users`;
|
134093
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134094
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134095
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134096
|
+
[1m[35m (1022.5ms)[0m TRUNCATE TABLE `activities`;
|
134097
|
+
[1m[36m (723.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134098
|
+
[1m[35m (1423.3ms)[0m TRUNCATE TABLE `audits`;
|
134099
|
+
[1m[36m (540.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134100
|
+
[1m[35m (307.5ms)[0m TRUNCATE TABLE `page_parts`;
|
134101
|
+
[1m[36m (573.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134102
|
+
[1m[35m (377.8ms)[0m TRUNCATE TABLE `settings`;
|
134103
|
+
[1m[36m (445.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134104
|
+
[1m[35m (733.3ms)[0m TRUNCATE TABLE `users`;
|
134105
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134106
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134107
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134108
|
+
[1m[35m (341.9ms)[0m TRUNCATE TABLE `activities`;
|
134109
|
+
[1m[36m (391.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134110
|
+
[1m[35m (435.1ms)[0m TRUNCATE TABLE `audits`;
|
134111
|
+
[1m[36m (284.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134112
|
+
[1m[35m (364.9ms)[0m TRUNCATE TABLE `page_parts`;
|
134113
|
+
[1m[36m (265.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134114
|
+
[1m[35m (271.9ms)[0m TRUNCATE TABLE `settings`;
|
134115
|
+
[1m[36m (286.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134116
|
+
[1m[35m (329.7ms)[0m TRUNCATE TABLE `users`;
|
134117
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134118
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134119
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134120
|
+
[1m[35m (297.1ms)[0m TRUNCATE TABLE `activities`;
|
134121
|
+
[1m[36m (398.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134122
|
+
[1m[35m (354.6ms)[0m TRUNCATE TABLE `audits`;
|
134123
|
+
[1m[36m (264.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134124
|
+
[1m[35m (386.9ms)[0m TRUNCATE TABLE `page_parts`;
|
134125
|
+
[1m[36m (250.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134126
|
+
[1m[35m (233.0ms)[0m TRUNCATE TABLE `settings`;
|
134127
|
+
[1m[36m (253.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134128
|
+
[1m[35m (454.8ms)[0m TRUNCATE TABLE `users`;
|
134129
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134130
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134131
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing26@example.com' LIMIT 1[0m
|
134132
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:16', '2013-03-29 15:14:16', NULL, NULL, 'testing26@example.com', 'f5c4e3902f79934d9b1077aeec5d3664e7261e693e117681197262de4a8a995f6da8d7d91350dea64066188656bab7e76729f505c3ce3647feccad644f1b9c6f', 0, NULL, NULL, NULL, 'Test', 'pphCFwgyxs7gwFxNuApL', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:14:16')
|
134133
|
+
[1m[36mSQL (28.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:16', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:16')[0m
|
134134
|
+
[1m[35m (51.6ms)[0m COMMIT
|
134135
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134136
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing27@example.com' LIMIT 1
|
134137
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:17', '2013-03-29 15:14:17', NULL, NULL, 'testing27@example.com', '5d7fed2929b75fc0067a964af63c59d230b9be342b9aa18f0b91485e8ec0beb0dab1fd81dd052d7a5638e232ed17356255e01655d12cf7dc31eb56352ea2f6f0', 0, NULL, NULL, NULL, 'Test', 'NwUs53qSqnnZU1Nh1fRw', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:14:17')[0m
|
134138
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:17', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-03-29 15:14:17')
|
134139
|
+
[1m[36m (41.0ms)[0m [1mCOMMIT[0m
|
134140
|
+
[1m[35m (1.6ms)[0m BEGIN
|
134141
|
+
[1m[36mUser Exists (6.1ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing28@example.com' LIMIT 1[0m
|
134142
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:18', '2013-03-29 15:14:18', NULL, NULL, 'testing28@example.com', '5cfd2fe1e8eeea3fd58c3d84274336270866f48c288fe7cbbd467a23993fb756e1e4878e77acbecad4899711911f0b6202cae4718527971607f31bf4f6231a45', 0, NULL, NULL, NULL, 'Test', '5fzxojqjz1dkC74BWVED', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:14:18')
|
134143
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:18', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'User', '2013-03-29 15:14:18')[0m
|
134144
|
+
[1m[35m (29.6ms)[0m COMMIT
|
134145
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134146
|
+
[1m[35mUser Exists (0.9ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing29@example.com' LIMIT 1
|
134147
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:19', '2013-03-29 15:14:19', NULL, NULL, 'testing29@example.com', 'a010dac2211aaa35cb47b42d5030f22fdc3e7aa9e820b30246b7d987fedf81872cc05f34b0f5ebc4610f1a465884f43dd1839b0afc1b56a0154cb17bb7e6e137', 0, NULL, NULL, NULL, 'Test', 'Tgydp38x8zRW6qVzm1bp', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:14:19')[0m
|
134148
|
+
[1m[35mSQL (112.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:19', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'User', '2013-03-29 15:14:19')
|
134149
|
+
[1m[36m (40.8ms)[0m [1mCOMMIT[0m
|
134150
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134151
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing30@example.com' LIMIT 1[0m
|
134152
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:20', '2013-03-29 15:14:20', NULL, NULL, 'testing30@example.com', '9495286f8f67be72e9d59578dc0612bc0eac2f44b0e83ba4d1b5619ed1a547fe9156d32ff174fe529b8777b059e3ec43e61f7081a0495d0d0550c263ba02ebca', 0, NULL, NULL, NULL, 'Test', 'ZuzSmB1wyQpQAX6QBHyK', NULL, NULL, NULL, 1, 0, NULL, '2013-03-29 15:14:20')
|
134153
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:20', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'User', '2013-03-29 15:14:20')[0m
|
134154
|
+
[1m[35m (79.1ms)[0m COMMIT
|
134155
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
134156
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
134157
|
+
[1m[36m (275.1ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
134158
|
+
[1m[35m (341.0ms)[0m TRUNCATE TABLE `assets`;
|
134159
|
+
[1m[36m (330.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
134160
|
+
[1m[35m (284.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
134161
|
+
[1m[36m (174.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
134162
|
+
[1m[35m (249.1ms)[0m TRUNCATE TABLE `posts`;
|
134163
|
+
[1m[36m (150.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
134164
|
+
[1m[35m (340.4ms)[0m TRUNCATE TABLE `structures`;
|
134165
|
+
[1m[36m (376.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
134166
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
134167
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
134168
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
134169
|
+
[1m[36m (327.5ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
134170
|
+
[1m[35m (318.3ms)[0m TRUNCATE TABLE `assets`;
|
134171
|
+
[1m[36m (264.2ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
134172
|
+
[1m[35m (270.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
134173
|
+
[1m[36m (262.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
134174
|
+
[1m[35m (832.3ms)[0m TRUNCATE TABLE `posts`;
|
134175
|
+
[1m[36m (139.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
134176
|
+
[1m[35m (423.5ms)[0m TRUNCATE TABLE `structures`;
|
134177
|
+
[1m[36m (678.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
134178
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
134179
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134180
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
134181
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:27', 0, 1, 1, NULL, 2, NULL, 2, 'slug1', 1, 'Structure', '2013-03-29 15:14:27')[0m
|
134182
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:27', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:14:27')
|
134183
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134184
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
134185
|
+
[1m[36m (20.8ms)[0m [1mCOMMIT[0m
|
134186
|
+
[1m[35m (22.8ms)[0m SELECT COUNT(*) FROM `structures`
|
134187
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` IN (1)[0m
|
134188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134189
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
134190
|
+
[1m[35mSQL (0.7ms)[0m DELETE FROM `structures` WHERE (`lft` > 1 AND `rgt` < 2)
|
134191
|
+
[1m[36mSQL (1.6ms)[0m [1mUPDATE `structures` SET `lft` = (`lft` - 2) WHERE (`structures`.`lft` > 2) ORDER BY `structures`.`lft`[0m
|
134192
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `rgt` = (`rgt` - 2) WHERE (`structures`.`rgt` > 2) ORDER BY `structures`.`lft`
|
134193
|
+
[1m[36mPagePart Load (0.6ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 1 AND `page_parts`.`partable_type` = 'Structure'[0m
|
134194
|
+
[1m[35mMetaTag Load (0.6ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 1 AND `meta_tags`.`taggable_type` = 'Structure'
|
134195
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:27', 'structure.destroy', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:14:27')[0m
|
134196
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 1
|
134197
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `structures` WHERE `structures`.`id` = 1[0m
|
134198
|
+
[1m[35m (44.5ms)[0m COMMIT
|
134199
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` [0m
|
134200
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134201
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134202
|
+
[1m[35m (198.3ms)[0m TRUNCATE TABLE `activities`;
|
134203
|
+
[1m[36m (262.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134204
|
+
[1m[35m (385.6ms)[0m TRUNCATE TABLE `audits`;
|
134205
|
+
[1m[36m (253.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134206
|
+
[1m[35m (148.5ms)[0m TRUNCATE TABLE `page_parts`;
|
134207
|
+
[1m[36m (239.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134208
|
+
[1m[35m (162.7ms)[0m TRUNCATE TABLE `settings`;
|
134209
|
+
[1m[36m (524.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134210
|
+
[1m[35m (385.8ms)[0m TRUNCATE TABLE `users`;
|
134211
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134212
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134213
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134214
|
+
[1m[35m (984.4ms)[0m TRUNCATE TABLE `activities`;
|
134215
|
+
[1m[36m (1542.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134216
|
+
[1m[35m (899.4ms)[0m TRUNCATE TABLE `audits`;
|
134217
|
+
[1m[36m (162.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134218
|
+
[1m[35m (252.8ms)[0m TRUNCATE TABLE `page_parts`;
|
134219
|
+
[1m[36m (313.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134220
|
+
[1m[35m (189.7ms)[0m TRUNCATE TABLE `settings`;
|
134221
|
+
[1m[36m (504.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134222
|
+
[1m[35m (583.2ms)[0m TRUNCATE TABLE `users`;
|
134223
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134224
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134225
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134226
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:35', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:14:35')
|
134227
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:35', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:14:35')[0m
|
134228
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134229
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
134230
|
+
[1m[35m (30.6ms)[0m COMMIT
|
134231
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134232
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
134233
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:35', 0, 1, 3, 1, 2, NULL, 4, 'slug2', 1, 'Structure', '2013-03-29 15:14:35')[0m
|
134234
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:35', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:35')
|
134235
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
134236
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134237
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
134238
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
134239
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134240
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134241
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134242
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134243
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
134244
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134245
|
+
[1m[36mStructure Load (1.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134246
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134247
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134248
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134249
|
+
[1m[36m (198.2ms)[0m [1mCOMMIT[0m
|
134250
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134251
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
134252
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134253
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134254
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134255
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134256
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134257
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:35', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:35')[0m
|
134258
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134259
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134260
|
+
[1m[35mSQL (16.6ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134261
|
+
[1m[36m (30.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134262
|
+
[1m[35m (38.4ms)[0m COMMIT
|
134263
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134264
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134265
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134266
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134267
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:35', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:35')[0m
|
134268
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134269
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134270
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134271
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134272
|
+
[1m[35m (27.5ms)[0m COMMIT
|
134273
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134274
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134275
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134276
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:35', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:35')
|
134277
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134278
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134279
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134280
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134281
|
+
[1m[36m (28.9ms)[0m [1mCOMMIT[0m
|
134282
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134283
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134284
|
+
[1m[35m (0.2ms)[0m BEGIN
|
134285
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134286
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:36', 0, 1, 5, 2, 2, NULL, 6, 'slug3', 1, 'Structure', '2013-03-29 15:14:36')
|
134287
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'Structure', '2013-03-29 15:14:36')[0m
|
134288
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft` LIMIT 1
|
134289
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE[0m
|
134290
|
+
[1m[35mSQL (0.8ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 6 - 4 WHEN `lft` BETWEEN 5 AND 6 THEN `lft` + 3 - 5 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 6 - 4 WHEN `rgt` BETWEEN 5 AND 6 THEN `rgt` + 3 - 5 ELSE `rgt` END, `parent_id` = CASE WHEN id = 3 THEN 2 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
134291
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
134292
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
134293
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
134294
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
134295
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
134296
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 3 AND `structures`.`lft` < 4) AND (`structures`.id != 3) ORDER BY `structures`.`lft`
|
134297
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE[0m
|
134298
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
134299
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
134300
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
134301
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
134302
|
+
[1m[35m (43.6ms)[0m COMMIT
|
134303
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134304
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:36')
|
134305
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134306
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
134307
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134308
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
134309
|
+
[1m[36m (26.4ms)[0m [1mCOMMIT[0m
|
134310
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134311
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134312
|
+
[1m[35mStructure Load (40.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
134313
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 6) ORDER BY `structures`.`lft`[0m
|
134314
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134315
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134316
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:36', 0, 1, 7, 1, 2, NULL, 8, 'slug4', 1, 'Some super title', '2013-03-29 15:14:36')
|
134317
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'Structure', '2013-03-29 15:14:36')[0m
|
134318
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
134319
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
134320
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 6 AND 6 THEN `lft` + 8 - 6 WHEN `lft` BETWEEN 7 AND 8 THEN `lft` + 6 - 7 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 6 AND 6 THEN `rgt` + 8 - 6 WHEN `rgt` BETWEEN 7 AND 8 THEN `rgt` + 6 - 7 ELSE `rgt` END, `parent_id` = CASE WHEN id = 4 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
134321
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
134322
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
134323
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
134324
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
134325
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
134326
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 6 AND `structures`.`lft` < 7) AND (`structures`.id != 4) ORDER BY `structures`.`lft`
|
134327
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
134328
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
134329
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
134330
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
134331
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
134332
|
+
[1m[35m (41.7ms)[0m COMMIT
|
134333
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134334
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134335
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `structures` SET `title` = 'Other big title', `updated_at` = '2013-03-29 15:14:36' WHERE `structures`.`id` = 4[0m
|
134336
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'Structure', '2013-03-29 15:14:36')
|
134337
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1[0m
|
134338
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)
|
134339
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`[0m
|
134340
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)
|
134341
|
+
[1m[36m (26.9ms)[0m [1mCOMMIT[0m
|
134342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134343
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134344
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:36', 0, 1, 9, 1, 2, NULL, 10, 'original-slug', 1, 'Tra ta ta', '2013-03-29 15:14:36')
|
134345
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'Structure', '2013-03-29 15:14:36')[0m
|
134346
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
134347
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1 FOR UPDATE[0m
|
134348
|
+
[1m[35mSQL (0.7ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 8 AND 8 THEN `lft` + 10 - 8 WHEN `lft` BETWEEN 9 AND 10 THEN `lft` + 8 - 9 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 8 AND 8 THEN `rgt` + 10 - 8 WHEN `rgt` BETWEEN 9 AND 10 THEN `rgt` + 8 - 9 ELSE `rgt` END, `parent_id` = CASE WHEN id = 5 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
134349
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
134350
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1
|
134351
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
134352
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 5 ORDER BY `structures`.`lft`
|
134353
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
134354
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 8 AND `structures`.`lft` < 9) AND (`structures`.id != 5) ORDER BY `structures`.`lft`
|
134355
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1 FOR UPDATE[0m
|
134356
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1
|
134357
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
134358
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 5 ORDER BY `structures`.`lft`
|
134359
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
134360
|
+
[1m[35m (42.1ms)[0m COMMIT
|
134361
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1[0m
|
134362
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134363
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:36')[0m
|
134364
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134365
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
134366
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134367
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
134368
|
+
[1m[35m (39.7ms)[0m COMMIT
|
134369
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134370
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'slug2' LIMIT 1
|
134371
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134372
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134373
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:36')[0m
|
134374
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134375
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
134376
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134377
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
134378
|
+
[1m[35m (25.1ms)[0m COMMIT
|
134379
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1364570076 LIMIT 1[0m
|
134380
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134381
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134382
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:36', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:36')
|
134383
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134384
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
134385
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134386
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
134387
|
+
[1m[36m (53.6ms)[0m [1mCOMMIT[0m
|
134388
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'wrong' LIMIT 1
|
134389
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'slug2' LIMIT 1[0m
|
134390
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134391
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134392
|
+
[1m[35m (180.5ms)[0m TRUNCATE TABLE `activities`;
|
134393
|
+
[1m[36m (285.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134394
|
+
[1m[35m (297.8ms)[0m TRUNCATE TABLE `audits`;
|
134395
|
+
[1m[36m (273.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134396
|
+
[1m[35m (151.5ms)[0m TRUNCATE TABLE `page_parts`;
|
134397
|
+
[1m[36m (249.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134398
|
+
[1m[35m (150.3ms)[0m TRUNCATE TABLE `settings`;
|
134399
|
+
[1m[36m (317.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134400
|
+
[1m[35m (421.4ms)[0m TRUNCATE TABLE `users`;
|
134401
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134402
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134403
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134404
|
+
[1m[35m (292.6ms)[0m TRUNCATE TABLE `activities`;
|
134405
|
+
[1m[36m (229.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134406
|
+
[1m[35m (307.3ms)[0m TRUNCATE TABLE `audits`;
|
134407
|
+
[1m[36m (251.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134408
|
+
[1m[35m (251.4ms)[0m TRUNCATE TABLE `page_parts`;
|
134409
|
+
[1m[36m (117.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134410
|
+
[1m[35m (307.0ms)[0m TRUNCATE TABLE `settings`;
|
134411
|
+
[1m[36m (346.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134412
|
+
[1m[35m (397.9ms)[0m TRUNCATE TABLE `users`;
|
134413
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134414
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134415
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY '1364570081@gmail.com' LIMIT 1[0m
|
134416
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:41', '2013-03-29 15:14:41', NULL, NULL, '1364570081@gmail.com', '2da87b22f6286835ffdcc5cfc43cb34b98b0f26f4ea43b7188e6a605cf11fd99e0fb09d6b0b08499b71b59743e3b8bc48799c31c78e5990742ba88941cea81f0', 0, NULL, NULL, NULL, 'Admin', 'eVJwdLasKpHtNNZ2sMNs', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:14:41')
|
134417
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:41', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:41')[0m
|
134418
|
+
[1m[35m (30.8ms)[0m COMMIT
|
134419
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134420
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
134421
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:41', 0, 1, 1, NULL, 2, NULL, 2, 'slug6', 1, 'Structure', '2013-03-29 15:14:41')[0m
|
134422
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:41', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:14:41')
|
134423
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134424
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
134425
|
+
[1m[36m (46.4ms)[0m [1mCOMMIT[0m
|
134426
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134427
|
+
[1m[36mSQL (41.6ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:14:41', 1, 1, 'Default title', '2013-03-29 15:14:41')[0m
|
134428
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:41', 'post.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:14:41')
|
134429
|
+
[1m[36m (44.0ms)[0m [1mCOMMIT[0m
|
134430
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134431
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing31@example.com' LIMIT 1[0m
|
134432
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:41', '2013-03-29 15:14:41', NULL, NULL, 'testing31@example.com', '1b9606ba26b5ba476592a1a0f2ce0d875797e2e1694defe12292456aded88b5f8c522bc9310f9f466c50c2cc56850bc177c1c2dd0a47556195ed581a490f30b7', 0, NULL, NULL, NULL, 'Redactor', 'TCcvs1oSrJZDZaq42Gct', NULL, NULL, NULL, 2, 0, NULL, '2013-03-29 15:14:41')
|
134433
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:41', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-03-29 15:14:41')[0m
|
134434
|
+
[1m[35m (41.3ms)[0m COMMIT
|
134435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134436
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:41', 'post.create', 2, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:14:41')
|
134437
|
+
[1m[36m (29.4ms)[0m [1mCOMMIT[0m
|
134438
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-03-29 17:14:41 +0200
|
134439
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134440
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:42', 'user.update', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:42')[0m
|
134441
|
+
[1m[35m (29.6ms)[0m COMMIT
|
134442
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134443
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:14:42', `current_sign_in_at` = '2013-03-29 15:14:42', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:14:42' WHERE `users`.`id` = 1
|
134444
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:42', 'user.update', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:42')[0m
|
134445
|
+
[1m[35m (26.1ms)[0m COMMIT
|
134446
|
+
Processing by Sunrise::DashboardController#index as HTML
|
134447
|
+
[1m[36mPublicActivity::ORM::ActiveRecord::Activity Load (21.9ms)[0m [1mSELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0[0m
|
134448
|
+
[1m[35mUser Load (23.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134449
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134450
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134451
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134452
|
+
[1m[35mPost Load (5.8ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
134453
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
|
134454
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
134455
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
134456
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (60.2ms)
|
134457
|
+
[1m[35m (7.3ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count
|
134458
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/index.html.erb within layouts/sunrise/application (127.7ms)
|
134459
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (148.2ms)
|
134460
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (2.9ms)
|
134461
|
+
Completed 200 OK in 376ms (Views: 280.0ms | ActiveRecord: 59.4ms)
|
134462
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-03-29 17:14:42 +0200
|
134463
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134464
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:42', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:42')
|
134465
|
+
[1m[36m (31.6ms)[0m [1mCOMMIT[0m
|
134466
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134467
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:14:42' WHERE `users`.`id` = 1[0m
|
134468
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:42', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:42')
|
134469
|
+
[1m[36m (25.9ms)[0m [1mCOMMIT[0m
|
134470
|
+
Processing by Sunrise::DashboardController#index as HTML
|
134471
|
+
[1m[35mPublicActivity::ORM::ActiveRecord::Activity Load (0.6ms)[0m SELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0
|
134472
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134473
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134474
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134475
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134476
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134477
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134478
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134479
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134480
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
134481
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
134482
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
|
134483
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
134484
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (31.6ms)
|
134485
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
134486
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
134487
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.3ms)
|
134488
|
+
Completed 200 OK in 57ms (Views: 44.7ms | ActiveRecord: 2.3ms)
|
134489
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-03-29 17:14:43 +0200
|
134490
|
+
Processing by Sunrise::DashboardController#index as HTML
|
134491
|
+
Completed 401 Unauthorized in 1ms
|
134492
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:14:43 +0200
|
134493
|
+
Processing by Devise::SessionsController#new as HTML
|
134494
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (3.6ms)
|
134495
|
+
Completed 200 OK in 65ms (Views: 63.2ms | ActiveRecord: 0.0ms)
|
134496
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134497
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134498
|
+
[1m[35m (202.9ms)[0m TRUNCATE TABLE `activities`;
|
134499
|
+
[1m[36m (274.2ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134500
|
+
[1m[35m (330.8ms)[0m TRUNCATE TABLE `audits`;
|
134501
|
+
[1m[36m (261.8ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134502
|
+
[1m[35m (140.3ms)[0m TRUNCATE TABLE `page_parts`;
|
134503
|
+
[1m[36m (249.8ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134504
|
+
[1m[35m (150.3ms)[0m TRUNCATE TABLE `settings`;
|
134505
|
+
[1m[36m (296.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134506
|
+
[1m[35m (387.6ms)[0m TRUNCATE TABLE `users`;
|
134507
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134508
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134509
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134510
|
+
[1m[35m (1239.3ms)[0m TRUNCATE TABLE `activities`;
|
134511
|
+
[1m[36m (608.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134512
|
+
[1m[35m (321.8ms)[0m TRUNCATE TABLE `audits`;
|
134513
|
+
[1m[36m (193.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134514
|
+
[1m[35m (271.8ms)[0m TRUNCATE TABLE `page_parts`;
|
134515
|
+
[1m[36m (250.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134516
|
+
[1m[35m (162.4ms)[0m TRUNCATE TABLE `settings`;
|
134517
|
+
[1m[36m (320.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134518
|
+
[1m[35m (364.7ms)[0m TRUNCATE TABLE `users`;
|
134519
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134520
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134521
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing32@example.com' LIMIT 1[0m
|
134522
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:49', '2013-03-29 15:14:49', NULL, NULL, 'testing32@example.com', '40a81133c129de5f088f42d8d099c402518c8cb25aa3a0ce6b95a294117285567200651caf8cfb5b11e2a392dbe3328e306dd63c9c0f718e35efe0d261791180', 0, NULL, NULL, NULL, 'Admin', 'CpFGCwourDGbimxRpkHz', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:14:49')
|
134523
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:49')[0m
|
134524
|
+
[1m[35m (99.8ms)[0m COMMIT
|
134525
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134526
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
134527
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:49', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:14:49')[0m
|
134528
|
+
[1m[35mSQL (104.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:14:49')
|
134529
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
134530
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
134531
|
+
[1m[36m (68.9ms)[0m [1mCOMMIT[0m
|
134532
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134533
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134534
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:49', 0, 1, 3, 1, 2, NULL, 4, 'slug7', 1, 'Structure', '2013-03-29 15:14:49')
|
134535
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:49')[0m
|
134536
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
134537
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
134538
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
134539
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
134540
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134541
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134542
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134543
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134544
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
134545
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
134546
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134547
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134548
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134549
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134550
|
+
[1m[35m (195.3ms)[0m COMMIT
|
134551
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-03-29 17:14:49 +0200
|
134552
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134553
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:49')
|
134554
|
+
[1m[36m (31.2ms)[0m [1mCOMMIT[0m
|
134555
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134556
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:14:49', `current_sign_in_at` = '2013-03-29 15:14:49', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:14:49' WHERE `users`.`id` = 1[0m
|
134557
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:49')
|
134558
|
+
[1m[36m (37.2ms)[0m [1mCOMMIT[0m
|
134559
|
+
Processing by Sunrise::ManagerController#show as HTML
|
134560
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134561
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134562
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
134563
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (1.2ms)
|
134564
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.6ms)
|
134565
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_show.html.erb (27.2ms)
|
134566
|
+
Completed 200 OK in 152ms (Views: 121.1ms | ActiveRecord: 0.5ms)
|
134567
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-03-29 17:14:49 +0200
|
134568
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134569
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:49')
|
134570
|
+
[1m[36m (16.8ms)[0m [1mCOMMIT[0m
|
134571
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134572
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:14:49' WHERE `users`.`id` = 1[0m
|
134573
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:49', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:49')
|
134574
|
+
[1m[36m (36.9ms)[0m [1mCOMMIT[0m
|
134575
|
+
Processing by Sunrise::ManagerController#show as HTML
|
134576
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134577
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134578
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
134579
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
134580
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
134581
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_show.html.erb (4.6ms)
|
134582
|
+
Completed 200 OK in 17ms (Views: 13.0ms | ActiveRecord: 0.2ms)
|
134583
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-03-29 17:14:50 +0200
|
134584
|
+
Processing by Sunrise::ManagerController#show as HTML
|
134585
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134586
|
+
Completed 401 Unauthorized in 1ms
|
134587
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:14:50 +0200
|
134588
|
+
Processing by Devise::SessionsController#new as HTML
|
134589
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.2ms)
|
134590
|
+
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms)
|
134591
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
134592
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
134593
|
+
[1m[36m (166.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
134594
|
+
[1m[35m (285.4ms)[0m TRUNCATE TABLE `assets`;
|
134595
|
+
[1m[36m (314.7ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
134596
|
+
[1m[35m (282.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
134597
|
+
[1m[36m (251.7ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
134598
|
+
[1m[35m (139.5ms)[0m TRUNCATE TABLE `posts`;
|
134599
|
+
[1m[36m (240.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
134600
|
+
[1m[35m (320.0ms)[0m TRUNCATE TABLE `structures`;
|
134601
|
+
[1m[36m (442.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
134602
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
134603
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
134604
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
134605
|
+
[1m[36m (325.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
134606
|
+
[1m[35m (177.9ms)[0m TRUNCATE TABLE `assets`;
|
134607
|
+
[1m[36m (308.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
134608
|
+
[1m[35m (339.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
134609
|
+
[1m[36m (173.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
134610
|
+
[1m[35m (248.2ms)[0m TRUNCATE TABLE `posts`;
|
134611
|
+
[1m[36m (139.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
134612
|
+
[1m[35m (318.0ms)[0m TRUNCATE TABLE `structures`;
|
134613
|
+
[1m[36m (386.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
134614
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
134615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134616
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing33@example.com' LIMIT 1
|
134617
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:14:54', '2013-03-29 15:14:54', NULL, NULL, 'testing33@example.com', 'e33639dad36c99fd0ef2fcb4ba8096fbf18be9fdacc65eff25aa882b9d2930be13dc02b343fe6d2e564c7357eaf4598ddf37721cc52a539bbaaea61b43301551', 0, NULL, NULL, NULL, 'Admin', 'SXUYZi3U2rJ4zgazJwfw', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:14:54')[0m
|
134618
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:54', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:54')
|
134619
|
+
[1m[36m (32.4ms)[0m [1mCOMMIT[0m
|
134620
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134621
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134622
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:55', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:14:55')
|
134623
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:55', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:14:55')[0m
|
134624
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134625
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
134626
|
+
[1m[35m (32.5ms)[0m COMMIT
|
134627
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134628
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
134629
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:14:55', 0, 1, 3, 1, 2, NULL, 4, 'slug8', 1, 'Structure', '2013-03-29 15:14:55')[0m
|
134630
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:55', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:55')
|
134631
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
134632
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134633
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
134634
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
134635
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134636
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134637
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134638
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134639
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
134640
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134641
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134642
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134643
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134644
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134645
|
+
[1m[36m (35.8ms)[0m [1mCOMMIT[0m
|
134646
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:14:55 +0200
|
134647
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134648
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:55', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:55')[0m
|
134649
|
+
[1m[35m (34.4ms)[0m COMMIT
|
134650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134651
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:14:55', `current_sign_in_at` = '2013-03-29 15:14:55', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:14:55' WHERE `users`.`id` = 1
|
134652
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:55', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:14:55')[0m
|
134653
|
+
[1m[35m (37.0ms)[0m COMMIT
|
134654
|
+
Processing by Sunrise::ManagerController#index as HTML
|
134655
|
+
Parameters: {"model_name"=>"structures"}
|
134656
|
+
[1m[36mStructure Load (1.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
134657
|
+
[1m[35mStructure Load (1.0ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
134658
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.6ms)
|
134659
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (24.9ms)
|
134660
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.6ms)
|
134661
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
134662
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (7.8ms)
|
134663
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (12.3ms)
|
134664
|
+
Completed 200 OK in 91ms (Views: 73.5ms | ActiveRecord: 2.0ms)
|
134665
|
+
Started DELETE "/manage/structures/2/delete" for 127.0.0.1 at 2013-03-29 17:14:55 +0200
|
134666
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
134667
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134668
|
+
[1m[36mUser Load (27.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134669
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134670
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134671
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134672
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `structures` WHERE (`lft` > 2 AND `rgt` < 3)[0m
|
134673
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `lft` = (`lft` - 2) WHERE (`structures`.`lft` > 3) ORDER BY `structures`.`lft`
|
134674
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `rgt` = (`rgt` - 2) WHERE (`structures`.`rgt` > 3) ORDER BY `structures`.`lft`[0m
|
134675
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
134676
|
+
[1m[36mMetaTag Load (0.3ms)[0m [1mSELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'[0m
|
134677
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:14:55', 'structure.destroy', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:14:55')
|
134678
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
134679
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM `structures` WHERE `structures`.`id` = 2
|
134680
|
+
[1m[36m (45.6ms)[0m [1mCOMMIT[0m
|
134681
|
+
Redirected to http://www.example.com/manage/structures
|
134682
|
+
Completed 302 Found in 215ms (ActiveRecord: 0.0ms)
|
134683
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:14:55 +0200
|
134684
|
+
Processing by Sunrise::ManagerController#index as HTML
|
134685
|
+
Parameters: {"model_name"=>"structures"}
|
134686
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134687
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
134688
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.6ms)
|
134689
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
134690
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
134691
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.0ms)
|
134692
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.4ms)
|
134693
|
+
Completed 200 OK in 20ms (Views: 14.9ms | ActiveRecord: 0.8ms)
|
134694
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134695
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:14:55 +0200
|
134696
|
+
Processing by Sunrise::ManagerController#index as HTML
|
134697
|
+
Parameters: {"model_name"=>"structures"}
|
134698
|
+
Completed 401 Unauthorized in 1ms
|
134699
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:14:55 +0200
|
134700
|
+
Processing by Devise::SessionsController#new as HTML
|
134701
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.0ms)
|
134702
|
+
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
134703
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
134704
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
134705
|
+
[1m[36m (246.1ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
134706
|
+
[1m[35m (704.9ms)[0m TRUNCATE TABLE `assets`;
|
134707
|
+
[1m[36m (363.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
134708
|
+
[1m[35m (162.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
134709
|
+
[1m[36m (262.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
134710
|
+
[1m[35m (228.0ms)[0m TRUNCATE TABLE `posts`;
|
134711
|
+
[1m[36m (138.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
134712
|
+
[1m[35m (330.3ms)[0m TRUNCATE TABLE `structures`;
|
134713
|
+
[1m[36m (432.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
134714
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
134715
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
134716
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
134717
|
+
[1m[36m (326.5ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
134718
|
+
[1m[35m (185.4ms)[0m TRUNCATE TABLE `assets`;
|
134719
|
+
[1m[36m (352.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
134720
|
+
[1m[35m (1063.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
134721
|
+
[1m[36m (1161.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
134722
|
+
[1m[35m (470.5ms)[0m TRUNCATE TABLE `posts`;
|
134723
|
+
[1m[36m (802.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
134724
|
+
[1m[35m (1089.5ms)[0m TRUNCATE TABLE `structures`;
|
134725
|
+
[1m[36m (1185.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
134726
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
134727
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134728
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing34@example.com' LIMIT 1
|
134729
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:15:05', '2013-03-29 15:15:05', NULL, NULL, 'testing34@example.com', '17817cf52281ae083c9a5d25aba0ad8dfb66b35ebef9355a9bc6fa753c60ba4e28630110dc554efdb70312a10c1c742f351ea5c1af4adea7ed5241b811b433d6', 0, NULL, NULL, NULL, 'Admin', 'FLEZUBGVp23rXLusidnF', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:15:05')[0m
|
134730
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:05', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:05')
|
134731
|
+
[1m[36m (222.6ms)[0m [1mCOMMIT[0m
|
134732
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134733
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
134734
|
+
[1m[35mSQL (451.0ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:05', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:15:05')
|
134735
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:06', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:15:06')[0m
|
134736
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
134737
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
134738
|
+
[1m[35m (407.1ms)[0m COMMIT
|
134739
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134740
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
134741
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:06', 0, 1, 3, 1, 2, NULL, 4, 'slug9', 1, 'Structure', '2013-03-29 15:15:06')[0m
|
134742
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:06', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:06')
|
134743
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
134744
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134745
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
134746
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
134747
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134748
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134749
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134750
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134751
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
134752
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
134753
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134754
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134755
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134756
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134757
|
+
[1m[36m (150.6ms)[0m [1mCOMMIT[0m
|
134758
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:15:06 +0200
|
134759
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134760
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:06', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:06')[0m
|
134761
|
+
[1m[35m (114.2ms)[0m COMMIT
|
134762
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134763
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:15:06', `current_sign_in_at` = '2013-03-29 15:15:06', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:15:06' WHERE `users`.`id` = 1
|
134764
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:06', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:06')[0m
|
134765
|
+
[1m[35m (186.1ms)[0m COMMIT
|
134766
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
134767
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134768
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134769
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
134770
|
+
[1m[35mStructure Load (5.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
134771
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
134772
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (90.9ms)
|
134773
|
+
[1m[35mMetaTag Load (0.5ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
134774
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (12.0ms)
|
134775
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (1156.6ms)
|
134776
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (14.7ms)
|
134777
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (3.1ms)
|
134778
|
+
Completed 200 OK in 1208ms (Views: 1189.9ms | ActiveRecord: 6.9ms)
|
134779
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:15:08 +0200
|
134780
|
+
Processing by Sunrise::ManagerController#update as HTML
|
134781
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Title updated", "redirect_url"=>"", "slug"=>"slug9", "parent_id"=>"1", "structure_type_id"=>"2", "position_type_id"=>"1", "is_visible"=>"0", "tag_title"=>"", "tag_keywords"=>"", "tag_description"=>""}, "commit"=>"Update Structure", "model_name"=>"structures", "id"=>"2"}
|
134782
|
+
[1m[36mUser Load (28.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134783
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134784
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134785
|
+
[1m[35mMetaTag Load (0.9ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
134786
|
+
[1m[36m (0.6ms)[0m [1mUPDATE `structures` SET `title` = 'Title updated', `redirect_url` = '', `structure_type_id` = 2, `position_type_id` = 1, `is_visible` = 0, `updated_at` = '2013-03-29 15:15:08' WHERE `structures`.`id` = 2[0m
|
134787
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:08', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:08')
|
134788
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134789
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134790
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134791
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134792
|
+
[1m[36m (90.9ms)[0m [1mCOMMIT[0m
|
134793
|
+
Redirected to http://www.example.com/manage/structures
|
134794
|
+
Completed 302 Found in 167ms (ActiveRecord: 0.0ms)
|
134795
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:15:08 +0200
|
134796
|
+
Processing by Sunrise::ManagerController#index as HTML
|
134797
|
+
Parameters: {"model_name"=>"structures"}
|
134798
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
134799
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
134800
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
134801
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.4ms)
|
134802
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (6.6ms)
|
134803
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
134804
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
134805
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.3ms)
|
134806
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.9ms)
|
134807
|
+
Completed 200 OK in 26ms (Views: 20.0ms | ActiveRecord: 1.4ms)
|
134808
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134809
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:15:08 +0200
|
134810
|
+
[1m[35m (0.3ms)[0m BEGIN
|
134811
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:08', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:08')[0m
|
134812
|
+
[1m[35m (106.2ms)[0m COMMIT
|
134813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134814
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-03-29 15:15:08', `sign_in_count` = 2, `updated_at` = '2013-03-29 15:15:08' WHERE `users`.`id` = 1
|
134815
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:08', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:08')[0m
|
134816
|
+
[1m[35m (93.0ms)[0m COMMIT
|
134817
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
134818
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134819
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134820
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
134821
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
134822
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
134823
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (19.0ms)
|
134824
|
+
[1m[35mMetaTag Load (0.2ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
134825
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.0ms)
|
134826
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (31.0ms)
|
134827
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
134828
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
134829
|
+
Completed 200 OK in 43ms (Views: 38.1ms | ActiveRecord: 1.1ms)
|
134830
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:15:08 +0200
|
134831
|
+
Processing by Sunrise::ManagerController#update as HTML
|
134832
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Title updated", "redirect_url"=>"", "slug"=>"slug9", "parent_id"=>"1", "structure_type_id"=>"2", "position_type_id"=>"1", "is_visible"=>"0", "tag_title"=>"", "tag_keywords"=>"", "tag_description"=>""}, "commit"=>"Update Structure", "model_name"=>"structures", "id"=>"2"}
|
134833
|
+
[1m[36mUser Load (0.8ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134834
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134835
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134836
|
+
[1m[35mMetaTag Load (0.1ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
134837
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:09', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:09')[0m
|
134838
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134839
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134840
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134841
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134842
|
+
[1m[35m (217.0ms)[0m COMMIT
|
134843
|
+
Redirected to http://www.example.com/manage/structures
|
134844
|
+
Completed 302 Found in 242ms (ActiveRecord: 0.0ms)
|
134845
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:15:09 +0200
|
134846
|
+
Processing by Sunrise::ManagerController#index as HTML
|
134847
|
+
Parameters: {"model_name"=>"structures"}
|
134848
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134849
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
134850
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
134851
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (3.8ms)
|
134852
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (9.6ms)
|
134853
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
134854
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
134855
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.6ms)
|
134856
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (4.2ms)
|
134857
|
+
Completed 200 OK in 31ms (Views: 24.0ms | ActiveRecord: 0.6ms)
|
134858
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134859
|
+
[1m[36mPagePart Load (0.6ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
134860
|
+
[1m[35mPagePart Exists (1.9ms)[0m SELECT 1 AS one FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'main' AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1
|
134861
|
+
[1m[36mPagePart Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'sidebar' AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1[0m
|
134862
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Main', '2013-03-29 15:15:09', 'main', 2, 'Structure', '2013-03-29 15:15:09')
|
134863
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Sidebar', '2013-03-29 15:15:09', 'sidebar', 2, 'Structure', '2013-03-29 15:15:09')[0m
|
134864
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:09', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:09')
|
134865
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134866
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134867
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
134868
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
134869
|
+
[1m[36m (41.2ms)[0m [1mCOMMIT[0m
|
134870
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-03-29 17:15:09 +0200
|
134871
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134872
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:09', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:09')[0m
|
134873
|
+
[1m[35m (76.8ms)[0m COMMIT
|
134874
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134875
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:15:08', `current_sign_in_at` = '2013-03-29 15:15:09', `sign_in_count` = 3, `updated_at` = '2013-03-29 15:15:09' WHERE `users`.`id` = 1
|
134876
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:09', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:09')[0m
|
134877
|
+
[1m[35m (58.4ms)[0m COMMIT
|
134878
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
134879
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
134880
|
+
[1m[36mStructure Load (0.9ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
134881
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
134882
|
+
[1m[35mPagePart Load (22.9ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
134883
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (49.0ms)
|
134884
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (53.4ms)
|
134885
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.9ms)
|
134886
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.6ms)
|
134887
|
+
Completed 200 OK in 69ms (Views: 41.5ms | ActiveRecord: 23.8ms)
|
134888
|
+
Started PUT "/manage/pages/2/edit" for 127.0.0.1 at 2013-03-29 17:15:09 +0200
|
134889
|
+
Processing by Sunrise::ManagerController#update as HTML
|
134890
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"main"=>"Main updated", "sidebar"=>"Sidebar updated"}, "commit"=>"Update Structure", "model_name"=>"pages", "id"=>"2"}
|
134891
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134892
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134893
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134894
|
+
[1m[35mPagePart Load (0.6ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
134895
|
+
[1m[36mPagePart Exists (0.7ms)[0m [1mSELECT 1 AS one FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'main' AND `page_parts`.`id` != 1 AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1[0m
|
134896
|
+
[1m[35mPagePart Exists (0.6ms)[0m SELECT 1 AS one FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'sidebar' AND `page_parts`.`id` != 2 AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1
|
134897
|
+
[1m[36m (0.6ms)[0m [1mUPDATE `page_parts` SET `content` = 'Main updated', `updated_at` = '2013-03-29 15:15:09' WHERE `page_parts`.`id` = 1[0m
|
134898
|
+
[1m[35m (32.7ms)[0m UPDATE `page_parts` SET `content` = 'Sidebar updated', `updated_at` = '2013-03-29 15:15:09' WHERE `page_parts`.`id` = 2
|
134899
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:09', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:09')[0m
|
134900
|
+
[1m[35mStructure Load (2.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134901
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134902
|
+
[1m[35mSQL (0.7ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
134903
|
+
[1m[36m (3.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
134904
|
+
[1m[35m (36.8ms)[0m COMMIT
|
134905
|
+
Redirected to http://www.example.com/manage/structures
|
134906
|
+
Completed 302 Found in 118ms (ActiveRecord: 0.0ms)
|
134907
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:15:09 +0200
|
134908
|
+
Processing by Sunrise::ManagerController#index as HTML
|
134909
|
+
Parameters: {"model_name"=>"structures"}
|
134910
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
134911
|
+
[1m[35mStructure Load (1.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
134912
|
+
[1m[36mStructure Load (1.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
134913
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.6ms)
|
134914
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (8.0ms)
|
134915
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.6ms)
|
134916
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
134917
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.2ms)
|
134918
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (6.8ms)
|
134919
|
+
Completed 200 OK in 39ms (Views: 28.4ms | ActiveRecord: 2.7ms)
|
134920
|
+
[1m[35mStructure Load (1.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
134921
|
+
[1m[36mPagePart Load (0.7ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
134922
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:15:09 +0200
|
134923
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
134924
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
134925
|
+
Completed 401 Unauthorized in 2ms
|
134926
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:15:09 +0200
|
134927
|
+
Processing by Devise::SessionsController#new as HTML
|
134928
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.4ms)
|
134929
|
+
Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.0ms)
|
134930
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134931
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134932
|
+
[1m[35m (1102.3ms)[0m TRUNCATE TABLE `activities`;
|
134933
|
+
[1m[36m (866.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134934
|
+
[1m[35m (539.3ms)[0m TRUNCATE TABLE `audits`;
|
134935
|
+
[1m[36m (491.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134936
|
+
[1m[35m (575.3ms)[0m TRUNCATE TABLE `page_parts`;
|
134937
|
+
[1m[36m (509.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134938
|
+
[1m[35m (437.5ms)[0m TRUNCATE TABLE `settings`;
|
134939
|
+
[1m[36m (413.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134940
|
+
[1m[35m (466.3ms)[0m TRUNCATE TABLE `users`;
|
134941
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134942
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
134943
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
134944
|
+
[1m[35m (217.2ms)[0m TRUNCATE TABLE `activities`;
|
134945
|
+
[1m[36m (295.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
134946
|
+
[1m[35m (344.6ms)[0m TRUNCATE TABLE `audits`;
|
134947
|
+
[1m[36m (440.6ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
134948
|
+
[1m[35m (913.0ms)[0m TRUNCATE TABLE `page_parts`;
|
134949
|
+
[1m[36m (1032.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
134950
|
+
[1m[35m (1448.4ms)[0m TRUNCATE TABLE `settings`;
|
134951
|
+
[1m[36m (1041.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
134952
|
+
[1m[35m (1332.7ms)[0m TRUNCATE TABLE `users`;
|
134953
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
134954
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134955
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing35@example.com' LIMIT 1[0m
|
134956
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:15:22', '2013-03-29 15:15:22', NULL, NULL, 'testing35@example.com', '23857a7c8c9c3b084113d08c6ee75dd38d112608630cbbedb6fab49572de865d142aa40b8d4fed09d1536a291ce7c46a87017795375f25e19574a8adc2bd1e43', 0, NULL, NULL, NULL, 'Admin', 'Phuiov6cxHfnB13qqZx3', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:15:22')
|
134957
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:22', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:22')[0m
|
134958
|
+
[1m[35m (266.2ms)[0m COMMIT
|
134959
|
+
Started GET "/manage/whatever/new" for 127.0.0.1 at 2013-03-29 17:15:22 +0200
|
134960
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134961
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:22', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:22')
|
134962
|
+
[1m[36m (28.4ms)[0m [1mCOMMIT[0m
|
134963
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134964
|
+
[1m[36m (0.6ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:15:22', `current_sign_in_at` = '2013-03-29 15:15:22', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:15:22' WHERE `users`.`id` = 1[0m
|
134965
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:22', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:22')
|
134966
|
+
[1m[36m (71.1ms)[0m [1mCOMMIT[0m
|
134967
|
+
Processing by Sunrise::ManagerController#new as HTML
|
134968
|
+
Parameters: {"model_name"=>"whatever"}
|
134969
|
+
Error while loading 'SunriseWhatever': uninitialized constant SunriseWhatever
|
134970
|
+
Completed 404 Not Found in 12ms
|
134971
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-03-29 17:15:22 +0200
|
134972
|
+
[1m[35m (3.7ms)[0m BEGIN
|
134973
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:22', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:22')[0m
|
134974
|
+
[1m[35m (63.6ms)[0m COMMIT
|
134975
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134976
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:15:22' WHERE `users`.`id` = 1
|
134977
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:22', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:22')[0m
|
134978
|
+
[1m[35m (68.9ms)[0m COMMIT
|
134979
|
+
Processing by Sunrise::ManagerController#new as HTML
|
134980
|
+
Parameters: {"model_name"=>"structures"}
|
134981
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (1.4ms)
|
134982
|
+
[1m[36mStructure Load (0.9ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
134983
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (19.9ms)
|
134984
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (18.0ms)
|
134985
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (45.0ms)
|
134986
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.4ms)
|
134987
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (1.6ms)
|
134988
|
+
Completed 200 OK in 78ms (Views: 69.0ms | ActiveRecord: 0.9ms)
|
134989
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-03-29 17:15:23 +0200
|
134990
|
+
[1m[35m (0.1ms)[0m BEGIN
|
134991
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:23', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:23')[0m
|
134992
|
+
[1m[35m (46.6ms)[0m COMMIT
|
134993
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134994
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-03-29 15:15:23', `sign_in_count` = 3, `updated_at` = '2013-03-29 15:15:23' WHERE `users`.`id` = 1
|
134995
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:23', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:23')[0m
|
134996
|
+
[1m[35m (187.3ms)[0m COMMIT
|
134997
|
+
Processing by Sunrise::ManagerController#new as HTML
|
134998
|
+
Parameters: {"model_name"=>"structures"}
|
134999
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
135000
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
135001
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (17.9ms)
|
135002
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.4ms)
|
135003
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (30.8ms)
|
135004
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
135005
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
135006
|
+
Completed 200 OK in 42ms (Views: 39.7ms | ActiveRecord: 0.2ms)
|
135007
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-03-29 17:15:23 +0200
|
135008
|
+
Processing by Sunrise::ManagerController#new as HTML
|
135009
|
+
Parameters: {"model_name"=>"structures"}
|
135010
|
+
Completed 401 Unauthorized in 1ms
|
135011
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:15:23 +0200
|
135012
|
+
Processing by Devise::SessionsController#new as HTML
|
135013
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.7ms)
|
135014
|
+
Completed 200 OK in 109ms (Views: 13.3ms | ActiveRecord: 0.0ms)
|
135015
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135016
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135017
|
+
[1m[35m (1501.2ms)[0m TRUNCATE TABLE `activities`;
|
135018
|
+
[1m[36m (799.2ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135019
|
+
[1m[35m (345.0ms)[0m TRUNCATE TABLE `audits`;
|
135020
|
+
[1m[36m (342.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135021
|
+
[1m[35m (612.5ms)[0m TRUNCATE TABLE `page_parts`;
|
135022
|
+
[1m[36m (772.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135023
|
+
[1m[35m (760.6ms)[0m TRUNCATE TABLE `settings`;
|
135024
|
+
[1m[36m (1133.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135025
|
+
[1m[35m (608.9ms)[0m TRUNCATE TABLE `users`;
|
135026
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135027
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135028
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135029
|
+
[1m[35m (595.8ms)[0m TRUNCATE TABLE `activities`;
|
135030
|
+
[1m[36m (869.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135031
|
+
[1m[35m (2152.8ms)[0m TRUNCATE TABLE `audits`;
|
135032
|
+
[1m[36m (605.8ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135033
|
+
[1m[35m (451.9ms)[0m TRUNCATE TABLE `page_parts`;
|
135034
|
+
[1m[36m (251.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135035
|
+
[1m[35m (314.5ms)[0m TRUNCATE TABLE `settings`;
|
135036
|
+
[1m[36m (852.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135037
|
+
[1m[35m (2067.6ms)[0m TRUNCATE TABLE `users`;
|
135038
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135039
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135040
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing36@example.com' LIMIT 1[0m
|
135041
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:15:38', '2013-03-29 15:15:38', NULL, NULL, 'testing36@example.com', 'c4e6ba9844dbd66c880c3c9c8292b30c1f737edbe5dba5166ebde4a679cde4c3d84c6769615390e497ab46268ea2ac74958a004a3061316e0b3b0b612153a3f0', 0, NULL, NULL, NULL, 'Admin', 'jDKHeqgnBbkmsuvfmpWD', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:15:38')
|
135042
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:38', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:38')[0m
|
135043
|
+
[1m[35m (40.3ms)[0m COMMIT
|
135044
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135045
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135046
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:38', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:15:38')[0m
|
135047
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:38', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:15:38')
|
135048
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
135049
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
135050
|
+
[1m[36m (109.5ms)[0m [1mCOMMIT[0m
|
135051
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135052
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135053
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:38', 0, 1, 3, 1, 2, NULL, 4, 'slug10', 1, 'Structure', '2013-03-29 15:15:38')
|
135054
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:38', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:38')[0m
|
135055
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
135056
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135057
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
135058
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
135059
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135060
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135061
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135062
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135063
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
135064
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135065
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135066
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135067
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135068
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135069
|
+
[1m[35m (76.7ms)[0m COMMIT
|
135070
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
135071
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135072
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135073
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135074
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135075
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-01-01 16:00:00', `current_sign_in_at` = '2012-01-01 16:00:00', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-01-01 16:00:00' WHERE `users`.`id` = 1[0m
|
135076
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135077
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135078
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
135079
|
+
Parameters: {"model_name"=>"users"}
|
135080
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
135081
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
135082
|
+
Sent data users_2012-01-01_16h00m00.xls (0.0ms)
|
135083
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
135084
|
+
Started GET "/manage/users/export.csv" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
135085
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135086
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135087
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135088
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135089
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2 WHERE `users`.`id` = 1[0m
|
135090
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135091
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135092
|
+
Processing by Sunrise::ManagerController#export as CSV
|
135093
|
+
Parameters: {"model_name"=>"users"}
|
135094
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
135095
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
135096
|
+
Sent data users_2012-01-01_16h00m00.csv (0.0ms)
|
135097
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
135098
|
+
Started GET "/manage/users/export.json" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
135099
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135100
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135101
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135102
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135103
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3 WHERE `users`.`id` = 1[0m
|
135104
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135105
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135106
|
+
Processing by Sunrise::ManagerController#export as JSON
|
135107
|
+
Parameters: {"model_name"=>"users"}
|
135108
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` LIMIT 25 OFFSET 0
|
135109
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
135110
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135111
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES (NULL, '2012-01-01 16:00:00', 1, 2, 'Some title', '2012-01-01 16:00:00')
|
135112
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2012-01-01 16:00:00')[0m
|
135113
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135114
|
+
Started GET "/manage/posts/export.csv" for 127.0.0.1 at 2012-01-01 16:00:00 UTC
|
135115
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135116
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135117
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135118
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135119
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 4 WHERE `users`.`id` = 1[0m
|
135120
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')
|
135121
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135122
|
+
Processing by Sunrise::ManagerController#export as CSV
|
135123
|
+
Parameters: {"model_name"=>"posts"}
|
135124
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
135125
|
+
[1m[35mPost Load (0.0ms)[0m SELECT `posts`.* FROM `posts` WHERE (`posts`.`id` >= 0) ORDER BY `posts`.`id` ASC LIMIT 1000 OFFSET 0
|
135126
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` IN (2)[0m
|
135127
|
+
Sent data posts_2012-01-01_16h00m00.csv (0.0ms)
|
135128
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
135129
|
+
Started GET "/manage/structures/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
135130
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135131
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')[0m
|
135132
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135133
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135134
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 5 WHERE `users`.`id` = 1
|
135135
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')[0m
|
135136
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135137
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
135138
|
+
Parameters: {"model_name"=>"structures"}
|
135139
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
135140
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`id` >= 0) ORDER BY `structures`.`id` ASC LIMIT 1000 OFFSET 0[0m
|
135141
|
+
Sent data structures_2012-01-01_16h00m00.xls (0.0ms)
|
135142
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
135143
|
+
Started GET "/manage/structures/export.xml" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
135144
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135145
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')[0m
|
135146
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135147
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135148
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 6 WHERE `users`.`id` = 1
|
135149
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2012-01-01 16:00:00', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2012-01-01 16:00:00')[0m
|
135150
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135151
|
+
Processing by Sunrise::ManagerController#export as XML
|
135152
|
+
Parameters: {"model_name"=>"structures"}
|
135153
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` LIMIT 25 OFFSET 0[0m
|
135154
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
135155
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2013-03-29 17:15:44 +0200
|
135156
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
135157
|
+
Parameters: {"model_name"=>"users"}
|
135158
|
+
Completed 401 Unauthorized in 1ms
|
135159
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135160
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135161
|
+
[1m[35m (319.4ms)[0m TRUNCATE TABLE `activities`;
|
135162
|
+
[1m[36m (185.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135163
|
+
[1m[35m (296.4ms)[0m TRUNCATE TABLE `audits`;
|
135164
|
+
[1m[36m (305.8ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135165
|
+
[1m[35m (162.5ms)[0m TRUNCATE TABLE `page_parts`;
|
135166
|
+
[1m[36m (226.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135167
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `settings`;
|
135168
|
+
[1m[36m (352.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135169
|
+
[1m[35m (857.7ms)[0m TRUNCATE TABLE `users`;
|
135170
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135171
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135172
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135173
|
+
[1m[35m (768.1ms)[0m TRUNCATE TABLE `activities`;
|
135174
|
+
[1m[36m (306.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135175
|
+
[1m[35m (356.6ms)[0m TRUNCATE TABLE `audits`;
|
135176
|
+
[1m[36m (284.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135177
|
+
[1m[35m (162.5ms)[0m TRUNCATE TABLE `page_parts`;
|
135178
|
+
[1m[36m (535.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135179
|
+
[1m[35m (175.1ms)[0m TRUNCATE TABLE `settings`;
|
135180
|
+
[1m[36m (307.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135181
|
+
[1m[35m (408.8ms)[0m TRUNCATE TABLE `users`;
|
135182
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135183
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135184
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing37@example.com' LIMIT 1[0m
|
135185
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:15:50', '2013-03-29 15:15:50', NULL, NULL, 'testing37@example.com', 'ea5c33a4f09fd2514ef2c031602e20201984effbb0320c7b5f22da3624a3f51dc0d2f8fa5cc0e12b0f267836a80a543b13da3f6ca99d4ece7dbd53c42eb6155c', 0, NULL, NULL, NULL, 'Admin', 'uLHH7TtF8itycZLtpC1N', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:15:50')
|
135186
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')[0m
|
135187
|
+
[1m[35m (31.7ms)[0m COMMIT
|
135188
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135189
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135190
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:50', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:15:50')[0m
|
135191
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:15:50')
|
135192
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
135193
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
135194
|
+
[1m[36m (32.6ms)[0m [1mCOMMIT[0m
|
135195
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135196
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135197
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:50', 0, 1, 3, 1, 2, NULL, 4, 'slug11', 1, 'Structure', '2013-03-29 15:15:50')
|
135198
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:15:50')[0m
|
135199
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
135200
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135201
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
135202
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
135203
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135204
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135205
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135206
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135207
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
135208
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135209
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135210
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135211
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135212
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135213
|
+
[1m[35m (35.7ms)[0m COMMIT
|
135214
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-03-29 17:15:50 +0200
|
135215
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135216
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')
|
135217
|
+
[1m[36m (34.4ms)[0m [1mCOMMIT[0m
|
135218
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135219
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:15:50', `current_sign_in_at` = '2013-03-29 15:15:50', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:15:50' WHERE `users`.`id` = 1[0m
|
135220
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')
|
135221
|
+
[1m[36m (37.5ms)[0m [1mCOMMIT[0m
|
135222
|
+
Processing by Sunrise::DashboardController#index as HTML
|
135223
|
+
[1m[35mPublicActivity::ORM::ActiveRecord::Activity Load (0.5ms)[0m SELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0
|
135224
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135225
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135226
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135227
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
135228
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135229
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135230
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135231
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135232
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135233
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135234
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (24.7ms)
|
135235
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
135236
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
135237
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.3ms)
|
135238
|
+
Completed 200 OK in 50ms (Views: 37.3ms | ActiveRecord: 2.3ms)
|
135239
|
+
Started GET "/manage/whatever" for 127.0.0.1 at 2013-03-29 17:15:50 +0200
|
135240
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135241
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')[0m
|
135242
|
+
[1m[35m (29.3ms)[0m COMMIT
|
135243
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135244
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:15:50' WHERE `users`.`id` = 1
|
135245
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')[0m
|
135246
|
+
[1m[35m (26.3ms)[0m COMMIT
|
135247
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135248
|
+
Parameters: {"model_name"=>"whatever"}
|
135249
|
+
Error while loading 'SunriseWhatever': uninitialized constant SunriseWhatever
|
135250
|
+
Completed 404 Not Found in 9ms
|
135251
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:15:50 +0200
|
135252
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135253
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')
|
135254
|
+
[1m[36m (55.2ms)[0m [1mCOMMIT[0m
|
135255
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135256
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-03-29 15:15:50' WHERE `users`.`id` = 1[0m
|
135257
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:50')
|
135258
|
+
[1m[36m (26.3ms)[0m [1mCOMMIT[0m
|
135259
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135260
|
+
Parameters: {"model_name"=>"structures"}
|
135261
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
135262
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
135263
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.2ms)
|
135264
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (6.0ms)
|
135265
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
135266
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135267
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.5ms)
|
135268
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (4.1ms)
|
135269
|
+
Completed 200 OK in 24ms (Views: 19.9ms | ActiveRecord: 1.1ms)
|
135270
|
+
Started GET "/manage/users" for 127.0.0.1 at 2013-03-29 17:15:51 +0200
|
135271
|
+
[1m[35m (0.2ms)[0m BEGIN
|
135272
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:51')[0m
|
135273
|
+
[1m[35m (17.5ms)[0m COMMIT
|
135274
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135275
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-03-29 15:15:51', `sign_in_count` = 4, `updated_at` = '2013-03-29 15:15:51' WHERE `users`.`id` = 1
|
135276
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:51')[0m
|
135277
|
+
[1m[35m (26.0ms)[0m COMMIT
|
135278
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135279
|
+
Parameters: {"model_name"=>"users"}
|
135280
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` LIMIT 25 OFFSET 0[0m
|
135281
|
+
[1m[35mAvatar Load (0.6ms)[0m SELECT `assets`.* FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`assetable_type` = 'User' AND `assets`.`assetable_id` IN (1) ORDER BY `assets`.sort_order
|
135282
|
+
Rendered sunrise/manager/users/thumbs/_record.html.erb (4.5ms)
|
135283
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `users` [0m
|
135284
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
135285
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
135286
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135287
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (31.9ms)
|
135288
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (48.0ms)
|
135289
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (1.8ms)
|
135290
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (1.6ms)
|
135291
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (1.4ms)
|
135292
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (2.3ms)
|
135293
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_export.html.erb (1.5ms)
|
135294
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (24.9ms)
|
135295
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (76.0ms)
|
135296
|
+
Completed 200 OK in 201ms (Views: 191.3ms | ActiveRecord: 1.5ms)
|
135297
|
+
Started GET "/manage/pages" for 127.0.0.1 at 2013-03-29 17:15:51 +0200
|
135298
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135299
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:51')[0m
|
135300
|
+
[1m[35m (24.3ms)[0m COMMIT
|
135301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135302
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:15:51', `sign_in_count` = 5, `updated_at` = '2013-03-29 15:15:51' WHERE `users`.`id` = 1
|
135303
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:51')[0m
|
135304
|
+
[1m[35m (26.2ms)[0m COMMIT
|
135305
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135306
|
+
Parameters: {"model_name"=>"pages"}
|
135307
|
+
Completed 404 Not Found in 2ms
|
135308
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:15:51 +0200
|
135309
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135310
|
+
Parameters: {"model_name"=>"structures"}
|
135311
|
+
Completed 401 Unauthorized in 1ms
|
135312
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:15:51 +0200
|
135313
|
+
Processing by Devise::SessionsController#new as HTML
|
135314
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.0ms)
|
135315
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
135316
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135317
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135318
|
+
[1m[36m (212.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135319
|
+
[1m[35m (251.9ms)[0m TRUNCATE TABLE `assets`;
|
135320
|
+
[1m[36m (341.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135321
|
+
[1m[35m (258.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
135322
|
+
[1m[36m (155.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135323
|
+
[1m[35m (217.7ms)[0m TRUNCATE TABLE `posts`;
|
135324
|
+
[1m[36m (247.4ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135325
|
+
[1m[35m (417.2ms)[0m TRUNCATE TABLE `structures`;
|
135326
|
+
[1m[36m (404.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135327
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135328
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135329
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135330
|
+
[1m[36m (197.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135331
|
+
[1m[35m (577.2ms)[0m TRUNCATE TABLE `assets`;
|
135332
|
+
[1m[36m (468.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135333
|
+
[1m[35m (481.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
135334
|
+
[1m[36m (334.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135335
|
+
[1m[35m (372.7ms)[0m TRUNCATE TABLE `posts`;
|
135336
|
+
[1m[36m (318.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135337
|
+
[1m[35m (299.9ms)[0m TRUNCATE TABLE `structures`;
|
135338
|
+
[1m[36m (479.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135339
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135340
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135341
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing38@example.com' LIMIT 1
|
135342
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:15:57', '2013-03-29 15:15:57', NULL, NULL, 'testing38@example.com', '86406d25d12f37ad2842ba654696f80eb03018812b572e7a2f52963055386a5e5126aa29695cd55455d4f2aff46fb439d573d1a41bab7d2da3bf8a64dcdb2bd8', 0, NULL, NULL, NULL, 'Admin', 'VymhqhyyrPyBc7HwLog7', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:15:57')[0m
|
135343
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:57', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:57')
|
135344
|
+
[1m[36m (25.1ms)[0m [1mCOMMIT[0m
|
135345
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-03-29 17:15:57 +0200
|
135346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135347
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:57', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:57')[0m
|
135348
|
+
[1m[35m (50.6ms)[0m COMMIT
|
135349
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135350
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:15:57', `current_sign_in_at` = '2013-03-29 15:15:57', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:15:57' WHERE `users`.`id` = 1
|
135351
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:57', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:15:57')[0m
|
135352
|
+
[1m[35m (46.6ms)[0m COMMIT
|
135353
|
+
Processing by Sunrise::ManagerController#new as HTML
|
135354
|
+
Parameters: {"model_name"=>"structures"}
|
135355
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
135356
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
135357
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (18.5ms)
|
135358
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.9ms)
|
135359
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (31.0ms)
|
135360
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.9ms)
|
135361
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.6ms)
|
135362
|
+
Completed 200 OK in 44ms (Views: 40.8ms | ActiveRecord: 0.5ms)
|
135363
|
+
Started POST "/manage/structures/new" for 127.0.0.1 at 2013-03-29 17:15:57 +0200
|
135364
|
+
Processing by Sunrise::ManagerController#create as HTML
|
135365
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Good day", "redirect_url"=>"", "slug"=>"", "parent_id"=>"", "structure_type_id"=>"1", "position_type_id"=>"2", "is_visible"=>"1", "tag_title"=>"", "tag_keywords"=>"", "tag_description"=>""}, "commit"=>"Create Structure", "model_name"=>"structures"}
|
135366
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135368
|
+
[1m[35mStructure Load (27.7ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135369
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:15:58', 0, 1, 1, NULL, 2, '', 2, 'good-day', 1, 'Good day', '2013-03-29 15:15:58')[0m
|
135370
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:15:58', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:15:58')
|
135371
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
135372
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
135373
|
+
[1m[36m (90.2ms)[0m [1mCOMMIT[0m
|
135374
|
+
Redirected to http://www.example.com/manage/structures
|
135375
|
+
Completed 302 Found in 442ms (ActiveRecord: 0.0ms)
|
135376
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-03-29 17:15:58 +0200
|
135377
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135378
|
+
Parameters: {"model_name"=>"structures"}
|
135379
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135380
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
135381
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.1ms)
|
135382
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.5ms)
|
135383
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
135384
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.8ms)
|
135385
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (4.5ms)
|
135386
|
+
Completed 200 OK in 26ms (Views: 18.2ms | ActiveRecord: 0.9ms)
|
135387
|
+
[1m[35mStructure Load (2.8ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`id` DESC LIMIT 1
|
135388
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-03-29 17:15:58 +0200
|
135389
|
+
Processing by Sunrise::ManagerController#new as HTML
|
135390
|
+
Parameters: {"model_name"=>"structures"}
|
135391
|
+
Completed 401 Unauthorized in 1ms
|
135392
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:15:58 +0200
|
135393
|
+
Processing by Devise::SessionsController#new as HTML
|
135394
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.2ms)
|
135395
|
+
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)
|
135396
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135397
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135398
|
+
[1m[36m (2560.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135399
|
+
[1m[35m (1206.1ms)[0m TRUNCATE TABLE `assets`;
|
135400
|
+
[1m[36m (401.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135401
|
+
[1m[35m (526.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
135402
|
+
[1m[36m (162.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135403
|
+
[1m[35m (508.8ms)[0m TRUNCATE TABLE `posts`;
|
135404
|
+
[1m[36m (131.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135405
|
+
[1m[35m (342.2ms)[0m TRUNCATE TABLE `structures`;
|
135406
|
+
[1m[36m (332.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135407
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135408
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135409
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135410
|
+
[1m[36m (317.5ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135411
|
+
[1m[35m (195.9ms)[0m TRUNCATE TABLE `assets`;
|
135412
|
+
[1m[36m (329.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135413
|
+
[1m[35m (283.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
135414
|
+
[1m[36m (162.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135415
|
+
[1m[35m (272.6ms)[0m TRUNCATE TABLE `posts`;
|
135416
|
+
[1m[36m (432.4ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135417
|
+
[1m[35m (466.8ms)[0m TRUNCATE TABLE `structures`;
|
135418
|
+
[1m[36m (387.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135419
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135420
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135421
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing39@example.com' LIMIT 1
|
135422
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:07', '2013-03-29 15:16:07', NULL, NULL, 'testing39@example.com', '29115a68d16105cbd94076af30a970650b0f76517283f999a295bae438480269a4fe85da14a94d5fac95015bab78025c64ac180ebad3be06771c73b83558b47d', 0, NULL, NULL, NULL, 'Admin', 'kZpq9r7igHxty1TgEh3i', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:07')[0m
|
135423
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')
|
135424
|
+
[1m[36m (17.9ms)[0m [1mCOMMIT[0m
|
135425
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135426
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135427
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:07', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:07')
|
135428
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:07')[0m
|
135429
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
135430
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
135431
|
+
[1m[35m (63.6ms)[0m COMMIT
|
135432
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135433
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135434
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:07', 0, 1, 3, 1, 2, NULL, 4, 'slug12', 1, 'Structure', '2013-03-29 15:16:07')[0m
|
135435
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:07')
|
135436
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
135437
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
135438
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
135439
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
135440
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135441
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135442
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
135443
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135444
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
135445
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
135446
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135447
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135448
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
135449
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135450
|
+
[1m[36m (31.9ms)[0m [1mCOMMIT[0m
|
135451
|
+
Started GET "/manage/whatever/2/edit" for 127.0.0.1 at 2013-03-29 17:16:07 +0200
|
135452
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135453
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')[0m
|
135454
|
+
[1m[35m (42.8ms)[0m COMMIT
|
135455
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135456
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:07', `current_sign_in_at` = '2013-03-29 15:16:07', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:07' WHERE `users`.`id` = 1
|
135457
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')[0m
|
135458
|
+
[1m[35m (25.5ms)[0m COMMIT
|
135459
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135460
|
+
Parameters: {"model_name"=>"whatever", "id"=>"2"}
|
135461
|
+
Error while loading 'SunriseWhatever': uninitialized constant SunriseWhatever
|
135462
|
+
Completed 404 Not Found in 10ms
|
135463
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:16:07 +0200
|
135464
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135465
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')
|
135466
|
+
[1m[36m (47.4ms)[0m [1mCOMMIT[0m
|
135467
|
+
[1m[35m (0.2ms)[0m BEGIN
|
135468
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:16:07' WHERE `users`.`id` = 1[0m
|
135469
|
+
[1m[35mSQL (2.2ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')
|
135470
|
+
[1m[36m (65.5ms)[0m [1mCOMMIT[0m
|
135471
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135472
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
135473
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135474
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135475
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
135476
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`
|
135477
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (18.2ms)
|
135478
|
+
[1m[36mMetaTag Load (0.5ms)[0m [1mSELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'[0m
|
135479
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.3ms)
|
135480
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (30.4ms)
|
135481
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
135482
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
135483
|
+
Completed 200 OK in 43ms (Views: 37.2ms | ActiveRecord: 2.0ms)
|
135484
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:16:07 +0200
|
135485
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135486
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')[0m
|
135487
|
+
[1m[35m (16.9ms)[0m COMMIT
|
135488
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135489
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-03-29 15:16:07' WHERE `users`.`id` = 1
|
135490
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')[0m
|
135491
|
+
[1m[35m (25.8ms)[0m COMMIT
|
135492
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135493
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
135494
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135495
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135496
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
135497
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
135498
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (17.2ms)
|
135499
|
+
[1m[35mMetaTag Load (0.2ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
135500
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.9ms)
|
135501
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (29.0ms)
|
135502
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
135503
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
135504
|
+
Completed 200 OK in 41ms (Views: 36.8ms | ActiveRecord: 0.6ms)
|
135505
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-03-29 17:16:07 +0200
|
135506
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135507
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')
|
135508
|
+
[1m[36m (16.9ms)[0m [1mCOMMIT[0m
|
135509
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135510
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 4, `updated_at` = '2013-03-29 15:16:07' WHERE `users`.`id` = 1[0m
|
135511
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:07', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:07')
|
135512
|
+
[1m[36m (25.9ms)[0m [1mCOMMIT[0m
|
135513
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135514
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
135515
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135516
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135517
|
+
[1m[36mPagePart Load (0.6ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
135518
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.2ms)
|
135519
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.4ms)
|
135520
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
135521
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
135522
|
+
Completed 200 OK in 23ms (Views: 18.9ms | ActiveRecord: 0.8ms)
|
135523
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-03-29 17:16:08 +0200
|
135524
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135525
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:08', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:08')[0m
|
135526
|
+
[1m[35m (26.3ms)[0m COMMIT
|
135527
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135528
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-03-29 15:16:08', `sign_in_count` = 5, `updated_at` = '2013-03-29 15:16:08' WHERE `users`.`id` = 1
|
135529
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:08', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:08')[0m
|
135530
|
+
[1m[35m (26.1ms)[0m COMMIT
|
135531
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135532
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
135533
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135534
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135535
|
+
[1m[35mPagePart Load (0.2ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
135536
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.6ms)
|
135537
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (12.0ms)
|
135538
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.6ms)
|
135539
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.6ms)
|
135540
|
+
Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.4ms)
|
135541
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-03-29 17:16:08 +0200
|
135542
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135543
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
135544
|
+
Completed 401 Unauthorized in 1ms
|
135545
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:16:08 +0200
|
135546
|
+
Processing by Devise::SessionsController#new as HTML
|
135547
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.2ms)
|
135548
|
+
Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)
|
135549
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135550
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135551
|
+
[1m[36m (357.0ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135552
|
+
[1m[35m (185.6ms)[0m TRUNCATE TABLE `assets`;
|
135553
|
+
[1m[36m (264.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135554
|
+
[1m[35m (322.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
135555
|
+
[1m[36m (273.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135556
|
+
[1m[35m (161.5ms)[0m TRUNCATE TABLE `posts`;
|
135557
|
+
[1m[36m (214.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135558
|
+
[1m[35m (375.7ms)[0m TRUNCATE TABLE `structures`;
|
135559
|
+
[1m[36m (342.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135560
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135561
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135562
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135563
|
+
[1m[36m (228.5ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135564
|
+
[1m[35m (273.6ms)[0m TRUNCATE TABLE `assets`;
|
135565
|
+
[1m[36m (363.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135566
|
+
[1m[35m (272.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
135567
|
+
[1m[36m (162.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135568
|
+
[1m[35m (274.6ms)[0m TRUNCATE TABLE `posts`;
|
135569
|
+
[1m[36m (284.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135570
|
+
[1m[35m (412.4ms)[0m TRUNCATE TABLE `structures`;
|
135571
|
+
[1m[36m (1625.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135572
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135573
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135574
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing40@example.com' LIMIT 1
|
135575
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:14', '2013-03-29 15:16:14', NULL, NULL, 'testing40@example.com', '3e77a55579800a80a7d15f3165024bde583d37d07297a68f5aaa613d8175d674caa1b562fc5469a10e9770095fb825673bff22ac84013f6313a302533d219fed', 0, NULL, NULL, NULL, 'Admin', 'KtzMNNWpz6L9eF2RTm49', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:14')[0m
|
135576
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:14', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:14')
|
135577
|
+
[1m[36m (66.0ms)[0m [1mCOMMIT[0m
|
135578
|
+
[1m[35m (0.2ms)[0m BEGIN
|
135579
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135580
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:14', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:14')
|
135581
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:14', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:14')[0m
|
135582
|
+
[1m[35mStructure Load (1.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
135583
|
+
[1m[36mSQL (3.1ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
135584
|
+
[1m[35m (221.9ms)[0m COMMIT
|
135585
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135586
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135587
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:14', 0, 1, 3, 1, 2, NULL, 4, 'slug13', 1, 'Structure', '2013-03-29 15:16:14')[0m
|
135588
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:14', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:14')
|
135589
|
+
[1m[36mStructure Load (1.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
135590
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
135591
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
135592
|
+
[1m[35mStructure Load (1.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
135593
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135594
|
+
[1m[35m (2.1ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135595
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
135596
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135597
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
135598
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
135599
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135600
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135601
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
135602
|
+
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135603
|
+
[1m[36m (250.0ms)[0m [1mCOMMIT[0m
|
135604
|
+
[1m[35m (0.2ms)[0m BEGIN
|
135605
|
+
[1m[36mSQL (75.1ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:16:15', 1, 2, 'Default title', '2013-03-29 15:16:15')[0m
|
135606
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:15', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:15')
|
135607
|
+
[1m[36m (275.9ms)[0m [1mCOMMIT[0m
|
135608
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:15 +0200
|
135609
|
+
[1m[35m (0.4ms)[0m BEGIN
|
135610
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:15', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:15')[0m
|
135611
|
+
[1m[35m (55.2ms)[0m COMMIT
|
135612
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135613
|
+
[1m[35m (0.6ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:15', `current_sign_in_at` = '2013-03-29 15:16:15', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:15' WHERE `users`.`id` = 1
|
135614
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:15', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:15')[0m
|
135615
|
+
[1m[35m (140.4ms)[0m COMMIT
|
135616
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135617
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135618
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135619
|
+
[1m[35mPost Load (0.7ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
135620
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
135621
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (25.3ms)
|
135622
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
135623
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (6.4ms)
|
135624
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135625
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135626
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (7.4ms)
|
135627
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (21.7ms)
|
135628
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.9ms)
|
135629
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (1.0ms)
|
135630
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.9ms)
|
135631
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.2ms)
|
135632
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (6.6ms)
|
135633
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (29.0ms)
|
135634
|
+
Completed 200 OK in 99ms (Views: 83.7ms | ActiveRecord: 1.7ms)
|
135635
|
+
Started DELETE "/manage/posts/1/delete?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:15 +0200
|
135636
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
135637
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
135638
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135639
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
135640
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135641
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:15', 'post.destroy', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:15')[0m
|
135642
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
|
135643
|
+
[1m[36m (151.8ms)[0m [1mCOMMIT[0m
|
135644
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135645
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
135646
|
+
Completed 302 Found in 192ms (ActiveRecord: 0.0ms)
|
135647
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:16 +0200
|
135648
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135649
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135650
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135651
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135652
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
135653
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
135654
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
135655
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.4ms)
|
135656
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
135657
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135658
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (6.1ms)
|
135659
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (13.4ms)
|
135660
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.8ms)
|
135661
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.8ms)
|
135662
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
135663
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.5ms)
|
135664
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (6.3ms)
|
135665
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (20.4ms)
|
135666
|
+
Completed 200 OK in 47ms (Views: 36.6ms | ActiveRecord: 1.4ms)
|
135667
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
135668
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:16 +0200
|
135669
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135670
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135671
|
+
Completed 401 Unauthorized in 1ms
|
135672
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:16:16 +0200
|
135673
|
+
Processing by Devise::SessionsController#new as HTML
|
135674
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.1ms)
|
135675
|
+
Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
135676
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135677
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135678
|
+
[1m[35m (380.2ms)[0m TRUNCATE TABLE `activities`;
|
135679
|
+
[1m[36m (253.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135680
|
+
[1m[35m (330.0ms)[0m TRUNCATE TABLE `audits`;
|
135681
|
+
[1m[36m (274.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135682
|
+
[1m[35m (292.2ms)[0m TRUNCATE TABLE `page_parts`;
|
135683
|
+
[1m[36m (167.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135684
|
+
[1m[35m (240.2ms)[0m TRUNCATE TABLE `settings`;
|
135685
|
+
[1m[36m (386.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135686
|
+
[1m[35m (409.3ms)[0m TRUNCATE TABLE `users`;
|
135687
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135688
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135689
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135690
|
+
[1m[35m (228.3ms)[0m TRUNCATE TABLE `activities`;
|
135691
|
+
[1m[36m (294.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135692
|
+
[1m[35m (285.6ms)[0m TRUNCATE TABLE `audits`;
|
135693
|
+
[1m[36m (264.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135694
|
+
[1m[35m (148.7ms)[0m TRUNCATE TABLE `page_parts`;
|
135695
|
+
[1m[36m (249.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135696
|
+
[1m[35m (116.9ms)[0m TRUNCATE TABLE `settings`;
|
135697
|
+
[1m[36m (384.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135698
|
+
[1m[35m (387.8ms)[0m TRUNCATE TABLE `users`;
|
135699
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135700
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135701
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing41@example.com' LIMIT 1[0m
|
135702
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:21', '2013-03-29 15:16:21', NULL, NULL, 'testing41@example.com', '6a80579f4ab76270f9873f68244b34c1b065d61f3e857277a25d1e7f5bc618b9bc93459ca73ef8548aecfe08a408105dee56d6cadff99ba5df9a0ad945f0ed80', 0, NULL, NULL, NULL, 'Admin', 'sic2CycigjDUDsyY4Sy2', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:21')
|
135703
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:21')[0m
|
135704
|
+
[1m[35m (31.9ms)[0m COMMIT
|
135705
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135706
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135707
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:21', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:21')[0m
|
135708
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:21')
|
135709
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
135710
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
135711
|
+
[1m[36m (31.1ms)[0m [1mCOMMIT[0m
|
135712
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135713
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135714
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:21', 0, 1, 3, 1, 2, NULL, 4, 'slug14', 1, 'Structure', '2013-03-29 15:16:21')
|
135715
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:21')[0m
|
135716
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
135717
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135718
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
135719
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
135720
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135721
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135722
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135723
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135724
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
135725
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135726
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135727
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135728
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135729
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135730
|
+
[1m[35m (25.5ms)[0m COMMIT
|
135731
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135732
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:16:21', 1, 2, 'Default title', '2013-03-29 15:16:21')
|
135733
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:21')[0m
|
135734
|
+
[1m[35m (36.1ms)[0m COMMIT
|
135735
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:21 +0200
|
135736
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135737
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:21')
|
135738
|
+
[1m[36m (34.0ms)[0m [1mCOMMIT[0m
|
135739
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135740
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:21', `current_sign_in_at` = '2013-03-29 15:16:21', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:21' WHERE `users`.`id` = 1[0m
|
135741
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:21')
|
135742
|
+
[1m[36m (37.3ms)[0m [1mCOMMIT[0m
|
135743
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135744
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
135745
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
135746
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
135747
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.6ms)
|
135748
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.5ms)
|
135749
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.8ms)
|
135750
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.7ms)
|
135751
|
+
Completed 200 OK in 30ms (Views: 22.2ms | ActiveRecord: 0.5ms)
|
135752
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2013-03-29 17:16:21 +0200
|
135753
|
+
Processing by Sunrise::ManagerController#update as HTML
|
135754
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Title updated", "content"=>"Tra la la", "is_visible"=>"0"}, "commit"=>"Update Post", "model_name"=>"posts", "id"=>"1"}
|
135755
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
135756
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
135757
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135758
|
+
[1m[35m (0.5ms)[0m UPDATE `posts` SET `title` = 'Title updated', `content` = 'Tra la la', `is_visible` = 0, `updated_at` = '2013-03-29 15:16:21' WHERE `posts`.`id` = 1
|
135759
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'post.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:21')[0m
|
135760
|
+
[1m[35m (15.3ms)[0m COMMIT
|
135761
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135762
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
135763
|
+
Completed 302 Found in 35ms (ActiveRecord: 0.0ms)
|
135764
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:21 +0200
|
135765
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135766
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135767
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135768
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135769
|
+
[1m[35mPost Load (0.7ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
135770
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
135771
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (7.5ms)
|
135772
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
135773
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
135774
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135775
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135776
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (7.7ms)
|
135777
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (13.0ms)
|
135778
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
135779
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
135780
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.9ms)
|
135781
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (113.3ms)
|
135782
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (119.3ms)
|
135783
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (134.1ms)
|
135784
|
+
Completed 200 OK in 166ms (Views: 156.5ms | ActiveRecord: 1.6ms)
|
135785
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
135786
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135787
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:21 +0200
|
135788
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135789
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:21')[0m
|
135790
|
+
[1m[35m (15.6ms)[0m COMMIT
|
135791
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135792
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:16:21' WHERE `users`.`id` = 1
|
135793
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:21')[0m
|
135794
|
+
[1m[35m (25.6ms)[0m COMMIT
|
135795
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135796
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
135797
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
135798
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135799
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.7ms)
|
135800
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.0ms)
|
135801
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
135802
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
135803
|
+
Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.2ms)
|
135804
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2013-03-29 17:16:21 +0200
|
135805
|
+
Processing by Sunrise::ManagerController#update as HTML
|
135806
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Title updated", "content"=>"Tra la la", "is_visible"=>"0"}, "commit"=>"Update Post", "model_name"=>"posts", "id"=>"1"}
|
135807
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135808
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
135809
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135810
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:21', 'post.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:21')[0m
|
135811
|
+
[1m[35m (28.2ms)[0m COMMIT
|
135812
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135813
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
135814
|
+
Completed 302 Found in 43ms (ActiveRecord: 0.0ms)
|
135815
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:22 +0200
|
135816
|
+
Processing by Sunrise::ManagerController#index as HTML
|
135817
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135818
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
135819
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135820
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
135821
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
135822
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (6.4ms)
|
135823
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
135824
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
135825
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135826
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135827
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (6.9ms)
|
135828
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (13.1ms)
|
135829
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
135830
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
135831
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
135832
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.3ms)
|
135833
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.6ms)
|
135834
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (19.4ms)
|
135835
|
+
Completed 200 OK in 46ms (Views: 39.3ms | ActiveRecord: 0.7ms)
|
135836
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:22 +0200
|
135837
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
135838
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
135839
|
+
Completed 401 Unauthorized in 1ms
|
135840
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:16:22 +0200
|
135841
|
+
Processing by Devise::SessionsController#new as HTML
|
135842
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.6ms)
|
135843
|
+
Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms)
|
135844
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135845
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135846
|
+
[1m[35m (186.3ms)[0m TRUNCATE TABLE `activities`;
|
135847
|
+
[1m[36m (288.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135848
|
+
[1m[35m (431.0ms)[0m TRUNCATE TABLE `audits`;
|
135849
|
+
[1m[36m (420.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135850
|
+
[1m[35m (387.3ms)[0m TRUNCATE TABLE `page_parts`;
|
135851
|
+
[1m[36m (383.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135852
|
+
[1m[35m (116.9ms)[0m TRUNCATE TABLE `settings`;
|
135853
|
+
[1m[36m (297.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135854
|
+
[1m[35m (419.4ms)[0m TRUNCATE TABLE `users`;
|
135855
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135856
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
135857
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
135858
|
+
[1m[35m (305.1ms)[0m TRUNCATE TABLE `activities`;
|
135859
|
+
[1m[36m (207.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
135860
|
+
[1m[35m (285.0ms)[0m TRUNCATE TABLE `audits`;
|
135861
|
+
[1m[36m (527.0ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
135862
|
+
[1m[35m (983.3ms)[0m TRUNCATE TABLE `page_parts`;
|
135863
|
+
[1m[36m (447.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
135864
|
+
[1m[35m (116.8ms)[0m TRUNCATE TABLE `settings`;
|
135865
|
+
[1m[36m (319.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
135866
|
+
[1m[35m (2121.4ms)[0m TRUNCATE TABLE `users`;
|
135867
|
+
[1m[36m (1.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
135868
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135869
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing42@example.com' LIMIT 1[0m
|
135870
|
+
[1m[35mSQL (8.6ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:30', '2013-03-29 15:16:30', NULL, NULL, 'testing42@example.com', '3da14fd6c6d01bc2419916663653519fbf653aec916e795bda63efacd6f3a9b682f7b53402f56cfa51c9230c2dce205c36e8c5352969076d542a6cb12f000c5b', 0, NULL, NULL, NULL, 'Admin', 'ZeCxbJpohj3rLKDzbEA2', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:30')
|
135871
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:30', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:30')[0m
|
135872
|
+
[1m[35m (347.0ms)[0m COMMIT
|
135873
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135874
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135875
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:30', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:30')[0m
|
135876
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:30', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:30')
|
135877
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
135878
|
+
[1m[35mSQL (3.2ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
135879
|
+
[1m[36m (142.5ms)[0m [1mCOMMIT[0m
|
135880
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135881
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135882
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:30', 0, 1, 3, 1, 2, NULL, 4, 'slug15', 1, 'Structure', '2013-03-29 15:16:30')
|
135883
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:30', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:30')[0m
|
135884
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
135885
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135886
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
135887
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
135888
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135889
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135890
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135891
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135892
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
135893
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
135894
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135895
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135896
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
135897
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
135898
|
+
[1m[35m (52.3ms)[0m COMMIT
|
135899
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:30 +0200
|
135900
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135901
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:30', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:30')
|
135902
|
+
[1m[36m (220.9ms)[0m [1mCOMMIT[0m
|
135903
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135904
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:31', `current_sign_in_at` = '2013-03-29 15:16:31', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:31' WHERE `users`.`id` = 1[0m
|
135905
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:31', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:31')
|
135906
|
+
[1m[36m (33.4ms)[0m [1mCOMMIT[0m
|
135907
|
+
Processing by Sunrise::ManagerController#new as HTML
|
135908
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135909
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135910
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
135911
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.3ms)
|
135912
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.9ms)
|
135913
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
135914
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
135915
|
+
Completed 200 OK in 27ms (Views: 19.6ms | ActiveRecord: 0.5ms)
|
135916
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:31 +0200
|
135917
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135918
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:31', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:31')
|
135919
|
+
[1m[36m (32.4ms)[0m [1mCOMMIT[0m
|
135920
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135921
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:16:31' WHERE `users`.`id` = 1[0m
|
135922
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:31', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:31')
|
135923
|
+
[1m[36m (37.1ms)[0m [1mCOMMIT[0m
|
135924
|
+
Processing by Sunrise::ManagerController#new as HTML
|
135925
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135926
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135927
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135928
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.7ms)
|
135929
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.8ms)
|
135930
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
135931
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
135932
|
+
Completed 200 OK in 23ms (Views: 18.3ms | ActiveRecord: 0.2ms)
|
135933
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:31 +0200
|
135934
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135935
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:31', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:31')
|
135936
|
+
[1m[36m (36.8ms)[0m [1mCOMMIT[0m
|
135937
|
+
[1m[35m (0.2ms)[0m BEGIN
|
135938
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-03-29 15:16:31' WHERE `users`.`id` = 1[0m
|
135939
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:31', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:31')
|
135940
|
+
[1m[36m (35.6ms)[0m [1mCOMMIT[0m
|
135941
|
+
Processing by Sunrise::ManagerController#new as HTML
|
135942
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
135943
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
135944
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
135945
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.9ms)
|
135946
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.3ms)
|
135947
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.5ms)
|
135948
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.6ms)
|
135949
|
+
Completed 200 OK in 24ms (Views: 19.6ms | ActiveRecord: 0.2ms)
|
135950
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135951
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135952
|
+
[1m[36m (214.7ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135953
|
+
[1m[35m (296.2ms)[0m TRUNCATE TABLE `assets`;
|
135954
|
+
[1m[36m (298.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135955
|
+
[1m[35m (331.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
135956
|
+
[1m[36m (351.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135957
|
+
[1m[35m (162.1ms)[0m TRUNCATE TABLE `posts`;
|
135958
|
+
[1m[36m (250.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135959
|
+
[1m[35m (286.6ms)[0m TRUNCATE TABLE `structures`;
|
135960
|
+
[1m[36m (411.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135961
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135962
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
135963
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
135964
|
+
[1m[36m (638.9ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
135965
|
+
[1m[35m (316.9ms)[0m TRUNCATE TABLE `assets`;
|
135966
|
+
[1m[36m (306.7ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
135967
|
+
[1m[35m (195.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
135968
|
+
[1m[36m (294.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
135969
|
+
[1m[35m (295.3ms)[0m TRUNCATE TABLE `posts`;
|
135970
|
+
[1m[36m (306.7ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
135971
|
+
[1m[35m (386.9ms)[0m TRUNCATE TABLE `structures`;
|
135972
|
+
[1m[36m (355.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
135973
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
135974
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135975
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing43@example.com' LIMIT 1
|
135976
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:37', '2013-03-29 15:16:37', NULL, NULL, 'testing43@example.com', '0beac3d27307ba84c5d3a286e05615c184e044d2a6b5926415d519015243fda13e28de01c5e30517517e24911297edbbd55a6bd3405aaaaff07f6dc32e8f8727', 0, NULL, NULL, NULL, 'Admin', 'od3YLzcsxPcUqbqxyiFh', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:37')[0m
|
135977
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:37')
|
135978
|
+
[1m[36m (154.4ms)[0m [1mCOMMIT[0m
|
135979
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135980
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
135981
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:37', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:37')
|
135982
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:37')[0m
|
135983
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
135984
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
135985
|
+
[1m[35m (30.1ms)[0m COMMIT
|
135986
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135987
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
135988
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:37', 0, 1, 3, 1, 2, NULL, 4, 'slug16', 1, 'Structure', '2013-03-29 15:16:37')[0m
|
135989
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:37')
|
135990
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
135991
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
135992
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
135993
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
135994
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
135995
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135996
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
135997
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
135998
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
135999
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
136000
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136001
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136002
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
136003
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136004
|
+
[1m[36m (55.7ms)[0m [1mCOMMIT[0m
|
136005
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136006
|
+
[1m[36mSQL (38.7ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:16:37', 1, 2, 'Default title', '2013-03-29 15:16:37')[0m
|
136007
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:37')
|
136008
|
+
[1m[36m (40.8ms)[0m [1mCOMMIT[0m
|
136009
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:37 +0200
|
136010
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136011
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:37')[0m
|
136012
|
+
[1m[35m (33.7ms)[0m COMMIT
|
136013
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
136014
|
+
[1m[35m (0.8ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:37', `current_sign_in_at` = '2013-03-29 15:16:37', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:37' WHERE `users`.`id` = 1
|
136015
|
+
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:37')[0m
|
136016
|
+
[1m[35m (56.0ms)[0m COMMIT
|
136017
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136018
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136019
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136020
|
+
[1m[35mPost Load (0.7ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
136021
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136022
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (6.6ms)
|
136023
|
+
[1m[36m (1.3ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
136024
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
136025
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136026
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136027
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (6.8ms)
|
136028
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (12.1ms)
|
136029
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.8ms)
|
136030
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
136031
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
136032
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.4ms)
|
136033
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (6.7ms)
|
136034
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (19.6ms)
|
136035
|
+
Completed 200 OK in 48ms (Views: 40.0ms | ActiveRecord: 2.5ms)
|
136036
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136037
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:16:37', 1, 2, 'Good day', '2013-03-29 15:16:37')[0m
|
136038
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Post', '2013-03-29 15:16:37')
|
136039
|
+
[1m[36m (18.4ms)[0m [1mCOMMIT[0m
|
136040
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:37 +0200
|
136041
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136042
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:37')[0m
|
136043
|
+
[1m[35m (34.3ms)[0m COMMIT
|
136044
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136045
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:16:37' WHERE `users`.`id` = 1
|
136046
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:37')[0m
|
136047
|
+
[1m[35m (36.2ms)[0m COMMIT
|
136048
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136049
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136050
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136051
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
136052
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136053
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136054
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (11.8ms)
|
136055
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
136056
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.5ms)
|
136057
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136058
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136059
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.9ms)
|
136060
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.8ms)
|
136061
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.8ms)
|
136062
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.9ms)
|
136063
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
136064
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.3ms)
|
136065
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (6.0ms)
|
136066
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (18.5ms)
|
136067
|
+
Completed 200 OK in 52ms (Views: 45.0ms | ActiveRecord: 1.3ms)
|
136068
|
+
Started GET "/manage/posts?utf8=%E2%9C%93&parent_id=2&parent_type=Structure&search[title]=Good+day&search[structure_id]=&commit=Search" for 127.0.0.1 at 2013-03-29 17:16:38 +0200
|
136069
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136070
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "search"=>{"title"=>"Good day", "structure_id"=>""}, "commit"=>"Search", "model_name"=>"posts"}
|
136071
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
136072
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136073
|
+
[1m[35mPost Load (0.6ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`title` = 'Good day' AND `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
136074
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136075
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (6.0ms)
|
136076
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`title` = 'Good day' AND `posts`.`structure_id` = 2[0m
|
136077
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.0ms)
|
136078
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136079
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
136080
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.7ms)
|
136081
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.4ms)
|
136082
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
136083
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
136084
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
136085
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.3ms)
|
136086
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.6ms)
|
136087
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (17.7ms)
|
136088
|
+
Completed 200 OK in 51ms (Views: 40.3ms | ActiveRecord: 2.1ms)
|
136089
|
+
Started GET "/manage/posts?parent_id=1&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:38 +0200
|
136090
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136091
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:38', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:38')[0m
|
136092
|
+
[1m[35m (21.2ms)[0m COMMIT
|
136093
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136094
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-03-29 15:16:38', `sign_in_count` = 3, `updated_at` = '2013-03-29 15:16:38' WHERE `users`.`id` = 1
|
136095
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:38', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:38')[0m
|
136096
|
+
[1m[35m (36.6ms)[0m COMMIT
|
136097
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136098
|
+
Parameters: {"parent_id"=>"1", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136099
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
136100
|
+
[1m[35mPost Load (0.7ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 1 LIMIT 25 OFFSET 0
|
136101
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
136102
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 1[0m
|
136103
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.8ms)
|
136104
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136105
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
136106
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (6.0ms)
|
136107
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.5ms)
|
136108
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.8ms)
|
136109
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
136110
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
136111
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
136112
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.5ms)
|
136113
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (17.6ms)
|
136114
|
+
Completed 200 OK in 40ms (Views: 32.3ms | ActiveRecord: 1.7ms)
|
136115
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136116
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136117
|
+
[1m[35m (214.6ms)[0m TRUNCATE TABLE `activities`;
|
136118
|
+
[1m[36m (262.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136119
|
+
[1m[35m (307.9ms)[0m TRUNCATE TABLE `audits`;
|
136120
|
+
[1m[36m (252.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136121
|
+
[1m[35m (207.9ms)[0m TRUNCATE TABLE `page_parts`;
|
136122
|
+
[1m[36m (204.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136123
|
+
[1m[35m (298.8ms)[0m TRUNCATE TABLE `settings`;
|
136124
|
+
[1m[36m (204.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136125
|
+
[1m[35m (538.3ms)[0m TRUNCATE TABLE `users`;
|
136126
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136127
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136128
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136129
|
+
[1m[35m (179.5ms)[0m TRUNCATE TABLE `activities`;
|
136130
|
+
[1m[36m (285.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136131
|
+
[1m[35m (1055.8ms)[0m TRUNCATE TABLE `audits`;
|
136132
|
+
[1m[36m (759.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136133
|
+
[1m[35m (293.4ms)[0m TRUNCATE TABLE `page_parts`;
|
136134
|
+
[1m[36m (249.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136135
|
+
[1m[35m (138.9ms)[0m TRUNCATE TABLE `settings`;
|
136136
|
+
[1m[36m (580.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136137
|
+
[1m[35m (547.3ms)[0m TRUNCATE TABLE `users`;
|
136138
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136139
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136140
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing44@example.com' LIMIT 1[0m
|
136141
|
+
[1m[35mSQL (12.5ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:44', '2013-03-29 15:16:44', NULL, NULL, 'testing44@example.com', '16e0999a249bd6549c234e459f97cb116c4a25453d0166e24b3367b0f51c2b70a9c196303474e63e1251f67dd839739090675307e3d57ad1a72225a07dd5d6ac', 0, NULL, NULL, NULL, 'Admin', 'Bzd6k6q7ZFsG28ZG2Hqz', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:44')
|
136142
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:44', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:44')[0m
|
136143
|
+
[1m[35m (167.1ms)[0m COMMIT
|
136144
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136145
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
136146
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:44', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:44')[0m
|
136147
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:44', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:44')
|
136148
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
136149
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
136150
|
+
[1m[36m (55.9ms)[0m [1mCOMMIT[0m
|
136151
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136152
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
136153
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:45', 0, 1, 3, 1, 2, NULL, 4, 'slug17', 1, 'Structure', '2013-03-29 15:16:45')
|
136154
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:45')[0m
|
136155
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
136156
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
136157
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
136158
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
136159
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136160
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136161
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
136162
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136163
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
136164
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
136165
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136166
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136167
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
136168
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136169
|
+
[1m[35m (54.3ms)[0m COMMIT
|
136170
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136171
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136172
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:45')
|
136173
|
+
[1m[36m (177.9ms)[0m [1mCOMMIT[0m
|
136174
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136175
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:45', `current_sign_in_at` = '2013-03-29 15:16:45', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:45' WHERE `users`.`id` = 1[0m
|
136176
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:45')
|
136177
|
+
[1m[36m (36.9ms)[0m [1mCOMMIT[0m
|
136178
|
+
Processing by Sunrise::ManagerController#new as HTML
|
136179
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136180
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136181
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136182
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.6ms)
|
136183
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.7ms)
|
136184
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
136185
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
136186
|
+
Completed 200 OK in 23ms (Views: 18.1ms | ActiveRecord: 0.5ms)
|
136187
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136188
|
+
Processing by Sunrise::ManagerController#create as HTML
|
136189
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Good title", "content"=>"Some long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long text", "is_visible"=>"1"}, "commit"=>"Create Post", "model_name"=>"posts"}
|
136190
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136191
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136192
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136193
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long text', '2013-03-29 15:16:45', 1, 2, 'Good title', '2013-03-29 15:16:45')
|
136194
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:45')[0m
|
136195
|
+
[1m[35m (15.7ms)[0m COMMIT
|
136196
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
136197
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.0ms)
|
136198
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136199
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136200
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136201
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136202
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136203
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
136204
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136205
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (5.7ms)
|
136206
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
136207
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
136208
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136209
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136210
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.7ms)
|
136211
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.7ms)
|
136212
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
136213
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
136214
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
136215
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
136216
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.0ms)
|
136217
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.4ms)
|
136218
|
+
Completed 200 OK in 43ms (Views: 35.2ms | ActiveRecord: 1.4ms)
|
136219
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1[0m
|
136220
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136221
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136222
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136223
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:45')
|
136224
|
+
[1m[36m (21.0ms)[0m [1mCOMMIT[0m
|
136225
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136226
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:16:45' WHERE `users`.`id` = 1[0m
|
136227
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:45')
|
136228
|
+
[1m[36m (37.1ms)[0m [1mCOMMIT[0m
|
136229
|
+
Processing by Sunrise::ManagerController#new as HTML
|
136230
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136231
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136232
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136233
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.5ms)
|
136234
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.7ms)
|
136235
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.6ms)
|
136236
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
136237
|
+
Completed 200 OK in 24ms (Views: 19.8ms | ActiveRecord: 0.2ms)
|
136238
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136239
|
+
Processing by Sunrise::ManagerController#create as HTML
|
136240
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Good title", "content"=>"Some long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long text", "is_visible"=>"1"}, "commit"=>"Create Post", "model_name"=>"posts"}
|
136241
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136242
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136243
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136244
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long text', '2013-03-29 15:16:45', 1, 2, 'Good title', '2013-03-29 15:16:45')
|
136245
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:45', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Post', '2013-03-29 15:16:45')[0m
|
136246
|
+
[1m[35m (21.2ms)[0m COMMIT
|
136247
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
136248
|
+
Completed 302 Found in 42ms (ActiveRecord: 0.0ms)
|
136249
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136250
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136251
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
136252
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136253
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136254
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
136255
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136256
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
136257
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (13.2ms)
|
136258
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
136259
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.1ms)
|
136260
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136261
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136262
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.9ms)
|
136263
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.2ms)
|
136264
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
136265
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
136266
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
136267
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.3ms)
|
136268
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.4ms)
|
136269
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (17.3ms)
|
136270
|
+
Completed 200 OK in 56ms (Views: 46.6ms | ActiveRecord: 1.6ms)
|
136271
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1[0m
|
136272
|
+
Started GET "/manage/posts/new" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136273
|
+
Processing by Sunrise::ManagerController#new as HTML
|
136274
|
+
Parameters: {"model_name"=>"posts"}
|
136275
|
+
Completed 401 Unauthorized in 1ms
|
136276
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:16:45 +0200
|
136277
|
+
Processing by Devise::SessionsController#new as HTML
|
136278
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.1ms)
|
136279
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
136280
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136281
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136282
|
+
[1m[35m (166.7ms)[0m TRUNCATE TABLE `activities`;
|
136283
|
+
[1m[36m (285.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136284
|
+
[1m[35m (318.7ms)[0m TRUNCATE TABLE `audits`;
|
136285
|
+
[1m[36m (236.8ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136286
|
+
[1m[35m (154.3ms)[0m TRUNCATE TABLE `page_parts`;
|
136287
|
+
[1m[36m (260.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136288
|
+
[1m[35m (139.0ms)[0m TRUNCATE TABLE `settings`;
|
136289
|
+
[1m[36m (286.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136290
|
+
[1m[35m (431.1ms)[0m TRUNCATE TABLE `users`;
|
136291
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136292
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136293
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136294
|
+
[1m[35m (316.2ms)[0m TRUNCATE TABLE `activities`;
|
136295
|
+
[1m[36m (196.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136296
|
+
[1m[35m (273.9ms)[0m TRUNCATE TABLE `audits`;
|
136297
|
+
[1m[36m (388.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136298
|
+
[1m[35m (525.1ms)[0m TRUNCATE TABLE `page_parts`;
|
136299
|
+
[1m[36m (117.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136300
|
+
[1m[35m (271.8ms)[0m TRUNCATE TABLE `settings`;
|
136301
|
+
[1m[36m (341.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136302
|
+
[1m[35m (276.3ms)[0m TRUNCATE TABLE `users`;
|
136303
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136305
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing45@example.com' LIMIT 1[0m
|
136306
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:50', '2013-03-29 15:16:50', NULL, NULL, 'testing45@example.com', '4bb939b0515250ebab09e339a847b6dd4683bfb694ef0952af40f3fd6f6e34900e6952687cb9762790c869cc6fd85405cdb4a11b08b515e8c50291342a150f1a', 0, NULL, NULL, NULL, 'Admin', 'G8ge5621wzVytUpQs8xx', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:50')
|
136307
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:50', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:50')[0m
|
136308
|
+
[1m[35m (38.9ms)[0m COMMIT
|
136309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136310
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
136311
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:50', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:50')[0m
|
136312
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:50', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:50')
|
136313
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
136314
|
+
[1m[35mSQL (37.9ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
136315
|
+
[1m[36m (59.0ms)[0m [1mCOMMIT[0m
|
136316
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136317
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
136318
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:51', 0, 1, 3, 1, 2, NULL, 4, 'slug18', 1, 'Structure', '2013-03-29 15:16:51')
|
136319
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:51', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:51')[0m
|
136320
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
136321
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
136322
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
136323
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
136324
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136325
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136326
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
136327
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136328
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
136329
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
136330
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136331
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136332
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
136333
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136334
|
+
[1m[35m (62.3ms)[0m COMMIT
|
136335
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136336
|
+
[1m[35mSQL (39.1ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:16:51', 1, 2, 'Default title', '2013-03-29 15:16:51')
|
136337
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:51', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:16:51')[0m
|
136338
|
+
[1m[35m (54.9ms)[0m COMMIT
|
136339
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:51 +0200
|
136340
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
136341
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:51')
|
136342
|
+
[1m[36m (33.6ms)[0m [1mCOMMIT[0m
|
136343
|
+
[1m[35m (0.5ms)[0m BEGIN
|
136344
|
+
[1m[36m (0.6ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:51', `current_sign_in_at` = '2013-03-29 15:16:51', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:51' WHERE `users`.`id` = 1[0m
|
136345
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:51')
|
136346
|
+
[1m[36m (35.1ms)[0m [1mCOMMIT[0m
|
136347
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
136348
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
136349
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
136350
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
136351
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.4ms)
|
136352
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.8ms)
|
136353
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.6ms)
|
136354
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
136355
|
+
Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.5ms)
|
136356
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:51 +0200
|
136357
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136358
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:51')
|
136359
|
+
[1m[36m (53.0ms)[0m [1mCOMMIT[0m
|
136360
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136361
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-03-29 15:16:51' WHERE `users`.`id` = 1[0m
|
136362
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:51')
|
136363
|
+
[1m[36m (35.7ms)[0m [1mCOMMIT[0m
|
136364
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
136365
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
136366
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
136367
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
136368
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.4ms)
|
136369
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (12.6ms)
|
136370
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.9ms)
|
136371
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.6ms)
|
136372
|
+
Completed 200 OK in 27ms (Views: 22.8ms | ActiveRecord: 0.2ms)
|
136373
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-03-29 17:16:51 +0200
|
136374
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
136375
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
136376
|
+
Completed 401 Unauthorized in 1ms
|
136377
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-03-29 17:16:51 +0200
|
136378
|
+
Processing by Devise::SessionsController#new as HTML
|
136379
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.1ms)
|
136380
|
+
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
|
136381
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136382
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136383
|
+
[1m[36m (266.7ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136384
|
+
[1m[35m (192.9ms)[0m TRUNCATE TABLE `assets`;
|
136385
|
+
[1m[36m (299.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136386
|
+
[1m[35m (286.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
136387
|
+
[1m[36m (383.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136388
|
+
[1m[35m (139.1ms)[0m TRUNCATE TABLE `posts`;
|
136389
|
+
[1m[36m (262.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136390
|
+
[1m[35m (363.5ms)[0m TRUNCATE TABLE `structures`;
|
136391
|
+
[1m[36m (387.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136392
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136393
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136394
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136395
|
+
[1m[36m (363.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136396
|
+
[1m[35m (375.6ms)[0m TRUNCATE TABLE `assets`;
|
136397
|
+
[1m[36m (1029.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136398
|
+
[1m[35m (887.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
136399
|
+
[1m[36m (555.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136400
|
+
[1m[35m (223.3ms)[0m TRUNCATE TABLE `posts`;
|
136401
|
+
[1m[36m (608.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136402
|
+
[1m[35m (435.7ms)[0m TRUNCATE TABLE `structures`;
|
136403
|
+
[1m[36m (378.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136404
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136405
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136406
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing46@example.com' LIMIT 1
|
136407
|
+
[1m[36mSQL (20.0ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:16:58', '2013-03-29 15:16:58', NULL, NULL, 'testing46@example.com', '5c211aeae4ecaa73f8b5448d6db77428f9ba257422065fbcfa06f2e4b7c2fe901e07d08c68319b539b614d5b4e9db5ca971aaf54fdb562a6c3ae83903f387fa4', 0, NULL, NULL, NULL, 'Admin', '8gzxDhRr2Ljhpzhpf6p6', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:16:58')[0m
|
136408
|
+
[1m[35mSQL (51.0ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:58', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:58')
|
136409
|
+
[1m[36m (144.5ms)[0m [1mCOMMIT[0m
|
136410
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136411
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
136412
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:59', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:16:59')
|
136413
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:59', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:16:59')[0m
|
136414
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
136415
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
136416
|
+
[1m[35m (39.6ms)[0m COMMIT
|
136417
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
136418
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
136419
|
+
[1m[36mSQL (6.6ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:16:59', 0, 1, 3, 1, 2, NULL, 4, 'slug19', 1, 'Structure', '2013-03-29 15:16:59')[0m
|
136420
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:59', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:16:59')
|
136421
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
136422
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
136423
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
136424
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
136425
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136426
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136427
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
136428
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136429
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
136430
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
136431
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136432
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136433
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
136434
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136435
|
+
[1m[36m (39.3ms)[0m [1mCOMMIT[0m
|
136436
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2013-03-29 17:16:59 +0200
|
136437
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136438
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:59', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:59')[0m
|
136439
|
+
[1m[35m (57.0ms)[0m COMMIT
|
136440
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136441
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-03-29 15:16:59', `current_sign_in_at` = '2013-03-29 15:16:59', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-03-29 15:16:59' WHERE `users`.`id` = 1
|
136442
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:16:59', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:16:59')[0m
|
136443
|
+
[1m[35m (46.4ms)[0m COMMIT
|
136444
|
+
Processing by Sunrise::SharedController#services as JSON
|
136445
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft` LIMIT 1[0m
|
136446
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
136447
|
+
Completed 200 OK in 105ms (Views: 92.2ms | ActiveRecord: 1.2ms)
|
136448
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2013-03-29 17:16:59 +0200
|
136449
|
+
Processing by Sunrise::SharedController#services as JSON
|
136450
|
+
Completed 401 Unauthorized in 1ms
|
136451
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136452
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136453
|
+
[1m[36m (346.4ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136454
|
+
[1m[35m (218.0ms)[0m TRUNCATE TABLE `assets`;
|
136455
|
+
[1m[36m (296.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136456
|
+
[1m[35m (273.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
136457
|
+
[1m[36m (257.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136458
|
+
[1m[35m (154.5ms)[0m TRUNCATE TABLE `posts`;
|
136459
|
+
[1m[36m (249.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136460
|
+
[1m[35m (331.5ms)[0m TRUNCATE TABLE `structures`;
|
136461
|
+
[1m[36m (871.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136462
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136463
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136464
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136465
|
+
[1m[36m (841.1ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136466
|
+
[1m[35m (351.3ms)[0m TRUNCATE TABLE `assets`;
|
136467
|
+
[1m[36m (330.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136468
|
+
[1m[35m (151.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
136469
|
+
[1m[36m (273.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136470
|
+
[1m[35m (1179.2ms)[0m TRUNCATE TABLE `posts`;
|
136471
|
+
[1m[36m (372.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136472
|
+
[1m[35m (331.3ms)[0m TRUNCATE TABLE `structures`;
|
136473
|
+
[1m[36m (531.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136474
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136475
|
+
[1m[36m (2.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136476
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136477
|
+
[1m[36m (919.1ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136478
|
+
[1m[35m (321.7ms)[0m TRUNCATE TABLE `assets`;
|
136479
|
+
[1m[36m (1985.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136480
|
+
[1m[35m (9321.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
136481
|
+
[1m[36m (1119.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136482
|
+
[1m[35m (422.4ms)[0m TRUNCATE TABLE `posts`;
|
136483
|
+
[1m[36m (926.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136484
|
+
[1m[35m (353.1ms)[0m TRUNCATE TABLE `structures`;
|
136485
|
+
[1m[36m (364.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136486
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136487
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136488
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136489
|
+
[1m[36m (217.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136490
|
+
[1m[35m (421.0ms)[0m TRUNCATE TABLE `assets`;
|
136491
|
+
[1m[36m (394.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136492
|
+
[1m[35m (295.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
136493
|
+
[1m[36m (174.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136494
|
+
[1m[35m (272.5ms)[0m TRUNCATE TABLE `posts`;
|
136495
|
+
[1m[36m (464.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136496
|
+
[1m[35m (271.1ms)[0m TRUNCATE TABLE `structures`;
|
136497
|
+
[1m[36m (340.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136498
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136499
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136500
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
136501
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:17:26', 0, 1, 1, NULL, 2, NULL, 2, 'slug20', 1, 'Structure', '2013-03-29 15:17:26')[0m
|
136502
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:26', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:17:26')
|
136503
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
136504
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
136505
|
+
[1m[36m (29.5ms)[0m [1mCOMMIT[0m
|
136506
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136507
|
+
[1m[36mSQL (41.5ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:17:26', 1, 1, 'Default title', '2013-03-29 15:17:26')[0m
|
136508
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:26', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:17:26')
|
136509
|
+
[1m[36m (52.7ms)[0m [1mCOMMIT[0m
|
136510
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136511
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing47@example.com' LIMIT 1[0m
|
136512
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:17:26', '2013-03-29 15:17:26', NULL, NULL, 'testing47@example.com', 'b01cb00e511ca0cf2e2fa0c1387543964f4899ed5c1ea3979fb4ec6d6b5b8532a7ad48ecca74823a44beb61293b3932c0149df143c892b0a9282e7a295583480', 0, NULL, NULL, NULL, 'Redactor', 'jGYZgGCzmSDgvJeYcuu2', NULL, NULL, NULL, 2, 0, NULL, '2013-03-29 15:17:26')
|
136513
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:26', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:17:26')[0m
|
136514
|
+
[1m[35m (66.7ms)[0m COMMIT
|
136515
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136516
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:26', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:17:26')
|
136517
|
+
[1m[36m (152.0ms)[0m [1mCOMMIT[0m
|
136518
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136519
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing48@example.com' LIMIT 1[0m
|
136520
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:17:26', '2013-03-29 15:17:26', NULL, NULL, 'testing48@example.com', '89fcffabc4d7d0269654ba8997ec0264decf326551c0d2f6a6b586c6f3351b2def7ad0349e282b58face80dd7e35c92385f2b215299d6534bc3babc6f9b238ba', 0, NULL, NULL, NULL, 'Admin', 'ue3VWmcHisiy2EqH7yRC', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:17:26')
|
136521
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:26', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'User', '2013-03-29 15:17:26')[0m
|
136522
|
+
[1m[35m (33.8ms)[0m COMMIT
|
136523
|
+
Processing by Sunrise::DashboardController#index as HTML
|
136524
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
|
136525
|
+
[1m[35mPublicActivity::ORM::ActiveRecord::Activity Load (0.6ms)[0m SELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0
|
136526
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136527
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
136528
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136529
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
136530
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136531
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
136532
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136533
|
+
[1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
136534
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136535
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
136536
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (29.0ms)
|
136537
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
136538
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
136539
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.4ms)
|
136540
|
+
Completed 200 OK in 57ms (Views: 41.0ms | ActiveRecord: 4.1ms)
|
136541
|
+
Processing by Sunrise::DashboardController#index as HTML
|
136542
|
+
Completed 401 Unauthorized in 1ms
|
136543
|
+
Processing by Sunrise::DashboardController#index as HTML
|
136544
|
+
Completed 401 Unauthorized in 1ms
|
136545
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136546
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136547
|
+
[1m[35m (173.3ms)[0m TRUNCATE TABLE `activities`;
|
136548
|
+
[1m[36m (262.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136549
|
+
[1m[35m (319.2ms)[0m TRUNCATE TABLE `audits`;
|
136550
|
+
[1m[36m (284.7ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136551
|
+
[1m[35m (140.1ms)[0m TRUNCATE TABLE `page_parts`;
|
136552
|
+
[1m[36m (239.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136553
|
+
[1m[35m (150.4ms)[0m TRUNCATE TABLE `settings`;
|
136554
|
+
[1m[36m (306.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136555
|
+
[1m[35m (397.6ms)[0m TRUNCATE TABLE `users`;
|
136556
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136557
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136558
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136559
|
+
[1m[35m (328.4ms)[0m TRUNCATE TABLE `activities`;
|
136560
|
+
[1m[36m (299.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136561
|
+
[1m[35m (330.9ms)[0m TRUNCATE TABLE `audits`;
|
136562
|
+
[1m[36m (140.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136563
|
+
[1m[35m (250.4ms)[0m TRUNCATE TABLE `page_parts`;
|
136564
|
+
[1m[36m (238.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136565
|
+
[1m[35m (128.9ms)[0m TRUNCATE TABLE `settings`;
|
136566
|
+
[1m[36m (341.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136567
|
+
[1m[35m (353.7ms)[0m TRUNCATE TABLE `users`;
|
136568
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136569
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136570
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
136571
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:17:31', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:17:31')
|
136572
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:31', 'structure.create', 2, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:17:31')[0m
|
136573
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
136574
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
136575
|
+
[1m[35m (30.5ms)[0m COMMIT
|
136576
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136577
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
136578
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:17:31', 0, 1, 3, 1, 2, NULL, 4, 'slug21', 1, 'Structure', '2013-03-29 15:17:31')[0m
|
136579
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:31', 'structure.create', 2, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:17:31')
|
136580
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
136581
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
136582
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`[0m
|
136583
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
136584
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136585
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136586
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
136587
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136588
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
136589
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
136590
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
136591
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136592
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
136593
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
136594
|
+
[1m[36m (36.5ms)[0m [1mCOMMIT[0m
|
136595
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136596
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing49@example.com' LIMIT 1[0m
|
136597
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:17:31', '2013-03-29 15:17:31', NULL, NULL, 'testing49@example.com', '0f085435679037708e0e5a04073790cd910794a0b3ce4eed66b6c6342a3a44c7abfd25f42f9239d9c32cde81f5f4b927bc14e4b56f6d78c5a701d73e459bdf33', 0, NULL, NULL, NULL, 'Admin', 'QNoKJDRKSw2ybzfytazv', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:17:31')
|
136598
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:31', 'user.create', 2, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:17:31')[0m
|
136599
|
+
[1m[35m (33.2ms)[0m COMMIT
|
136600
|
+
Processing by Sunrise::SharedController#services as JSON
|
136601
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136602
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft` LIMIT 1
|
136603
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
136604
|
+
Completed 200 OK in 19ms (Views: 3.9ms | ActiveRecord: 1.8ms)
|
136605
|
+
Processing by Sunrise::SharedController#services as JSON
|
136606
|
+
Completed 401 Unauthorized in 1ms
|
136607
|
+
Processing by Sunrise::SharedController#services as HTML
|
136608
|
+
Completed 401 Unauthorized in 1ms
|
136609
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136610
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136611
|
+
[1m[35m (197.8ms)[0m TRUNCATE TABLE `activities`;
|
136612
|
+
[1m[36m (296.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136613
|
+
[1m[35m (264.6ms)[0m TRUNCATE TABLE `audits`;
|
136614
|
+
[1m[36m (283.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136615
|
+
[1m[35m (140.3ms)[0m TRUNCATE TABLE `page_parts`;
|
136616
|
+
[1m[36m (206.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136617
|
+
[1m[35m (150.2ms)[0m TRUNCATE TABLE `settings`;
|
136618
|
+
[1m[36m (317.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136619
|
+
[1m[35m (387.2ms)[0m TRUNCATE TABLE `users`;
|
136620
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136621
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136622
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136623
|
+
[1m[35m (283.4ms)[0m TRUNCATE TABLE `activities`;
|
136624
|
+
[1m[36m (296.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136625
|
+
[1m[35m (209.1ms)[0m TRUNCATE TABLE `audits`;
|
136626
|
+
[1m[36m (239.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136627
|
+
[1m[35m (272.6ms)[0m TRUNCATE TABLE `page_parts`;
|
136628
|
+
[1m[36m (139.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136629
|
+
[1m[35m (249.5ms)[0m TRUNCATE TABLE `settings`;
|
136630
|
+
[1m[36m (876.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136631
|
+
[1m[35m (2096.0ms)[0m TRUNCATE TABLE `users`;
|
136632
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136633
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136634
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing50@example.com' LIMIT 1[0m
|
136635
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:17:38', '2013-03-29 15:17:38', NULL, NULL, 'testing50@example.com', '20741bf6e6a8a58a2223e00bdfb6c911c30b18070817ca67bcdd2675ee08ee662e001e9b823ec09c725d7c732bd25b9185c94eb792d694da82466eaa792b5c89', 0, NULL, NULL, NULL, 'Admin', 'msZAKds39YKi9bbjW2Ks', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:17:38')
|
136636
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:38', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:17:38')[0m
|
136637
|
+
[1m[35m (358.1ms)[0m COMMIT
|
136638
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
136639
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136640
|
+
[1m[35mSettings Load (0.3ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL
|
136641
|
+
[1m[36mSettings Load (0.5ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting' LIMIT 1[0m
|
136642
|
+
[1m[35mSettings Load (0.4ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting2' LIMIT 1
|
136643
|
+
[1m[36mSettings Load (0.4ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'persisted?' LIMIT 1[0m
|
136644
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_form.html.erb (14.2ms)
|
136645
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
136646
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_header_edit.html.erb (1.4ms)
|
136647
|
+
Completed 200 OK in 134ms (Views: 115.1ms | ActiveRecord: 3.9ms)
|
136648
|
+
Processing by Sunrise::SettingsController#update as HTML
|
136649
|
+
Parameters: {"settings"=>{"some_setting"=>"blablabla"}}
|
136650
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
136651
|
+
[1m[36mSettings Load (0.2ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting' LIMIT 1[0m
|
136652
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136653
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `settings` (`created_at`, `target_id`, `target_type`, `updated_at`, `value`, `var`) VALUES ('2013-03-29 15:17:38', NULL, NULL, '2013-03-29 15:17:38', '--- blablabla\n...\n', 'some_setting')[0m
|
136654
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:38', 'settings.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Settings', '2013-03-29 15:17:38')
|
136655
|
+
[1m[36m (54.5ms)[0m [1mCOMMIT[0m
|
136656
|
+
Redirected to http://test.host/manage/
|
136657
|
+
Completed 302 Found in 162ms (ActiveRecord: 55.8ms)
|
136658
|
+
Processing by Sunrise::SettingsController#update as HTML
|
136659
|
+
Completed 401 Unauthorized in 1ms
|
136660
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
136661
|
+
Completed 401 Unauthorized in 1ms
|
136662
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
136663
|
+
Completed 401 Unauthorized in 1ms
|
136664
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136665
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136666
|
+
[1m[35m (987.5ms)[0m TRUNCATE TABLE `activities`;
|
136667
|
+
[1m[36m (351.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136668
|
+
[1m[35m (497.1ms)[0m TRUNCATE TABLE `audits`;
|
136669
|
+
[1m[36m (318.7ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136670
|
+
[1m[35m (140.0ms)[0m TRUNCATE TABLE `page_parts`;
|
136671
|
+
[1m[36m (227.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136672
|
+
[1m[35m (138.9ms)[0m TRUNCATE TABLE `settings`;
|
136673
|
+
[1m[36m (398.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136674
|
+
[1m[35m (1208.7ms)[0m TRUNCATE TABLE `users`;
|
136675
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136676
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136677
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136678
|
+
[1m[35m (595.4ms)[0m TRUNCATE TABLE `activities`;
|
136679
|
+
[1m[36m (308.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136680
|
+
[1m[35m (330.2ms)[0m TRUNCATE TABLE `audits`;
|
136681
|
+
[1m[36m (263.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136682
|
+
[1m[35m (219.3ms)[0m TRUNCATE TABLE `page_parts`;
|
136683
|
+
[1m[36m (237.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136684
|
+
[1m[35m (138.9ms)[0m TRUNCATE TABLE `settings`;
|
136685
|
+
[1m[36m (329.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136686
|
+
[1m[35m (433.1ms)[0m TRUNCATE TABLE `users`;
|
136687
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136688
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136689
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing51@example.com' LIMIT 1[0m
|
136690
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-03-29 15:17:46', '2013-03-29 15:17:46', NULL, NULL, 'testing51@example.com', '5cdfd085ebf653016ab6650c84b98580e6b90eaa92d3cc061ffd36d77812cda2514936840c739e4fef5544c335ec3710393cf0bffbd2a2f0dfc9c2d52a21a5c0', 0, NULL, NULL, NULL, 'Admin', 'ZeRnQrLBnpLn3obpFsDn', NULL, NULL, NULL, 4, 0, NULL, '2013-03-29 15:17:46')
|
136691
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:46', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-03-29 15:17:46')[0m
|
136692
|
+
[1m[35m (56.6ms)[0m COMMIT
|
136693
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136694
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
136695
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:17:46', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-03-29 15:17:46')[0m
|
136696
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:46', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-03-29 15:17:46')
|
136697
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
136698
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
136699
|
+
[1m[36m (40.8ms)[0m [1mCOMMIT[0m
|
136700
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136701
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
136702
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:17:46', 0, 1, 3, 1, 2, NULL, 4, 'slug22', 1, 'Structure', '2013-03-29 15:17:46')
|
136703
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:46', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-03-29 15:17:46')[0m
|
136704
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
136705
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
136706
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
136707
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
136708
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136709
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136710
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
136711
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136712
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
136713
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
136714
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
136715
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136716
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
136717
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
136718
|
+
[1m[35m (54.0ms)[0m COMMIT
|
136719
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136720
|
+
Parameters: {"model_name"=>"structures"}
|
136721
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136722
|
+
Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.5ms)
|
136723
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
136724
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136725
|
+
Parameters: {"model_name"=>"wrong"}
|
136726
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136727
|
+
Error while loading 'SunriseWrong': uninitialized constant SunriseWrong
|
136728
|
+
Completed 404 Not Found in 8ms
|
136729
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
136730
|
+
Parameters: {"model_name"=>"structures", "id"=>"1"}
|
136731
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
136732
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
136733
|
+
Access denied on destroy #<Structure id: 1, title: "Main page", slug: "main-page", structure_type_id: 3, position_type_id: 1, is_visible: true, redirect_url: nil, parent_id: nil, lft: 1, rgt: 4, depth: 0, created_at: "2013-03-29 15:17:46", updated_at: "2013-03-29 15:17:46">, context: sunrise, user: 1
|
136734
|
+
Redirected to http://test.host/
|
136735
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
136736
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136737
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
136738
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `lft`, `parent_id`, `position_type_id`, `redirect_url`, `rgt`, `slug`, `structure_type_id`, `title`, `updated_at`) VALUES ('2013-03-29 15:17:46', 0, 1, 5, NULL, 2, NULL, 6, 'slug23', 1, 'Structure', '2013-03-29 15:17:46')
|
136739
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:46', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 3, 'Structure', '2013-03-29 15:17:46')[0m
|
136740
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
136741
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`[0m
|
136742
|
+
[1m[35m (19.1ms)[0m COMMIT
|
136743
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136744
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-03-29 15:17:46', 1, 3, 'Default title', '2013-03-29 15:17:46')
|
136745
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-03-29 15:17:46', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-03-29 15:17:46')[0m
|
136746
|
+
[1m[35m (38.1ms)[0m COMMIT
|
136747
|
+
Processing by Sunrise::ManagerController#index as HTML
|
136748
|
+
Parameters: {"model_name"=>"posts"}
|
136749
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
136750
|
+
Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
136751
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` LIMIT 50 OFFSET 0
|
136752
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136753
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136754
|
+
[1m[36m (197.0ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136755
|
+
[1m[35m (332.1ms)[0m TRUNCATE TABLE `assets`;
|
136756
|
+
[1m[36m (330.7ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136757
|
+
[1m[35m (294.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
136758
|
+
[1m[36m (245.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136759
|
+
[1m[35m (147.0ms)[0m TRUNCATE TABLE `posts`;
|
136760
|
+
[1m[36m (272.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136761
|
+
[1m[35m (319.1ms)[0m TRUNCATE TABLE `structures`;
|
136762
|
+
[1m[36m (333.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136763
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|