sunrise-cms 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/app/assets/javascripts/sunrise/jquery.ddmenu.js.coffee +0 -2
- data/app/assets/stylesheets/sunrise/customize.css +6 -1
- data/app/assets/stylesheets/sunrise/main.css +1 -0
- data/app/views/sunrise/manager/table/_record.html.erb +3 -2
- data/lib/sunrise/carrierwave/base_uploader.rb +2 -2
- 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/20130412-1107-5493-2458/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-2458/small_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-2458/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-3725/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-3725/small_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-3725/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5457/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5457/small_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5457/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5876/silicon_valley.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5876/small_silicon_valley.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5876/thumb_silicon_valley.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-8101/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1107-5493-9135/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1108-5493-1347/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1108-5493-3971/rails.png +0 -0
- data/spec/dummy/public/uploads/tmp/20130412-1108-5493-6916/rails.png +0 -0
- metadata +36 -2
data/CHANGELOG.rdoc
CHANGED
@@ -3,8 +3,6 @@ $ = jQuery
|
|
3
3
|
|
4
4
|
$.fn.extend({
|
5
5
|
ddmenu: (options) ->
|
6
|
-
# Do no harm and return as soon as possible for unsupported browsers, namely IE6 and IE7
|
7
|
-
return this if $.browser.msie and $.browser.version is "6.0"
|
8
6
|
$(this).each((input_field) ->
|
9
7
|
new DropdownMenu(this, options) unless ($ this).hasClass "ddm-done"
|
10
8
|
)
|
@@ -17,9 +17,10 @@
|
|
17
17
|
:id => dom_id(record, :delete) if can?(:delete, record, :context => :sunrise)%>
|
18
18
|
</div>
|
19
19
|
<div class="act-but">
|
20
|
-
<%= link_to image_tag('sunrise/empty.gif'),
|
20
|
+
<%= link_to image_tag('sunrise/empty.gif'),
|
21
|
+
edit_path(abstract_model.parent_hash.merge(:id => record.id)),
|
21
22
|
:class=>"but-container edit",
|
22
|
-
:id => dom_id(record, :edit) if can?(:edit, record,
|
23
|
+
:id => dom_id(record, :edit) if can?(:edit, record, :context => :sunrise) %>
|
23
24
|
</div>
|
24
25
|
</div>
|
25
26
|
</div>
|
@@ -1,4 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
1
|
require 'mime/types'
|
3
2
|
require 'mini_magick'
|
4
3
|
require 'carrierwave/processing/mini_magick'
|
@@ -92,7 +91,8 @@ module Sunrise
|
|
92
91
|
end
|
93
92
|
|
94
93
|
def image?(new_file = nil)
|
95
|
-
(file || new_file).content_type
|
94
|
+
ctype = (file || new_file).content_type
|
95
|
+
ctype.include?('image') && !['photoshop', 'psd'].any? {|t| ctype.include?(t) }
|
96
96
|
end
|
97
97
|
|
98
98
|
def dimensions
|
data/lib/sunrise/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -136761,3 +136761,3030 @@ Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
|
136761
136761
|
[1m[35m (319.1ms)[0m TRUNCATE TABLE `structures`;
|
136762
136762
|
[1m[36m (333.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136763
136763
|
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136764
|
+
Connecting to database specified by database.yml
|
136765
|
+
[1m[36m (99.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
136766
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
136767
|
+
Migrating to CreatePageParts (20111227143901)
|
136768
|
+
Migrating to CreatePosts (20111228152051)
|
136769
|
+
Migrating to CreateMetaTags (20120105114018)
|
136770
|
+
Migrating to CreateActivities (20130214090723)
|
136771
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
136772
|
+
Migrating to CreateAssets (20111216144515)
|
136773
|
+
Migrating to CreateStructures (20111216144915)
|
136774
|
+
Migrating to CreateUsers (20111216145015)
|
136775
|
+
Migrating to CreateSettings (20120611095315)
|
136776
|
+
Connecting to database specified by database.yml
|
136777
|
+
[1m[36m (5.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
136778
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
136779
|
+
Migrating to CreatePageParts (20111227143901)
|
136780
|
+
Migrating to CreatePosts (20111228152051)
|
136781
|
+
Migrating to CreateMetaTags (20120105114018)
|
136782
|
+
Migrating to CreateActivities (20130214090723)
|
136783
|
+
[1m[35m (0.1ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
136784
|
+
Migrating to CreateAssets (20111216144515)
|
136785
|
+
Migrating to CreateStructures (20111216144915)
|
136786
|
+
Migrating to CreateUsers (20111216145015)
|
136787
|
+
Migrating to CreateSettings (20120611095315)
|
136788
|
+
[1m[36m (60.9ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136789
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136790
|
+
[1m[36m (86.7ms)[0m [1mSELECT DATABASE() as db[0m
|
136791
|
+
[1m[35m (25.1ms)[0m select table_name from information_schema.views where table_schema = 'sunrise_dummy_test'
|
136792
|
+
[1m[36m (2683.4ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136793
|
+
[1m[35m (562.7ms)[0m TRUNCATE TABLE `assets`;
|
136794
|
+
[1m[36m (470.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136795
|
+
[1m[35m (366.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
136796
|
+
[1m[36m (427.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136797
|
+
[1m[35m (369.8ms)[0m TRUNCATE TABLE `posts`;
|
136798
|
+
[1m[36m (318.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136799
|
+
[1m[35m (516.1ms)[0m TRUNCATE TABLE `structures`;
|
136800
|
+
[1m[36m (500.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136801
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136802
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136803
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136804
|
+
[1m[36m (406.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136805
|
+
[1m[35m (263.2ms)[0m TRUNCATE TABLE `assets`;
|
136806
|
+
[1m[36m (351.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136807
|
+
[1m[35m (350.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
136808
|
+
[1m[36m (240.5ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136809
|
+
[1m[35m (307.8ms)[0m TRUNCATE TABLE `posts`;
|
136810
|
+
[1m[36m (316.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136811
|
+
[1m[35m (390.9ms)[0m TRUNCATE TABLE `structures`;
|
136812
|
+
[1m[36m (394.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136813
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136814
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136815
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136816
|
+
[1m[36m (393.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136817
|
+
[1m[35m (341.3ms)[0m TRUNCATE TABLE `assets`;
|
136818
|
+
[1m[36m (364.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136819
|
+
[1m[35m (206.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
136820
|
+
[1m[36m (284.7ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136821
|
+
[1m[35m (297.2ms)[0m TRUNCATE TABLE `posts`;
|
136822
|
+
[1m[36m (191.7ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136823
|
+
[1m[35m (363.8ms)[0m TRUNCATE TABLE `structures`;
|
136824
|
+
[1m[36m (476.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136825
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136826
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
136827
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
136828
|
+
[1m[36m (339.2ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
136829
|
+
[1m[35m (252.2ms)[0m TRUNCATE TABLE `assets`;
|
136830
|
+
[1m[36m (1615.5ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
136831
|
+
[1m[35m (596.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
136832
|
+
[1m[36m (384.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
136833
|
+
[1m[35m (205.7ms)[0m TRUNCATE TABLE `posts`;
|
136834
|
+
[1m[36m (261.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
136835
|
+
[1m[35m (374.9ms)[0m TRUNCATE TABLE `structures`;
|
136836
|
+
[1m[36m (386.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
136837
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
136838
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136839
|
+
[1m[35mUser Exists (84.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing1@example.com' LIMIT 1
|
136840
|
+
[1m[36mSQL (23.8ms)[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-04-12 08:07:26', '2013-04-12 08:07:26', NULL, NULL, 'testing1@example.com', 'dbcddadb06876fad535872b0440144ae52c2f562009f9d102acba768862475a41f53acdf4426375a5d861aa8b8cfeb8fb5d1f376391208789f9d897d6b92c2ee', 0, NULL, NULL, NULL, 'Test', 'cBPefyd4vzznhUvATnGS', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:26')[0m
|
136841
|
+
[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-04-12 08:07:27', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:07:27')
|
136842
|
+
[1m[36m (46.3ms)[0m [1mCOMMIT[0m
|
136843
|
+
[1m[35mUser Exists (20.6ms)[0m SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1
|
136844
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1[0m
|
136845
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136846
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing2@example.com' LIMIT 1[0m
|
136847
|
+
[1m[35mSQL (14.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-04-12 08:07:27', '2013-04-12 08:07:27', NULL, NULL, 'testing2@example.com', '7d7648243608bd9499562d9336d218c600bc11c601f62800c3fbd33e9cdd4b212232820176fda84d5362b7cf016d8f3f03eb4fcdc27815107bad6140bd35a3e0', 0, NULL, NULL, NULL, 'Test', 'mvg5rfhpWtJQVyyfgBLA', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:27')
|
136848
|
+
[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-04-12 08:07:27', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-04-12 08:07:27')[0m
|
136849
|
+
[1m[35m (39.3ms)[0m COMMIT
|
136850
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'testing2@example.com' LIMIT 1[0m
|
136851
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136852
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing3@example.com' LIMIT 1[0m
|
136853
|
+
[1m[35mSQL (1.1ms)[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-04-12 08:07:27', '2013-04-12 08:07:27', NULL, NULL, 'testing3@example.com', 'bf26dd450a5ee99b637593ecec193d34f11600f37accd3a387df5ae68f2a2e5005876bda97ea53655f4136aed5a8ce4d6e3fcad2d0a40d8f5c54737544775370', 0, NULL, NULL, NULL, 'Test', '8eH2bdcudxjuqeMmzBAu', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:27')
|
136854
|
+
[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-04-12 08:07:27', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'User', '2013-04-12 08:07:27')[0m
|
136855
|
+
[1m[35m (23.5ms)[0m COMMIT
|
136856
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`role_type_id` = 1[0m
|
136857
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136858
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing4@example.com' LIMIT 1[0m
|
136859
|
+
[1m[35mSQL (27.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-04-12 08:07:27', '2013-04-12 08:07:27', NULL, NULL, 'testing4@example.com', '8ff5f82e4c8693cbc6057e1edbd020721885c29dac4930ce369ea402516972ccd20b8c9b6c235b831625e87e63a7516601caea406da9d5921f51742872f3377f', 0, NULL, NULL, NULL, 'Test', 'zPSs9xErNeCeTSjysejZ', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:27')
|
136860
|
+
[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-04-12 08:07:27', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'User', '2013-04-12 08:07:27')[0m
|
136861
|
+
[1m[35m (41.7ms)[0m COMMIT
|
136862
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
136863
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT id, email, name, current_sign_in_ip FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000[0m
|
136864
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136865
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing5@example.com' LIMIT 1[0m
|
136866
|
+
[1m[35mSQL (1.2ms)[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-04-12 08:07:27', '2013-04-12 08:07:27', NULL, NULL, 'testing5@example.com', '4564ef45c845a056f20d2e663cf94d70fccca02b8481501fd38aafc1b137e7730114dfd40ad614e379143db536925f5c53b76ab164ea20f8646d712c781ee394', 0, NULL, NULL, NULL, 'Test', 'eP7sUfsyjwoVDKkUbZRU', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:27')
|
136867
|
+
[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-04-12 08:07:27', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'User', '2013-04-12 08:07:27')[0m
|
136868
|
+
[1m[35m (38.1ms)[0m COMMIT
|
136869
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
136870
|
+
[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
|
136871
|
+
[1m[35m (0.2ms)[0m BEGIN
|
136872
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing6@example.com' LIMIT 1[0m
|
136873
|
+
[1m[35mSQL (38.1ms)[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-04-12 08:07:27', '2013-04-12 08:07:27', NULL, NULL, 'testing6@example.com', 'f01652c726e9a428099bcd4f033701e932f69645b0418d4b4eb2ce3ea3f9cfc2f13b0a83e761dd9df65960c81aac40b8fa5ee639e2fca0c1197b47d20f681cf6', 0, NULL, NULL, NULL, 'Test', 'Bw8XmgUzzMaS46kwd2mu', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:27')
|
136874
|
+
[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-04-12 08:07:27', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 6, 'User', '2013-04-12 08:07:27')[0m
|
136875
|
+
[1m[35m (44.7ms)[0m COMMIT
|
136876
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136877
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing7@example.com' LIMIT 1
|
136878
|
+
[1m[36mSQL (1.1ms)[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-04-12 08:07:28', '2013-04-12 08:07:28', NULL, NULL, 'testing7@example.com', '59366850777cea3585f12358ce4a1760b6e7fb31693adf94f73c65500e3ca38a0fca0537ba6b17bcd60be0043e77c0202df4797513a5e1cec88a154394611faa', 0, NULL, NULL, NULL, 'Test', '9RRyweXbzvAy2sp3X2sr', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:28')[0m
|
136879
|
+
[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-04-12 08:07:28', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 7, 'User', '2013-04-12 08:07:28')
|
136880
|
+
[1m[36m (30.7ms)[0m [1mCOMMIT[0m
|
136881
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136882
|
+
[1m[36m (0.9ms)[0m [1mUPDATE `users` SET `confirmed_at` = NULL, `locked_at` = '2013-04-12 08:07:28', `unlock_token` = 'yLyiGruRN7cHtVqpmYG4', `updated_at` = '2013-04-12 08:07:28' WHERE `users`.`id` = 7[0m
|
136883
|
+
[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-04-12 08:07:28', 'user.update', NULL, NULL, '--- {}\n', NULL, NULL, 7, 'User', '2013-04-12 08:07:28')
|
136884
|
+
[1m[36m (36.2ms)[0m [1mCOMMIT[0m
|
136885
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/mailer/unlock_instructions.html.erb (71.7ms)
|
136886
|
+
|
136887
|
+
Sent mail to testing7@example.com (181ms)
|
136888
|
+
Date: Fri, 12 Apr 2013 11:07:29 +0300
|
136889
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
136890
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
136891
|
+
To: testing7@example.com
|
136892
|
+
Message-ID: <5167c0c0f334d_157546870147894@mario.mail>
|
136893
|
+
Subject: Unlock Instructions
|
136894
|
+
Mime-Version: 1.0
|
136895
|
+
Content-Type: text/html;
|
136896
|
+
charset=UTF-8
|
136897
|
+
Content-Transfer-Encoding: 7bit
|
136898
|
+
|
136899
|
+
<p>Hello testing7@example.com!</p>
|
136900
|
+
|
136901
|
+
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
136902
|
+
|
136903
|
+
<p>Click the link below to unlock your account:</p>
|
136904
|
+
|
136905
|
+
<p><a href="http://test.com/users/unlock?unlock_token=yLyiGruRN7cHtVqpmYG4">Unlock my account</a></p>
|
136906
|
+
|
136907
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136908
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136909
|
+
[1m[35m (242.0ms)[0m TRUNCATE TABLE `activities`;
|
136910
|
+
[1m[36m (340.2ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136911
|
+
[1m[35m (353.2ms)[0m TRUNCATE TABLE `audits`;
|
136912
|
+
[1m[36m (294.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136913
|
+
[1m[35m (273.6ms)[0m TRUNCATE TABLE `page_parts`;
|
136914
|
+
[1m[36m (261.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136915
|
+
[1m[35m (183.5ms)[0m TRUNCATE TABLE `settings`;
|
136916
|
+
[1m[36m (362.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136917
|
+
[1m[35m (442.3ms)[0m TRUNCATE TABLE `users`;
|
136918
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136919
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
136920
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
136921
|
+
[1m[35m (365.3ms)[0m TRUNCATE TABLE `activities`;
|
136922
|
+
[1m[36m (385.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
136923
|
+
[1m[35m (375.3ms)[0m TRUNCATE TABLE `audits`;
|
136924
|
+
[1m[36m (349.6ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
136925
|
+
[1m[35m (276.3ms)[0m TRUNCATE TABLE `page_parts`;
|
136926
|
+
[1m[36m (272.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
136927
|
+
[1m[35m (195.0ms)[0m TRUNCATE TABLE `settings`;
|
136928
|
+
[1m[36m (551.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
136929
|
+
[1m[35m (399.3ms)[0m TRUNCATE TABLE `users`;
|
136930
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
136931
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136932
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing8@example.com' LIMIT 1[0m
|
136933
|
+
[1m[35mSQL (23.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-04-12 08:07:36', '2013-04-12 08:07:36', NULL, NULL, 'testing8@example.com', 'ccf250f3c7de2cde99eea12f464874514a56bcd1ea18119ad7c7ac7035fffd1b0b538a35e889940b70b82a838f29aa24b3d5bbf3b5afd6d45a42b01b9d4f2da4', 0, NULL, NULL, NULL, 'Test', 'NuAP5Cpsiqix2JfXuz7F', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:36')
|
136934
|
+
[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-04-12 08:07:36', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:07:36')[0m
|
136935
|
+
[1m[35m (41.1ms)[0m COMMIT
|
136936
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136937
|
+
[1m[35mSQL (1.0ms)[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-04-12 08:07:36', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:36', NULL, 50)
|
136938
|
+
[1m[36m (35.9ms)[0m [1mCOMMIT[0m
|
136939
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136940
|
+
[1m[36mSQL (48.5ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 1[0m
|
136941
|
+
[1m[35m (48.5ms)[0m COMMIT
|
136942
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136943
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing9@example.com' LIMIT 1
|
136944
|
+
[1m[36mSQL (4.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-04-12 08:07:36', '2013-04-12 08:07:36', NULL, NULL, 'testing9@example.com', 'cce490abd97fd995009057d12ca46979325ea998c9f256fcffe298a173a9c46fdb8744623a0ec5972604f8c6e6c5307198f4c7d628801366885421e37f38f1f8', 0, NULL, NULL, NULL, 'Test', 'kYNpSnnsP86rypptmK9W', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:36')[0m
|
136945
|
+
[1m[35mSQL (15.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-04-12 08:07:36', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-04-12 08:07:36')
|
136946
|
+
[1m[36m (36.2ms)[0m [1mCOMMIT[0m
|
136947
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136948
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing10@example.com' LIMIT 1[0m
|
136949
|
+
[1m[35mSQL (370.1ms)[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-04-12 08:07:37', '2013-04-12 08:07:37', NULL, NULL, 'testing10@example.com', 'a0e9e60e1d756b83bad9cdf5ff15f89ab402dad3c66c9c398840b7bc95e9e4f0028214f5eac1c35b87e87a7d69ee56cf52f3c1153ca38111c47ec5e4546fdab5', 0, NULL, NULL, NULL, 'Test', 'zBf1EMGZextLg8nGLbso', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:37')
|
136950
|
+
[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-04-12 08:07:37', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'User', '2013-04-12 08:07:37')[0m
|
136951
|
+
[1m[35m (81.2ms)[0m COMMIT
|
136952
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
136953
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing11@example.com' LIMIT 1
|
136954
|
+
[1m[36mSQL (122.9ms)[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-04-12 08:07:37', '2013-04-12 08:07:37', NULL, NULL, 'testing11@example.com', 'ebbd51df71e486afde3574cdcabd41398128154c56f9979bf03a58fcf45b10a9ed16d6e389c5a904bfc93bd397d4e7d8a195226465a2ea4d097d0cc870e386d7', 0, NULL, NULL, NULL, 'Test', '9xShhuJ4QihkFxa6ENq6', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:37')[0m
|
136955
|
+
[1m[35mSQL (170.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-04-12 08:07:38', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'User', '2013-04-12 08:07:38')
|
136956
|
+
[1m[36m (59.5ms)[0m [1mCOMMIT[0m
|
136957
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136958
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing12@example.com' LIMIT 1[0m
|
136959
|
+
[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-04-12 08:07:41', '2013-04-12 08:07:41', NULL, NULL, 'testing12@example.com', 'c76ebce056a3a5a97328faae93a86fcae18b73c91123983c02222dce1d22d5b279a67eafc252318a59d4fc109bb8c353a011fd0412468a644c2880f673a16ea8', 0, NULL, NULL, NULL, 'Test', 'KquysTgKPA7tnJAqy6LC', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:41')
|
136960
|
+
[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-04-12 08:07:41', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'User', '2013-04-12 08:07:41')[0m
|
136961
|
+
[1m[35m (23.8ms)[0m COMMIT
|
136962
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
136963
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing13@example.com' LIMIT 1
|
136964
|
+
[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-04-12 08:07:41', '2013-04-12 08:07:41', NULL, NULL, 'testing13@example.com', 'e5d96b172d04b1764f6e7da505a1c1fd45c05937344e013a4f64c32cb14995a0fcc00e0a61b1fea4b1cdd7bf628962257d8a7c982b7a61e82dfee7ae4b12470c', 0, NULL, NULL, NULL, 'Test', 'fqcex1BtFnx4zkfjYsx1', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:41')[0m
|
136965
|
+
[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-04-12 08:07:41', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 6, 'User', '2013-04-12 08:07:41')
|
136966
|
+
[1m[36m (42.2ms)[0m [1mCOMMIT[0m
|
136967
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136968
|
+
[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-04-12 08:07:41', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:41', NULL, 50)[0m
|
136969
|
+
[1m[35m (67.7ms)[0m COMMIT
|
136970
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136971
|
+
[1m[35mSQL (29.5ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 2
|
136972
|
+
[1m[36m (46.8ms)[0m [1mCOMMIT[0m
|
136973
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136974
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing14@example.com' LIMIT 1[0m
|
136975
|
+
[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-04-12 08:07:42', '2013-04-12 08:07:42', NULL, NULL, 'testing14@example.com', '8df4197c22d92ed9171643b87278d919f479520be03a511433e64c25c587cecf4fa354d3ac048799feb7c9e58b4a0bd9b3df36747d4f4211e71e18b3e13255fd', 0, NULL, NULL, NULL, 'Test', 'WZn9XzHqfRzgkWEyW9ps', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:42')
|
136976
|
+
[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-04-12 08:07:42', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 7, 'User', '2013-04-12 08:07:42')[0m
|
136977
|
+
[1m[35m (29.2ms)[0m COMMIT
|
136978
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136979
|
+
[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-04-12 08:07:42', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:42', NULL, 50)
|
136980
|
+
[1m[36m (37.0ms)[0m [1mCOMMIT[0m
|
136981
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136982
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 3[0m
|
136983
|
+
[1m[35m (20.6ms)[0m COMMIT
|
136984
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136985
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing15@example.com' LIMIT 1
|
136986
|
+
[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-04-12 08:07:42', '2013-04-12 08:07:42', NULL, NULL, 'testing15@example.com', 'edf334f8544aee189f32060a4d846b7100e2300831f850c310908f8423a04a64df5f99fcb3c4e72ae79cb2e1893e4f41781a10402ba5d93ebfd0de84c46fbd69', 0, NULL, NULL, NULL, 'Test', 'XCSw7JVx2rq5bqJS5qv3', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:42')[0m
|
136987
|
+
[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-04-12 08:07:42', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 8, 'User', '2013-04-12 08:07:42')
|
136988
|
+
[1m[36m (29.2ms)[0m [1mCOMMIT[0m
|
136989
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136990
|
+
[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-04-12 08:07:42', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:42', NULL, 50)[0m
|
136991
|
+
[1m[35m (43.9ms)[0m COMMIT
|
136992
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136993
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 4
|
136994
|
+
[1m[36m (20.6ms)[0m [1mCOMMIT[0m
|
136995
|
+
[1m[35m (0.2ms)[0m BEGIN
|
136996
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing16@example.com' LIMIT 1[0m
|
136997
|
+
[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-04-12 08:07:43', '2013-04-12 08:07:43', NULL, NULL, 'testing16@example.com', '4fa5e00f1a140beb8501048df6d31c74affb102a62ddf59e8700ea372ca35f3d64eae100f77226303a4d1dcbfcc0e26f32080e73cda7002330985f9b09aaa1ac', 0, NULL, NULL, NULL, 'Test', 'of8ySVz6ppK3jsxKrg9j', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:43')
|
136998
|
+
[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-04-12 08:07:43', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 9, 'User', '2013-04-12 08:07:43')[0m
|
136999
|
+
[1m[35m (29.3ms)[0m COMMIT
|
137000
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137001
|
+
[1m[35mSQL (35.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-04-12 08:07:43', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:43', NULL, 50)
|
137002
|
+
[1m[36m (220.4ms)[0m [1mCOMMIT[0m
|
137003
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137004
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 5[0m
|
137005
|
+
[1m[35m (31.5ms)[0m COMMIT
|
137006
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137007
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing17@example.com' LIMIT 1
|
137008
|
+
[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-04-12 08:07:44', '2013-04-12 08:07:44', NULL, NULL, 'testing17@example.com', '08f198c7e1eaa9870448f482d4ab44cf6236422ec8fbb47cf4419cb40c6594c042c744a13844dc428a931880e1f920199937706aebd5dbc0170bb116fd7d173d', 0, NULL, NULL, NULL, 'Test', 'cpxXkMvuygkRxYV2Qepz', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:44')[0m
|
137009
|
+
[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-04-12 08:07:44', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 10, 'User', '2013-04-12 08:07:44')
|
137010
|
+
[1m[36m (39.0ms)[0m [1mCOMMIT[0m
|
137011
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137012
|
+
[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-04-12 08:07:44', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:44', NULL, 50)[0m
|
137013
|
+
[1m[35m (35.7ms)[0m COMMIT
|
137014
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137015
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 6
|
137016
|
+
[1m[36m (19.9ms)[0m [1mCOMMIT[0m
|
137017
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137018
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing18@example.com' LIMIT 1[0m
|
137019
|
+
[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-04-12 08:07:44', '2013-04-12 08:07:44', NULL, NULL, 'testing18@example.com', '1f736b23e3971ba1ac78b1e41e4965d02f709ae23dc855f73aea93a77d84c2cd26e16f19c4ae435e80419d0f9487d078cff76b5dd8c5a95d765969d4add9896d', 0, NULL, NULL, NULL, 'Test', 'Gw8wqA346aZr8gwsorkK', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:44')
|
137020
|
+
[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-04-12 08:07:44', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 11, 'User', '2013-04-12 08:07:44')[0m
|
137021
|
+
[1m[35m (29.0ms)[0m COMMIT
|
137022
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137023
|
+
[1m[35mSQL (1.3ms)[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-04-12 08:07:44', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:44', NULL, 50)
|
137024
|
+
[1m[36m (43.8ms)[0m [1mCOMMIT[0m
|
137025
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137026
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 7[0m
|
137027
|
+
[1m[35m (20.4ms)[0m COMMIT
|
137028
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137029
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing19@example.com' LIMIT 1
|
137030
|
+
[1m[36mSQL (28.8ms)[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-04-12 08:07:44', '2013-04-12 08:07:44', NULL, NULL, 'testing19@example.com', '2a8e69fc997abfde4831c616a56d4893caf8b3f50e0b3e239beaf5b00937ef979e2ff77867a4f05b0d51eba0b5f0040c41f71e2ad8487c5da1cb4d6f8464ab03', 0, NULL, NULL, NULL, 'Test', 'znV3SdNeTJfx6RCxWu1u', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:44')[0m
|
137031
|
+
[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-04-12 08:07:44', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 12, 'User', '2013-04-12 08:07:44')
|
137032
|
+
[1m[36m (45.3ms)[0m [1mCOMMIT[0m
|
137033
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137034
|
+
[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-04-12 08:07:44', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:44', NULL, 50)[0m
|
137035
|
+
[1m[35m (19.3ms)[0m COMMIT
|
137036
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137037
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 8
|
137038
|
+
[1m[36m (41.3ms)[0m [1mCOMMIT[0m
|
137039
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137040
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing20@example.com' LIMIT 1[0m
|
137041
|
+
[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-04-12 08:07:45', '2013-04-12 08:07:45', NULL, NULL, 'testing20@example.com', 'b42442671acf0f208fd697aaf76469f1baa4476d695cef42c11eeabbfdbaf9a0552a8f6821dd75fac59c889228b8792e3c665a58594f219da86b2896c1685053', 0, NULL, NULL, NULL, 'Test', 'EhvhwkUpd1kmwYsdjwMs', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:45')
|
137042
|
+
[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-04-12 08:07:45', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 13, 'User', '2013-04-12 08:07:45')[0m
|
137043
|
+
[1m[35m (26.1ms)[0m COMMIT
|
137044
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137045
|
+
[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-04-12 08:07:45', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:45', NULL, 50)
|
137046
|
+
[1m[36m (36.9ms)[0m [1mCOMMIT[0m
|
137047
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137048
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 9[0m
|
137049
|
+
[1m[35m (20.4ms)[0m COMMIT
|
137050
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137051
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing21@example.com' LIMIT 1
|
137052
|
+
[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-04-12 08:07:45', '2013-04-12 08:07:45', NULL, NULL, 'testing21@example.com', 'fe470b79fec4b698ff50857b70d67bc3ea13d9a0b7381664661faf69c6b799b43b87a5fa4b5dca9adc26ca030265fb54526243c79afe6b789e57c13f21fed7f3', 0, NULL, NULL, NULL, 'Test', 'LMZpBAKZyQuEr8CJnEE9', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:45')[0m
|
137053
|
+
[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-04-12 08:07:45', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 14, 'User', '2013-04-12 08:07:45')
|
137054
|
+
[1m[36m (25.8ms)[0m [1mCOMMIT[0m
|
137055
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137056
|
+
[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 (14, 'User', '2013-04-12 08:07:45', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:45', NULL, 50)[0m
|
137057
|
+
[1m[35m (37.4ms)[0m COMMIT
|
137058
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137059
|
+
[1m[35mSQL (30.9ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 10
|
137060
|
+
[1m[36m (41.6ms)[0m [1mCOMMIT[0m
|
137061
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137062
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing22@example.com' LIMIT 1[0m
|
137063
|
+
[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-04-12 08:07:46', '2013-04-12 08:07:46', NULL, NULL, 'testing22@example.com', '4173e384c7eb079aaec9b6e3e6d937aa14969f3768f0e3de84fd2536f27fd05b5c29fdadb0dbb606dd84c0f9c406ce6fbd3bd59e7a09bc32e6acfc6cbddf7929', 0, NULL, NULL, NULL, 'Test', 'p2DW7psadsmTVTJXzf6o', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:46')
|
137064
|
+
[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-04-12 08:07:46', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 15, 'User', '2013-04-12 08:07:46')[0m
|
137065
|
+
[1m[35m (26.2ms)[0m COMMIT
|
137066
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137067
|
+
[1m[35mSQL (30.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 (15, 'User', '2013-04-12 08:07:46', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:46', NULL, 50)
|
137068
|
+
[1m[36m (61.8ms)[0m [1mCOMMIT[0m
|
137069
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137070
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137071
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137072
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 11[0m
|
137073
|
+
[1m[35m (38.1ms)[0m COMMIT
|
137074
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137075
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing23@example.com' LIMIT 1
|
137076
|
+
[1m[36mSQL (22.2ms)[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-04-12 08:07:47', '2013-04-12 08:07:47', NULL, NULL, 'testing23@example.com', '746a3b6b915ecbf5160cf43ce9838a41c9f22b1affed29ed304706e322cc3cd03df31d0180e44e452d93a4766ff5b6a265adf347c956c6e4d1c179ccb8e6c392', 0, NULL, NULL, NULL, 'Test', 'L5wwtofDfjEw2K61Rpi3', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:47')[0m
|
137077
|
+
[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-04-12 08:07:47', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 16, 'User', '2013-04-12 08:07:47')
|
137078
|
+
[1m[36m (56.5ms)[0m [1mCOMMIT[0m
|
137079
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137080
|
+
[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-04-12 08:07:47', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:47', NULL, 50)[0m
|
137081
|
+
[1m[35m (48.2ms)[0m COMMIT
|
137082
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137083
|
+
[1m[35mSQL (0.9ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 12
|
137084
|
+
[1m[36m (42.2ms)[0m [1mCOMMIT[0m
|
137085
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137086
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing24@example.com' LIMIT 1[0m
|
137087
|
+
[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-04-12 08:07:47', '2013-04-12 08:07:47', NULL, NULL, 'testing24@example.com', '16b78a83aa3fd995074cd65408ca7944e4517968160114e3b59c540a3a2ed092f2f90e60cc9742f6300d1d59a1b4e7c5e7536ce1c778af97b5157dac26e4c8ac', 0, NULL, NULL, NULL, 'Test', 'ANdMpNmdCt5NMxaLJvBi', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:47')
|
137088
|
+
[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-04-12 08:07:47', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 17, 'User', '2013-04-12 08:07:47')[0m
|
137089
|
+
[1m[35m (28.9ms)[0m COMMIT
|
137090
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137091
|
+
[1m[35mSQL (1.0ms)[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-04-12 08:07:47', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:47', NULL, 50)
|
137092
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
137093
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137094
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 13[0m
|
137095
|
+
[1m[35m (54.0ms)[0m COMMIT
|
137096
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137097
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing25@example.com' LIMIT 1
|
137098
|
+
[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-04-12 08:07:48', '2013-04-12 08:07:48', NULL, NULL, 'testing25@example.com', 'f72ceb7f3d991f1c3df0d512744615d7cd1f2b76ad1186b09ac70784c70370553934ce895edc84e76108dd9798af7b05551670587a2a6800ca418cec59013da0', 0, NULL, NULL, NULL, 'Test', '3zaRqwysqp7ZhqseyGpT', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:07:48')[0m
|
137099
|
+
[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-04-12 08:07:48', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 18, 'User', '2013-04-12 08:07:48')
|
137100
|
+
[1m[36m (28.1ms)[0m [1mCOMMIT[0m
|
137101
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137102
|
+
[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 (18, 'User', '2013-04-12 08:07:48', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-04-12 08:07:48', NULL, 50)[0m
|
137103
|
+
[1m[35m (19.9ms)[0m COMMIT
|
137104
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137105
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137106
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137107
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`id` = 14
|
137108
|
+
[1m[36m (29.5ms)[0m [1mCOMMIT[0m
|
137109
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137110
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137111
|
+
[1m[35m (262.0ms)[0m TRUNCATE TABLE `activities`;
|
137112
|
+
[1m[36m (264.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137113
|
+
[1m[35m (319.2ms)[0m TRUNCATE TABLE `audits`;
|
137114
|
+
[1m[36m (255.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137115
|
+
[1m[35m (146.4ms)[0m TRUNCATE TABLE `page_parts`;
|
137116
|
+
[1m[36m (250.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137117
|
+
[1m[35m (183.6ms)[0m TRUNCATE TABLE `settings`;
|
137118
|
+
[1m[36m (307.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137119
|
+
[1m[35m (442.0ms)[0m TRUNCATE TABLE `users`;
|
137120
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137121
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137122
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137123
|
+
[1m[35m (337.9ms)[0m TRUNCATE TABLE `activities`;
|
137124
|
+
[1m[36m (799.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137125
|
+
[1m[35m (806.9ms)[0m TRUNCATE TABLE `audits`;
|
137126
|
+
[1m[36m (140.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137127
|
+
[1m[35m (264.9ms)[0m TRUNCATE TABLE `page_parts`;
|
137128
|
+
[1m[36m (395.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137129
|
+
[1m[35m (150.4ms)[0m TRUNCATE TABLE `settings`;
|
137130
|
+
[1m[36m (384.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137131
|
+
[1m[35m (376.6ms)[0m TRUNCATE TABLE `users`;
|
137132
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137133
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137134
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137135
|
+
[1m[35m (615.5ms)[0m TRUNCATE TABLE `activities`;
|
137136
|
+
[1m[36m (254.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137137
|
+
[1m[35m (341.0ms)[0m TRUNCATE TABLE `audits`;
|
137138
|
+
[1m[36m (339.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137139
|
+
[1m[35m (404.6ms)[0m TRUNCATE TABLE `page_parts`;
|
137140
|
+
[1m[36m (186.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137141
|
+
[1m[35m (294.3ms)[0m TRUNCATE TABLE `settings`;
|
137142
|
+
[1m[36m (387.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137143
|
+
[1m[35m (372.5ms)[0m TRUNCATE TABLE `users`;
|
137144
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137145
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137146
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137147
|
+
[1m[35m (365.0ms)[0m TRUNCATE TABLE `activities`;
|
137148
|
+
[1m[36m (378.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137149
|
+
[1m[35m (440.0ms)[0m TRUNCATE TABLE `audits`;
|
137150
|
+
[1m[36m (383.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137151
|
+
[1m[35m (184.6ms)[0m TRUNCATE TABLE `page_parts`;
|
137152
|
+
[1m[36m (237.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137153
|
+
[1m[35m (216.9ms)[0m TRUNCATE TABLE `settings`;
|
137154
|
+
[1m[36m (362.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137155
|
+
[1m[35m (441.8ms)[0m TRUNCATE TABLE `users`;
|
137156
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137158
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing26@example.com' LIMIT 1[0m
|
137159
|
+
[1m[35mSQL (34.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-04-12 08:08:00', '2013-04-12 08:08:00', NULL, NULL, 'testing26@example.com', 'd78e0197d7b7c3ad5c01dba6ed99e5c111c325c90f5dc7a00174c99476708a75173381008cf2bba263dd6034de2631c0dcb3b244257ffece86212eeb286c74e7', 0, NULL, NULL, NULL, 'Test', 'Pmg7MaEJdWxjyTFGrafD', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:08:00')
|
137160
|
+
[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-04-12 08:08:00', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:00')[0m
|
137161
|
+
[1m[35m (60.8ms)[0m COMMIT
|
137162
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137163
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing27@example.com' LIMIT 1
|
137164
|
+
[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-04-12 08:08:01', '2013-04-12 08:08:01', NULL, NULL, 'testing27@example.com', '6faea2e80e9a03ede8583c4ae0538a58c3ef924be6644a1609107c9e2bef918896e14c7617d3ba0df98682eaf7ef87044810580333afdee9f27950ac106f4fff', 0, NULL, NULL, NULL, 'Test', '5t8sTAbn2LY8ZEm1247Z', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:08:01')[0m
|
137165
|
+
[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-04-12 08:08:01', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-04-12 08:08:01')
|
137166
|
+
[1m[36m (39.6ms)[0m [1mCOMMIT[0m
|
137167
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137168
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing28@example.com' LIMIT 1[0m
|
137169
|
+
[1m[35mSQL (24.8ms)[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-04-12 08:08:02', '2013-04-12 08:08:02', NULL, NULL, 'testing28@example.com', '9e0819c6d85a4ba3b6bade55f99017f01dfeb67bd02d137bf1c3aad2530d638ccfd7694bd24141ad13455e8d621e0dc42b08121c4af12cf8987710bb6d691ce5', 0, NULL, NULL, NULL, 'Test', '6wBPBo9pMXfUmvCBUUQq', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:08:02')
|
137170
|
+
[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-04-12 08:08:02', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'User', '2013-04-12 08:08:02')[0m
|
137171
|
+
[1m[35m (42.9ms)[0m COMMIT
|
137172
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137173
|
+
[1m[35mUser Exists (75.8ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing29@example.com' LIMIT 1
|
137174
|
+
[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-04-12 08:08:02', '2013-04-12 08:08:02', NULL, NULL, 'testing29@example.com', '4c8800fca35d95ca60a21b1637188e1aa069c5ed744904c31b5834367d0b19873e875138d2831d937f29eae994232c97e6aa4b3b972f4354d20519878281c36d', 0, NULL, NULL, NULL, 'Test', '8SpT2GstNZgWgNYrqYax', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:08:02')[0m
|
137175
|
+
[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-04-12 08:08:02', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'User', '2013-04-12 08:08:02')
|
137176
|
+
[1m[36m (24.4ms)[0m [1mCOMMIT[0m
|
137177
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137178
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing30@example.com' LIMIT 1[0m
|
137179
|
+
[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-04-12 08:08:03', '2013-04-12 08:08:03', NULL, NULL, 'testing30@example.com', 'f2609c0949ad889a45f0851369cf0cdc18f2e0998744e6dd4d808bacdc8ae366c72892fb0051c36faf71736ef44b0e6c52ececef53f52f7644ef6b462f6988d5', 0, NULL, NULL, NULL, 'Test', 'sqxyqjryW2fs9n4syZvX', NULL, NULL, NULL, 1, 0, NULL, '2013-04-12 08:08:03')
|
137180
|
+
[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-04-12 08:08:03', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'User', '2013-04-12 08:08:03')[0m
|
137181
|
+
[1m[35m (38.6ms)[0m COMMIT
|
137182
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
137183
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
137184
|
+
[1m[36m (911.9ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
137185
|
+
[1m[35m (1865.0ms)[0m TRUNCATE TABLE `assets`;
|
137186
|
+
[1m[36m (1263.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
137187
|
+
[1m[35m (698.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
137188
|
+
[1m[36m (184.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
137189
|
+
[1m[35m (474.4ms)[0m TRUNCATE TABLE `posts`;
|
137190
|
+
[1m[36m (333.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
137191
|
+
[1m[35m (382.3ms)[0m TRUNCATE TABLE `structures`;
|
137192
|
+
[1m[36m (398.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
137193
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
137194
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
137195
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
137196
|
+
[1m[36m (206.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
137197
|
+
[1m[35m (317.2ms)[0m TRUNCATE TABLE `assets`;
|
137198
|
+
[1m[36m (309.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
137199
|
+
[1m[35m (351.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
137200
|
+
[1m[36m (151.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
137201
|
+
[1m[35m (249.6ms)[0m TRUNCATE TABLE `posts`;
|
137202
|
+
[1m[36m (150.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
137203
|
+
[1m[35m (317.6ms)[0m TRUNCATE TABLE `structures`;
|
137204
|
+
[1m[36m (387.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
137205
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
137206
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137207
|
+
[1m[35mStructure Load (27.2ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
137208
|
+
[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-04-12 08:08:13', 0, 1, 1, NULL, 2, NULL, 2, 'slug1', 1, 'Structure', '2013-04-12 08:08:13')[0m
|
137209
|
+
[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-04-12 08:08:13', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:13')
|
137210
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137211
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
137212
|
+
[1m[36m (39.1ms)[0m [1mCOMMIT[0m
|
137213
|
+
[1m[35m (44.3ms)[0m SELECT COUNT(*) FROM `structures`
|
137214
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` IN (1)[0m
|
137215
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137216
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
137217
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM `structures` WHERE (`lft` > 1 AND `rgt` < 2)
|
137218
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `lft` = (`lft` - 2) WHERE (`structures`.`lft` > 2) ORDER BY `structures`.`lft`[0m
|
137219
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `rgt` = (`rgt` - 2) WHERE (`structures`.`rgt` > 2) ORDER BY `structures`.`lft`
|
137220
|
+
[1m[36mPagePart Load (0.4ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 1 AND `page_parts`.`partable_type` = 'Structure'[0m
|
137221
|
+
[1m[35mMetaTag Load (0.4ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 1 AND `meta_tags`.`taggable_type` = 'Structure'
|
137222
|
+
[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-04-12 08:08:13', 'structure.destroy', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:13')[0m
|
137223
|
+
[1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 1
|
137224
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM `structures` WHERE `structures`.`id` = 1[0m
|
137225
|
+
[1m[35m (41.5ms)[0m COMMIT
|
137226
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` [0m
|
137227
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137228
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137229
|
+
[1m[35m (196.4ms)[0m TRUNCATE TABLE `activities`;
|
137230
|
+
[1m[36m (366.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137231
|
+
[1m[35m (439.5ms)[0m TRUNCATE TABLE `audits`;
|
137232
|
+
[1m[36m (372.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137233
|
+
[1m[35m (162.3ms)[0m TRUNCATE TABLE `page_parts`;
|
137234
|
+
[1m[36m (237.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137235
|
+
[1m[35m (150.2ms)[0m TRUNCATE TABLE `settings`;
|
137236
|
+
[1m[36m (624.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137237
|
+
[1m[35m (545.1ms)[0m TRUNCATE TABLE `users`;
|
137238
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137239
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137240
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137241
|
+
[1m[35m (332.5ms)[0m TRUNCATE TABLE `activities`;
|
137242
|
+
[1m[36m (318.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137243
|
+
[1m[35m (364.6ms)[0m TRUNCATE TABLE `audits`;
|
137244
|
+
[1m[36m (241.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137245
|
+
[1m[35m (567.3ms)[0m TRUNCATE TABLE `page_parts`;
|
137246
|
+
[1m[36m (505.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137247
|
+
[1m[35m (205.6ms)[0m TRUNCATE TABLE `settings`;
|
137248
|
+
[1m[36m (284.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137249
|
+
[1m[35m (1445.5ms)[0m TRUNCATE TABLE `users`;
|
137250
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137251
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137252
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137253
|
+
[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-04-12 08:08:21', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:08:21')
|
137254
|
+
[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-04-12 08:08:21', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:21')[0m
|
137255
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137256
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
137257
|
+
[1m[35m (34.5ms)[0m COMMIT
|
137258
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137259
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
137260
|
+
[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-04-12 08:08:21', 0, 1, 3, 1, 2, NULL, 4, 'slug2', 1, 'Structure', '2013-04-12 08:08:21')[0m
|
137261
|
+
[1m[35mSQL (184.7ms)[0m INSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-04-12 08:08:21', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:21')
|
137262
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
137263
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137264
|
+
[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
|
137265
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
137266
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137267
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137268
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137269
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137270
|
+
[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
|
137271
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137272
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137273
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137274
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137275
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137276
|
+
[1m[36m (192.7ms)[0m [1mCOMMIT[0m
|
137277
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137278
|
+
[1m[36m (2.1ms)[0m [1mROLLBACK[0m
|
137279
|
+
[1m[35mStructure Load (0.8ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137280
|
+
[1m[36mStructure Load (0.8ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137281
|
+
[1m[35m (0.8ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137282
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137283
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137284
|
+
[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-04-12 08:08:21', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:21')[0m
|
137285
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137286
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137287
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137288
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137289
|
+
[1m[35m (26.8ms)[0m COMMIT
|
137290
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137291
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137292
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137293
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137294
|
+
[1m[36mSQL (160.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-04-12 08:08:21', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:21')[0m
|
137295
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137296
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137297
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137298
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137299
|
+
[1m[35m (45.9ms)[0m COMMIT
|
137300
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137301
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137302
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137303
|
+
[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-04-12 08:08:22', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:22')
|
137304
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137305
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137306
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137307
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137308
|
+
[1m[36m (235.8ms)[0m [1mCOMMIT[0m
|
137309
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137310
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137311
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137312
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137313
|
+
[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-04-12 08:08:22', 0, 1, 5, 2, 2, NULL, 6, 'slug3', 1, 'Structure', '2013-04-12 08:08:22')
|
137314
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO `activities` (`created_at`, `key`, `owner_id`, `owner_type`, `parameters`, `recipient_id`, `recipient_type`, `trackable_id`, `trackable_type`, `updated_at`) VALUES ('2013-04-12 08:08:22', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 3, 'Structure', '2013-04-12 08:08:22')[0m
|
137315
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft` LIMIT 1
|
137316
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE[0m
|
137317
|
+
[1m[35mSQL (0.6ms)[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`
|
137318
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
137319
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
137320
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
137321
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
137322
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
137323
|
+
[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`
|
137324
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE[0m
|
137325
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
137326
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
137327
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
137328
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
137329
|
+
[1m[35m (36.1ms)[0m COMMIT
|
137330
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137331
|
+
[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-04-12 08:08:22', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:22')
|
137332
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137333
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
137334
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137335
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
137336
|
+
[1m[36m (49.2ms)[0m [1mCOMMIT[0m
|
137337
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137338
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137339
|
+
[1m[35mStructure Load (35.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
137340
|
+
[1m[36mStructure Load (0.9ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 6) ORDER BY `structures`.`lft`[0m
|
137341
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137342
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137343
|
+
[1m[35mSQL (19.8ms)[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-04-12 08:08:22', 0, 1, 7, 1, 2, NULL, 8, 'slug4', 1, 'Some super title', '2013-04-12 08:08:22')
|
137344
|
+
[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-04-12 08:08:22', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'Structure', '2013-04-12 08:08:22')[0m
|
137345
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
137346
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
137347
|
+
[1m[35mSQL (0.6ms)[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`
|
137348
|
+
[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
|
137349
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
137350
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
137351
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
137352
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
137353
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 6 AND `structures`.`lft` < 7) AND (`structures`.id != 4) ORDER BY `structures`.`lft`
|
137354
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
137355
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
137356
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
137357
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
137358
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
137359
|
+
[1m[35m (40.9ms)[0m COMMIT
|
137360
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137361
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137362
|
+
[1m[36m (0.6ms)[0m [1mUPDATE `structures` SET `title` = 'Other big title', `updated_at` = '2013-04-12 08:08:22' WHERE `structures`.`id` = 4[0m
|
137363
|
+
[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-04-12 08:08:22', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 4, 'Structure', '2013-04-12 08:08:22')
|
137364
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1[0m
|
137365
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)
|
137366
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`[0m
|
137367
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)
|
137368
|
+
[1m[36m (43.4ms)[0m [1mCOMMIT[0m
|
137369
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137370
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137371
|
+
[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-04-12 08:08:22', 0, 1, 9, 1, 2, NULL, 10, 'original-slug', 1, 'Tra ta ta', '2013-04-12 08:08:22')
|
137372
|
+
[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-04-12 08:08:22', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 5, 'Structure', '2013-04-12 08:08:22')[0m
|
137373
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
137374
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1 FOR UPDATE[0m
|
137375
|
+
[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`
|
137376
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
137377
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1
|
137378
|
+
[1m[36m (1.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
137379
|
+
[1m[35mSQL (0.7ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 5 ORDER BY `structures`.`lft`
|
137380
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
137381
|
+
[1m[35mStructure Load (1.1ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 8 AND `structures`.`lft` < 9) AND (`structures`.id != 5) ORDER BY `structures`.`lft`
|
137382
|
+
[1m[36mStructure Load (0.8ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1 FOR UPDATE[0m
|
137383
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1
|
137384
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
137385
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 5 ORDER BY `structures`.`lft`
|
137386
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
137387
|
+
[1m[35m (16.0ms)[0m COMMIT
|
137388
|
+
[1m[36mStructure Load (0.8ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1[0m
|
137389
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137390
|
+
[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-04-12 08:08:22', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:22')[0m
|
137391
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137392
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
137393
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137394
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
137395
|
+
[1m[35m (44.9ms)[0m COMMIT
|
137396
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137397
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'slug2' LIMIT 1
|
137398
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137399
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137400
|
+
[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-04-12 08:08:22', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:22')[0m
|
137401
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137402
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
137403
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137404
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
137405
|
+
[1m[35m (45.0ms)[0m COMMIT
|
137406
|
+
[1m[36mStructure Load (29.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1365754102 LIMIT 1[0m
|
137407
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137408
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137409
|
+
[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-04-12 08:08:22', 'structure.update', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:22')
|
137410
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137411
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
137412
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137413
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
137414
|
+
[1m[36m (41.1ms)[0m [1mCOMMIT[0m
|
137415
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'wrong' LIMIT 1
|
137416
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'slug2' LIMIT 1[0m
|
137417
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137418
|
+
[1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137419
|
+
[1m[35m (202.6ms)[0m TRUNCATE TABLE `activities`;
|
137420
|
+
[1m[36m (251.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137421
|
+
[1m[35m (320.3ms)[0m TRUNCATE TABLE `audits`;
|
137422
|
+
[1m[36m (250.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137423
|
+
[1m[35m (162.7ms)[0m TRUNCATE TABLE `page_parts`;
|
137424
|
+
[1m[36m (699.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137425
|
+
[1m[35m (348.5ms)[0m TRUNCATE TABLE `settings`;
|
137426
|
+
[1m[36m (363.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137427
|
+
[1m[35m (331.4ms)[0m TRUNCATE TABLE `users`;
|
137428
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137429
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137430
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137431
|
+
[1m[35m (322.1ms)[0m TRUNCATE TABLE `activities`;
|
137432
|
+
[1m[36m (290.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137433
|
+
[1m[35m (203.2ms)[0m TRUNCATE TABLE `audits`;
|
137434
|
+
[1m[36m (283.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137435
|
+
[1m[35m (350.8ms)[0m TRUNCATE TABLE `page_parts`;
|
137436
|
+
[1m[36m (139.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137437
|
+
[1m[35m (259.0ms)[0m TRUNCATE TABLE `settings`;
|
137438
|
+
[1m[36m (241.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137439
|
+
[1m[35m (331.5ms)[0m TRUNCATE TABLE `users`;
|
137440
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137441
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137442
|
+
[1m[36mUser Exists (0.7ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY '1365754108@gmail.com' LIMIT 1[0m
|
137443
|
+
[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-04-12 08:08:28', '2013-04-12 08:08:28', NULL, NULL, '1365754108@gmail.com', 'c11e649fb4955aa6f829c123da0a46063f28024dfeea9359809cae78cbfeb004ce2ad44f523a3691cabf8d3b14299e17f6c2db7eb9f00cd8b99c5576352287e8', 0, NULL, NULL, NULL, 'Admin', 'fr2FBmKKJ7QfEvokJepx', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:08:28')
|
137444
|
+
[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-04-12 08:08:28', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:28')[0m
|
137445
|
+
[1m[35m (38.1ms)[0m COMMIT
|
137446
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137447
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
137448
|
+
[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-04-12 08:08:28', 0, 1, 1, NULL, 2, NULL, 2, 'slug6', 1, 'Structure', '2013-04-12 08:08:28')[0m
|
137449
|
+
[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-04-12 08:08:28', 'structure.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:28')
|
137450
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137451
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
137452
|
+
[1m[36m (34.2ms)[0m [1mCOMMIT[0m
|
137453
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137454
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:08:28', 1, 1, 'Default title', '2013-04-12 08:08:28')[0m
|
137455
|
+
[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-04-12 08:08:28', 'post.create', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:08:28')
|
137456
|
+
[1m[36m (40.3ms)[0m [1mCOMMIT[0m
|
137457
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137458
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing31@example.com' LIMIT 1[0m
|
137459
|
+
[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-04-12 08:08:28', '2013-04-12 08:08:28', NULL, NULL, 'testing31@example.com', '75099f064cb6988f67fb85fbbdc877b0407e442b80491b0354125c0dd12e97b29f05dea6150afdfed19837736f238a7a51d9aaf8890ffbc50898bb351a38807a', 0, NULL, NULL, NULL, 'Redactor', '4fZFyL53SmxqTBBKhgYy', NULL, NULL, NULL, 2, 0, NULL, '2013-04-12 08:08:28')
|
137460
|
+
[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-04-12 08:08:28', 'user.create', NULL, NULL, '--- {}\n', NULL, NULL, 2, 'User', '2013-04-12 08:08:28')[0m
|
137461
|
+
[1m[35m (39.6ms)[0m COMMIT
|
137462
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137463
|
+
[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-04-12 08:08:28', 'post.create', 2, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:08:28')
|
137464
|
+
[1m[36m (40.2ms)[0m [1mCOMMIT[0m
|
137465
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-04-12 11:08:28 +0300
|
137466
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137467
|
+
[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-04-12 08:08:28', 'user.update', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:28')[0m
|
137468
|
+
[1m[35m (30.1ms)[0m COMMIT
|
137469
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137470
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:08:28', `current_sign_in_at` = '2013-04-12 08:08:28', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:08:28' WHERE `users`.`id` = 1
|
137471
|
+
[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-04-12 08:08:28', 'user.update', NULL, NULL, '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:28')[0m
|
137472
|
+
[1m[35m (36.9ms)[0m COMMIT
|
137473
|
+
Processing by Sunrise::DashboardController#index as HTML
|
137474
|
+
[1m[36mPublicActivity::ORM::ActiveRecord::Activity Load (0.7ms)[0m [1mSELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0[0m
|
137475
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137476
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137477
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
137478
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
|
137479
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
137480
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
137481
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137482
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137483
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (35.1ms)
|
137484
|
+
[1m[35m (27.2ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count
|
137485
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/index.html.erb within layouts/sunrise/application (111.9ms)
|
137486
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (128.4ms)
|
137487
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (2.6ms)
|
137488
|
+
Completed 200 OK in 331ms (Views: 265.0ms | ActiveRecord: 29.9ms)
|
137489
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-04-12 11:08:29 +0300
|
137490
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137491
|
+
[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-04-12 08:08:29', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:29')
|
137492
|
+
[1m[36m (36.6ms)[0m [1mCOMMIT[0m
|
137493
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137494
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `current_sign_in_at` = '2013-04-12 08:08:29', `sign_in_count` = 2, `updated_at` = '2013-04-12 08:08:29' WHERE `users`.`id` = 1[0m
|
137495
|
+
[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-04-12 08:08:29', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:29')
|
137496
|
+
[1m[36m (37.3ms)[0m [1mCOMMIT[0m
|
137497
|
+
Processing by Sunrise::DashboardController#index as HTML
|
137498
|
+
[1m[35mPublicActivity::ORM::ActiveRecord::Activity Load (0.6ms)[0m SELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0
|
137499
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137500
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137501
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137502
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137503
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137504
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137505
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
137506
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
137507
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
|
137508
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
137509
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137510
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137511
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (35.2ms)
|
137512
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
137513
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.5ms)
|
137514
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.4ms)
|
137515
|
+
Completed 200 OK in 64ms (Views: 50.3ms | ActiveRecord: 2.7ms)
|
137516
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-04-12 11:08:29 +0300
|
137517
|
+
Processing by Sunrise::DashboardController#index as HTML
|
137518
|
+
Completed 401 Unauthorized in 1ms
|
137519
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:08:29 +0300
|
137520
|
+
Processing by Devise::SessionsController#new as HTML
|
137521
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (4.8ms)
|
137522
|
+
Completed 200 OK in 67ms (Views: 64.7ms | ActiveRecord: 0.0ms)
|
137523
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137524
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137525
|
+
[1m[35m (165.4ms)[0m TRUNCATE TABLE `activities`;
|
137526
|
+
[1m[36m (296.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137527
|
+
[1m[35m (319.7ms)[0m TRUNCATE TABLE `audits`;
|
137528
|
+
[1m[36m (261.7ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137529
|
+
[1m[35m (140.2ms)[0m TRUNCATE TABLE `page_parts`;
|
137530
|
+
[1m[36m (281.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137531
|
+
[1m[35m (138.9ms)[0m TRUNCATE TABLE `settings`;
|
137532
|
+
[1m[36m (308.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137533
|
+
[1m[35m (621.7ms)[0m TRUNCATE TABLE `users`;
|
137534
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137535
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137536
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137537
|
+
[1m[35m (1635.9ms)[0m TRUNCATE TABLE `activities`;
|
137538
|
+
[1m[36m (786.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137539
|
+
[1m[35m (308.3ms)[0m TRUNCATE TABLE `audits`;
|
137540
|
+
[1m[36m (183.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137541
|
+
[1m[35m (262.9ms)[0m TRUNCATE TABLE `page_parts`;
|
137542
|
+
[1m[36m (221.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137543
|
+
[1m[35m (145.9ms)[0m TRUNCATE TABLE `settings`;
|
137544
|
+
[1m[36m (330.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137545
|
+
[1m[35m (353.7ms)[0m TRUNCATE TABLE `users`;
|
137546
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137547
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137548
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing32@example.com' LIMIT 1[0m
|
137549
|
+
[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-04-12 08:08:36', '2013-04-12 08:08:36', NULL, NULL, 'testing32@example.com', '7bc9916d9893fc4bf32af8d0594b8908f6a0f00140365d0d4a41863fda2489e3cd586f92c7be6fa376a4a2a60bbe73387efff3fd32a6b653ab80532a42cb5935', 0, NULL, NULL, NULL, 'Admin', 'bfRqg3Xqd88HkjTP2zat', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:08:36')
|
137550
|
+
[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-04-12 08:08:36', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:36')[0m
|
137551
|
+
[1m[35m (32.2ms)[0m COMMIT
|
137552
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137553
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
137554
|
+
[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-04-12 08:08:36', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:08:36')[0m
|
137555
|
+
[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-04-12 08:08:36', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:36')
|
137556
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
137557
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
137558
|
+
[1m[36m (34.8ms)[0m [1mCOMMIT[0m
|
137559
|
+
[1m[35m (0.3ms)[0m BEGIN
|
137560
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137561
|
+
[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-04-12 08:08:36', 0, 1, 3, 1, 2, NULL, 4, 'slug7', 1, 'Structure', '2013-04-12 08:08:36')
|
137562
|
+
[1m[36mSQL (90.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-04-12 08:08:36', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:36')[0m
|
137563
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
137564
|
+
[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
|
137565
|
+
[1m[35mSQL (0.6ms)[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`
|
137566
|
+
[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
|
137567
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137568
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137569
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137570
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137571
|
+
[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`
|
137572
|
+
[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
|
137573
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137574
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137575
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137576
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137577
|
+
[1m[35m (39.2ms)[0m COMMIT
|
137578
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-04-12 11:08:36 +0300
|
137579
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137580
|
+
[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-04-12 08:08:36', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:36')
|
137581
|
+
[1m[36m (50.1ms)[0m [1mCOMMIT[0m
|
137582
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137583
|
+
[1m[36m (0.6ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:08:37', `current_sign_in_at` = '2013-04-12 08:08:37', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:08:37' WHERE `users`.`id` = 1[0m
|
137584
|
+
[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-04-12 08:08:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:37')
|
137585
|
+
[1m[36m (56.6ms)[0m [1mCOMMIT[0m
|
137586
|
+
Processing by Sunrise::ManagerController#show as HTML
|
137587
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137588
|
+
[1m[35mStructure Load (1.0ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137589
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.2ms)
|
137590
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (1.4ms)
|
137591
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.7ms)
|
137592
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_show.html.erb (33.4ms)
|
137593
|
+
Completed 200 OK in 182ms (Views: 61.2ms | ActiveRecord: 1.0ms)
|
137594
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-04-12 11:08:37 +0300
|
137595
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137596
|
+
[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-04-12 08:08:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:37')
|
137597
|
+
[1m[36m (15.3ms)[0m [1mCOMMIT[0m
|
137598
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137599
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:08:37' WHERE `users`.`id` = 1[0m
|
137600
|
+
[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-04-12 08:08:37', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:37')
|
137601
|
+
[1m[36m (46.3ms)[0m [1mCOMMIT[0m
|
137602
|
+
Processing by Sunrise::ManagerController#show as HTML
|
137603
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137604
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137605
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.5ms)
|
137606
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
137607
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
137608
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_show.html.erb (5.6ms)
|
137609
|
+
Completed 200 OK in 19ms (Views: 14.9ms | ActiveRecord: 0.2ms)
|
137610
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-04-12 11:08:37 +0300
|
137611
|
+
Processing by Sunrise::ManagerController#show as HTML
|
137612
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137613
|
+
Completed 401 Unauthorized in 1ms
|
137614
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:08:37 +0300
|
137615
|
+
Processing by Devise::SessionsController#new as HTML
|
137616
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.2ms)
|
137617
|
+
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms)
|
137618
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
137619
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
137620
|
+
[1m[36m (190.6ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
137621
|
+
[1m[35m (252.0ms)[0m TRUNCATE TABLE `assets`;
|
137622
|
+
[1m[36m (356.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
137623
|
+
[1m[35m (385.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
137624
|
+
[1m[36m (272.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
137625
|
+
[1m[35m (116.8ms)[0m TRUNCATE TABLE `posts`;
|
137626
|
+
[1m[36m (261.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
137627
|
+
[1m[35m (320.0ms)[0m TRUNCATE TABLE `structures`;
|
137628
|
+
[1m[36m (340.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
137629
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
137630
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
137631
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
137632
|
+
[1m[36m (175.6ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
137633
|
+
[1m[35m (285.5ms)[0m TRUNCATE TABLE `assets`;
|
137634
|
+
[1m[36m (352.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
137635
|
+
[1m[35m (255.1ms)[0m TRUNCATE TABLE `meta_tags`;
|
137636
|
+
[1m[36m (169.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
137637
|
+
[1m[35m (284.1ms)[0m TRUNCATE TABLE `posts`;
|
137638
|
+
[1m[36m (198.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
137639
|
+
[1m[35m (330.4ms)[0m TRUNCATE TABLE `structures`;
|
137640
|
+
[1m[36m (343.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
137641
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
137642
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
137643
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing33@example.com' LIMIT 1
|
137644
|
+
[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-04-12 08:08:42', '2013-04-12 08:08:42', NULL, NULL, 'testing33@example.com', '26d29f3fd3b4ad157599e6d398325ae409c838e121a7b89e8ab007c239a739ccb5ea35678dd16e90d3ff7e2ff81da17d04d6066bde6aa5d3d9678c4b4d753ec2', 0, NULL, NULL, NULL, 'Admin', 'hKnXH2rTbQqHkQ6xAsEh', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:08:42')[0m
|
137645
|
+
[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-04-12 08:08:42', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:42')
|
137646
|
+
[1m[36m (39.8ms)[0m [1mCOMMIT[0m
|
137647
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137648
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137649
|
+
[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-04-12 08:08:42', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:08:42')
|
137650
|
+
[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-04-12 08:08:42', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:42')[0m
|
137651
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137652
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
137653
|
+
[1m[35m (71.1ms)[0m COMMIT
|
137654
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137655
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
137656
|
+
[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-04-12 08:08:42', 0, 1, 3, 1, 2, NULL, 4, 'slug8', 1, 'Structure', '2013-04-12 08:08:42')[0m
|
137657
|
+
[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-04-12 08:08:42', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:42')
|
137658
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
137659
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137660
|
+
[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
|
137661
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
137662
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137663
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137664
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137665
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137666
|
+
[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
|
137667
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137668
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137669
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137670
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137671
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137672
|
+
[1m[36m (37.6ms)[0m [1mCOMMIT[0m
|
137673
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:08:42 +0300
|
137674
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137675
|
+
[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-04-12 08:08:42', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:42')[0m
|
137676
|
+
[1m[35m (33.4ms)[0m COMMIT
|
137677
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137678
|
+
[1m[35m (0.6ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:08:42', `current_sign_in_at` = '2013-04-12 08:08:42', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:08:42' WHERE `users`.`id` = 1
|
137679
|
+
[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-04-12 08:08:42', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:42')[0m
|
137680
|
+
[1m[35m (35.9ms)[0m COMMIT
|
137681
|
+
Processing by Sunrise::ManagerController#index as HTML
|
137682
|
+
Parameters: {"model_name"=>"structures"}
|
137683
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
137684
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
137685
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (3.3ms)
|
137686
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (22.2ms)
|
137687
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
137688
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.7ms)
|
137689
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (9.5ms)
|
137690
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (13.8ms)
|
137691
|
+
Completed 200 OK in 108ms (Views: 76.3ms | ActiveRecord: 1.3ms)
|
137692
|
+
Started DELETE "/manage/structures/2/delete" for 127.0.0.1 at 2013-04-12 11:08:42 +0300
|
137693
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
137694
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137695
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137696
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137697
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137698
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137699
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM `structures` WHERE (`lft` > 2 AND `rgt` < 3)[0m
|
137700
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `lft` = (`lft` - 2) WHERE (`structures`.`lft` > 3) ORDER BY `structures`.`lft`
|
137701
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `rgt` = (`rgt` - 2) WHERE (`structures`.`rgt` > 3) ORDER BY `structures`.`lft`[0m
|
137702
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
137703
|
+
[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
|
137704
|
+
[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-04-12 08:08:42', 'structure.destroy', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:42')
|
137705
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
137706
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM `structures` WHERE `structures`.`id` = 2
|
137707
|
+
[1m[36m (31.4ms)[0m [1mCOMMIT[0m
|
137708
|
+
Redirected to http://www.example.com/manage/structures
|
137709
|
+
Completed 302 Found in 96ms (ActiveRecord: 0.0ms)
|
137710
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:08:42 +0300
|
137711
|
+
Processing by Sunrise::ManagerController#index as HTML
|
137712
|
+
Parameters: {"model_name"=>"structures"}
|
137713
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137714
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
137715
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.5ms)
|
137716
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
137717
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
137718
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.1ms)
|
137719
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.6ms)
|
137720
|
+
Completed 200 OK in 20ms (Views: 14.8ms | ActiveRecord: 0.8ms)
|
137721
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137722
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:08:43 +0300
|
137723
|
+
Processing by Sunrise::ManagerController#index as HTML
|
137724
|
+
Parameters: {"model_name"=>"structures"}
|
137725
|
+
Completed 401 Unauthorized in 1ms
|
137726
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:08:43 +0300
|
137727
|
+
Processing by Devise::SessionsController#new as HTML
|
137728
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.0ms)
|
137729
|
+
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
137730
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
137731
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
137732
|
+
[1m[36m (318.2ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
137733
|
+
[1m[35m (192.8ms)[0m TRUNCATE TABLE `assets`;
|
137734
|
+
[1m[36m (319.5ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
137735
|
+
[1m[35m (339.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
137736
|
+
[1m[36m (173.6ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
137737
|
+
[1m[35m (236.7ms)[0m TRUNCATE TABLE `posts`;
|
137738
|
+
[1m[36m (150.4ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
137739
|
+
[1m[35m (306.7ms)[0m TRUNCATE TABLE `structures`;
|
137740
|
+
[1m[36m (442.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
137741
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
137742
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
137743
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
137744
|
+
[1m[36m (327.4ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
137745
|
+
[1m[35m (218.3ms)[0m TRUNCATE TABLE `assets`;
|
137746
|
+
[1m[36m (329.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
137747
|
+
[1m[35m (295.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
137748
|
+
[1m[36m (262.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
137749
|
+
[1m[35m (329.8ms)[0m TRUNCATE TABLE `posts`;
|
137750
|
+
[1m[36m (756.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
137751
|
+
[1m[35m (702.4ms)[0m TRUNCATE TABLE `structures`;
|
137752
|
+
[1m[36m (373.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
137753
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
137754
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137755
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing34@example.com' LIMIT 1
|
137756
|
+
[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-04-12 08:08:49', '2013-04-12 08:08:49', NULL, NULL, 'testing34@example.com', '0ae3bf5341bbf6f1bab412ee2d46c50ed21a8144a86cb444b5e49dec2524d2e627c9e5d569c93f820277ee3ae1dcbed33b7f0b18b1c233b4d0da7dfcefa27d7c', 0, NULL, NULL, NULL, 'Admin', 'j1qxgN5ELdzPvoUGDKZC', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:08:49')[0m
|
137757
|
+
[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-04-12 08:08:49', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:49')
|
137758
|
+
[1m[36m (32.6ms)[0m [1mCOMMIT[0m
|
137759
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137760
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
137761
|
+
[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-04-12 08:08:49', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:08:49')
|
137762
|
+
[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-04-12 08:08:49', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:08:49')[0m
|
137763
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
137764
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
137765
|
+
[1m[35m (141.6ms)[0m COMMIT
|
137766
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137767
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
137768
|
+
[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-04-12 08:08:49', 0, 1, 3, 1, 2, NULL, 4, 'slug9', 1, 'Structure', '2013-04-12 08:08:49')[0m
|
137769
|
+
[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-04-12 08:08:49', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:49')
|
137770
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
137771
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137772
|
+
[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
|
137773
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
137774
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137775
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137776
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137777
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137778
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
137779
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
137780
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137781
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137782
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137783
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137784
|
+
[1m[36m (39.2ms)[0m [1mCOMMIT[0m
|
137785
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:08:49 +0300
|
137786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137787
|
+
[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-04-12 08:08:49', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:49')[0m
|
137788
|
+
[1m[35m (164.0ms)[0m COMMIT
|
137789
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137790
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:08:49', `current_sign_in_at` = '2013-04-12 08:08:49', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:08:49' WHERE `users`.`id` = 1
|
137791
|
+
[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-04-12 08:08:49', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:49')[0m
|
137792
|
+
[1m[35m (29.5ms)[0m COMMIT
|
137793
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
137794
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137795
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137796
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
137797
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
137798
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
137799
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (70.0ms)
|
137800
|
+
[1m[35mMetaTag Load (0.5ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
137801
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (9.5ms)
|
137802
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (536.5ms)
|
137803
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
137804
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (1.4ms)
|
137805
|
+
Completed 200 OK in 610ms (Views: 552.8ms | ActiveRecord: 2.0ms)
|
137806
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137807
|
+
Processing by Sunrise::ManagerController#update as HTML
|
137808
|
+
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"}
|
137809
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137810
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137812
|
+
[1m[35mMetaTag Load (0.6ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
137813
|
+
[1m[36m (0.7ms)[0m [1mUPDATE `structures` SET `title` = 'Title updated', `redirect_url` = '', `structure_type_id` = 2, `position_type_id` = 1, `is_visible` = 0, `updated_at` = '2013-04-12 08:08:50' WHERE `structures`.`id` = 2[0m
|
137814
|
+
[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-04-12 08:08:50', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:50')
|
137815
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137816
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137817
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137818
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137819
|
+
[1m[36m (26.0ms)[0m [1mCOMMIT[0m
|
137820
|
+
Redirected to http://www.example.com/manage/structures
|
137821
|
+
Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
|
137822
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137823
|
+
Processing by Sunrise::ManagerController#index as HTML
|
137824
|
+
Parameters: {"model_name"=>"structures"}
|
137825
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
137826
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
137827
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
137828
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.2ms)
|
137829
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (6.0ms)
|
137830
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
137831
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
137832
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.8ms)
|
137833
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.3ms)
|
137834
|
+
Completed 200 OK in 23ms (Views: 17.8ms | ActiveRecord: 1.3ms)
|
137835
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137836
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137837
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137838
|
+
[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-04-12 08:08:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:50')[0m
|
137839
|
+
[1m[35m (32.4ms)[0m COMMIT
|
137840
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137841
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-04-12 08:08:50', `sign_in_count` = 2, `updated_at` = '2013-04-12 08:08:50' WHERE `users`.`id` = 1
|
137842
|
+
[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-04-12 08:08:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:50')[0m
|
137843
|
+
[1m[35m (25.1ms)[0m COMMIT
|
137844
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
137845
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137846
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137847
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
137848
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
137849
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
137850
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (19.8ms)
|
137851
|
+
[1m[35mMetaTag Load (0.2ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
137852
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.6ms)
|
137853
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (33.6ms)
|
137854
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
137855
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
137856
|
+
Completed 200 OK in 46ms (Views: 41.4ms | ActiveRecord: 1.1ms)
|
137857
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137858
|
+
Processing by Sunrise::ManagerController#update as HTML
|
137859
|
+
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"}
|
137860
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137861
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137862
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137863
|
+
[1m[35mMetaTag Load (0.2ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
137864
|
+
[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-04-12 08:08:50', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:50')[0m
|
137865
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137866
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137867
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137868
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137869
|
+
[1m[35m (19.4ms)[0m COMMIT
|
137870
|
+
Redirected to http://www.example.com/manage/structures
|
137871
|
+
Completed 302 Found in 46ms (ActiveRecord: 0.0ms)
|
137872
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137873
|
+
Processing by Sunrise::ManagerController#index as HTML
|
137874
|
+
Parameters: {"model_name"=>"structures"}
|
137875
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137876
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
137877
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
137878
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.2ms)
|
137879
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (5.4ms)
|
137880
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
137881
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
137882
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.3ms)
|
137883
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.8ms)
|
137884
|
+
Completed 200 OK in 23ms (Views: 18.0ms | ActiveRecord: 0.8ms)
|
137885
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137886
|
+
[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
|
137887
|
+
[1m[35mPagePart Exists (0.5ms)[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
|
137888
|
+
[1m[36mPagePart Exists (0.6ms)[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
|
137889
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Main', '2013-04-12 08:08:50', 'main', 2, 'Structure', '2013-04-12 08:08:50')
|
137890
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Sidebar', '2013-04-12 08:08:50', 'sidebar', 2, 'Structure', '2013-04-12 08:08:50')[0m
|
137891
|
+
[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-04-12 08:08:50', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:50')
|
137892
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137893
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137894
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
137895
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
137896
|
+
[1m[36m (23.9ms)[0m [1mCOMMIT[0m
|
137897
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137898
|
+
[1m[35m (0.2ms)[0m BEGIN
|
137899
|
+
[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-04-12 08:08:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:50')[0m
|
137900
|
+
[1m[35m (54.1ms)[0m COMMIT
|
137901
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137902
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:08:50', `sign_in_count` = 3, `updated_at` = '2013-04-12 08:08:50' WHERE `users`.`id` = 1
|
137903
|
+
[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-04-12 08:08:50', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:50')[0m
|
137904
|
+
[1m[35m (26.4ms)[0m COMMIT
|
137905
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
137906
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
137907
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
137908
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
137909
|
+
[1m[35mPagePart Load (0.9ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
137910
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (24.5ms)
|
137911
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (29.1ms)
|
137912
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (6.4ms)
|
137913
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.6ms)
|
137914
|
+
Completed 200 OK in 45ms (Views: 39.7ms | ActiveRecord: 1.1ms)
|
137915
|
+
Started PUT "/manage/pages/2/edit" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137916
|
+
Processing by Sunrise::ManagerController#update as HTML
|
137917
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"main"=>"Main updated", "sidebar"=>"Sidebar updated"}, "commit"=>"Update Structure", "model_name"=>"pages", "id"=>"2"}
|
137918
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137919
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137920
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137921
|
+
[1m[35mPagePart Load (0.6ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
137922
|
+
[1m[36mPagePart Exists (0.6ms)[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
|
137923
|
+
[1m[35mPagePart Exists (0.7ms)[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
|
137924
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `page_parts` SET `content` = 'Main updated', `updated_at` = '2013-04-12 08:08:50' WHERE `page_parts`.`id` = 1[0m
|
137925
|
+
[1m[35m (0.4ms)[0m UPDATE `page_parts` SET `content` = 'Sidebar updated', `updated_at` = '2013-04-12 08:08:50' WHERE `page_parts`.`id` = 2
|
137926
|
+
[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-04-12 08:08:50', 'structure.update', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:08:50')[0m
|
137927
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137928
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137929
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
137930
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
137931
|
+
[1m[35m (41.7ms)[0m COMMIT
|
137932
|
+
Redirected to http://www.example.com/manage/structures
|
137933
|
+
Completed 302 Found in 87ms (ActiveRecord: 0.0ms)
|
137934
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:08:50 +0300
|
137935
|
+
Processing by Sunrise::ManagerController#index as HTML
|
137936
|
+
Parameters: {"model_name"=>"structures"}
|
137937
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
137938
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
137939
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
137940
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.7ms)
|
137941
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (8.1ms)
|
137942
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
137943
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
137944
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.5ms)
|
137945
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (4.1ms)
|
137946
|
+
Completed 200 OK in 28ms (Views: 22.8ms | ActiveRecord: 0.6ms)
|
137947
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
137948
|
+
[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
|
137949
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:08:51 +0300
|
137950
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
137951
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
137952
|
+
Completed 401 Unauthorized in 1ms
|
137953
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:08:51 +0300
|
137954
|
+
Processing by Devise::SessionsController#new as HTML
|
137955
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.3ms)
|
137956
|
+
Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.0ms)
|
137957
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137958
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137959
|
+
[1m[35m (172.3ms)[0m TRUNCATE TABLE `activities`;
|
137960
|
+
[1m[36m (285.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137961
|
+
[1m[35m (396.2ms)[0m TRUNCATE TABLE `audits`;
|
137962
|
+
[1m[36m (260.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137963
|
+
[1m[35m (152.9ms)[0m TRUNCATE TABLE `page_parts`;
|
137964
|
+
[1m[36m (250.8ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137965
|
+
[1m[35m (128.0ms)[0m TRUNCATE TABLE `settings`;
|
137966
|
+
[1m[36m (327.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137967
|
+
[1m[35m (337.1ms)[0m TRUNCATE TABLE `users`;
|
137968
|
+
[1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137969
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
137970
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
137971
|
+
[1m[35m (743.6ms)[0m TRUNCATE TABLE `activities`;
|
137972
|
+
[1m[36m (196.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
137973
|
+
[1m[35m (329.3ms)[0m TRUNCATE TABLE `audits`;
|
137974
|
+
[1m[36m (350.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
137975
|
+
[1m[35m (162.1ms)[0m TRUNCATE TABLE `page_parts`;
|
137976
|
+
[1m[36m (226.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
137977
|
+
[1m[35m (183.6ms)[0m TRUNCATE TABLE `settings`;
|
137978
|
+
[1m[36m (273.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
137979
|
+
[1m[35m (397.7ms)[0m TRUNCATE TABLE `users`;
|
137980
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
137981
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137982
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing35@example.com' LIMIT 1[0m
|
137983
|
+
[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-04-12 08:08:56', '2013-04-12 08:08:56', NULL, NULL, 'testing35@example.com', 'bd07afd33ff06cd61ff791a76a2ba6d8828db6176092cc0c9a3be63693eb5b3a063a2f8991ccda2e9ff16da838a9cc0808074a69dafe90cf8f47e078273579b0', 0, NULL, NULL, NULL, 'Admin', 'z8s2bySH1pTjDZ7Zi6sc', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:08:56')
|
137984
|
+
[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-04-12 08:08:56', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')[0m
|
137985
|
+
[1m[35m (50.5ms)[0m COMMIT
|
137986
|
+
Started GET "/manage/whatever/new" for 127.0.0.1 at 2013-04-12 11:08:56 +0300
|
137987
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137988
|
+
[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-04-12 08:08:56', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')
|
137989
|
+
[1m[36m (42.7ms)[0m [1mCOMMIT[0m
|
137990
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137991
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:08:56', `current_sign_in_at` = '2013-04-12 08:08:56', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:08:56' WHERE `users`.`id` = 1[0m
|
137992
|
+
[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-04-12 08:08:56', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')
|
137993
|
+
[1m[36m (25.3ms)[0m [1mCOMMIT[0m
|
137994
|
+
Processing by Sunrise::ManagerController#new as HTML
|
137995
|
+
Parameters: {"model_name"=>"whatever"}
|
137996
|
+
Error while loading 'SunriseWhatever': uninitialized constant SunriseWhatever
|
137997
|
+
Completed 404 Not Found in 10ms
|
137998
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-04-12 11:08:56 +0300
|
137999
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138000
|
+
[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-04-12 08:08:56', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')[0m
|
138001
|
+
[1m[35m (69.8ms)[0m COMMIT
|
138002
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138003
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:08:56' WHERE `users`.`id` = 1
|
138004
|
+
[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-04-12 08:08:56', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')[0m
|
138005
|
+
[1m[35m (25.8ms)[0m COMMIT
|
138006
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138007
|
+
Parameters: {"model_name"=>"structures"}
|
138008
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
138009
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
138010
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (20.7ms)
|
138011
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.2ms)
|
138012
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (36.0ms)
|
138013
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.6ms)
|
138014
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (1.7ms)
|
138015
|
+
Completed 200 OK in 63ms (Views: 53.7ms | ActiveRecord: 0.6ms)
|
138016
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-04-12 11:08:56 +0300
|
138017
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138018
|
+
[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-04-12 08:08:56', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')[0m
|
138019
|
+
[1m[35m (23.8ms)[0m COMMIT
|
138020
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138021
|
+
[1m[35m (0.7ms)[0m UPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-04-12 08:08:56' WHERE `users`.`id` = 1
|
138022
|
+
[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-04-12 08:08:56', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:08:56')[0m
|
138023
|
+
[1m[35m (23.9ms)[0m COMMIT
|
138024
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138025
|
+
Parameters: {"model_name"=>"structures"}
|
138026
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138027
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
138028
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (19.1ms)
|
138029
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (114.9ms)
|
138030
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (139.4ms)
|
138031
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.9ms)
|
138032
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.9ms)
|
138033
|
+
Completed 200 OK in 153ms (Views: 150.0ms | ActiveRecord: 0.2ms)
|
138034
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-04-12 11:08:56 +0300
|
138035
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138036
|
+
Parameters: {"model_name"=>"structures"}
|
138037
|
+
Completed 401 Unauthorized in 1ms
|
138038
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:08:56 +0300
|
138039
|
+
Processing by Devise::SessionsController#new as HTML
|
138040
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.4ms)
|
138041
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
138042
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138043
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138044
|
+
[1m[35m (158.1ms)[0m TRUNCATE TABLE `activities`;
|
138045
|
+
[1m[36m (274.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138046
|
+
[1m[35m (377.1ms)[0m TRUNCATE TABLE `audits`;
|
138047
|
+
[1m[36m (306.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138048
|
+
[1m[35m (162.1ms)[0m TRUNCATE TABLE `page_parts`;
|
138049
|
+
[1m[36m (259.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138050
|
+
[1m[35m (229.2ms)[0m TRUNCATE TABLE `settings`;
|
138051
|
+
[1m[36m (219.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138052
|
+
[1m[35m (308.2ms)[0m TRUNCATE TABLE `users`;
|
138053
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138054
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138055
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138056
|
+
[1m[35m (339.1ms)[0m TRUNCATE TABLE `activities`;
|
138057
|
+
[1m[36m (951.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138058
|
+
[1m[35m (583.2ms)[0m TRUNCATE TABLE `audits`;
|
138059
|
+
[1m[36m (272.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138060
|
+
[1m[35m (261.5ms)[0m TRUNCATE TABLE `page_parts`;
|
138061
|
+
[1m[36m (117.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138062
|
+
[1m[35m (271.4ms)[0m TRUNCATE TABLE `settings`;
|
138063
|
+
[1m[36m (315.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138064
|
+
[1m[35m (363.3ms)[0m TRUNCATE TABLE `users`;
|
138065
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138066
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138067
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing36@example.com' LIMIT 1[0m
|
138068
|
+
[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-04-12 08:09:02', '2013-04-12 08:09:02', NULL, NULL, 'testing36@example.com', 'bb6539d47f5ff2c0d73746afcafdec36936c8ce43e82e74db0190298b67c57b9d16a263138939b298513bead36d353ebf024a1c9bb82b9af702d9d4af45ca871', 0, NULL, NULL, NULL, 'Admin', 'bD4VB8a1BCzrRqPkcBwr', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:02')
|
138069
|
+
[1m[36mSQL (131.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-04-12 08:09:02', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:02')[0m
|
138070
|
+
[1m[35m (55.5ms)[0m COMMIT
|
138071
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138072
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138073
|
+
[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-04-12 08:09:02', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:02')[0m
|
138074
|
+
[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-04-12 08:09:02', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:02')
|
138075
|
+
[1m[36mStructure Load (1.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
138076
|
+
[1m[35mSQL (0.7ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
138077
|
+
[1m[36m (182.7ms)[0m [1mCOMMIT[0m
|
138078
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138079
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
138080
|
+
[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-04-12 08:09:03', 0, 1, 3, 1, 2, NULL, 4, 'slug10', 1, 'Structure', '2013-04-12 08:09:03')
|
138081
|
+
[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-04-12 08:09:03', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:03')[0m
|
138082
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
138083
|
+
[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
|
138084
|
+
[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`
|
138085
|
+
[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
|
138086
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138087
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138088
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138089
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138090
|
+
[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`
|
138091
|
+
[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
|
138092
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138093
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138094
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138095
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138096
|
+
[1m[35m (30.6ms)[0m COMMIT
|
138097
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
138098
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138099
|
+
[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')
|
138100
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138101
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138102
|
+
[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
|
138103
|
+
[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')
|
138104
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138105
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
138106
|
+
Parameters: {"model_name"=>"users"}
|
138107
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
138108
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
138109
|
+
Sent data users_2012-01-01_16h00m00.xls (0.0ms)
|
138110
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
138111
|
+
Started GET "/manage/users/export.csv" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
138112
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138113
|
+
[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')
|
138114
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138115
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138116
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2 WHERE `users`.`id` = 1[0m
|
138117
|
+
[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')
|
138118
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138119
|
+
Processing by Sunrise::ManagerController#export as CSV
|
138120
|
+
Parameters: {"model_name"=>"users"}
|
138121
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
138122
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
138123
|
+
Sent data users_2012-01-01_16h00m00.csv (0.0ms)
|
138124
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
138125
|
+
Started GET "/manage/users/export.json" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
138126
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138127
|
+
[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')
|
138128
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138129
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138130
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3 WHERE `users`.`id` = 1[0m
|
138131
|
+
[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')
|
138132
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138133
|
+
Processing by Sunrise::ManagerController#export as JSON
|
138134
|
+
Parameters: {"model_name"=>"users"}
|
138135
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` LIMIT 25 OFFSET 0
|
138136
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
138137
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138138
|
+
[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')
|
138139
|
+
[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
|
138140
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138141
|
+
Started GET "/manage/posts/export.csv" for 127.0.0.1 at 2012-01-01 16:00:00 UTC
|
138142
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138143
|
+
[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')
|
138144
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138145
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138146
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 4 WHERE `users`.`id` = 1[0m
|
138147
|
+
[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')
|
138148
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138149
|
+
Processing by Sunrise::ManagerController#export as CSV
|
138150
|
+
Parameters: {"model_name"=>"posts"}
|
138151
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
138152
|
+
[1m[35mPost Load (0.0ms)[0m SELECT `posts`.* FROM `posts` WHERE (`posts`.`id` >= 0) ORDER BY `posts`.`id` ASC LIMIT 1000 OFFSET 0
|
138153
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` IN (2)[0m
|
138154
|
+
Sent data posts_2012-01-01_16h00m00.csv (0.0ms)
|
138155
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
138156
|
+
Started GET "/manage/structures/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
138157
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138158
|
+
[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
|
138159
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138160
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138161
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 5 WHERE `users`.`id` = 1
|
138162
|
+
[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
|
138163
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138164
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
138165
|
+
Parameters: {"model_name"=>"structures"}
|
138166
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
138167
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`id` >= 0) ORDER BY `structures`.`id` ASC LIMIT 1000 OFFSET 0[0m
|
138168
|
+
Sent data structures_2012-01-01_16h00m00.xls (0.0ms)
|
138169
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
138170
|
+
Started GET "/manage/structures/export.xml" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
138171
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138172
|
+
[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
|
138173
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138174
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138175
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 6 WHERE `users`.`id` = 1
|
138176
|
+
[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
|
138177
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138178
|
+
Processing by Sunrise::ManagerController#export as XML
|
138179
|
+
Parameters: {"model_name"=>"structures"}
|
138180
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` LIMIT 25 OFFSET 0[0m
|
138181
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
138182
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2013-04-12 11:09:05 +0300
|
138183
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
138184
|
+
Parameters: {"model_name"=>"users"}
|
138185
|
+
Completed 401 Unauthorized in 1ms
|
138186
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138187
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138188
|
+
[1m[35m (200.9ms)[0m TRUNCATE TABLE `activities`;
|
138189
|
+
[1m[36m (263.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138190
|
+
[1m[35m (332.9ms)[0m TRUNCATE TABLE `audits`;
|
138191
|
+
[1m[36m (262.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138192
|
+
[1m[35m (284.2ms)[0m TRUNCATE TABLE `page_parts`;
|
138193
|
+
[1m[36m (248.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138194
|
+
[1m[35m (183.7ms)[0m TRUNCATE TABLE `settings`;
|
138195
|
+
[1m[36m (273.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138196
|
+
[1m[35m (364.7ms)[0m TRUNCATE TABLE `users`;
|
138197
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138198
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138199
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138200
|
+
[1m[35m (272.2ms)[0m TRUNCATE TABLE `activities`;
|
138201
|
+
[1m[36m (679.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138202
|
+
[1m[35m (1453.8ms)[0m TRUNCATE TABLE `audits`;
|
138203
|
+
[1m[36m (442.6ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138204
|
+
[1m[35m (627.9ms)[0m TRUNCATE TABLE `page_parts`;
|
138205
|
+
[1m[36m (394.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138206
|
+
[1m[35m (270.6ms)[0m TRUNCATE TABLE `settings`;
|
138207
|
+
[1m[36m (319.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138208
|
+
[1m[35m (353.3ms)[0m TRUNCATE TABLE `users`;
|
138209
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138210
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138211
|
+
[1m[36mUser Exists (1.8ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing37@example.com' LIMIT 1[0m
|
138212
|
+
[1m[35mSQL (1.2ms)[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-04-12 08:09:12', '2013-04-12 08:09:12', NULL, NULL, 'testing37@example.com', 'a301a4a8f8f7190f48b4d5d1f1d0002dd9043864da7435a626b79f7d5bc1817706bca47c9594c1f331aefa6cb14d36144808f3c9633441b83254300c8cd5f30f', 0, NULL, NULL, NULL, 'Admin', 'XzgKNgxy1pqhM63BvbMw', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:12')
|
138213
|
+
[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-04-12 08:09:12', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:12')[0m
|
138214
|
+
[1m[35m (38.4ms)[0m COMMIT
|
138215
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138216
|
+
[1m[35mStructure Load (0.9ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138217
|
+
[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-04-12 08:09:12', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:12')[0m
|
138218
|
+
[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-04-12 08:09:12', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:12')
|
138219
|
+
[1m[36mStructure Load (0.8ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
138220
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
138221
|
+
[1m[36m (35.7ms)[0m [1mCOMMIT[0m
|
138222
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138223
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
138224
|
+
[1m[35mSQL (1.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-04-12 08:09:12', 0, 1, 3, 1, 2, NULL, 4, 'slug11', 1, 'Structure', '2013-04-12 08:09:12')
|
138225
|
+
[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-04-12 08:09:12', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:12')[0m
|
138226
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
138227
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
138228
|
+
[1m[35mSQL (0.8ms)[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`
|
138229
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
138230
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138231
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138232
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138233
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138234
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
138235
|
+
[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
|
138236
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138237
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138238
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138239
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138240
|
+
[1m[35m (29.1ms)[0m COMMIT
|
138241
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-04-12 11:09:12 +0300
|
138242
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138243
|
+
[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-04-12 08:09:12', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:12')
|
138244
|
+
[1m[36m (38.5ms)[0m [1mCOMMIT[0m
|
138245
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138246
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:12', `current_sign_in_at` = '2013-04-12 08:09:12', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:12' WHERE `users`.`id` = 1[0m
|
138247
|
+
[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-04-12 08:09:12', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:12')
|
138248
|
+
[1m[36m (45.1ms)[0m [1mCOMMIT[0m
|
138249
|
+
Processing by Sunrise::DashboardController#index as HTML
|
138250
|
+
[1m[35mPublicActivity::ORM::ActiveRecord::Activity Load (0.6ms)[0m SELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0
|
138251
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138252
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138253
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138254
|
+
[1m[35mStructure Load (1.9ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
138255
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138256
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138257
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138258
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138259
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138260
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138261
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (35.5ms)
|
138262
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `activities` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
138263
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.2ms)
|
138264
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.5ms)
|
138265
|
+
Completed 200 OK in 73ms (Views: 50.5ms | ActiveRecord: 4.2ms)
|
138266
|
+
Started GET "/manage/whatever" for 127.0.0.1 at 2013-04-12 11:09:12 +0300
|
138267
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138268
|
+
[1m[36mSQL (2.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-04-12 08:09:12', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:12')[0m
|
138269
|
+
[1m[35m (20.0ms)[0m COMMIT
|
138270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138271
|
+
[1m[35m (141.7ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:09:12' WHERE `users`.`id` = 1
|
138272
|
+
[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-04-12 08:09:13', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:13')[0m
|
138273
|
+
[1m[35m (493.9ms)[0m COMMIT
|
138274
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138275
|
+
Parameters: {"model_name"=>"whatever"}
|
138276
|
+
Error while loading 'SunriseWhatever': uninitialized constant SunriseWhatever
|
138277
|
+
Completed 404 Not Found in 91ms
|
138278
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:09:13 +0300
|
138279
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138280
|
+
[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-04-12 08:09:13', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:13')
|
138281
|
+
[1m[36m (40.1ms)[0m [1mCOMMIT[0m
|
138282
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138283
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `current_sign_in_at` = '2013-04-12 08:09:13', `sign_in_count` = 3, `updated_at` = '2013-04-12 08:09:13' WHERE `users`.`id` = 1[0m
|
138284
|
+
[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-04-12 08:09:13', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:13')
|
138285
|
+
[1m[36m (107.4ms)[0m [1mCOMMIT[0m
|
138286
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138287
|
+
Parameters: {"model_name"=>"structures"}
|
138288
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
138289
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
138290
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.6ms)
|
138291
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (7.2ms)
|
138292
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
138293
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
138294
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.9ms)
|
138295
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.4ms)
|
138296
|
+
Completed 200 OK in 25ms (Views: 20.2ms | ActiveRecord: 1.4ms)
|
138297
|
+
Started GET "/manage/users" for 127.0.0.1 at 2013-04-12 11:09:13 +0300
|
138298
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138299
|
+
[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-04-12 08:09:13', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:13')[0m
|
138300
|
+
[1m[35m (111.7ms)[0m COMMIT
|
138301
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138302
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:13', `current_sign_in_at` = '2013-04-12 08:09:14', `sign_in_count` = 4, `updated_at` = '2013-04-12 08:09:14' WHERE `users`.`id` = 1
|
138303
|
+
[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-04-12 08:09:14', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:14')[0m
|
138304
|
+
[1m[35m (148.2ms)[0m COMMIT
|
138305
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138306
|
+
Parameters: {"model_name"=>"users"}
|
138307
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` LIMIT 25 OFFSET 0[0m
|
138308
|
+
[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
|
138309
|
+
Rendered sunrise/manager/users/thumbs/_record.html.erb (5.6ms)
|
138310
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `users` [0m
|
138311
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
138312
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138313
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138314
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (32.2ms)
|
138315
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (77.7ms)
|
138316
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (1.8ms)
|
138317
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (1.5ms)
|
138318
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (1.4ms)
|
138319
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (2.3ms)
|
138320
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_export.html.erb (1.6ms)
|
138321
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (26.6ms)
|
138322
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (107.4ms)
|
138323
|
+
Completed 200 OK in 367ms (Views: 328.4ms | ActiveRecord: 1.5ms)
|
138324
|
+
Started GET "/manage/pages" for 127.0.0.1 at 2013-04-12 11:09:14 +0300
|
138325
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138326
|
+
[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-04-12 08:09:14', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:14')[0m
|
138327
|
+
[1m[35m (42.1ms)[0m COMMIT
|
138328
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138329
|
+
[1m[35m (0.6ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:14', `sign_in_count` = 5, `updated_at` = '2013-04-12 08:09:14' WHERE `users`.`id` = 1
|
138330
|
+
[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-04-12 08:09:14', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:14')[0m
|
138331
|
+
[1m[35m (43.8ms)[0m COMMIT
|
138332
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138333
|
+
Parameters: {"model_name"=>"pages"}
|
138334
|
+
Completed 404 Not Found in 3ms
|
138335
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:09:14 +0300
|
138336
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138337
|
+
Parameters: {"model_name"=>"structures"}
|
138338
|
+
Completed 401 Unauthorized in 1ms
|
138339
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:09:14 +0300
|
138340
|
+
Processing by Devise::SessionsController#new as HTML
|
138341
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.5ms)
|
138342
|
+
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
|
138343
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138344
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138345
|
+
[1m[36m (333.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138346
|
+
[1m[35m (284.2ms)[0m TRUNCATE TABLE `assets`;
|
138347
|
+
[1m[36m (209.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138348
|
+
[1m[35m (250.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
138349
|
+
[1m[36m (273.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138350
|
+
[1m[35m (116.9ms)[0m TRUNCATE TABLE `posts`;
|
138351
|
+
[1m[36m (206.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138352
|
+
[1m[35m (353.1ms)[0m TRUNCATE TABLE `structures`;
|
138353
|
+
[1m[36m (410.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138354
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138355
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138356
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138357
|
+
[1m[36m (318.4ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138358
|
+
[1m[35m (251.9ms)[0m TRUNCATE TABLE `assets`;
|
138359
|
+
[1m[36m (274.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138360
|
+
[1m[35m (275.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
138361
|
+
[1m[36m (273.6ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138362
|
+
[1m[35m (160.8ms)[0m TRUNCATE TABLE `posts`;
|
138363
|
+
[1m[36m (229.7ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138364
|
+
[1m[35m (375.8ms)[0m TRUNCATE TABLE `structures`;
|
138365
|
+
[1m[36m (365.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138366
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138368
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing38@example.com' LIMIT 1
|
138369
|
+
[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-04-12 08:09:19', '2013-04-12 08:09:19', NULL, NULL, 'testing38@example.com', 'a15365e00150f095ce6e9c952e1b5cfcf5dea2493a67bed6c1eeee2b9e205b8e2d43397fc82166c4bd6835b50ccbce760cc500aaf208cdbb0bc0bd5a95309b5c', 0, NULL, NULL, NULL, 'Admin', 'oXGQh1JrtLwWLsrpmsXu', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:19')[0m
|
138370
|
+
[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-04-12 08:09:19', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:19')
|
138371
|
+
[1m[36m (30.9ms)[0m [1mCOMMIT[0m
|
138372
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-04-12 11:09:19 +0300
|
138373
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138374
|
+
[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-04-12 08:09:19', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:19')[0m
|
138375
|
+
[1m[35m (33.1ms)[0m COMMIT
|
138376
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138377
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:19', `current_sign_in_at` = '2013-04-12 08:09:19', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:19' WHERE `users`.`id` = 1
|
138378
|
+
[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-04-12 08:09:19', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:19')[0m
|
138379
|
+
[1m[35m (36.2ms)[0m COMMIT
|
138380
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138381
|
+
Parameters: {"model_name"=>"structures"}
|
138382
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138383
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
138384
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (18.1ms)
|
138385
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.9ms)
|
138386
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (30.4ms)
|
138387
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.4ms)
|
138388
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.6ms)
|
138389
|
+
Completed 200 OK in 42ms (Views: 39.1ms | ActiveRecord: 0.6ms)
|
138390
|
+
Started POST "/manage/structures/new" for 127.0.0.1 at 2013-04-12 11:09:19 +0300
|
138391
|
+
Processing by Sunrise::ManagerController#create as HTML
|
138392
|
+
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"}
|
138393
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138394
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138395
|
+
[1m[35mStructure Load (2.0ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138396
|
+
[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-04-12 08:09:20', 0, 1, 1, NULL, 2, '', 2, 'good-day', 1, 'Good day', '2013-04-12 08:09:20')[0m
|
138397
|
+
[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-04-12 08:09:20', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:20')
|
138398
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
138399
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
138400
|
+
[1m[36m (27.9ms)[0m [1mCOMMIT[0m
|
138401
|
+
Redirected to http://www.example.com/manage/structures
|
138402
|
+
Completed 302 Found in 424ms (ActiveRecord: 0.0ms)
|
138403
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-04-12 11:09:20 +0300
|
138404
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138405
|
+
Parameters: {"model_name"=>"structures"}
|
138406
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138407
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
138408
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.9ms)
|
138409
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
138410
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138411
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.4ms)
|
138412
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.9ms)
|
138413
|
+
Completed 200 OK in 24ms (Views: 16.5ms | ActiveRecord: 0.9ms)
|
138414
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`id` DESC LIMIT 1
|
138415
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-04-12 11:09:20 +0300
|
138416
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138417
|
+
Parameters: {"model_name"=>"structures"}
|
138418
|
+
Completed 401 Unauthorized in 1ms
|
138419
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:09:20 +0300
|
138420
|
+
Processing by Devise::SessionsController#new as HTML
|
138421
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.2ms)
|
138422
|
+
Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
138423
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138424
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138425
|
+
[1m[36m (365.1ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138426
|
+
[1m[35m (241.0ms)[0m TRUNCATE TABLE `assets`;
|
138427
|
+
[1m[36m (342.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138428
|
+
[1m[35m (284.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
138429
|
+
[1m[36m (139.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138430
|
+
[1m[35m (216.7ms)[0m TRUNCATE TABLE `posts`;
|
138431
|
+
[1m[36m (194.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138432
|
+
[1m[35m (285.0ms)[0m TRUNCATE TABLE `structures`;
|
138433
|
+
[1m[36m (430.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138434
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138435
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138436
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138437
|
+
[1m[36m (317.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138438
|
+
[1m[35m (265.9ms)[0m TRUNCATE TABLE `assets`;
|
138439
|
+
[1m[36m (430.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138440
|
+
[1m[35m (162.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
138441
|
+
[1m[36m (265.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138442
|
+
[1m[35m (327.6ms)[0m TRUNCATE TABLE `posts`;
|
138443
|
+
[1m[36m (751.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138444
|
+
[1m[35m (959.5ms)[0m TRUNCATE TABLE `structures`;
|
138445
|
+
[1m[36m (581.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138446
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138447
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138448
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing39@example.com' LIMIT 1
|
138449
|
+
[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-04-12 08:09:27', '2013-04-12 08:09:27', NULL, NULL, 'testing39@example.com', 'b08bd105d1f83096a4c04504f6bc12d8555437656004e9c61f602f8c6dcec6561b360df1d2a40bafc589d61409be72d2f33756fa397ecdbd4ee4523aa75dcf81', 0, NULL, NULL, NULL, 'Admin', 'H4pLsnhSVUx27t9ax4MD', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:27')[0m
|
138450
|
+
[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-04-12 08:09:27', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')
|
138451
|
+
[1m[36m (37.9ms)[0m [1mCOMMIT[0m
|
138452
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138453
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
138454
|
+
[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-04-12 08:09:27', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:27')
|
138455
|
+
[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-04-12 08:09:27', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:27')[0m
|
138456
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
138457
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
138458
|
+
[1m[35m (31.0ms)[0m COMMIT
|
138459
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138460
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138461
|
+
[1m[36mSQL (85.1ms)[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-04-12 08:09:27', 0, 1, 3, 1, 2, NULL, 4, 'slug12', 1, 'Structure', '2013-04-12 08:09:27')[0m
|
138462
|
+
[1m[35mSQL (5.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-04-12 08:09:27', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:27')
|
138463
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
138464
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
138465
|
+
[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
|
138466
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
138467
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138468
|
+
[1m[35m (0.8ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138469
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
138470
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138471
|
+
[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
|
138472
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
138473
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138474
|
+
[1m[35m (0.9ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138475
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
138476
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138477
|
+
[1m[36m (36.3ms)[0m [1mCOMMIT[0m
|
138478
|
+
Started GET "/manage/whatever/2/edit" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138479
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138480
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')[0m
|
138481
|
+
[1m[35m (45.1ms)[0m COMMIT
|
138482
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138483
|
+
[1m[35m (0.6ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:27', `current_sign_in_at` = '2013-04-12 08:09:27', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:27' WHERE `users`.`id` = 1
|
138484
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')[0m
|
138485
|
+
[1m[35m (35.5ms)[0m COMMIT
|
138486
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138487
|
+
Parameters: {"model_name"=>"whatever", "id"=>"2"}
|
138488
|
+
Error while loading 'SunriseWhatever': uninitialized constant SunriseWhatever
|
138489
|
+
Completed 404 Not Found in 9ms
|
138490
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138491
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138492
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')
|
138493
|
+
[1m[36m (40.6ms)[0m [1mCOMMIT[0m
|
138494
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138495
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:09:27' WHERE `users`.`id` = 1[0m
|
138496
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')
|
138497
|
+
[1m[36m (47.3ms)[0m [1mCOMMIT[0m
|
138498
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138499
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
138500
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138501
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138502
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
138503
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`
|
138504
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (19.5ms)
|
138505
|
+
[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
|
138506
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (9.8ms)
|
138507
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (33.4ms)
|
138508
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
138509
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.6ms)
|
138510
|
+
Completed 200 OK in 47ms (Views: 40.9ms | ActiveRecord: 2.1ms)
|
138511
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138512
|
+
[1m[35m (0.2ms)[0m BEGIN
|
138513
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')[0m
|
138514
|
+
[1m[35m (26.6ms)[0m COMMIT
|
138515
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
138516
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-04-12 08:09:27' WHERE `users`.`id` = 1
|
138517
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')[0m
|
138518
|
+
[1m[35m (34.6ms)[0m COMMIT
|
138519
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138520
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
138521
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138522
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
138523
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
138524
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
138525
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (20.3ms)
|
138526
|
+
[1m[35mMetaTag Load (0.3ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
138527
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (13.0ms)
|
138528
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (38.2ms)
|
138529
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.7ms)
|
138530
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.6ms)
|
138531
|
+
Completed 200 OK in 53ms (Views: 48.6ms | ActiveRecord: 1.0ms)
|
138532
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138533
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138534
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')
|
138535
|
+
[1m[36m (20.3ms)[0m [1mCOMMIT[0m
|
138536
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138537
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 4, `updated_at` = '2013-04-12 08:09:27' WHERE `users`.`id` = 1[0m
|
138538
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')
|
138539
|
+
[1m[36m (25.9ms)[0m [1mCOMMIT[0m
|
138540
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138541
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
138542
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138543
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138544
|
+
[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
|
138545
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.3ms)
|
138546
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.8ms)
|
138547
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
138548
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
138549
|
+
Completed 200 OK in 24ms (Views: 19.9ms | ActiveRecord: 0.7ms)
|
138550
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138551
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138552
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')[0m
|
138553
|
+
[1m[35m (25.4ms)[0m COMMIT
|
138554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138555
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `sign_in_count` = 5, `updated_at` = '2013-04-12 08:09:27' WHERE `users`.`id` = 1
|
138556
|
+
[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-04-12 08:09:27', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:27')[0m
|
138557
|
+
[1m[35m (25.2ms)[0m COMMIT
|
138558
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138559
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
138560
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138561
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138562
|
+
[1m[35mPagePart Load (0.2ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
138563
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.5ms)
|
138564
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.7ms)
|
138565
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
138566
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
138567
|
+
Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.4ms)
|
138568
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138569
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138570
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
138571
|
+
Completed 401 Unauthorized in 1ms
|
138572
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:09:27 +0300
|
138573
|
+
Processing by Devise::SessionsController#new as HTML
|
138574
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.0ms)
|
138575
|
+
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
138576
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138577
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138578
|
+
[1m[36m (189.3ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138579
|
+
[1m[35m (827.0ms)[0m TRUNCATE TABLE `assets`;
|
138580
|
+
[1m[36m (375.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138581
|
+
[1m[35m (261.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
138582
|
+
[1m[36m (162.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138583
|
+
[1m[35m (217.3ms)[0m TRUNCATE TABLE `posts`;
|
138584
|
+
[1m[36m (150.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138585
|
+
[1m[35m (329.7ms)[0m TRUNCATE TABLE `structures`;
|
138586
|
+
[1m[36m (376.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138587
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138588
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138589
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138590
|
+
[1m[36m (316.7ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138591
|
+
[1m[35m (307.5ms)[0m TRUNCATE TABLE `assets`;
|
138592
|
+
[1m[36m (242.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138593
|
+
[1m[35m (248.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
138594
|
+
[1m[36m (288.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138595
|
+
[1m[35m (283.9ms)[0m TRUNCATE TABLE `posts`;
|
138596
|
+
[1m[36m (117.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138597
|
+
[1m[35m (363.0ms)[0m TRUNCATE TABLE `structures`;
|
138598
|
+
[1m[36m (364.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138599
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138600
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138601
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing40@example.com' LIMIT 1
|
138602
|
+
[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-04-12 08:09:33', '2013-04-12 08:09:33', NULL, NULL, 'testing40@example.com', 'bcb57fe95892b7f683bdba8ae55f6583fbdcef51fe516bff47e1fc544790284f39afac0b7fadc6ab6155932980b591296e2bbbd8089a1b9ca35fc887543e2096', 0, NULL, NULL, NULL, 'Admin', 'uzyeuK7LevtL7Ck9d5hu', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:33')[0m
|
138603
|
+
[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-04-12 08:09:33', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:33')
|
138604
|
+
[1m[36m (41.7ms)[0m [1mCOMMIT[0m
|
138605
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138606
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
138607
|
+
[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-04-12 08:09:33', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:33')
|
138608
|
+
[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-04-12 08:09:33', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:33')[0m
|
138609
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
138610
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
138611
|
+
[1m[35m (32.2ms)[0m COMMIT
|
138612
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138613
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138614
|
+
[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-04-12 08:09:33', 0, 1, 3, 1, 2, NULL, 4, 'slug13', 1, 'Structure', '2013-04-12 08:09:33')[0m
|
138615
|
+
[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-04-12 08:09:33', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:33')
|
138616
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
138617
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
138618
|
+
[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
|
138619
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
138620
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138621
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138622
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
138623
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138624
|
+
[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
|
138625
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
138626
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138627
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138628
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
138629
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
138630
|
+
[1m[36m (45.4ms)[0m [1mCOMMIT[0m
|
138631
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138632
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:09:33', 1, 2, 'Default title', '2013-04-12 08:09:33')[0m
|
138633
|
+
[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-04-12 08:09:33', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:33')
|
138634
|
+
[1m[36m (36.1ms)[0m [1mCOMMIT[0m
|
138635
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:33 +0300
|
138636
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138637
|
+
[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-04-12 08:09:33', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:33')[0m
|
138638
|
+
[1m[35m (45.3ms)[0m COMMIT
|
138639
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138640
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:33', `current_sign_in_at` = '2013-04-12 08:09:33', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:33' WHERE `users`.`id` = 1
|
138641
|
+
[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-04-12 08:09:33', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:33')[0m
|
138642
|
+
[1m[35m (37.4ms)[0m COMMIT
|
138643
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138644
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138645
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138646
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
138647
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
138648
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (16.2ms)
|
138649
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
138650
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
138651
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138652
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138653
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.9ms)
|
138654
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (18.1ms)
|
138655
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
138656
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
138657
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
138658
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
138659
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.8ms)
|
138660
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (23.7ms)
|
138661
|
+
Completed 200 OK in 116ms (Views: 106.5ms | ActiveRecord: 1.4ms)
|
138662
|
+
Started DELETE "/manage/posts/1/delete?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:33 +0300
|
138663
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
138664
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
138665
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138666
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
138667
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138668
|
+
[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-04-12 08:09:33', 'post.destroy', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:33')[0m
|
138669
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
|
138670
|
+
[1m[36m (23.8ms)[0m [1mCOMMIT[0m
|
138671
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138672
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
138673
|
+
Completed 302 Found in 41ms (ActiveRecord: 0.0ms)
|
138674
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:33 +0300
|
138675
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138676
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138677
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138678
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138679
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
138680
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
138681
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
138682
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
138683
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138684
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138685
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
138686
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.5ms)
|
138687
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
138688
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
138689
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
138690
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
138691
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.7ms)
|
138692
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.9ms)
|
138693
|
+
Completed 200 OK in 36ms (Views: 28.3ms | ActiveRecord: 1.2ms)
|
138694
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
138695
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:33 +0300
|
138696
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138697
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138698
|
+
Completed 401 Unauthorized in 1ms
|
138699
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:09:33 +0300
|
138700
|
+
Processing by Devise::SessionsController#new as HTML
|
138701
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.1ms)
|
138702
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
138703
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138704
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138705
|
+
[1m[35m (157.5ms)[0m TRUNCATE TABLE `activities`;
|
138706
|
+
[1m[36m (285.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138707
|
+
[1m[35m (286.8ms)[0m TRUNCATE TABLE `audits`;
|
138708
|
+
[1m[36m (272.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138709
|
+
[1m[35m (140.2ms)[0m TRUNCATE TABLE `page_parts`;
|
138710
|
+
[1m[36m (239.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138711
|
+
[1m[35m (340.1ms)[0m TRUNCATE TABLE `settings`;
|
138712
|
+
[1m[36m (220.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138713
|
+
[1m[35m (308.0ms)[0m TRUNCATE TABLE `users`;
|
138714
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138715
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138716
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138717
|
+
[1m[35m (418.0ms)[0m TRUNCATE TABLE `activities`;
|
138718
|
+
[1m[36m (330.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138719
|
+
[1m[35m (308.6ms)[0m TRUNCATE TABLE `audits`;
|
138720
|
+
[1m[36m (300.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138721
|
+
[1m[35m (1014.2ms)[0m TRUNCATE TABLE `page_parts`;
|
138722
|
+
[1m[36m (423.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138723
|
+
[1m[35m (116.9ms)[0m TRUNCATE TABLE `settings`;
|
138724
|
+
[1m[36m (309.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138725
|
+
[1m[35m (309.8ms)[0m TRUNCATE TABLE `users`;
|
138726
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138727
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138728
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing41@example.com' LIMIT 1[0m
|
138729
|
+
[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-04-12 08:09:39', '2013-04-12 08:09:39', NULL, NULL, 'testing41@example.com', 'bce89f09e6a156df20ffc3dbd36f1cbe8bdc6145fae01cdb063b60c024e04549959fdaf72b88c6edc79535b3eb369d80e9f03aec533ad11951896d798dde0d6b', 0, NULL, NULL, NULL, 'Admin', 'pppnizCF18C2MSzyAVYY', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:39')
|
138730
|
+
[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-04-12 08:09:39', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:39')[0m
|
138731
|
+
[1m[35m (32.5ms)[0m COMMIT
|
138732
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138733
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138734
|
+
[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-04-12 08:09:39', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:39')[0m
|
138735
|
+
[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-04-12 08:09:39', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:39')
|
138736
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
138737
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
138738
|
+
[1m[36m (113.6ms)[0m [1mCOMMIT[0m
|
138739
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138740
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
138741
|
+
[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-04-12 08:09:39', 0, 1, 3, 1, 2, NULL, 4, 'slug14', 1, 'Structure', '2013-04-12 08:09:39')
|
138742
|
+
[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-04-12 08:09:39', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:39')[0m
|
138743
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
138744
|
+
[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
|
138745
|
+
[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`
|
138746
|
+
[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
|
138747
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138748
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138749
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138750
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138751
|
+
[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`
|
138752
|
+
[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
|
138753
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138754
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138755
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138756
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138757
|
+
[1m[35m (36.8ms)[0m COMMIT
|
138758
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138759
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:09:39', 1, 2, 'Default title', '2013-04-12 08:09:39')
|
138760
|
+
[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-04-12 08:09:39', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:39')[0m
|
138761
|
+
[1m[35m (31.3ms)[0m COMMIT
|
138762
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138763
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138764
|
+
[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-04-12 08:09:40', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:40')
|
138765
|
+
[1m[36m (46.8ms)[0m [1mCOMMIT[0m
|
138766
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138767
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:40', `current_sign_in_at` = '2013-04-12 08:09:40', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:40' WHERE `users`.`id` = 1[0m
|
138768
|
+
[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-04-12 08:09:40', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:40')
|
138769
|
+
[1m[36m (58.7ms)[0m [1mCOMMIT[0m
|
138770
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138771
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
138772
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
138773
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138774
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.5ms)
|
138775
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.7ms)
|
138776
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
138777
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
138778
|
+
Completed 200 OK in 25ms (Views: 18.0ms | ActiveRecord: 0.5ms)
|
138779
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138780
|
+
Processing by Sunrise::ManagerController#update as HTML
|
138781
|
+
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"}
|
138782
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
138783
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
138784
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138785
|
+
[1m[35m (0.4ms)[0m UPDATE `posts` SET `title` = 'Title updated', `content` = 'Tra la la', `is_visible` = 0, `updated_at` = '2013-04-12 08:09:40' WHERE `posts`.`id` = 1
|
138786
|
+
[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-04-12 08:09:40', 'post.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:40')[0m
|
138787
|
+
[1m[35m (22.1ms)[0m COMMIT
|
138788
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138789
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
138790
|
+
Completed 302 Found in 43ms (ActiveRecord: 0.0ms)
|
138791
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138792
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138793
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138794
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138795
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138796
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
138797
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
138798
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (5.7ms)
|
138799
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
138800
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
138801
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138802
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
138803
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.7ms)
|
138804
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.9ms)
|
138805
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
138806
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
138807
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
138808
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.2ms)
|
138809
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.9ms)
|
138810
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.5ms)
|
138811
|
+
Completed 200 OK in 44ms (Views: 35.2ms | ActiveRecord: 1.4ms)
|
138812
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
138813
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138814
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138815
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138816
|
+
[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-04-12 08:09:40', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:40')[0m
|
138817
|
+
[1m[35m (17.7ms)[0m COMMIT
|
138818
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138819
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:09:40' WHERE `users`.`id` = 1
|
138820
|
+
[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-04-12 08:09:40', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:40')[0m
|
138821
|
+
[1m[35m (47.9ms)[0m COMMIT
|
138822
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138823
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
138824
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
138825
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138826
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.3ms)
|
138827
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.5ms)
|
138828
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
138829
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
138830
|
+
Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.2ms)
|
138831
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138832
|
+
Processing by Sunrise::ManagerController#update as HTML
|
138833
|
+
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"}
|
138834
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138835
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
138836
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138837
|
+
[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-04-12 08:09:40', 'post.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:40')[0m
|
138838
|
+
[1m[35m (29.6ms)[0m COMMIT
|
138839
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138840
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
138841
|
+
Completed 302 Found in 44ms (ActiveRecord: 0.0ms)
|
138842
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138843
|
+
Processing by Sunrise::ManagerController#index as HTML
|
138844
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138845
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
138846
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
138847
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
138848
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
138849
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (5.7ms)
|
138850
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
138851
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
138852
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138853
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
138854
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.6ms)
|
138855
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.7ms)
|
138856
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
138857
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
138858
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
138859
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
138860
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.9ms)
|
138861
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.3ms)
|
138862
|
+
Completed 200 OK in 42ms (Views: 34.5ms | ActiveRecord: 0.7ms)
|
138863
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138864
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
138865
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
138866
|
+
Completed 401 Unauthorized in 1ms
|
138867
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:09:40 +0300
|
138868
|
+
Processing by Devise::SessionsController#new as HTML
|
138869
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.0ms)
|
138870
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
138871
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138872
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138873
|
+
[1m[35m (165.8ms)[0m TRUNCATE TABLE `activities`;
|
138874
|
+
[1m[36m (252.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138875
|
+
[1m[35m (298.4ms)[0m TRUNCATE TABLE `audits`;
|
138876
|
+
[1m[36m (262.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138877
|
+
[1m[35m (140.2ms)[0m TRUNCATE TABLE `page_parts`;
|
138878
|
+
[1m[36m (194.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138879
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `settings`;
|
138880
|
+
[1m[36m (307.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138881
|
+
[1m[35m (353.0ms)[0m TRUNCATE TABLE `users`;
|
138882
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138883
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
138884
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
138885
|
+
[1m[35m (305.8ms)[0m TRUNCATE TABLE `activities`;
|
138886
|
+
[1m[36m (263.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
138887
|
+
[1m[35m (208.8ms)[0m TRUNCATE TABLE `audits`;
|
138888
|
+
[1m[36m (216.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
138889
|
+
[1m[35m (261.5ms)[0m TRUNCATE TABLE `page_parts`;
|
138890
|
+
[1m[36m (117.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
138891
|
+
[1m[35m (272.8ms)[0m TRUNCATE TABLE `settings`;
|
138892
|
+
[1m[36m (309.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
138893
|
+
[1m[35m (353.5ms)[0m TRUNCATE TABLE `users`;
|
138894
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
138895
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138896
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing42@example.com' LIMIT 1[0m
|
138897
|
+
[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-04-12 08:09:45', '2013-04-12 08:09:45', NULL, NULL, 'testing42@example.com', '38094101702a6807890134e25eaf07a507dc7a548c2572d53413a2c37eb1661430892d61413d8f7144fd5850d5a2538c0ca63ab0e593c97dba273d1240903fae', 0, NULL, NULL, NULL, 'Admin', 'CphdPkU8ZcXvz47sWoZs', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:45')
|
138898
|
+
[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-04-12 08:09:45', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')[0m
|
138899
|
+
[1m[35m (31.7ms)[0m COMMIT
|
138900
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138901
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
138902
|
+
[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-04-12 08:09:45', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:45')[0m
|
138903
|
+
[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-04-12 08:09:45', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:45')
|
138904
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
138905
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
138906
|
+
[1m[36m (32.3ms)[0m [1mCOMMIT[0m
|
138907
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138908
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
138909
|
+
[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-04-12 08:09:45', 0, 1, 3, 1, 2, NULL, 4, 'slug15', 1, 'Structure', '2013-04-12 08:09:45')
|
138910
|
+
[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-04-12 08:09:45', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:45')[0m
|
138911
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
138912
|
+
[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
|
138913
|
+
[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`
|
138914
|
+
[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
|
138915
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138916
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138917
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138918
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138919
|
+
[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`
|
138920
|
+
[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
|
138921
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138922
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138923
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
138924
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
138925
|
+
[1m[35m (46.8ms)[0m COMMIT
|
138926
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:45 +0300
|
138927
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
138928
|
+
[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-04-12 08:09:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')
|
138929
|
+
[1m[36m (33.3ms)[0m [1mCOMMIT[0m
|
138930
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138931
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:45', `current_sign_in_at` = '2013-04-12 08:09:45', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:45' WHERE `users`.`id` = 1[0m
|
138932
|
+
[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-04-12 08:09:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')
|
138933
|
+
[1m[36m (37.5ms)[0m [1mCOMMIT[0m
|
138934
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138935
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138936
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138937
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138938
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.1ms)
|
138939
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.3ms)
|
138940
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
138941
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
138942
|
+
Completed 200 OK in 25ms (Views: 17.7ms | ActiveRecord: 0.5ms)
|
138943
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:45 +0300
|
138944
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138945
|
+
[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-04-12 08:09:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')
|
138946
|
+
[1m[36m (23.5ms)[0m [1mCOMMIT[0m
|
138947
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138948
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:09:45' WHERE `users`.`id` = 1[0m
|
138949
|
+
[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-04-12 08:09:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')
|
138950
|
+
[1m[36m (37.4ms)[0m [1mCOMMIT[0m
|
138951
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138952
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138953
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138954
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138955
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.0ms)
|
138956
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.0ms)
|
138957
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
138958
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
138959
|
+
Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.2ms)
|
138960
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:45 +0300
|
138961
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138962
|
+
[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-04-12 08:09:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')
|
138963
|
+
[1m[36m (39.1ms)[0m [1mCOMMIT[0m
|
138964
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138965
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-04-12 08:09:45' WHERE `users`.`id` = 1[0m
|
138966
|
+
[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-04-12 08:09:45', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:45')
|
138967
|
+
[1m[36m (37.5ms)[0m [1mCOMMIT[0m
|
138968
|
+
Processing by Sunrise::ManagerController#new as HTML
|
138969
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
138970
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
138971
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
138972
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.0ms)
|
138973
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.0ms)
|
138974
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
138975
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
138976
|
+
Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.2ms)
|
138977
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138978
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138979
|
+
[1m[36m (211.7ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138980
|
+
[1m[35m (285.4ms)[0m TRUNCATE TABLE `assets`;
|
138981
|
+
[1m[36m (342.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138982
|
+
[1m[35m (251.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
138983
|
+
[1m[36m (162.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138984
|
+
[1m[35m (216.2ms)[0m TRUNCATE TABLE `posts`;
|
138985
|
+
[1m[36m (218.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138986
|
+
[1m[35m (390.4ms)[0m TRUNCATE TABLE `structures`;
|
138987
|
+
[1m[36m (375.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
138988
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
138989
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
138990
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
138991
|
+
[1m[36m (385.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
138992
|
+
[1m[35m (196.6ms)[0m TRUNCATE TABLE `assets`;
|
138993
|
+
[1m[36m (295.7ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
138994
|
+
[1m[35m (306.1ms)[0m TRUNCATE TABLE `meta_tags`;
|
138995
|
+
[1m[36m (162.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
138996
|
+
[1m[35m (237.3ms)[0m TRUNCATE TABLE `posts`;
|
138997
|
+
[1m[36m (150.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
138998
|
+
[1m[35m (317.9ms)[0m TRUNCATE TABLE `structures`;
|
138999
|
+
[1m[36m (946.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139000
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139001
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139002
|
+
[1m[35mUser Exists (0.7ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing43@example.com' LIMIT 1
|
139003
|
+
[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-04-12 08:09:51', '2013-04-12 08:09:51', NULL, NULL, 'testing43@example.com', 'ba8b8c71aff9481b5ea77cb45806fe2334cc60a391b9c479ba1ac1ac9a6ec175ba9608cb7184af422e1767dea6e3530813dee42f7f872d4a4c3599560b5b4df0', 0, NULL, NULL, NULL, 'Admin', '8cvDas5qy8nJLUawKFdy', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:51')[0m
|
139004
|
+
[1m[35mSQL (79.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-04-12 08:09:51', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:51')
|
139005
|
+
[1m[36m (58.2ms)[0m [1mCOMMIT[0m
|
139006
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139007
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139008
|
+
[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-04-12 08:09:51', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:51')
|
139009
|
+
[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-04-12 08:09:51', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:51')[0m
|
139010
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
139011
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
139012
|
+
[1m[35m (138.1ms)[0m COMMIT
|
139013
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139014
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139015
|
+
[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-04-12 08:09:51', 0, 1, 3, 1, 2, NULL, 4, 'slug16', 1, 'Structure', '2013-04-12 08:09:51')[0m
|
139016
|
+
[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-04-12 08:09:51', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:51')
|
139017
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
139018
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
139019
|
+
[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
|
139020
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
139021
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139022
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139023
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
139024
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139025
|
+
[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
|
139026
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
139027
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139028
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139029
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
139030
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139031
|
+
[1m[36m (142.6ms)[0m [1mCOMMIT[0m
|
139032
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139033
|
+
[1m[36mSQL (39.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:09:51', 1, 2, 'Default title', '2013-04-12 08:09:51')[0m
|
139034
|
+
[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-04-12 08:09:51', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:51')
|
139035
|
+
[1m[36m (131.9ms)[0m [1mCOMMIT[0m
|
139036
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:51 +0300
|
139037
|
+
[1m[35m (0.2ms)[0m BEGIN
|
139038
|
+
[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-04-12 08:09:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:51')[0m
|
139039
|
+
[1m[35m (26.2ms)[0m COMMIT
|
139040
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139041
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:51', `current_sign_in_at` = '2013-04-12 08:09:51', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:51' WHERE `users`.`id` = 1
|
139042
|
+
[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-04-12 08:09:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:51')[0m
|
139043
|
+
[1m[35m (42.7ms)[0m COMMIT
|
139044
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139045
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139046
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139047
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
139048
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139049
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (5.6ms)
|
139050
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
139051
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
139052
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139053
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
139054
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (6.1ms)
|
139055
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.0ms)
|
139056
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.8ms)
|
139057
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.8ms)
|
139058
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
139059
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
139060
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.5ms)
|
139061
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (17.2ms)
|
139062
|
+
Completed 200 OK in 42ms (Views: 35.3ms | ActiveRecord: 1.4ms)
|
139063
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139064
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:09:51', 1, 2, 'Good day', '2013-04-12 08:09:51')[0m
|
139065
|
+
[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-04-12 08:09:51', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Post', '2013-04-12 08:09:51')
|
139066
|
+
[1m[36m (28.1ms)[0m [1mCOMMIT[0m
|
139067
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:51 +0300
|
139068
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139069
|
+
[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-04-12 08:09:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:51')[0m
|
139070
|
+
[1m[35m (34.7ms)[0m COMMIT
|
139071
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139072
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:09:51' WHERE `users`.`id` = 1
|
139073
|
+
[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-04-12 08:09:51', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:51')[0m
|
139074
|
+
[1m[35m (37.7ms)[0m COMMIT
|
139075
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139076
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139077
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139078
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
139079
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139080
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139081
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (10.1ms)
|
139082
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
139083
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
139084
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139085
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
139086
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
139087
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.4ms)
|
139088
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
139089
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
139090
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
139091
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
139092
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.7ms)
|
139093
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.8ms)
|
139094
|
+
Completed 200 OK in 45ms (Views: 38.7ms | ActiveRecord: 1.2ms)
|
139095
|
+
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-04-12 11:09:52 +0300
|
139096
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139097
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "search"=>{"title"=>"Good day", "structure_id"=>""}, "commit"=>"Search", "model_name"=>"posts"}
|
139098
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
139099
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139100
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`title` = 'Good day' AND `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
139101
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139102
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (5.6ms)
|
139103
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`title` = 'Good day' AND `posts`.`structure_id` = 2[0m
|
139104
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
139105
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139106
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
139107
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.6ms)
|
139108
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.1ms)
|
139109
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
139110
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
139111
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
139112
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
139113
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.8ms)
|
139114
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.5ms)
|
139115
|
+
Completed 200 OK in 44ms (Views: 35.1ms | ActiveRecord: 1.7ms)
|
139116
|
+
Started GET "/manage/posts?parent_id=1&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:52 +0300
|
139117
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139118
|
+
[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-04-12 08:09:52', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:52')[0m
|
139119
|
+
[1m[35m (19.5ms)[0m COMMIT
|
139120
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139121
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-04-12 08:09:52', `sign_in_count` = 3, `updated_at` = '2013-04-12 08:09:52' WHERE `users`.`id` = 1
|
139122
|
+
[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-04-12 08:09:52', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:52')[0m
|
139123
|
+
[1m[35m (37.2ms)[0m COMMIT
|
139124
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139125
|
+
Parameters: {"parent_id"=>"1", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139126
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
139127
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 1 LIMIT 25 OFFSET 0
|
139128
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
139129
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 1[0m
|
139130
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.2ms)
|
139131
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139132
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
139133
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.6ms)
|
139134
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.8ms)
|
139135
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
139136
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
139137
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.7ms)
|
139138
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.1ms)
|
139139
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.9ms)
|
139140
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.4ms)
|
139141
|
+
Completed 200 OK in 35ms (Views: 28.8ms | ActiveRecord: 1.3ms)
|
139142
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139143
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139144
|
+
[1m[35m (175.3ms)[0m TRUNCATE TABLE `activities`;
|
139145
|
+
[1m[36m (296.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139146
|
+
[1m[35m (342.1ms)[0m TRUNCATE TABLE `audits`;
|
139147
|
+
[1m[36m (273.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139148
|
+
[1m[35m (140.3ms)[0m TRUNCATE TABLE `page_parts`;
|
139149
|
+
[1m[36m (119.8ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139150
|
+
[1m[35m (271.6ms)[0m TRUNCATE TABLE `settings`;
|
139151
|
+
[1m[36m (320.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139152
|
+
[1m[35m (325.7ms)[0m TRUNCATE TABLE `users`;
|
139153
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139154
|
+
[1m[35m (16.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139155
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139156
|
+
[1m[35m (196.2ms)[0m TRUNCATE TABLE `activities`;
|
139157
|
+
[1m[36m (274.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139158
|
+
[1m[35m (308.6ms)[0m TRUNCATE TABLE `audits`;
|
139159
|
+
[1m[36m (317.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139160
|
+
[1m[35m (151.4ms)[0m TRUNCATE TABLE `page_parts`;
|
139161
|
+
[1m[36m (261.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139162
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `settings`;
|
139163
|
+
[1m[36m (328.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139164
|
+
[1m[35m (399.9ms)[0m TRUNCATE TABLE `users`;
|
139165
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139166
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139167
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing44@example.com' LIMIT 1[0m
|
139168
|
+
[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-04-12 08:09:56', '2013-04-12 08:09:56', NULL, NULL, 'testing44@example.com', '125e22ad5548aa7bbb9a7f827f9d67192c9de0e773cc3205e3f0cae5f7443a3ffcb908428c97fbd24fcf2f67ff2868cbb05a7dc5281a09b310872ba22f1b5632', 0, NULL, NULL, NULL, 'Admin', 'sGbDFmLMg8baANUvz92p', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:09:56')
|
139169
|
+
[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-04-12 08:09:56', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:56')[0m
|
139170
|
+
[1m[35m (30.8ms)[0m COMMIT
|
139171
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139172
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139173
|
+
[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-04-12 08:09:56', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:09:56')[0m
|
139174
|
+
[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-04-12 08:09:56', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:09:56')
|
139175
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
139176
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
139177
|
+
[1m[36m (31.6ms)[0m [1mCOMMIT[0m
|
139178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139179
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139180
|
+
[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-04-12 08:09:57', 0, 1, 3, 1, 2, NULL, 4, 'slug17', 1, 'Structure', '2013-04-12 08:09:57')
|
139181
|
+
[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-04-12 08:09:57', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:09:57')[0m
|
139182
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
139183
|
+
[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
|
139184
|
+
[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`
|
139185
|
+
[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
|
139186
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139187
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139188
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
139189
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139190
|
+
[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`
|
139191
|
+
[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
|
139192
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139193
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139194
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
139195
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139196
|
+
[1m[35m (34.0ms)[0m COMMIT
|
139197
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139198
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
139199
|
+
[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-04-12 08:09:57', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:57')
|
139200
|
+
[1m[36m (33.5ms)[0m [1mCOMMIT[0m
|
139201
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139202
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:09:57', `current_sign_in_at` = '2013-04-12 08:09:57', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:09:57' WHERE `users`.`id` = 1[0m
|
139203
|
+
[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-04-12 08:09:57', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:57')
|
139204
|
+
[1m[36m (37.2ms)[0m [1mCOMMIT[0m
|
139205
|
+
Processing by Sunrise::ManagerController#new as HTML
|
139206
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139207
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139208
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
139209
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (9.9ms)
|
139210
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (13.7ms)
|
139211
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.2ms)
|
139212
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.6ms)
|
139213
|
+
Completed 200 OK in 29ms (Views: 24.2ms | ActiveRecord: 0.5ms)
|
139214
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139215
|
+
Processing by Sunrise::ManagerController#create as HTML
|
139216
|
+
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"}
|
139217
|
+
[1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139218
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139219
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
139220
|
+
[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-04-12 08:09:57', 1, 2, 'Good title', '2013-04-12 08:09:57')
|
139221
|
+
[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-04-12 08:09:57', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:09:57')[0m
|
139222
|
+
[1m[35m (31.0ms)[0m COMMIT
|
139223
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
139224
|
+
Completed 302 Found in 50ms (ActiveRecord: 0.0ms)
|
139225
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139226
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139227
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139228
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139229
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139230
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
139231
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139232
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (6.7ms)
|
139233
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
139234
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
139235
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139236
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139237
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (6.7ms)
|
139238
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (12.1ms)
|
139239
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.9ms)
|
139240
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.8ms)
|
139241
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
139242
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.5ms)
|
139243
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (6.2ms)
|
139244
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (19.0ms)
|
139245
|
+
Completed 200 OK in 47ms (Views: 39.4ms | ActiveRecord: 1.4ms)
|
139246
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1[0m
|
139247
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139248
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139249
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139250
|
+
[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-04-12 08:09:57', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:57')
|
139251
|
+
[1m[36m (21.8ms)[0m [1mCOMMIT[0m
|
139252
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139253
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:09:57' WHERE `users`.`id` = 1[0m
|
139254
|
+
[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-04-12 08:09:57', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:09:57')
|
139255
|
+
[1m[36m (24.6ms)[0m [1mCOMMIT[0m
|
139256
|
+
Processing by Sunrise::ManagerController#new as HTML
|
139257
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139258
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139259
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
139260
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.4ms)
|
139261
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.0ms)
|
139262
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
139263
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
139264
|
+
Completed 200 OK in 25ms (Views: 19.7ms | ActiveRecord: 0.2ms)
|
139265
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139266
|
+
Processing by Sunrise::ManagerController#create as HTML
|
139267
|
+
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"}
|
139268
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139269
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139271
|
+
[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-04-12 08:09:57', 1, 2, 'Good title', '2013-04-12 08:09:57')
|
139272
|
+
[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-04-12 08:09:57', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Post', '2013-04-12 08:09:57')[0m
|
139273
|
+
[1m[35m (20.2ms)[0m COMMIT
|
139274
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
139275
|
+
Completed 302 Found in 37ms (ActiveRecord: 0.0ms)
|
139276
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139277
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139278
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
139279
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139280
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139281
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
139282
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139283
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_controls.html.erb (0.1ms)
|
139284
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (12.1ms)
|
139285
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
139286
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.5ms)
|
139287
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139288
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139289
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.7ms)
|
139290
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.4ms)
|
139291
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
139292
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
139293
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
139294
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.3ms)
|
139295
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (5.5ms)
|
139296
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (17.6ms)
|
139297
|
+
Completed 200 OK in 52ms (Views: 44.1ms | ActiveRecord: 1.4ms)
|
139298
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1[0m
|
139299
|
+
Started GET "/manage/posts/new" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139300
|
+
Processing by Sunrise::ManagerController#new as HTML
|
139301
|
+
Parameters: {"model_name"=>"posts"}
|
139302
|
+
Completed 401 Unauthorized in 1ms
|
139303
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:09:57 +0300
|
139304
|
+
Processing by Devise::SessionsController#new as HTML
|
139305
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.1ms)
|
139306
|
+
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
139307
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139308
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139309
|
+
[1m[35m (184.5ms)[0m TRUNCATE TABLE `activities`;
|
139310
|
+
[1m[36m (307.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139311
|
+
[1m[35m (386.1ms)[0m TRUNCATE TABLE `audits`;
|
139312
|
+
[1m[36m (250.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139313
|
+
[1m[35m (286.7ms)[0m TRUNCATE TABLE `page_parts`;
|
139314
|
+
[1m[36m (315.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139315
|
+
[1m[35m (288.6ms)[0m TRUNCATE TABLE `settings`;
|
139316
|
+
[1m[36m (225.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139317
|
+
[1m[35m (478.6ms)[0m TRUNCATE TABLE `users`;
|
139318
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139319
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139320
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139321
|
+
[1m[35m (184.0ms)[0m TRUNCATE TABLE `activities`;
|
139322
|
+
[1m[36m (307.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139323
|
+
[1m[35m (399.4ms)[0m TRUNCATE TABLE `audits`;
|
139324
|
+
[1m[36m (293.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139325
|
+
[1m[35m (162.5ms)[0m TRUNCATE TABLE `page_parts`;
|
139326
|
+
[1m[36m (286.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139327
|
+
[1m[35m (863.2ms)[0m TRUNCATE TABLE `settings`;
|
139328
|
+
[1m[36m (603.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139329
|
+
[1m[35m (585.5ms)[0m TRUNCATE TABLE `users`;
|
139330
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139331
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139332
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing45@example.com' LIMIT 1[0m
|
139333
|
+
[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-04-12 08:10:03', '2013-04-12 08:10:03', NULL, NULL, 'testing45@example.com', '8b218da4251f070c6c02bcb2f687e7ebc85420a93eb3bec3eb4a604b23ca569fbbe7abd69e4742834fa3f4b11cbd3e0190c31ed62e2cfd5fb7cd6b62d4333b30', 0, NULL, NULL, NULL, 'Admin', 'fptzYWPLFsJGm5x1ychE', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:10:03')
|
139334
|
+
[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-04-12 08:10:04', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:04')[0m
|
139335
|
+
[1m[35m (145.3ms)[0m COMMIT
|
139336
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139337
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139338
|
+
[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-04-12 08:10:04', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:10:04')[0m
|
139339
|
+
[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-04-12 08:10:04', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:10:04')
|
139340
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
139341
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
139342
|
+
[1m[36m (55.3ms)[0m [1mCOMMIT[0m
|
139343
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139344
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139345
|
+
[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-04-12 08:10:04', 0, 1, 3, 1, 2, NULL, 4, 'slug18', 1, 'Structure', '2013-04-12 08:10:04')
|
139346
|
+
[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-04-12 08:10:04', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:10:04')[0m
|
139347
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
139348
|
+
[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
|
139349
|
+
[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`
|
139350
|
+
[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
|
139351
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139352
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139353
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
139354
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139355
|
+
[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`
|
139356
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
139357
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139358
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139359
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
139360
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139361
|
+
[1m[35m (29.7ms)[0m COMMIT
|
139362
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139363
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:10:04', 1, 2, 'Default title', '2013-04-12 08:10:04')
|
139364
|
+
[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-04-12 08:10:04', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:10:04')[0m
|
139365
|
+
[1m[35m (161.0ms)[0m COMMIT
|
139366
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:10:04 +0300
|
139367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139368
|
+
[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-04-12 08:10:04', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:04')
|
139369
|
+
[1m[36m (33.7ms)[0m [1mCOMMIT[0m
|
139370
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139371
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:10:04', `current_sign_in_at` = '2013-04-12 08:10:04', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:10:04' WHERE `users`.`id` = 1[0m
|
139372
|
+
[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-04-12 08:10:04', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:04')
|
139373
|
+
[1m[36m (37.5ms)[0m [1mCOMMIT[0m
|
139374
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
139375
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
139376
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
139377
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139378
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.3ms)
|
139379
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.5ms)
|
139380
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
139381
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
139382
|
+
Completed 200 OK in 22ms (Views: 17.7ms | ActiveRecord: 0.5ms)
|
139383
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:10:04 +0300
|
139384
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139385
|
+
[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-04-12 08:10:04', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:04')
|
139386
|
+
[1m[36m (38.8ms)[0m [1mCOMMIT[0m
|
139387
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139388
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-04-12 08:10:04' WHERE `users`.`id` = 1[0m
|
139389
|
+
[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-04-12 08:10:04', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:04')
|
139390
|
+
[1m[36m (37.6ms)[0m [1mCOMMIT[0m
|
139391
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
139392
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
139393
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
139394
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
139395
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.1ms)
|
139396
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.3ms)
|
139397
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
139398
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
139399
|
+
Completed 200 OK in 21ms (Views: 17.3ms | ActiveRecord: 0.2ms)
|
139400
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-04-12 11:10:04 +0300
|
139401
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
139402
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
139403
|
+
Completed 401 Unauthorized in 1ms
|
139404
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-12 11:10:04 +0300
|
139405
|
+
Processing by Devise::SessionsController#new as HTML
|
139406
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.4ms)
|
139407
|
+
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
|
139408
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139409
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139410
|
+
[1m[36m (184.2ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139411
|
+
[1m[35m (296.6ms)[0m TRUNCATE TABLE `assets`;
|
139412
|
+
[1m[36m (339.2ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139413
|
+
[1m[35m (162.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
139414
|
+
[1m[36m (291.9ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139415
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `posts`;
|
139416
|
+
[1m[36m (205.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139417
|
+
[1m[35m (308.1ms)[0m TRUNCATE TABLE `structures`;
|
139418
|
+
[1m[36m (353.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139419
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139420
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139421
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139422
|
+
[1m[36m (184.7ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139423
|
+
[1m[35m (284.6ms)[0m TRUNCATE TABLE `assets`;
|
139424
|
+
[1m[36m (352.2ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139425
|
+
[1m[35m (251.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
139426
|
+
[1m[36m (197.5ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139427
|
+
[1m[35m (204.1ms)[0m TRUNCATE TABLE `posts`;
|
139428
|
+
[1m[36m (139.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139429
|
+
[1m[35m (318.0ms)[0m TRUNCATE TABLE `structures`;
|
139430
|
+
[1m[36m (353.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139431
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139432
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139433
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing46@example.com' LIMIT 1
|
139434
|
+
[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-04-12 08:10:09', '2013-04-12 08:10:09', NULL, NULL, 'testing46@example.com', '7c2753ffa7a9b855d7fcbe023352b62aa806307b786a3059693ee9d2c26f8e3fb72a0b2bc9e8db5e723245b163760206d70461238bf5474a2d64fb40defe3f08', 0, NULL, NULL, NULL, 'Admin', '4k9rtLty3fyARge7vCqc', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:10:09')[0m
|
139435
|
+
[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-04-12 08:10:09', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:09')
|
139436
|
+
[1m[36m (32.0ms)[0m [1mCOMMIT[0m
|
139437
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139438
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139439
|
+
[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-04-12 08:10:09', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:10:09')
|
139440
|
+
[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-04-12 08:10:09', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:10:09')[0m
|
139441
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
139442
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
139443
|
+
[1m[35m (31.8ms)[0m COMMIT
|
139444
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139445
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139446
|
+
[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-04-12 08:10:09', 0, 1, 3, 1, 2, NULL, 4, 'slug19', 1, 'Structure', '2013-04-12 08:10:09')[0m
|
139447
|
+
[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-04-12 08:10:09', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:10:09')
|
139448
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
139449
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
139450
|
+
[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
|
139451
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
139452
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139453
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139454
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
139455
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139456
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`[0m
|
139457
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
139458
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139459
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139460
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
139461
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139462
|
+
[1m[36m (36.6ms)[0m [1mCOMMIT[0m
|
139463
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2013-04-12 11:10:09 +0300
|
139464
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139465
|
+
[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-04-12 08:10:09', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:09')[0m
|
139466
|
+
[1m[35m (34.5ms)[0m COMMIT
|
139467
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139468
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-04-12 08:10:09', `current_sign_in_at` = '2013-04-12 08:10:09', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-04-12 08:10:09' WHERE `users`.`id` = 1
|
139469
|
+
[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-04-12 08:10:09', 'user.update', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:09')[0m
|
139470
|
+
[1m[35m (48.5ms)[0m COMMIT
|
139471
|
+
Processing by Sunrise::SharedController#services as JSON
|
139472
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft` LIMIT 1[0m
|
139473
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
139474
|
+
Completed 200 OK in 109ms (Views: 96.3ms | ActiveRecord: 1.1ms)
|
139475
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2013-04-12 11:10:09 +0300
|
139476
|
+
Processing by Sunrise::SharedController#services as JSON
|
139477
|
+
Completed 401 Unauthorized in 1ms
|
139478
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139479
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139480
|
+
[1m[36m (301.8ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139481
|
+
[1m[35m (305.7ms)[0m TRUNCATE TABLE `assets`;
|
139482
|
+
[1m[36m (210.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139483
|
+
[1m[35m (307.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
139484
|
+
[1m[36m (284.6ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139485
|
+
[1m[35m (150.3ms)[0m TRUNCATE TABLE `posts`;
|
139486
|
+
[1m[36m (203.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139487
|
+
[1m[35m (410.2ms)[0m TRUNCATE TABLE `structures`;
|
139488
|
+
[1m[36m (353.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139489
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139490
|
+
[1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139491
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139492
|
+
[1m[36m (226.6ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139493
|
+
[1m[35m (319.2ms)[0m TRUNCATE TABLE `assets`;
|
139494
|
+
[1m[36m (330.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139495
|
+
[1m[35m (328.1ms)[0m TRUNCATE TABLE `meta_tags`;
|
139496
|
+
[1m[36m (262.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139497
|
+
[1m[35m (129.4ms)[0m TRUNCATE TABLE `posts`;
|
139498
|
+
[1m[36m (260.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139499
|
+
[1m[35m (297.4ms)[0m TRUNCATE TABLE `structures`;
|
139500
|
+
[1m[36m (377.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139501
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139502
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139503
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139504
|
+
[1m[36m (819.5ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139505
|
+
[1m[35m (377.8ms)[0m TRUNCATE TABLE `assets`;
|
139506
|
+
[1m[36m (319.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139507
|
+
[1m[35m (250.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
139508
|
+
[1m[36m (140.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139509
|
+
[1m[35m (205.9ms)[0m TRUNCATE TABLE `posts`;
|
139510
|
+
[1m[36m (262.4ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139511
|
+
[1m[35m (336.0ms)[0m TRUNCATE TABLE `structures`;
|
139512
|
+
[1m[36m (322.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139513
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139514
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139515
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139516
|
+
[1m[36m (179.1ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139517
|
+
[1m[35m (307.5ms)[0m TRUNCATE TABLE `assets`;
|
139518
|
+
[1m[36m (309.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139519
|
+
[1m[35m (272.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
139520
|
+
[1m[36m (378.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139521
|
+
[1m[35m (116.9ms)[0m TRUNCATE TABLE `posts`;
|
139522
|
+
[1m[36m (239.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139523
|
+
[1m[35m (297.9ms)[0m TRUNCATE TABLE `structures`;
|
139524
|
+
[1m[36m (387.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139525
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
139526
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139527
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139528
|
+
[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-04-12 08:10:20', 0, 1, 1, NULL, 2, NULL, 2, 'slug20', 1, 'Structure', '2013-04-12 08:10:20')[0m
|
139529
|
+
[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-04-12 08:10:20', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:10:20')
|
139530
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
139531
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
139532
|
+
[1m[36m (29.2ms)[0m [1mCOMMIT[0m
|
139533
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139534
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:10:20', 1, 1, 'Default title', '2013-04-12 08:10:20')[0m
|
139535
|
+
[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-04-12 08:10:20', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:10:20')
|
139536
|
+
[1m[36m (37.4ms)[0m [1mCOMMIT[0m
|
139537
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139538
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing47@example.com' LIMIT 1[0m
|
139539
|
+
[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-04-12 08:10:20', '2013-04-12 08:10:20', NULL, NULL, 'testing47@example.com', 'eeecff6f2e1ea6f30d210f60521c66554b0192c8c75be3425144a589beb616c36e647aa4284a2e14c8da8a6ae0505dd8c92eabb9227d611e91070019ac0216a7', 0, NULL, NULL, NULL, 'Redactor', 'AMarFtJy9DPeikQ4Kuye', NULL, NULL, NULL, 2, 0, NULL, '2013-04-12 08:10:20')
|
139540
|
+
[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-04-12 08:10:20', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:20')[0m
|
139541
|
+
[1m[35m (33.5ms)[0m COMMIT
|
139542
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139543
|
+
[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-04-12 08:10:20', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:10:20')
|
139544
|
+
[1m[36m (40.5ms)[0m [1mCOMMIT[0m
|
139545
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139546
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing48@example.com' LIMIT 1[0m
|
139547
|
+
[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-04-12 08:10:20', '2013-04-12 08:10:20', NULL, NULL, 'testing48@example.com', 'b3d09bde39a00bfb7815f0a93a3a361b189e5baff3d457d1d0bd7affd91c582d90105fead8f97e23c48d5fec809afbf8212e707401037f7a89af73e1a9185e0f', 0, NULL, NULL, NULL, 'Admin', 'zgA8TPZrTXCT5n7EPQEp', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:10:20')
|
139548
|
+
[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-04-12 08:10:20', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'User', '2013-04-12 08:10:20')[0m
|
139549
|
+
[1m[35m (34.1ms)[0m COMMIT
|
139550
|
+
Processing by Sunrise::DashboardController#index as HTML
|
139551
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
|
139552
|
+
[1m[35mPublicActivity::ORM::ActiveRecord::Activity Load (0.6ms)[0m SELECT `activities`.* FROM `activities` ORDER BY created_at DESC LIMIT 50 OFFSET 0
|
139553
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139554
|
+
[1m[35mStructure Load (4.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
139555
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139556
|
+
[1m[35mPost Load (0.6ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
139557
|
+
[1m[36mUser Load (3.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139558
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
139559
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139560
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
139561
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139562
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
139563
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_activity.html.erb (44.7ms)
|
139564
|
+
[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
|
139565
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
139566
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.4ms)
|
139567
|
+
Completed 200 OK in 73ms (Views: 48.5ms | ActiveRecord: 12.2ms)
|
139568
|
+
Processing by Sunrise::DashboardController#index as HTML
|
139569
|
+
Completed 401 Unauthorized in 1ms
|
139570
|
+
Processing by Sunrise::DashboardController#index as HTML
|
139571
|
+
Completed 401 Unauthorized in 1ms
|
139572
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139573
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139574
|
+
[1m[35m (157.6ms)[0m TRUNCATE TABLE `activities`;
|
139575
|
+
[1m[36m (285.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139576
|
+
[1m[35m (330.2ms)[0m TRUNCATE TABLE `audits`;
|
139577
|
+
[1m[36m (273.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139578
|
+
[1m[35m (140.2ms)[0m TRUNCATE TABLE `page_parts`;
|
139579
|
+
[1m[36m (228.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139580
|
+
[1m[35m (150.2ms)[0m TRUNCATE TABLE `settings`;
|
139581
|
+
[1m[36m (295.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139582
|
+
[1m[35m (397.8ms)[0m TRUNCATE TABLE `users`;
|
139583
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139584
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139585
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139586
|
+
[1m[35m (318.9ms)[0m TRUNCATE TABLE `activities`;
|
139587
|
+
[1m[36m (363.2ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139588
|
+
[1m[35m (313.8ms)[0m TRUNCATE TABLE `audits`;
|
139589
|
+
[1m[36m (178.8ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139590
|
+
[1m[35m (263.4ms)[0m TRUNCATE TABLE `page_parts`;
|
139591
|
+
[1m[36m (239.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139592
|
+
[1m[35m (117.1ms)[0m TRUNCATE TABLE `settings`;
|
139593
|
+
[1m[36m (352.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139594
|
+
[1m[35m (434.1ms)[0m TRUNCATE TABLE `users`;
|
139595
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139596
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139597
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139598
|
+
[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-04-12 08:10:25', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:10:25')
|
139599
|
+
[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-04-12 08:10:25', 'structure.create', 2, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:10:25')[0m
|
139600
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
139601
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
139602
|
+
[1m[35m (30.2ms)[0m COMMIT
|
139603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139604
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139605
|
+
[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-04-12 08:10:25', 0, 1, 3, 1, 2, NULL, 4, 'slug21', 1, 'Structure', '2013-04-12 08:10:25')[0m
|
139606
|
+
[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-04-12 08:10:25', 'structure.create', 2, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:10:25')
|
139607
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
139608
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
139609
|
+
[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
|
139610
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
139611
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139612
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139613
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
139614
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139615
|
+
[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
|
139616
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
139617
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
139618
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139619
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
139620
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
139621
|
+
[1m[36m (34.8ms)[0m [1mCOMMIT[0m
|
139622
|
+
[1m[35m (0.2ms)[0m BEGIN
|
139623
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing49@example.com' LIMIT 1[0m
|
139624
|
+
[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-04-12 08:10:25', '2013-04-12 08:10:25', NULL, NULL, 'testing49@example.com', '9ba786ba60d2de372eb0a2b4ef3405574bb17476cd6c8cedf2b97bc6e52c866ccd7909fe5abc313e8641d6d9bd4b48973d06dd13d3964c2f06e471163f83ebd7', 0, NULL, NULL, NULL, 'Admin', 'JdvsQvzRP31fkbpARGzk', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:10:25')
|
139625
|
+
[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-04-12 08:10:25', 'user.create', 2, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:25')[0m
|
139626
|
+
[1m[35m (40.5ms)[0m COMMIT
|
139627
|
+
Processing by Sunrise::SharedController#services as JSON
|
139628
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139629
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft` LIMIT 1
|
139630
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
139631
|
+
Completed 200 OK in 18ms (Views: 3.8ms | ActiveRecord: 1.7ms)
|
139632
|
+
Processing by Sunrise::SharedController#services as JSON
|
139633
|
+
Completed 401 Unauthorized in 1ms
|
139634
|
+
Processing by Sunrise::SharedController#services as HTML
|
139635
|
+
Completed 401 Unauthorized in 1ms
|
139636
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139637
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139638
|
+
[1m[35m (254.0ms)[0m TRUNCATE TABLE `activities`;
|
139639
|
+
[1m[36m (364.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139640
|
+
[1m[35m (365.6ms)[0m TRUNCATE TABLE `audits`;
|
139641
|
+
[1m[36m (294.7ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139642
|
+
[1m[35m (173.6ms)[0m TRUNCATE TABLE `page_parts`;
|
139643
|
+
[1m[36m (250.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139644
|
+
[1m[35m (272.1ms)[0m TRUNCATE TABLE `settings`;
|
139645
|
+
[1m[36m (510.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139646
|
+
[1m[35m (388.5ms)[0m TRUNCATE TABLE `users`;
|
139647
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139648
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139649
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139650
|
+
[1m[35m (303.9ms)[0m TRUNCATE TABLE `activities`;
|
139651
|
+
[1m[36m (177.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139652
|
+
[1m[35m (952.5ms)[0m TRUNCATE TABLE `audits`;
|
139653
|
+
[1m[36m (629.0ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139654
|
+
[1m[35m (317.8ms)[0m TRUNCATE TABLE `page_parts`;
|
139655
|
+
[1m[36m (117.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139656
|
+
[1m[35m (239.4ms)[0m TRUNCATE TABLE `settings`;
|
139657
|
+
[1m[36m (298.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139658
|
+
[1m[35m (386.6ms)[0m TRUNCATE TABLE `users`;
|
139659
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139660
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139661
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing50@example.com' LIMIT 1[0m
|
139662
|
+
[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-04-12 08:10:32', '2013-04-12 08:10:32', NULL, NULL, 'testing50@example.com', '2cd9961aa59944d310d62df7996b7897045884bceb1dcc442e970e94937a103890f7e814e318bc3e6bbc4df5a7e859ffa0ddc7bfc6e478aada95903f3e2c100c', 0, NULL, NULL, NULL, 'Admin', 'UzUtoXuGr3kTT1CxzqvW', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:10:32')
|
139663
|
+
[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-04-12 08:10:32', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:32')[0m
|
139664
|
+
[1m[35m (36.0ms)[0m COMMIT
|
139665
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
139666
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139667
|
+
[1m[35mSettings Load (0.3ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL
|
139668
|
+
[1m[36mSettings Load (0.7ms)[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
|
139669
|
+
[1m[35mSettings Load (0.6ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting2' LIMIT 1
|
139670
|
+
[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` = 'persisted?' LIMIT 1[0m
|
139671
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_form.html.erb (16.7ms)
|
139672
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.8ms)
|
139673
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_header_edit.html.erb (1.4ms)
|
139674
|
+
Completed 200 OK in 202ms (Views: 183.1ms | ActiveRecord: 4.3ms)
|
139675
|
+
Processing by Sunrise::SettingsController#update as HTML
|
139676
|
+
Parameters: {"settings"=>{"some_setting"=>"blablabla"}}
|
139677
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
139678
|
+
[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
|
139679
|
+
[1m[35m (0.2ms)[0m BEGIN
|
139680
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `settings` (`created_at`, `target_id`, `target_type`, `updated_at`, `value`, `var`) VALUES ('2013-04-12 08:10:32', NULL, NULL, '2013-04-12 08:10:32', '--- blablabla\n...\n', 'some_setting')[0m
|
139681
|
+
[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-04-12 08:10:32', 'settings.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Settings', '2013-04-12 08:10:32')
|
139682
|
+
[1m[36m (148.8ms)[0m [1mCOMMIT[0m
|
139683
|
+
Redirected to http://test.host/manage/
|
139684
|
+
Completed 302 Found in 224ms (ActiveRecord: 150.3ms)
|
139685
|
+
Processing by Sunrise::SettingsController#update as HTML
|
139686
|
+
Completed 401 Unauthorized in 1ms
|
139687
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
139688
|
+
Completed 401 Unauthorized in 1ms
|
139689
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
139690
|
+
Completed 401 Unauthorized in 1ms
|
139691
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139692
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139693
|
+
[1m[35m (167.7ms)[0m TRUNCATE TABLE `activities`;
|
139694
|
+
[1m[36m (251.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139695
|
+
[1m[35m (275.7ms)[0m TRUNCATE TABLE `audits`;
|
139696
|
+
[1m[36m (306.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139697
|
+
[1m[35m (140.2ms)[0m TRUNCATE TABLE `page_parts`;
|
139698
|
+
[1m[36m (216.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139699
|
+
[1m[35m (150.3ms)[0m TRUNCATE TABLE `settings`;
|
139700
|
+
[1m[36m (284.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139701
|
+
[1m[35m (364.6ms)[0m TRUNCATE TABLE `users`;
|
139702
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139703
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
139704
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
139705
|
+
[1m[35m (306.0ms)[0m TRUNCATE TABLE `activities`;
|
139706
|
+
[1m[36m (276.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
139707
|
+
[1m[35m (217.5ms)[0m TRUNCATE TABLE `audits`;
|
139708
|
+
[1m[36m (260.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
139709
|
+
[1m[35m (261.6ms)[0m TRUNCATE TABLE `page_parts`;
|
139710
|
+
[1m[36m (128.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
139711
|
+
[1m[35m (304.7ms)[0m TRUNCATE TABLE `settings`;
|
139712
|
+
[1m[36m (303.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
139713
|
+
[1m[35m (270.2ms)[0m TRUNCATE TABLE `users`;
|
139714
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
139715
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139716
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing51@example.com' LIMIT 1[0m
|
139717
|
+
[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-04-12 08:10:37', '2013-04-12 08:10:37', NULL, NULL, 'testing51@example.com', 'c680f2f5bb7dcfbf957906dfbeec0db1ab807c9f7a33bfb3f397b2440670f7bff762d2e19f6836d00adea1fde8a3a015bae76f2da7799ecf74f2fc7b1b8562e8', 0, NULL, NULL, NULL, 'Admin', 'gY7azGBr9guCWZQw84TC', NULL, NULL, NULL, 4, 0, NULL, '2013-04-12 08:10:37')
|
139718
|
+
[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-04-12 08:10:37', 'user.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'User', '2013-04-12 08:10:37')[0m
|
139719
|
+
[1m[35m (34.3ms)[0m COMMIT
|
139720
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139721
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
139722
|
+
[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-04-12 08:10:37', 0, 1, 1, NULL, 1, NULL, 2, 'main-page', 3, 'Main page', '2013-04-12 08:10:37')[0m
|
139723
|
+
[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-04-12 08:10:37', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Structure', '2013-04-12 08:10:37')
|
139724
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
139725
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
139726
|
+
[1m[36m (43.1ms)[0m [1mCOMMIT[0m
|
139727
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139728
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139729
|
+
[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-04-12 08:10:37', 0, 1, 3, 1, 2, NULL, 4, 'slug22', 1, 'Structure', '2013-04-12 08:10:37')
|
139730
|
+
[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-04-12 08:10:37', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 2, 'Structure', '2013-04-12 08:10:37')[0m
|
139731
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
139732
|
+
[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
|
139733
|
+
[1m[35mSQL (0.7ms)[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`
|
139734
|
+
[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
|
139735
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139736
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139737
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
139738
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139739
|
+
[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`
|
139740
|
+
[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
|
139741
|
+
[1m[35mStructure Load (0.8ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
139742
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139743
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
139744
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
139745
|
+
[1m[35m (43.6ms)[0m COMMIT
|
139746
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139747
|
+
Parameters: {"model_name"=>"structures"}
|
139748
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139749
|
+
Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.6ms)
|
139750
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
139751
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139752
|
+
Parameters: {"model_name"=>"wrong"}
|
139753
|
+
[1m[36mUser Load (1.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139754
|
+
Error while loading 'SunriseWrong': uninitialized constant SunriseWrong
|
139755
|
+
Completed 404 Not Found in 10ms
|
139756
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
139757
|
+
Parameters: {"model_name"=>"structures", "id"=>"1"}
|
139758
|
+
[1m[35mUser Load (2.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
139759
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
139760
|
+
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-04-12 08:10:37", updated_at: "2013-04-12 08:10:37">, context: sunrise, user: 1
|
139761
|
+
Redirected to http://test.host/
|
139762
|
+
Completed 302 Found in 13ms (ActiveRecord: 3.2ms)
|
139763
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139764
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
139765
|
+
[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-04-12 08:10:37', 0, 1, 5, NULL, 2, NULL, 6, 'slug23', 1, 'Structure', '2013-04-12 08:10:37')
|
139766
|
+
[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-04-12 08:10:37', 'structure.create', 1, 'User', '--- {}\n', NULL, NULL, 3, 'Structure', '2013-04-12 08:10:37')[0m
|
139767
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
139768
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`[0m
|
139769
|
+
[1m[35m (19.7ms)[0m COMMIT
|
139770
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139771
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-04-12 08:10:37', 1, 3, 'Default title', '2013-04-12 08:10:37')
|
139772
|
+
[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-04-12 08:10:37', 'post.create', 1, 'User', '--- {}\n', NULL, NULL, 1, 'Post', '2013-04-12 08:10:37')[0m
|
139773
|
+
[1m[35m (37.8ms)[0m COMMIT
|
139774
|
+
Processing by Sunrise::ManagerController#index as HTML
|
139775
|
+
Parameters: {"model_name"=>"posts"}
|
139776
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
139777
|
+
Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 0.3ms)
|
139778
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` LIMIT 50 OFFSET 0
|
139779
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
139780
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
139781
|
+
[1m[36m (202.6ms)[0m [1mTRUNCATE TABLE `activities`;[0m
|
139782
|
+
[1m[35m (295.0ms)[0m TRUNCATE TABLE `assets`;
|
139783
|
+
[1m[36m (301.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
139784
|
+
[1m[35m (616.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
139785
|
+
[1m[36m (339.7ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
139786
|
+
[1m[35m (236.4ms)[0m TRUNCATE TABLE `posts`;
|
139787
|
+
[1m[36m (199.7ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
139788
|
+
[1m[35m (307.9ms)[0m TRUNCATE TABLE `structures`;
|
139789
|
+
[1m[36m (397.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
139790
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|