sunrise-cms 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/sunrise/manager_controller.rb +4 -4
- data/app/helpers/sunrise/structure_helper.rb +1 -1
- data/lib/sunrise/abstract_model.rb +2 -3
- data/lib/sunrise/config/association.rb +4 -0
- data/lib/sunrise/config/model.rb +0 -1
- data/lib/sunrise/version.rb +1 -1
- data/spec/dummy/log/test.log +2629 -0
- data/spec/models/sunrise/abstract_model_spec.rb +1 -1
- data/spec/tmp/app/models/defaults/ability.rb +18 -0
- data/spec/tmp/app/models/defaults/asset.rb +7 -0
- data/spec/tmp/app/models/defaults/attachment_file.rb +5 -0
- data/spec/tmp/app/models/defaults/avatar.rb +7 -0
- data/spec/tmp/app/models/defaults/picture.rb +7 -0
- data/spec/tmp/app/models/defaults/position_type.rb +7 -0
- data/spec/tmp/app/models/defaults/role_type.rb +8 -0
- data/spec/tmp/app/models/defaults/settings.rb +3 -0
- data/spec/tmp/app/models/defaults/structure.rb +9 -0
- data/spec/tmp/app/models/defaults/structure_type.rb +9 -0
- data/spec/tmp/app/models/defaults/user.rb +13 -0
- data/spec/tmp/app/models/sunrise/sunrise_navigation.rb +14 -0
- data/spec/tmp/app/models/sunrise/sunrise_page.rb +10 -0
- data/spec/tmp/app/models/sunrise/sunrise_structure.rb +35 -0
- data/spec/tmp/app/models/sunrise/sunrise_user.rb +50 -0
- data/spec/tmp/app/uploaders/attachment_file_uploader.rb +5 -0
- data/spec/tmp/app/uploaders/avatar_uploader.rb +15 -0
- data/spec/tmp/app/uploaders/picture_uploader.rb +15 -0
- data/spec/tmp/app/views/layouts/application.html.erb +22 -0
- data/spec/tmp/app/views/pages/show.html.erb +2 -0
- data/spec/tmp/app/views/shared/_notice.html.erb +17 -0
- data/spec/tmp/config/application.rb +63 -0
- data/spec/tmp/config/database.yml.sample +34 -0
- data/spec/tmp/config/initializers/sunrise.rb +18 -0
- data/spec/tmp/config/logrotate-config.sample +9 -0
- data/spec/tmp/config/nginx-config.sample +99 -0
- data/spec/tmp/config/routes.rb +9 -0
- data/spec/tmp/db/seeds.rb +31 -0
- data/spec/tmp/spec/controllers/pages_controller_spec.rb +22 -0
- data/spec/tmp/spec/controllers/welcome_controller_spec.rb +18 -0
- data/spec/tmp/spec/factories/structure_factory.rb +22 -0
- data/spec/tmp/spec/factories/user_factory.rb +61 -0
- data/spec/tmp/spec/spec_helper.rb +37 -0
- data/spec/tmp/spec/support/helpers/controller_macros.rb +52 -0
- metadata +69 -1
data/spec/dummy/log/test.log
CHANGED
@@ -79148,3 +79148,2632 @@ Completed 401 Unauthorized in 0ms
|
|
79148
79148
|
[1m[36m (309.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79149
79149
|
[1m[35m (386.5ms)[0m TRUNCATE TABLE `users`;
|
79150
79150
|
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79151
|
+
Connecting to database specified by database.yml
|
79152
|
+
[1m[36m (26.5ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
79153
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
79154
|
+
Migrating to CreatePageParts (20111227143901)
|
79155
|
+
Migrating to CreatePosts (20111228152051)
|
79156
|
+
Migrating to CreateMetaTags (20120105114018)
|
79157
|
+
[1m[35m (0.1ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
79158
|
+
Migrating to CreateAssets (20111216144515)
|
79159
|
+
Migrating to CreateStructures (20111216144915)
|
79160
|
+
Migrating to CreateUsers (20111216145015)
|
79161
|
+
Migrating to CreateSettings (20120611095315)
|
79162
|
+
[1m[36m (32.7ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79163
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79164
|
+
[1m[36m (2.0ms)[0m [1mSELECT DATABASE() as db[0m
|
79165
|
+
[1m[35m (37.3ms)[0m select table_name from information_schema.views where table_schema = 'sunrise_dummy_test'
|
79166
|
+
[1m[36m (406.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79167
|
+
[1m[35m (362.6ms)[0m TRUNCATE TABLE `audits`;
|
79168
|
+
[1m[36m (372.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79169
|
+
[1m[35m (252.2ms)[0m TRUNCATE TABLE `page_parts`;
|
79170
|
+
[1m[36m (324.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79171
|
+
[1m[35m (239.0ms)[0m TRUNCATE TABLE `settings`;
|
79172
|
+
[1m[36m (339.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79173
|
+
[1m[35m (432.0ms)[0m TRUNCATE TABLE `users`;
|
79174
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79175
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79176
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79177
|
+
[1m[35m (406.5ms)[0m TRUNCATE TABLE `assets`;
|
79178
|
+
[1m[36m (408.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79179
|
+
[1m[35m (162.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
79180
|
+
[1m[36m (339.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79181
|
+
[1m[35m (317.0ms)[0m TRUNCATE TABLE `posts`;
|
79182
|
+
[1m[36m (194.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79183
|
+
[1m[35m (395.5ms)[0m TRUNCATE TABLE `structures`;
|
79184
|
+
[1m[36m (444.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79185
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79186
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79187
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79188
|
+
[1m[36m (340.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79189
|
+
[1m[35m (331.2ms)[0m TRUNCATE TABLE `audits`;
|
79190
|
+
[1m[36m (284.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79191
|
+
[1m[35m (183.1ms)[0m TRUNCATE TABLE `page_parts`;
|
79192
|
+
[1m[36m (262.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79193
|
+
[1m[35m (295.3ms)[0m TRUNCATE TABLE `settings`;
|
79194
|
+
[1m[36m (163.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79195
|
+
[1m[35m (383.1ms)[0m TRUNCATE TABLE `users`;
|
79196
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79197
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79198
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79199
|
+
[1m[35m (322.6ms)[0m TRUNCATE TABLE `assets`;
|
79200
|
+
[1m[36m (355.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79201
|
+
[1m[35m (271.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
79202
|
+
[1m[36m (140.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79203
|
+
[1m[35m (227.8ms)[0m TRUNCATE TABLE `posts`;
|
79204
|
+
[1m[36m (161.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79205
|
+
[1m[35m (294.5ms)[0m TRUNCATE TABLE `structures`;
|
79206
|
+
[1m[36m (332.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79207
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79208
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79209
|
+
[1m[35mUser Exists (143.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing1@example.com' LIMIT 1
|
79210
|
+
[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-02-04 16:59:05', '2013-02-04 16:59:06', NULL, NULL, 'testing1@example.com', '2d1250227f6948958da48fd4d9798781bf9d77c761841e21cb1b67ab7e6a5d9f58dfc9d5dc49a709515c76a261aeb87568edb6ad9b0f1e278f295fd633797bd1', 0, NULL, NULL, NULL, 'Test', 'ToLWHNc6Mxz675yNUyp1', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:06')[0m
|
79211
|
+
[1m[35m (46.0ms)[0m COMMIT
|
79212
|
+
[1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1[0m
|
79213
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1
|
79214
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79215
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing2@example.com' LIMIT 1
|
79216
|
+
[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-02-04 16:59:06', '2013-02-04 16:59:06', NULL, NULL, 'testing2@example.com', '6acc536aff2e47aedc3ae0c08ba8ee59177f798d988c70e936f428221662e5437bad7677fd988db507115b785982f983f14cd45101a8f36a9a179be43967df9d', 0, NULL, NULL, NULL, 'Test', 'aKzayU95FmbeytqKpzC4', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:06')[0m
|
79217
|
+
[1m[35m (27.7ms)[0m COMMIT
|
79218
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'testing2@example.com' LIMIT 1[0m
|
79219
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79220
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing3@example.com' LIMIT 1[0m
|
79221
|
+
[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-02-04 16:59:07', '2013-02-04 16:59:07', NULL, NULL, 'testing3@example.com', '9e0b0b41026c5a3c0d987c0e120c8e1708b3ca42e30541682bad678a3bfadeb80e107f4002c6edcbe958c1c4ad35dff201ffeae2dcde207e828722060421092a', 0, NULL, NULL, NULL, 'Test', 'kMU9kEAqSgZ4qUnHjBUH', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:07')
|
79222
|
+
[1m[36m (63.7ms)[0m [1mCOMMIT[0m
|
79223
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`role_type_id` = 1
|
79224
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79225
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing4@example.com' LIMIT 1
|
79226
|
+
[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-02-04 16:59:07', '2013-02-04 16:59:07', NULL, NULL, 'testing4@example.com', '983afc04caad984243a414900ef3d88186290d70f128833119d748a6cf2e965b44dc467c35fdfaa470a6e4cf7c140afb9a85b8ac07c8aad4f9c2480523abe6bc', 0, NULL, NULL, NULL, 'Test', '7jZz1PtzqKAzZt2X4zka', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:07')[0m
|
79227
|
+
[1m[35m (30.3ms)[0m COMMIT
|
79228
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
79229
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT id, email, name, current_sign_in_ip FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000[0m
|
79230
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79231
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing5@example.com' LIMIT 1[0m
|
79232
|
+
[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-02-04 16:59:07', '2013-02-04 16:59:07', NULL, NULL, 'testing5@example.com', '1ef86d94cdf70fb83a50d442fe25567c7e048b416748fb71888a612135d5afcf4fa66bdae3cdfa1fc8f1b277ae1e941115aee7845340dabaf5d21d39504e1170', 0, NULL, NULL, NULL, 'Test', 'PR7tVthAcqfMn8yis7gj', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:07')
|
79233
|
+
[1m[36m (75.8ms)[0m [1mCOMMIT[0m
|
79234
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
79235
|
+
[1m[35mUser Load (0.5ms)[0m SELECT id, email, confirmed_at, created_at FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000
|
79236
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79237
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing6@example.com' LIMIT 1
|
79238
|
+
[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-02-04 16:59:07', '2013-02-04 16:59:07', NULL, NULL, 'testing6@example.com', '0850490266159e478bf9552eb8eb8e6f582f591c9ea80abfc1d884ae2cb9b1a5b3e5defc278f70a23f61ef65cb7fbc070782ebe2cbcca5a68bd715f84dd5d438', 0, NULL, NULL, NULL, 'Test', 'aJ7cVmYtwAu9XK434BmH', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:07')[0m
|
79239
|
+
[1m[35m (39.0ms)[0m COMMIT
|
79240
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79241
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing7@example.com' LIMIT 1
|
79242
|
+
[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-02-04 16:59:07', '2013-02-04 16:59:07', NULL, NULL, 'testing7@example.com', '0c5f45046d1613f7288e8be2e4e2ab65ba4f4c0c10ba5fe17a7b29b0d0eec7c63698154bcac05ac6f3d481b2530f73a8301800925b64ac8cde0257d27eb4fbaa', 0, NULL, NULL, NULL, 'Test', 'pZHUqkH2551aFS1uYy3D', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:07')[0m
|
79243
|
+
[1m[35m (46.3ms)[0m COMMIT
|
79244
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79245
|
+
[1m[35m (53.6ms)[0m UPDATE `users` SET `confirmed_at` = NULL, `locked_at` = '2013-02-04 16:59:07', `unlock_token` = 'RSESFxUMgbtsvssXFiAz', `updated_at` = '2013-02-04 16:59:07' WHERE `users`.`id` = 7
|
79246
|
+
[1m[36m (41.5ms)[0m [1mCOMMIT[0m
|
79247
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/mailer/unlock_instructions.html.erb (9.5ms)
|
79248
|
+
|
79249
|
+
Sent mail to testing7@example.com (177ms)
|
79250
|
+
Date: Mon, 04 Feb 2013 18:59:08 +0200
|
79251
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
79252
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
79253
|
+
To: testing7@example.com
|
79254
|
+
Message-ID: <510fe8dc63e14_351343210149921@mario.mail>
|
79255
|
+
Subject: Unlock Instructions
|
79256
|
+
Mime-Version: 1.0
|
79257
|
+
Content-Type: text/html;
|
79258
|
+
charset=UTF-8
|
79259
|
+
Content-Transfer-Encoding: 7bit
|
79260
|
+
|
79261
|
+
<p>Hello testing7@example.com!</p>
|
79262
|
+
|
79263
|
+
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
79264
|
+
|
79265
|
+
<p>Click the link below to unlock your account:</p>
|
79266
|
+
|
79267
|
+
<p><a href="http://test.com/users/unlock?unlock_token=RSESFxUMgbtsvssXFiAz">Unlock my account</a></p>
|
79268
|
+
|
79269
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79270
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79271
|
+
[1m[35m (229.0ms)[0m TRUNCATE TABLE `assets`;
|
79272
|
+
[1m[36m (286.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79273
|
+
[1m[35m (317.1ms)[0m TRUNCATE TABLE `meta_tags`;
|
79274
|
+
[1m[36m (192.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79275
|
+
[1m[35m (251.7ms)[0m TRUNCATE TABLE `posts`;
|
79276
|
+
[1m[36m (183.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79277
|
+
[1m[35m (274.8ms)[0m TRUNCATE TABLE `structures`;
|
79278
|
+
[1m[36m (354.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79279
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79280
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79281
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79282
|
+
[1m[36m (306.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79283
|
+
[1m[35m (341.6ms)[0m TRUNCATE TABLE `audits`;
|
79284
|
+
[1m[36m (258.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79285
|
+
[1m[35m (177.4ms)[0m TRUNCATE TABLE `page_parts`;
|
79286
|
+
[1m[36m (261.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79287
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `settings`;
|
79288
|
+
[1m[36m (295.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79289
|
+
[1m[35m (354.5ms)[0m TRUNCATE TABLE `users`;
|
79290
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79291
|
+
[1m[35m (0.2ms)[0m BEGIN
|
79292
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing8@example.com' LIMIT 1[0m
|
79293
|
+
[1m[35mSQL (18.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-02-04 16:59:13', '2013-02-04 16:59:13', NULL, NULL, 'testing8@example.com', 'f3268b2d2fa30f8257b3b74b9fc1f00a7179c8271b17c1b27a1786f9e4d55a95def0c21079bdce354a583e239c014fe09b9f70511dd6f71f12bc12fbd6c45d4f', 0, NULL, NULL, NULL, 'Test', 'kDyKqNYGjQYiGEnXyqwm', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:13')
|
79294
|
+
[1m[36m (40.2ms)[0m [1mCOMMIT[0m
|
79295
|
+
[1m[35m (0.2ms)[0m BEGIN
|
79296
|
+
[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 (1, 'User', '2013-02-04 16:59:14', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:14', NULL, 50)[0m
|
79297
|
+
[1m[35m (43.7ms)[0m COMMIT
|
79298
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
79299
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing9@example.com' LIMIT 1
|
79300
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `role_type_id`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2013-02-04 16:59:16', '2013-02-04 16:59:16', NULL, NULL, 'testing9@example.com', '7b004f1e0818fdf41f7b66973640d0ebac23120fe8517271e09b1d09b21025c09cc68d17e6ca9dd10a252c3b6a362fdb6a90c45aaa99412584f2c49d0484ad04', 0, NULL, NULL, NULL, 'Test', 'Eof4dXqFaDwJKUmMxwh5', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:16')[0m
|
79301
|
+
[1m[35m (37.4ms)[0m COMMIT
|
79302
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79303
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing10@example.com' LIMIT 1
|
79304
|
+
[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-02-04 16:59:16', '2013-02-04 16:59:16', NULL, NULL, 'testing10@example.com', 'b658f42fe69de1a6f251a590f4195449e49a690b10abfea47bac634c28ce1e0a8e8a577ea3f10a412a77245d57d448ba874fca2316f4b0451d43b714fac26473', 0, NULL, NULL, NULL, 'Test', 'yUyARX55Sg9MRgsizsRk', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:16')[0m
|
79305
|
+
[1m[35m (127.5ms)[0m COMMIT
|
79306
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79307
|
+
[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 (3, 'User', '2013-02-04 16:59:17', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:17', NULL, 50)
|
79308
|
+
[1m[36m (31.1ms)[0m [1mCOMMIT[0m
|
79309
|
+
[1m[35m (0.2ms)[0m BEGIN
|
79310
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing11@example.com' LIMIT 1[0m
|
79311
|
+
[1m[35mSQL (26.0ms)[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-02-04 16:59:17', '2013-02-04 16:59:17', NULL, NULL, 'testing11@example.com', '71373235d9b20130db94e9082010024fb83aa30b462a0fb35a5b45b9188fec13685795871e7d7d4af4887f47f05d6802bc64847254ffbacf50f6493e6001ff42', 0, NULL, NULL, NULL, 'Test', 'WxTYpcADYRxcP2Zv1Gos', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:17')
|
79312
|
+
[1m[36m (145.7ms)[0m [1mCOMMIT[0m
|
79313
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79314
|
+
[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 (4, 'User', '2013-02-04 16:59:17', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:17', NULL, 50)[0m
|
79315
|
+
[1m[35m (39.2ms)[0m COMMIT
|
79316
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79317
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing12@example.com' LIMIT 1
|
79318
|
+
[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-02-04 16:59:18', '2013-02-04 16:59:18', NULL, NULL, 'testing12@example.com', '6349ef92ea7e05be9852341d71b3f0c5ae380f88f53b90381c75107427f0470256be8fb1d4bfe606a97975a3d9c049ffb400c8d287e2c031fb952fdb070119b3', 0, NULL, NULL, NULL, 'Test', 'ynqzix5pE8QQT3Mmyg7y', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:18')[0m
|
79319
|
+
[1m[35m (42.8ms)[0m COMMIT
|
79320
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79321
|
+
[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 (5, 'User', '2013-02-04 16:59:18', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:18', NULL, 50)
|
79322
|
+
[1m[36m (47.0ms)[0m [1mCOMMIT[0m
|
79323
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79324
|
+
[1m[36mUser Exists (0.7ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing13@example.com' LIMIT 1[0m
|
79325
|
+
[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-02-04 16:59:18', '2013-02-04 16:59:18', NULL, NULL, 'testing13@example.com', 'e6cf4b8c7e7a79daa5c7a28d5170f9fd042860de51d0cbdc72adac513bac4fff098b19acf32d6f7a83eca14f7af79b8e72b0c108cbd29302d21fb6b404c4ddca', 0, NULL, NULL, NULL, 'Test', 'tcwqqmfksdSMPzp94x7M', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:18')
|
79326
|
+
[1m[36m (24.0ms)[0m [1mCOMMIT[0m
|
79327
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79328
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (6, 'User', '2013-02-04 16:59:18', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:18', NULL, 50)[0m
|
79329
|
+
[1m[35m (37.0ms)[0m COMMIT
|
79330
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
79331
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing14@example.com' LIMIT 1
|
79332
|
+
[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-02-04 16:59:19', '2013-02-04 16:59:19', NULL, NULL, 'testing14@example.com', '5d3746c1b830e9ddeb7397777c7f3be2f6a9e24a418490f486c0e10d3f570a8b5ab38525b78f120f27d62b30cbc3e1b50a983d3b2f0648f52fe1c1e5691345c0', 0, NULL, NULL, NULL, 'Test', 'fLtzBxLCMBTpPTaqpydJ', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:19')[0m
|
79333
|
+
[1m[35m (39.1ms)[0m COMMIT
|
79334
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79335
|
+
[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-02-04 16:59:19', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:19', NULL, 50)
|
79336
|
+
[1m[36m (19.2ms)[0m [1mCOMMIT[0m
|
79337
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79338
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing15@example.com' LIMIT 1[0m
|
79339
|
+
[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-02-04 16:59:19', '2013-02-04 16:59:19', NULL, NULL, 'testing15@example.com', 'fcc207d43a273c892f1bfc5f82f3ce033897302c500e523189d208def5fd185db110c6ceed8828e4ababe64b173b4edc098c6bd925aa08359d647a6ed5a83d63', 0, NULL, NULL, NULL, 'Test', 'uztQNKpLcZZzQJX9uZyp', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:19')
|
79340
|
+
[1m[36m (37.3ms)[0m [1mCOMMIT[0m
|
79341
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79342
|
+
[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-02-04 16:59:19', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:19', NULL, 50)[0m
|
79343
|
+
[1m[35m (37.1ms)[0m COMMIT
|
79344
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79345
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing16@example.com' LIMIT 1
|
79346
|
+
[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-02-04 16:59:20', '2013-02-04 16:59:20', NULL, NULL, 'testing16@example.com', 'a9dae043de4d6f5b046d9a8e5108d0d73d32088a250e27c52386d97da23f6e36fa9740e6817f206b544476ee739601f0fc26eab6f035b659972726c288f8f604', 0, NULL, NULL, NULL, 'Test', 'y9GqzmSK52NYwx22tffC', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:20')[0m
|
79347
|
+
[1m[35m (28.8ms)[0m COMMIT
|
79348
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79349
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (9, 'User', '2013-02-04 16:59:20', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:20', NULL, 50)
|
79350
|
+
[1m[36m (37.1ms)[0m [1mCOMMIT[0m
|
79351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79352
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing17@example.com' LIMIT 1[0m
|
79353
|
+
[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-02-04 16:59:20', '2013-02-04 16:59:20', NULL, NULL, 'testing17@example.com', 'b4f338f4604f1efae03b8f117873b01d2e969751968523db7b21e4aaf9c16177d59baa18cff44583d84b60df73e12a0da327ab9c7f62c10c2600ce2076e61955', 0, NULL, NULL, NULL, 'Test', 'KFrLg3u3uwpBmbkZYE28', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:20')
|
79354
|
+
[1m[36m (32.8ms)[0m [1mCOMMIT[0m
|
79355
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79356
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (10, 'User', '2013-02-04 16:59:20', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:20', NULL, 50)[0m
|
79357
|
+
[1m[35m (35.1ms)[0m COMMIT
|
79358
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79359
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing18@example.com' LIMIT 1
|
79360
|
+
[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-02-04 16:59:21', '2013-02-04 16:59:21', NULL, NULL, 'testing18@example.com', '7bdc18e8a1982e95dbc2dcdcda2c8c5ea469066942489a5244fdd07811702b23c42b8803a45468855105445de361acc416f5d92cacd6fe907fac3ff04cafc168', 0, NULL, NULL, NULL, 'Test', 'Vy6FkyHK2Tsz9z22Gpys', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:21')[0m
|
79361
|
+
[1m[35m (30.0ms)[0m COMMIT
|
79362
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79363
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (11, 'User', '2013-02-04 16:59:21', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:21', NULL, 50)
|
79364
|
+
[1m[36m (37.0ms)[0m [1mCOMMIT[0m
|
79365
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79366
|
+
[1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing19@example.com' LIMIT 1[0m
|
79367
|
+
[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-02-04 16:59:21', '2013-02-04 16:59:21', NULL, NULL, 'testing19@example.com', '42761816069d8744b0a022d9726c24a2bb1a2c776903348bf9a7ce3e99527cefdb2ef791617e2c81f4e14fd1feea597c32c454a80a126be077760044d7429271', 0, NULL, NULL, NULL, 'Test', 'mjXC2jk7FZASaMrUuUEx', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:21')
|
79368
|
+
[1m[36m (26.9ms)[0m [1mCOMMIT[0m
|
79369
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79370
|
+
[1m[36mSQL (1.1ms)[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-02-04 16:59:21', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:21', NULL, 50)[0m
|
79371
|
+
[1m[35m (34.9ms)[0m COMMIT
|
79372
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79373
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
79374
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79375
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing20@example.com' LIMIT 1
|
79376
|
+
[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-02-04 16:59:22', '2013-02-04 16:59:22', NULL, NULL, 'testing20@example.com', 'f2a346886719d586036c55ab84a757128e0944817f0cc8233b2b8119261f3e9f6b93e7d2a91e66ba230dfe8c0bb98eb366dc50846a75b343760a0c04c30dbd1b', 0, NULL, NULL, NULL, 'Test', 'u3ykCHcyxJhx6KCj1fuq', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:22')[0m
|
79377
|
+
[1m[35m (33.0ms)[0m COMMIT
|
79378
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79379
|
+
[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-02-04 16:59:22', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:22', NULL, 50)
|
79380
|
+
[1m[36m (37.5ms)[0m [1mCOMMIT[0m
|
79381
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79382
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing21@example.com' LIMIT 1[0m
|
79383
|
+
[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-02-04 16:59:22', '2013-02-04 16:59:22', NULL, NULL, 'testing21@example.com', '132f9f9e773a23a4a30f0d6bd47e854e1ca7f8b68e54f28d98b776a1bae90d1f60e272c61758d72037290000014590a66ee6f88b6cd6797fc07553a99d341967', 0, NULL, NULL, NULL, 'Test', '3wiEvkJsAAzsyJP6s59L', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:22')
|
79384
|
+
[1m[36m (27.1ms)[0m [1mCOMMIT[0m
|
79385
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79386
|
+
[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-02-04 16:59:22', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:22', NULL, 50)[0m
|
79387
|
+
[1m[35m (44.1ms)[0m COMMIT
|
79388
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
79389
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing22@example.com' LIMIT 1
|
79390
|
+
[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-02-04 16:59:23', '2013-02-04 16:59:23', NULL, NULL, 'testing22@example.com', 'de2af21359c83ade12c7464ded9e6cce1edca0694973027392cbed8fdfc831409caaa855241654e3ffe32e5e62f42dbd79ab048ed91b1c566f9eca663ed9cf58', 0, NULL, NULL, NULL, 'Test', 'bs72VqDzmhq4WrpHsw9x', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:23')[0m
|
79391
|
+
[1m[35m (25.5ms)[0m COMMIT
|
79392
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79393
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (15, 'User', '2013-02-04 16:59:23', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2013-02-04 16:59:23', NULL, 50)
|
79394
|
+
[1m[36m (37.6ms)[0m [1mCOMMIT[0m
|
79395
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79396
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
79397
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79398
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79399
|
+
[1m[35m (339.2ms)[0m TRUNCATE TABLE `assets`;
|
79400
|
+
[1m[36m (209.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79401
|
+
[1m[35m (260.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
79402
|
+
[1m[36m (317.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79403
|
+
[1m[35m (117.1ms)[0m TRUNCATE TABLE `posts`;
|
79404
|
+
[1m[36m (262.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79405
|
+
[1m[35m (463.1ms)[0m TRUNCATE TABLE `structures`;
|
79406
|
+
[1m[36m (365.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79407
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79408
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79409
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79410
|
+
[1m[36m (206.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79411
|
+
[1m[35m (318.1ms)[0m TRUNCATE TABLE `audits`;
|
79412
|
+
[1m[36m (328.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79413
|
+
[1m[35m (184.7ms)[0m TRUNCATE TABLE `page_parts`;
|
79414
|
+
[1m[36m (236.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79415
|
+
[1m[35m (138.9ms)[0m TRUNCATE TABLE `settings`;
|
79416
|
+
[1m[36m (317.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79417
|
+
[1m[35m (332.3ms)[0m TRUNCATE TABLE `users`;
|
79418
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79419
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79420
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79421
|
+
[1m[35m (278.5ms)[0m TRUNCATE TABLE `assets`;
|
79422
|
+
[1m[36m (330.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79423
|
+
[1m[35m (703.4ms)[0m TRUNCATE TABLE `meta_tags`;
|
79424
|
+
[1m[36m (465.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79425
|
+
[1m[35m (496.0ms)[0m TRUNCATE TABLE `posts`;
|
79426
|
+
[1m[36m (139.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79427
|
+
[1m[35m (349.8ms)[0m TRUNCATE TABLE `structures`;
|
79428
|
+
[1m[36m (414.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79429
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79430
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79431
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79432
|
+
[1m[36m (305.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79433
|
+
[1m[35m (331.2ms)[0m TRUNCATE TABLE `audits`;
|
79434
|
+
[1m[36m (306.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79435
|
+
[1m[35m (458.5ms)[0m TRUNCATE TABLE `page_parts`;
|
79436
|
+
[1m[36m (284.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79437
|
+
[1m[35m (128.1ms)[0m TRUNCATE TABLE `settings`;
|
79438
|
+
[1m[36m (263.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79439
|
+
[1m[35m (376.7ms)[0m TRUNCATE TABLE `users`;
|
79440
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79441
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79442
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing23@example.com' LIMIT 1[0m
|
79443
|
+
[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-02-04 16:59:33', '2013-02-04 16:59:33', NULL, NULL, 'testing23@example.com', '94f9848844d2ab6c90bdf93d31c84d5b04339ac7ea8e924208bbe22ee630b984e1e1c53238f42e15a16b6af33ae9cd3be26e36a4c21577428e7a91139b1d4e9b', 0, NULL, NULL, NULL, 'Test', '3scqkU8V4vjnpMmYTwcL', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:33')
|
79444
|
+
[1m[36m (33.1ms)[0m [1mCOMMIT[0m
|
79445
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79446
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing24@example.com' LIMIT 1[0m
|
79447
|
+
[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-02-04 16:59:33', '2013-02-04 16:59:33', NULL, NULL, 'testing24@example.com', '3eb4f22a2021a6769c9d579ff49830f562ecf655ce2d6b1c2404c96d551121d3dd27fcc0b163b0d6464502ddb24934a1d1fd1d1fde7848f662c031e5d7f7f3e0', 0, NULL, NULL, NULL, 'Test', 'mdAKvXJuYg9SFkuX2CQ5', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:33')
|
79448
|
+
[1m[36m (46.8ms)[0m [1mCOMMIT[0m
|
79449
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79450
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing25@example.com' LIMIT 1[0m
|
79451
|
+
[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-02-04 16:59:34', '2013-02-04 16:59:34', NULL, NULL, 'testing25@example.com', 'd599c2462b748c0c9303aa8684d0c89bdc66ea09c333abe84df7c2808203fa4b7879326fd754eddc412b5c294447db43c923241e372e4bfab7a21eabf01daa6b', 0, NULL, NULL, NULL, 'Test', 'xM97z3qywCi6wRpSF6nq', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:34')
|
79452
|
+
[1m[36m (33.8ms)[0m [1mCOMMIT[0m
|
79453
|
+
[1m[35m (0.3ms)[0m BEGIN
|
79454
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing26@example.com' LIMIT 1[0m
|
79455
|
+
[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-02-04 16:59:35', '2013-02-04 16:59:35', NULL, NULL, 'testing26@example.com', 'f9f7b138cb1c6e521b6e7e3598b60643bed7f28cf911f4f01b8a1e9df46e733bdf57ecfb30b36f6ab7410228cdbb57699800d0b5505687828101dd57d5aeab33', 0, NULL, NULL, NULL, 'Test', 'Dy2ixgSPdimm6qXXKZox', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:35')
|
79456
|
+
[1m[36m (35.0ms)[0m [1mCOMMIT[0m
|
79457
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79458
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing27@example.com' LIMIT 1[0m
|
79459
|
+
[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-02-04 16:59:36', '2013-02-04 16:59:36', NULL, NULL, 'testing27@example.com', 'a6a3065418ddffde81f452c5c7c41a966c5c07a7e167b67d4a81260adf6fb667eb83991b43e7606cfd35416645c7a280305a583732191b8c9dc49051b440af7a', 0, NULL, NULL, NULL, 'Test', 'y6Uzt8vgaRoqqRszT58s', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:36')
|
79460
|
+
[1m[36m (33.5ms)[0m [1mCOMMIT[0m
|
79461
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79462
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79463
|
+
[1m[35m (319.3ms)[0m TRUNCATE TABLE `assets`;
|
79464
|
+
[1m[36m (275.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79465
|
+
[1m[35m (227.3ms)[0m TRUNCATE TABLE `meta_tags`;
|
79466
|
+
[1m[36m (295.5ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79467
|
+
[1m[35m (116.9ms)[0m TRUNCATE TABLE `posts`;
|
79468
|
+
[1m[36m (250.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79469
|
+
[1m[35m (332.2ms)[0m TRUNCATE TABLE `structures`;
|
79470
|
+
[1m[36m (489.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79471
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79472
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79473
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79474
|
+
[1m[36m (317.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79475
|
+
[1m[35m (330.9ms)[0m TRUNCATE TABLE `audits`;
|
79476
|
+
[1m[36m (140.0ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79477
|
+
[1m[35m (294.9ms)[0m TRUNCATE TABLE `page_parts`;
|
79478
|
+
[1m[36m (261.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79479
|
+
[1m[35m (117.2ms)[0m TRUNCATE TABLE `settings`;
|
79480
|
+
[1m[36m (340.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79481
|
+
[1m[35m (342.5ms)[0m TRUNCATE TABLE `users`;
|
79482
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79483
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79484
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79485
|
+
[1m[35m (203.4ms)[0m TRUNCATE TABLE `assets`;
|
79486
|
+
[1m[36m (296.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79487
|
+
[1m[35m (339.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
79488
|
+
[1m[36m (162.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79489
|
+
[1m[35m (960.8ms)[0m TRUNCATE TABLE `posts`;
|
79490
|
+
[1m[36m (884.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79491
|
+
[1m[35m (541.8ms)[0m TRUNCATE TABLE `structures`;
|
79492
|
+
[1m[36m (342.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79493
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79494
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79495
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79496
|
+
[1m[36m (228.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79497
|
+
[1m[35m (328.9ms)[0m TRUNCATE TABLE `audits`;
|
79498
|
+
[1m[36m (306.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79499
|
+
[1m[35m (364.2ms)[0m TRUNCATE TABLE `page_parts`;
|
79500
|
+
[1m[36m (117.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79501
|
+
[1m[35m (217.5ms)[0m TRUNCATE TABLE `settings`;
|
79502
|
+
[1m[36m (297.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79503
|
+
[1m[35m (365.5ms)[0m TRUNCATE TABLE `users`;
|
79504
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79505
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79506
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79507
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:47', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 16:59:47')
|
79508
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79509
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
79510
|
+
[1m[36m (29.2ms)[0m [1mCOMMIT[0m
|
79511
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79512
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79513
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:47', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug1', 'Structure', '2013-02-04 16:59:47')
|
79514
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
79515
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79516
|
+
[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
|
79517
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
79518
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79519
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79520
|
+
[1m[36mSQL (2.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79521
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79522
|
+
[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
|
79523
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79524
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79525
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79526
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79527
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79528
|
+
[1m[36m (110.2ms)[0m [1mCOMMIT[0m
|
79529
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79530
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
79531
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79532
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79533
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79534
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79535
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79536
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79537
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79538
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79539
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79540
|
+
[1m[36m (40.3ms)[0m [1mCOMMIT[0m
|
79541
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79542
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79543
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79544
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79545
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79546
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
79547
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
79548
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
79549
|
+
[1m[35m (23.8ms)[0m COMMIT
|
79550
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79551
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79552
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79553
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79554
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
79555
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
79556
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
79557
|
+
[1m[35m (63.7ms)[0m COMMIT
|
79558
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79559
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79560
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79561
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
79562
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:47', 0, 1, 1, 5, 2, 2, NULL, 6, 'slug2', 'Structure', '2013-02-04 16:59:47')[0m
|
79563
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft` LIMIT 1
|
79564
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE[0m
|
79565
|
+
[1m[35mSQL (0.5ms)[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`
|
79566
|
+
[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
|
79567
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
79568
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
79569
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
79570
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
79571
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 3 AND `structures`.`lft` < 4) AND (`structures`.id != 3) ORDER BY `structures`.`lft`
|
79572
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE[0m
|
79573
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1
|
79574
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
79575
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
79576
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)[0m
|
79577
|
+
[1m[35m (50.1ms)[0m COMMIT
|
79578
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79579
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79580
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
79581
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
79582
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
79583
|
+
[1m[35m (46.0ms)[0m COMMIT
|
79584
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79585
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79586
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
79587
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 6) ORDER BY `structures`.`lft`
|
79588
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79589
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
79590
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:47', 0, 1, 1, 7, 1, 2, NULL, 8, 'slug3', 'Some super title', '2013-02-04 16:59:47')[0m
|
79591
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
79592
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
79593
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 6 AND 6 THEN `lft` + 8 - 6 WHEN `lft` BETWEEN 7 AND 8 THEN `lft` + 6 - 7 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 6 AND 6 THEN `rgt` + 8 - 6 WHEN `rgt` BETWEEN 7 AND 8 THEN `rgt` + 6 - 7 ELSE `rgt` END, `parent_id` = CASE WHEN id = 4 THEN 1 ELSE `parent_id` END ORDER BY `structures`.`lft`
|
79594
|
+
[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
|
79595
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
79596
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
79597
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
79598
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
79599
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 6 AND `structures`.`lft` < 7) AND (`structures`.id != 4) ORDER BY `structures`.`lft`
|
79600
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
79601
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
79602
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
79603
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
79604
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
79605
|
+
[1m[35m (45.5ms)[0m COMMIT
|
79606
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79607
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79608
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `structures` SET `title` = 'Other big title', `updated_at` = '2013-02-04 16:59:47' WHERE `structures`.`id` = 4[0m
|
79609
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
79610
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
79611
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `structures`.`lft`
|
79612
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
79613
|
+
[1m[35m (75.7ms)[0m COMMIT
|
79614
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
79615
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
79616
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:47', 0, 1, 1, 9, 1, 2, NULL, 10, 'original-slug', 'Tra ta ta', '2013-02-04 16:59:47')[0m
|
79617
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
79618
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1 FOR UPDATE[0m
|
79619
|
+
[1m[35mSQL (0.6ms)[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`
|
79620
|
+
[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
|
79621
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1
|
79622
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
79623
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 5 ORDER BY `structures`.`lft`
|
79624
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
79625
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 8 AND `structures`.`lft` < 9) AND (`structures`.id != 5) ORDER BY `structures`.`lft`
|
79626
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1 FOR UPDATE[0m
|
79627
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1
|
79628
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
79629
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 5 ORDER BY `structures`.`lft`
|
79630
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 8 AND `structures`.`rgt` >= 9) AND (`structures`.id != 5)[0m
|
79631
|
+
[1m[35m (50.8ms)[0m COMMIT
|
79632
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 5 LIMIT 1[0m
|
79633
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79634
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79635
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
79636
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79637
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
79638
|
+
[1m[36m (22.5ms)[0m [1mCOMMIT[0m
|
79639
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79640
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'slug1' LIMIT 1[0m
|
79641
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79642
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79643
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79644
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
79645
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
79646
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
79647
|
+
[1m[35m (52.5ms)[0m COMMIT
|
79648
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1359997188 LIMIT 1[0m
|
79649
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79650
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79651
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79652
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
79653
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
79654
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
79655
|
+
[1m[35m (21.5ms)[0m COMMIT
|
79656
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'wrong' LIMIT 1[0m
|
79657
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'slug1' LIMIT 1
|
79658
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79659
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79660
|
+
[1m[36m (192.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79661
|
+
[1m[35m (296.7ms)[0m TRUNCATE TABLE `audits`;
|
79662
|
+
[1m[36m (328.0ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79663
|
+
[1m[35m (162.2ms)[0m TRUNCATE TABLE `page_parts`;
|
79664
|
+
[1m[36m (248.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79665
|
+
[1m[35m (138.9ms)[0m TRUNCATE TABLE `settings`;
|
79666
|
+
[1m[36m (317.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79667
|
+
[1m[35m (365.4ms)[0m TRUNCATE TABLE `users`;
|
79668
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79669
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79670
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79671
|
+
[1m[35m (294.9ms)[0m TRUNCATE TABLE `assets`;
|
79672
|
+
[1m[36m (330.5ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79673
|
+
[1m[35m (140.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
79674
|
+
[1m[36m (262.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79675
|
+
[1m[35m (257.1ms)[0m TRUNCATE TABLE `posts`;
|
79676
|
+
[1m[36m (132.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79677
|
+
[1m[35m (329.4ms)[0m TRUNCATE TABLE `structures`;
|
79678
|
+
[1m[36m (550.4ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79679
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79680
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79681
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY '1359997192@gmail.com' LIMIT 1
|
79682
|
+
[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-02-04 16:59:52', '2013-02-04 16:59:52', NULL, NULL, '1359997192@gmail.com', '804ae874f6264f51ba7c9a8b17f49f7c6fb6caed4fa9cf0bff97fb0f1a1463c73588c99a0b5daff77ac1b4dbb2981315a213329cb510a73d2aecf220278f14f3', 0, NULL, NULL, NULL, 'Admin', 'TEeF26ksMTFfsayLQM9E', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 16:59:52')[0m
|
79683
|
+
[1m[35m (35.8ms)[0m COMMIT
|
79684
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79685
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing28@example.com' LIMIT 1
|
79686
|
+
[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-02-04 16:59:52', '2013-02-04 16:59:52', NULL, NULL, 'testing28@example.com', 'dbfff2e042c7386a218ee9d8e2b02a82909f26d2d7897c1e2660071c503e56692af6d4073dbb05d17012e3f9cdd6e01635fe1c64a69151b5200399fa7089792e', 0, NULL, NULL, NULL, 'Test', 'Wz6GgjTk4rEHsXspsx4r', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 16:59:52')[0m
|
79687
|
+
[1m[35m (39.8ms)[0m COMMIT
|
79688
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79689
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
79690
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:52', 0, 1, 1, 1, NULL, 2, NULL, 2, 'slug5', 'Structure', '2013-02-04 16:59:52')[0m
|
79691
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
79692
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
79693
|
+
[1m[35m (50.8ms)[0m COMMIT
|
79694
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79695
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 16:59:52', 1, 1, 'Default title', '2013-02-04 16:59:52')
|
79696
|
+
[1m[36m (35.1ms)[0m [1mCOMMIT[0m
|
79697
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79698
|
+
[1m[36m (0.6ms)[0m [1mSELECT MAX(`audits`.`version`) AS max_id FROM `audits` WHERE `audits`.`auditable_id` = 1 AND `audits`.`auditable_type` = 'Post'[0m
|
79699
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `audits` (`action`, `associated_id`, `associated_type`, `auditable_id`, `auditable_type`, `audited_changes`, `comment`, `created_at`, `remote_address`, `user_id`, `user_type`, `username`, `version`) VALUES ('create', NULL, NULL, 1, 'Post', '---\n:title: Updated\n', NULL, '2013-02-04 16:59:52', NULL, 2, 'User', NULL, 1)
|
79700
|
+
[1m[36m (51.6ms)[0m [1mCOMMIT[0m
|
79701
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-02-04 18:59:53 +0200
|
79702
|
+
[1m[35m (0.2ms)[0m BEGIN
|
79703
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
79704
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79705
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 16:59:53', `current_sign_in_at` = '2013-02-04 16:59:53', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 16:59:53' WHERE `users`.`id` = 1[0m
|
79706
|
+
[1m[35m (21.8ms)[0m COMMIT
|
79707
|
+
Processing by Sunrise::DashboardController#index as HTML
|
79708
|
+
[1m[36mAudited::Adapters::ActiveRecord::Audit Load (0.5ms)[0m [1mSELECT `audits`.* FROM `audits` ORDER BY version, audits.id desc LIMIT 50 OFFSET 0[0m
|
79709
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` IN (2)
|
79710
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (5.5ms)
|
79711
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
79712
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/index.html.erb within layouts/sunrise/application (169.1ms)
|
79713
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (109.2ms)
|
79714
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (2.6ms)
|
79715
|
+
Completed 200 OK in 375ms (Views: 347.4ms | ActiveRecord: 1.6ms)
|
79716
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-02-04 18:59:53 +0200
|
79717
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79718
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
79719
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79720
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 16:59:53' WHERE `users`.`id` = 1[0m
|
79721
|
+
[1m[35m (32.1ms)[0m COMMIT
|
79722
|
+
Processing by Sunrise::DashboardController#index as HTML
|
79723
|
+
[1m[36mAudited::Adapters::ActiveRecord::Audit Load (0.2ms)[0m [1mSELECT `audits`.* FROM `audits` ORDER BY version, audits.id desc LIMIT 50 OFFSET 0[0m
|
79724
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` IN (2)
|
79725
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (4.2ms)
|
79726
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
79727
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
79728
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.2ms)
|
79729
|
+
Completed 200 OK in 31ms (Views: 20.4ms | ActiveRecord: 0.8ms)
|
79730
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-02-04 18:59:53 +0200
|
79731
|
+
Processing by Sunrise::DashboardController#index as HTML
|
79732
|
+
Completed 401 Unauthorized in 0ms
|
79733
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 18:59:53 +0200
|
79734
|
+
Processing by Devise::SessionsController#new as HTML
|
79735
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (3.5ms)
|
79736
|
+
Completed 200 OK in 61ms (Views: 59.1ms | ActiveRecord: 0.0ms)
|
79737
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79738
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79739
|
+
[1m[35m (192.2ms)[0m TRUNCATE TABLE `assets`;
|
79740
|
+
[1m[36m (297.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79741
|
+
[1m[35m (396.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
79742
|
+
[1m[36m (295.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79743
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `posts`;
|
79744
|
+
[1m[36m (283.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79745
|
+
[1m[35m (341.9ms)[0m TRUNCATE TABLE `structures`;
|
79746
|
+
[1m[36m (329.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79747
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79748
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79749
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79750
|
+
[1m[36m (175.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79751
|
+
[1m[35m (388.0ms)[0m TRUNCATE TABLE `audits`;
|
79752
|
+
[1m[36m (295.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79753
|
+
[1m[35m (263.2ms)[0m TRUNCATE TABLE `page_parts`;
|
79754
|
+
[1m[36m (116.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79755
|
+
[1m[35m (470.8ms)[0m TRUNCATE TABLE `settings`;
|
79756
|
+
[1m[36m (1265.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79757
|
+
[1m[35m (387.1ms)[0m TRUNCATE TABLE `users`;
|
79758
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79759
|
+
[1m[35m (0.2ms)[0m BEGIN
|
79760
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing29@example.com' LIMIT 1[0m
|
79761
|
+
[1m[35mSQL (27.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-02-04 16:59:59', '2013-02-04 16:59:59', NULL, NULL, 'testing29@example.com', '32537fc04b987d10f015f99f6859f06755e49452d2ad0b3c8f5e93a390c040017b5abb7c4c62e2b9b7fd87db56d58b578b614eda17d5943c8111108e2360d4e3', 0, NULL, NULL, NULL, 'Admin', 'hx4YMrsbpndiQ5WNp3x3', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 16:59:59')
|
79762
|
+
[1m[36m (171.4ms)[0m [1mCOMMIT[0m
|
79763
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79764
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79765
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:59', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 16:59:59')
|
79766
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79767
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
79768
|
+
[1m[36m (49.5ms)[0m [1mCOMMIT[0m
|
79769
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79770
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79771
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 16:59:59', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug6', 'Structure', '2013-02-04 16:59:59')
|
79772
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
79773
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79774
|
+
[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
|
79775
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
79776
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79777
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79778
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79779
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79780
|
+
[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
|
79781
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79782
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79783
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79784
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79785
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79786
|
+
[1m[36m (167.5ms)[0m [1mCOMMIT[0m
|
79787
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-02-04 19:00:00 +0200
|
79788
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79789
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
79790
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79791
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:00', `current_sign_in_at` = '2013-02-04 17:00:00', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:00' WHERE `users`.`id` = 1[0m
|
79792
|
+
[1m[35m (60.3ms)[0m COMMIT
|
79793
|
+
Processing by Sunrise::ManagerController#show as HTML
|
79794
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
79795
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79796
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
79797
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (1.1ms)
|
79798
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (11.5ms)
|
79799
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (26.8ms)
|
79800
|
+
Completed 200 OK in 175ms (Views: 125.8ms | ActiveRecord: 0.5ms)
|
79801
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-02-04 19:00:00 +0200
|
79802
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79803
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
79804
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79805
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:00' WHERE `users`.`id` = 1[0m
|
79806
|
+
[1m[35m (21.0ms)[0m COMMIT
|
79807
|
+
Processing by Sunrise::ManagerController#show as HTML
|
79808
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
79809
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79810
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
79811
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
79812
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.9ms)
|
79813
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.4ms)
|
79814
|
+
Completed 200 OK in 16ms (Views: 12.2ms | ActiveRecord: 0.3ms)
|
79815
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2013-02-04 19:00:00 +0200
|
79816
|
+
Processing by Sunrise::ManagerController#show as HTML
|
79817
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
79818
|
+
Completed 401 Unauthorized in 1ms
|
79819
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:00 +0200
|
79820
|
+
Processing by Devise::SessionsController#new as HTML
|
79821
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.0ms)
|
79822
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
79823
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79824
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79825
|
+
[1m[35m (167.3ms)[0m TRUNCATE TABLE `assets`;
|
79826
|
+
[1m[36m (286.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79827
|
+
[1m[35m (328.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
79828
|
+
[1m[36m (162.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79829
|
+
[1m[35m (248.6ms)[0m TRUNCATE TABLE `posts`;
|
79830
|
+
[1m[36m (150.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79831
|
+
[1m[35m (294.7ms)[0m TRUNCATE TABLE `structures`;
|
79832
|
+
[1m[36m (353.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79833
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79834
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79835
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79836
|
+
[1m[36m (305.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79837
|
+
[1m[35m (327.4ms)[0m TRUNCATE TABLE `audits`;
|
79838
|
+
[1m[36m (199.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79839
|
+
[1m[35m (263.0ms)[0m TRUNCATE TABLE `page_parts`;
|
79840
|
+
[1m[36m (228.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79841
|
+
[1m[35m (139.3ms)[0m TRUNCATE TABLE `settings`;
|
79842
|
+
[1m[36m (340.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79843
|
+
[1m[35m (354.3ms)[0m TRUNCATE TABLE `users`;
|
79844
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79845
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79846
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing30@example.com' LIMIT 1[0m
|
79847
|
+
[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-02-04 17:00:04', '2013-02-04 17:00:04', NULL, NULL, 'testing30@example.com', 'be6d19062d01272186ad0084b0b1716a1a42147b9482735c2faefe107d32819b9816f544bc6a49f5a62a45587752dee5172ebee140dfd2ba4b16a058d737ea0f', 0, NULL, NULL, NULL, 'Admin', '4qBV4tRSTT1zcyMLQPZG', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:04')
|
79848
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
79849
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79850
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79851
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:04', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:04')
|
79852
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79853
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
79854
|
+
[1m[36m (36.2ms)[0m [1mCOMMIT[0m
|
79855
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79856
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79857
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:04', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug7', 'Structure', '2013-02-04 17:00:04')
|
79858
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
79859
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79860
|
+
[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
|
79861
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
79862
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79863
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79864
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79865
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79866
|
+
[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
|
79867
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79868
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79869
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79870
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79871
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79872
|
+
[1m[36m (37.5ms)[0m [1mCOMMIT[0m
|
79873
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:04 +0200
|
79874
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79875
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
79876
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79877
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:04', `current_sign_in_at` = '2013-02-04 17:00:04', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:04' WHERE `users`.`id` = 1[0m
|
79878
|
+
[1m[35m (35.6ms)[0m COMMIT
|
79879
|
+
Processing by Sunrise::ManagerController#index as HTML
|
79880
|
+
Parameters: {"model_name"=>"structures"}
|
79881
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
79882
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
79883
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.7ms)
|
79884
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (58.4ms)
|
79885
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
79886
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
79887
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.8ms)
|
79888
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (4.3ms)
|
79889
|
+
Completed 200 OK in 124ms (Views: 113.1ms | ActiveRecord: 1.3ms)
|
79890
|
+
Started DELETE "/manage/structures/2/delete" for 127.0.0.1 at 2013-02-04 19:00:05 +0200
|
79891
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
79892
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
79893
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
79894
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
79895
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
79896
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79897
|
+
[1m[36mSQL (29.7ms)[0m [1mDELETE FROM `structures` WHERE (`lft` > 2 AND `rgt` < 3)[0m
|
79898
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `lft` = (`lft` - 2) WHERE (`structures`.`lft` > 3) ORDER BY `structures`.`lft`
|
79899
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `rgt` = (`rgt` - 2) WHERE (`structures`.`rgt` > 3) ORDER BY `structures`.`lft`[0m
|
79900
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
79901
|
+
[1m[36mMetaTag Load (0.4ms)[0m [1mSELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'[0m
|
79902
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2
|
79903
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM `structures` WHERE `structures`.`id` = 2[0m
|
79904
|
+
[1m[35m (44.3ms)[0m COMMIT
|
79905
|
+
Redirected to http://www.example.com/manage/structures
|
79906
|
+
Completed 302 Found in 263ms (ActiveRecord: 0.0ms)
|
79907
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:05 +0200
|
79908
|
+
Processing by Sunrise::ManagerController#index as HTML
|
79909
|
+
Parameters: {"model_name"=>"structures"}
|
79910
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
79911
|
+
[1m[35mStructure Load (0.8ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
79912
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.8ms)
|
79913
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
79914
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
79915
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.1ms)
|
79916
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.6ms)
|
79917
|
+
Completed 200 OK in 25ms (Views: 16.7ms | ActiveRecord: 1.0ms)
|
79918
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79919
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:05 +0200
|
79920
|
+
Processing by Sunrise::ManagerController#index as HTML
|
79921
|
+
Parameters: {"model_name"=>"structures"}
|
79922
|
+
Completed 401 Unauthorized in 0ms
|
79923
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:05 +0200
|
79924
|
+
Processing by Devise::SessionsController#new as HTML
|
79925
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.2ms)
|
79926
|
+
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
|
79927
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
79928
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
79929
|
+
[1m[35m (189.1ms)[0m TRUNCATE TABLE `assets`;
|
79930
|
+
[1m[36m (319.5ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
79931
|
+
[1m[35m (361.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
79932
|
+
[1m[36m (173.6ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
79933
|
+
[1m[35m (248.1ms)[0m TRUNCATE TABLE `posts`;
|
79934
|
+
[1m[36m (138.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
79935
|
+
[1m[35m (306.0ms)[0m TRUNCATE TABLE `structures`;
|
79936
|
+
[1m[36m (355.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
79937
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
79938
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
79939
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
79940
|
+
[1m[36m (427.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
79941
|
+
[1m[35m (353.0ms)[0m TRUNCATE TABLE `audits`;
|
79942
|
+
[1m[36m (162.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
79943
|
+
[1m[35m (240.0ms)[0m TRUNCATE TABLE `page_parts`;
|
79944
|
+
[1m[36m (247.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
79945
|
+
[1m[35m (152.6ms)[0m TRUNCATE TABLE `settings`;
|
79946
|
+
[1m[36m (296.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
79947
|
+
[1m[35m (375.5ms)[0m TRUNCATE TABLE `users`;
|
79948
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
79949
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79950
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing31@example.com' LIMIT 1[0m
|
79951
|
+
[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-02-04 17:00:09', '2013-02-04 17:00:09', NULL, NULL, 'testing31@example.com', '778f3fc29bbcd125977e603f2af2aae60153aaab3a52e93f71c5e3cbdc6d948ff2617f20dc5a590634c3ce7afcd99ff40a0558b53c66cb719617ddec3455c103', 0, NULL, NULL, NULL, 'Admin', 'BYcRVacY6q5q2Zvtnpce', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:09')
|
79952
|
+
[1m[36m (36.3ms)[0m [1mCOMMIT[0m
|
79953
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79954
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79955
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:09', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:09')
|
79956
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
79957
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
79958
|
+
[1m[36m (36.9ms)[0m [1mCOMMIT[0m
|
79959
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79960
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
79961
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:09', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug8', 'Structure', '2013-02-04 17:00:09')
|
79962
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
79963
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79964
|
+
[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
|
79965
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
79966
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79967
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79968
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79969
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79970
|
+
[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
|
79971
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
79972
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79973
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79974
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
79975
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
79976
|
+
[1m[36m (51.0ms)[0m [1mCOMMIT[0m
|
79977
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:09 +0200
|
79978
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79979
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
79980
|
+
[1m[35m (0.1ms)[0m BEGIN
|
79981
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:09', `current_sign_in_at` = '2013-02-04 17:00:09', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:09' WHERE `users`.`id` = 1[0m
|
79982
|
+
[1m[35m (35.9ms)[0m COMMIT
|
79983
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
79984
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
79985
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
79986
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
79987
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
79988
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
79989
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (87.0ms)
|
79990
|
+
[1m[35mMetaTag Load (0.5ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
79991
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.3ms)
|
79992
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (1018.5ms)
|
79993
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
79994
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (1.4ms)
|
79995
|
+
Completed 200 OK in 1121ms (Views: 1097.8ms | ActiveRecord: 2.0ms)
|
79996
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
79997
|
+
Processing by Sunrise::ManagerController#update as HTML
|
79998
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Title updated", "redirect_url"=>"", "slug"=>"slug8", "parent_id"=>"1", "kind"=>"2", "position"=>"1", "is_visible"=>"0", "tag_title"=>"", "tag_keywords"=>"", "tag_description"=>""}, "commit"=>"Update Structure", "model_name"=>"structures", "id"=>"2"}
|
79999
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80000
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80001
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80002
|
+
[1m[35mMetaTag Load (0.5ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
80003
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `structures` SET `title` = 'Title updated', `redirect_url` = '', `kind` = 2, `position` = 1, `is_visible` = 0, `updated_at` = '2013-02-04 17:00:11' WHERE `structures`.`id` = 2[0m
|
80004
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80005
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80006
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80007
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80008
|
+
[1m[35m (205.3ms)[0m COMMIT
|
80009
|
+
Redirected to http://www.example.com/manage/structures
|
80010
|
+
Completed 302 Found in 236ms (ActiveRecord: 0.0ms)
|
80011
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80012
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80013
|
+
Parameters: {"model_name"=>"structures"}
|
80014
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80015
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80016
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
80017
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.3ms)
|
80018
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (6.0ms)
|
80019
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
80020
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80021
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (3.1ms)
|
80022
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.5ms)
|
80023
|
+
Completed 200 OK in 24ms (Views: 18.0ms | ActiveRecord: 1.4ms)
|
80024
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80025
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80026
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80027
|
+
[1m[35m (0.2ms)[0m COMMIT
|
80028
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80029
|
+
[1m[35m (65.1ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-02-04 17:00:11', `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:11' WHERE `users`.`id` = 1
|
80030
|
+
[1m[36m (28.3ms)[0m [1mCOMMIT[0m
|
80031
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80032
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
80033
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80034
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80035
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
80036
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`
|
80037
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (17.2ms)
|
80038
|
+
[1m[36mMetaTag Load (0.7ms)[0m [1mSELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'[0m
|
80039
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (87.3ms)
|
80040
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (108.6ms)
|
80041
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
80042
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80043
|
+
Completed 200 OK in 121ms (Views: 115.4ms | ActiveRecord: 1.6ms)
|
80044
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80045
|
+
Processing by Sunrise::ManagerController#update as HTML
|
80046
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Title updated", "redirect_url"=>"", "slug"=>"slug8", "parent_id"=>"1", "kind"=>"2", "position"=>"1", "is_visible"=>"0", "tag_title"=>"", "tag_keywords"=>"", "tag_description"=>""}, "commit"=>"Update Structure", "model_name"=>"structures", "id"=>"2"}
|
80047
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
80048
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80049
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80050
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'[0m
|
80051
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80052
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80053
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80054
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80055
|
+
[1m[35m (46.0ms)[0m COMMIT
|
80056
|
+
Redirected to http://www.example.com/manage/structures
|
80057
|
+
Completed 302 Found in 64ms (ActiveRecord: 0.0ms)
|
80058
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80059
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80060
|
+
Parameters: {"model_name"=>"structures"}
|
80061
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80062
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80063
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
80064
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.1ms)
|
80065
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (5.2ms)
|
80066
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.6ms)
|
80067
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80068
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.7ms)
|
80069
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.1ms)
|
80070
|
+
Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.5ms)
|
80071
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80072
|
+
[1m[36mPagePart Load (0.5ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
80073
|
+
[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
|
80074
|
+
[1m[36mPagePart Exists (0.4ms)[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
|
80075
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Main', '2013-02-04 17:00:11', 'main', 2, 'Structure', '2013-02-04 17:00:11')
|
80076
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Sidebar', '2013-02-04 17:00:11', 'sidebar', 2, 'Structure', '2013-02-04 17:00:11')[0m
|
80077
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80078
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80079
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80080
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80081
|
+
[1m[35m (31.9ms)[0m COMMIT
|
80082
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80083
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80084
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80085
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80086
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:11', `sign_in_count` = 3, `updated_at` = '2013-02-04 17:00:11' WHERE `users`.`id` = 1
|
80087
|
+
[1m[36m (36.0ms)[0m [1mCOMMIT[0m
|
80088
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80089
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
80090
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80091
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80092
|
+
[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
|
80093
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (24.7ms)
|
80094
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (28.0ms)
|
80095
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
80096
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80097
|
+
Completed 200 OK in 40ms (Views: 35.5ms | ActiveRecord: 0.8ms)
|
80098
|
+
Started PUT "/manage/pages/2/edit" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80099
|
+
Processing by Sunrise::ManagerController#update as HTML
|
80100
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"main"=>"Main updated", "sidebar"=>"Sidebar updated"}, "commit"=>"Update Structure", "model_name"=>"pages", "id"=>"2"}
|
80101
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
80102
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80103
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80104
|
+
[1m[36mPagePart Load (0.5ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
80105
|
+
[1m[35mPagePart Exists (0.5ms)[0m SELECT 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
|
80106
|
+
[1m[36mPagePart Exists (0.4ms)[0m [1mSELECT 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[0m
|
80107
|
+
[1m[35m (0.4ms)[0m UPDATE `page_parts` SET `content` = 'Main updated', `updated_at` = '2013-02-04 17:00:11' WHERE `page_parts`.`id` = 1
|
80108
|
+
[1m[36m (0.3ms)[0m [1mUPDATE `page_parts` SET `content` = 'Sidebar updated', `updated_at` = '2013-02-04 17:00:11' WHERE `page_parts`.`id` = 2[0m
|
80109
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80110
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80111
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80112
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80113
|
+
[1m[35m (19.8ms)[0m COMMIT
|
80114
|
+
Redirected to http://www.example.com/manage/structures
|
80115
|
+
Completed 302 Found in 47ms (ActiveRecord: 0.0ms)
|
80116
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80117
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80118
|
+
Parameters: {"model_name"=>"structures"}
|
80119
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80120
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80121
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
80122
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.2ms)
|
80123
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (5.5ms)
|
80124
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.6ms)
|
80125
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80126
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.7ms)
|
80127
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.2ms)
|
80128
|
+
Completed 200 OK in 22ms (Views: 17.3ms | ActiveRecord: 0.5ms)
|
80129
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80130
|
+
[1m[36mPagePart Load (0.5ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
80131
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80132
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80133
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
80134
|
+
Completed 401 Unauthorized in 0ms
|
80135
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:11 +0200
|
80136
|
+
Processing by Devise::SessionsController#new as HTML
|
80137
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.0ms)
|
80138
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
80139
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80140
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80141
|
+
[1m[35m (173.4ms)[0m TRUNCATE TABLE `assets`;
|
80142
|
+
[1m[36m (298.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80143
|
+
[1m[35m (305.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
80144
|
+
[1m[36m (173.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80145
|
+
[1m[35m (237.0ms)[0m TRUNCATE TABLE `posts`;
|
80146
|
+
[1m[36m (139.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80147
|
+
[1m[35m (350.8ms)[0m TRUNCATE TABLE `structures`;
|
80148
|
+
[1m[36m (354.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80149
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80150
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80151
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80152
|
+
[1m[36m (317.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80153
|
+
[1m[35m (330.8ms)[0m TRUNCATE TABLE `audits`;
|
80154
|
+
[1m[36m (162.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80155
|
+
[1m[35m (229.1ms)[0m TRUNCATE TABLE `page_parts`;
|
80156
|
+
[1m[36m (235.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80157
|
+
[1m[35m (131.1ms)[0m TRUNCATE TABLE `settings`;
|
80158
|
+
[1m[36m (285.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80159
|
+
[1m[35m (309.9ms)[0m TRUNCATE TABLE `users`;
|
80160
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80161
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80162
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing32@example.com' LIMIT 1[0m
|
80163
|
+
[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-02-04 17:00:16', '2013-02-04 17:00:16', NULL, NULL, 'testing32@example.com', 'cec35054d806c9dd72bae80720f5cc95785ebf2d8f972a537484c14e2de6cce70ab92608c26ca77fdf9666164417d2584a975c55469cfcc36867aeb8b290c6b1', 0, NULL, NULL, NULL, 'Admin', 'UaPzrFsaTkqz8uQzidjZ', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:16')
|
80164
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
80165
|
+
Started GET "/manage/whatever/new" for 127.0.0.1 at 2013-02-04 19:00:16 +0200
|
80166
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80167
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
80168
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80169
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:16', `current_sign_in_at` = '2013-02-04 17:00:16', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:16' WHERE `users`.`id` = 1[0m
|
80170
|
+
[1m[35m (36.0ms)[0m COMMIT
|
80171
|
+
Processing by Sunrise::ManagerController#new as HTML
|
80172
|
+
Parameters: {"model_name"=>"whatever"}
|
80173
|
+
Completed 404 Not Found in 11ms
|
80174
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-02-04 19:00:16 +0200
|
80175
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80176
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80177
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80178
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:16' WHERE `users`.`id` = 1
|
80179
|
+
[1m[36m (52.3ms)[0m [1mCOMMIT[0m
|
80180
|
+
Processing by Sunrise::ManagerController#new as HTML
|
80181
|
+
Parameters: {"model_name"=>"structures"}
|
80182
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80183
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80184
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (16.0ms)
|
80185
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.4ms)
|
80186
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (26.4ms)
|
80187
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
80188
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (1.4ms)
|
80189
|
+
Completed 200 OK in 66ms (Views: 57.5ms | ActiveRecord: 0.6ms)
|
80190
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-02-04 19:00:16 +0200
|
80191
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80192
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80193
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80194
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-02-04 17:00:16' WHERE `users`.`id` = 1
|
80195
|
+
[1m[36m (16.0ms)[0m [1mCOMMIT[0m
|
80196
|
+
Processing by Sunrise::ManagerController#new as HTML
|
80197
|
+
Parameters: {"model_name"=>"structures"}
|
80198
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80199
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80200
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (15.6ms)
|
80201
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.2ms)
|
80202
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (25.5ms)
|
80203
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
80204
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
80205
|
+
Completed 200 OK in 36ms (Views: 33.3ms | ActiveRecord: 0.2ms)
|
80206
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-02-04 19:00:16 +0200
|
80207
|
+
Processing by Sunrise::ManagerController#new as HTML
|
80208
|
+
Parameters: {"model_name"=>"structures"}
|
80209
|
+
Completed 401 Unauthorized in 0ms
|
80210
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:16 +0200
|
80211
|
+
Processing by Devise::SessionsController#new as HTML
|
80212
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.1ms)
|
80213
|
+
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
80214
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80215
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80216
|
+
[1m[36m (162.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80217
|
+
[1m[35m (297.9ms)[0m TRUNCATE TABLE `audits`;
|
80218
|
+
[1m[36m (294.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80219
|
+
[1m[35m (184.5ms)[0m TRUNCATE TABLE `page_parts`;
|
80220
|
+
[1m[36m (478.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80221
|
+
[1m[35m (150.1ms)[0m TRUNCATE TABLE `settings`;
|
80222
|
+
[1m[36m (294.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80223
|
+
[1m[35m (353.3ms)[0m TRUNCATE TABLE `users`;
|
80224
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80225
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80226
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80227
|
+
[1m[35m (295.1ms)[0m TRUNCATE TABLE `assets`;
|
80228
|
+
[1m[36m (320.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80229
|
+
[1m[35m (172.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
80230
|
+
[1m[36m (305.7ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80231
|
+
[1m[35m (116.7ms)[0m TRUNCATE TABLE `posts`;
|
80232
|
+
[1m[36m (304.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80233
|
+
[1m[35m (284.8ms)[0m TRUNCATE TABLE `structures`;
|
80234
|
+
[1m[36m (332.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80235
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80236
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80237
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing33@example.com' LIMIT 1
|
80238
|
+
[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-02-04 17:00:20', '2013-02-04 17:00:20', NULL, NULL, 'testing33@example.com', 'ba389afd719b29fb4f1eeea6ec5ed67c2cf7453824032789e51192322f503403cfb70ae0fb40a4051b06414c8d7886c0d28ec02acb827f1ee521d212a492d8cd', 0, NULL, NULL, NULL, 'Admin', '5mwQ89PRLyXaAbRSzcfM', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:20')[0m
|
80239
|
+
[1m[35m (49.1ms)[0m COMMIT
|
80240
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80241
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
80242
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:20', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:20')[0m
|
80243
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
80244
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
80245
|
+
[1m[35m (36.3ms)[0m COMMIT
|
80246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80247
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
80248
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:20', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug9', 'Structure', '2013-02-04 17:00:20')[0m
|
80249
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
80250
|
+
[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
|
80251
|
+
[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`
|
80252
|
+
[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
|
80253
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80254
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80255
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80256
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80257
|
+
[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`
|
80258
|
+
[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
|
80259
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80260
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80261
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80262
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80263
|
+
[1m[35m (30.5ms)[0m COMMIT
|
80264
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
80265
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80266
|
+
[1m[35m (0.0ms)[0m COMMIT
|
80267
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80268
|
+
[1m[35m (0.0ms)[0m UPDATE `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
|
80269
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80270
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
80271
|
+
Parameters: {"model_name"=>"users"}
|
80272
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
80273
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
80274
|
+
Sent data users_2012-01-01_16h00m00.xls (0.0ms)
|
80275
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
80276
|
+
Started GET "/manage/users/export.csv" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
80277
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80278
|
+
[1m[35m (0.0ms)[0m COMMIT
|
80279
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80280
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 2 WHERE `users`.`id` = 1
|
80281
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80282
|
+
Processing by Sunrise::ManagerController#export as CSV
|
80283
|
+
Parameters: {"model_name"=>"users"}
|
80284
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
80285
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
80286
|
+
Sent data users_2012-01-01_16h00m00.csv (0.0ms)
|
80287
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
80288
|
+
Started GET "/manage/users/export.json" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
80289
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80290
|
+
[1m[35m (0.0ms)[0m COMMIT
|
80291
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80292
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 3 WHERE `users`.`id` = 1
|
80293
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80294
|
+
Processing by Sunrise::ManagerController#export as JSON
|
80295
|
+
Parameters: {"model_name"=>"users"}
|
80296
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` LIMIT 25 OFFSET 0
|
80297
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
80298
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80299
|
+
[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')
|
80300
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80301
|
+
Started GET "/manage/posts/export.csv" for 127.0.0.1 at 2012-01-01 16:00:00 UTC
|
80302
|
+
[1m[35m (0.0ms)[0m BEGIN
|
80303
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80304
|
+
[1m[35m (0.0ms)[0m BEGIN
|
80305
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 4 WHERE `users`.`id` = 1[0m
|
80306
|
+
[1m[35m (0.0ms)[0m COMMIT
|
80307
|
+
Processing by Sunrise::ManagerController#export as CSV
|
80308
|
+
Parameters: {"model_name"=>"posts"}
|
80309
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
80310
|
+
[1m[36mPost Load (0.0ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE (`posts`.`id` >= 0) ORDER BY `posts`.`id` ASC LIMIT 1000 OFFSET 0[0m
|
80311
|
+
[1m[35mStructure Load (0.0ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` IN (2)
|
80312
|
+
Sent data posts_2012-01-01_16h00m00.csv (0.0ms)
|
80313
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
80314
|
+
Started GET "/manage/structures/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
80315
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80316
|
+
[1m[35m (0.0ms)[0m COMMIT
|
80317
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80318
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 5 WHERE `users`.`id` = 1
|
80319
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80320
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
80321
|
+
Parameters: {"model_name"=>"structures"}
|
80322
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
80323
|
+
[1m[35mStructure Load (0.0ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`id` >= 0) ORDER BY `structures`.`id` ASC LIMIT 1000 OFFSET 0
|
80324
|
+
Sent data structures_2012-01-01_16h00m00.xls (0.0ms)
|
80325
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
80326
|
+
Started GET "/manage/structures/export.xml" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
80327
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80328
|
+
[1m[35m (0.0ms)[0m COMMIT
|
80329
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
80330
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 6 WHERE `users`.`id` = 1
|
80331
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
80332
|
+
Processing by Sunrise::ManagerController#export as XML
|
80333
|
+
Parameters: {"model_name"=>"structures"}
|
80334
|
+
[1m[35mStructure Load (0.0ms)[0m SELECT `structures`.* FROM `structures` LIMIT 25 OFFSET 0
|
80335
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
80336
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2013-02-04 19:00:23 +0200
|
80337
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
80338
|
+
Parameters: {"model_name"=>"users"}
|
80339
|
+
Completed 401 Unauthorized in 0ms
|
80340
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80341
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80342
|
+
[1m[36m (351.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80343
|
+
[1m[35m (363.7ms)[0m TRUNCATE TABLE `audits`;
|
80344
|
+
[1m[36m (139.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80345
|
+
[1m[35m (250.6ms)[0m TRUNCATE TABLE `page_parts`;
|
80346
|
+
[1m[36m (239.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80347
|
+
[1m[35m (127.0ms)[0m TRUNCATE TABLE `settings`;
|
80348
|
+
[1m[36m (296.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80349
|
+
[1m[35m (408.9ms)[0m TRUNCATE TABLE `users`;
|
80350
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80351
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80352
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80353
|
+
[1m[35m (217.1ms)[0m TRUNCATE TABLE `assets`;
|
80354
|
+
[1m[36m (328.6ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80355
|
+
[1m[35m (295.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
80356
|
+
[1m[36m (173.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80357
|
+
[1m[35m (226.1ms)[0m TRUNCATE TABLE `posts`;
|
80358
|
+
[1m[36m (150.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80359
|
+
[1m[35m (263.8ms)[0m TRUNCATE TABLE `structures`;
|
80360
|
+
[1m[36m (355.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80361
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80362
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80363
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing34@example.com' LIMIT 1
|
80364
|
+
[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-02-04 17:00:27', '2013-02-04 17:00:27', NULL, NULL, 'testing34@example.com', '82f0128246b48d2d953c46fa0a14f2bbfecd12eafb20119f63f05224125f8334e62eae602a7f08d88ea99e711cffa2df3288f94ac6e669bf1d213270519aaf60', 0, NULL, NULL, NULL, 'Admin', 'MwsbfkxhzYWXKeHRQp3Y', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:27')[0m
|
80365
|
+
[1m[35m (36.4ms)[0m COMMIT
|
80366
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80367
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
80368
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:27', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:27')[0m
|
80369
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
80370
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
80371
|
+
[1m[35m (36.8ms)[0m COMMIT
|
80372
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80373
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
80374
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:27', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug10', 'Structure', '2013-02-04 17:00:27')[0m
|
80375
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
80376
|
+
[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
|
80377
|
+
[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`
|
80378
|
+
[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
|
80379
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80380
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80381
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80382
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80383
|
+
[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`
|
80384
|
+
[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
|
80385
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80386
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80387
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80388
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80389
|
+
[1m[35m (52.8ms)[0m COMMIT
|
80390
|
+
Started GET "/manage/" for 127.0.0.1 at 2013-02-04 19:00:27 +0200
|
80391
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80392
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80393
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80394
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:27', `current_sign_in_at` = '2013-02-04 17:00:27', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:27' WHERE `users`.`id` = 1
|
80395
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
80396
|
+
Processing by Sunrise::DashboardController#index as HTML
|
80397
|
+
[1m[35mAudited::Adapters::ActiveRecord::Audit Load (0.5ms)[0m SELECT `audits`.* FROM `audits` ORDER BY version, audits.id desc LIMIT 50 OFFSET 0
|
80398
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (0.0ms)
|
80399
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
80400
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (82.0ms)
|
80401
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.4ms)
|
80402
|
+
Completed 200 OK in 104ms (Views: 91.7ms | ActiveRecord: 0.8ms)
|
80403
|
+
Started GET "/manage/whatever" for 127.0.0.1 at 2013-02-04 19:00:27 +0200
|
80404
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80405
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
80406
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80407
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:27' WHERE `users`.`id` = 1[0m
|
80408
|
+
[1m[35m (19.4ms)[0m COMMIT
|
80409
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80410
|
+
Parameters: {"model_name"=>"whatever"}
|
80411
|
+
Completed 404 Not Found in 11ms
|
80412
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:28 +0200
|
80413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80414
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80415
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80416
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-02-04 17:00:28', `sign_in_count` = 3, `updated_at` = '2013-02-04 17:00:28' WHERE `users`.`id` = 1
|
80417
|
+
[1m[36m (54.9ms)[0m [1mCOMMIT[0m
|
80418
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80419
|
+
Parameters: {"model_name"=>"structures"}
|
80420
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80421
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
80422
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (2.1ms)
|
80423
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (6.0ms)
|
80424
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.6ms)
|
80425
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80426
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.7ms)
|
80427
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.2ms)
|
80428
|
+
Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 1.1ms)
|
80429
|
+
Started GET "/manage/users" for 127.0.0.1 at 2013-02-04 19:00:28 +0200
|
80430
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80431
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
80432
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80433
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:28', `sign_in_count` = 4, `updated_at` = '2013-02-04 17:00:28' WHERE `users`.`id` = 1[0m
|
80434
|
+
[1m[35m (40.9ms)[0m COMMIT
|
80435
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80436
|
+
Parameters: {"model_name"=>"users"}
|
80437
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` LIMIT 25 OFFSET 0[0m
|
80438
|
+
[1m[35mAvatar Load (0.7ms)[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
|
80439
|
+
Rendered sunrise/manager/users/thumbs/_record.html.erb (4.4ms)
|
80440
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `users` [0m
|
80441
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
80442
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80443
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80444
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (39.9ms)
|
80445
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (55.9ms)
|
80446
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (1.7ms)
|
80447
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (1.6ms)
|
80448
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (1.4ms)
|
80449
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (2.0ms)
|
80450
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_export.html.erb (1.5ms)
|
80451
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (26.3ms)
|
80452
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (101.2ms)
|
80453
|
+
Completed 200 OK in 241ms (Views: 211.9ms | ActiveRecord: 1.6ms)
|
80454
|
+
Started GET "/manage/pages" for 127.0.0.1 at 2013-02-04 19:00:28 +0200
|
80455
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80456
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
80457
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80458
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 5, `updated_at` = '2013-02-04 17:00:28' WHERE `users`.`id` = 1[0m
|
80459
|
+
[1m[35m (20.1ms)[0m COMMIT
|
80460
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80461
|
+
Parameters: {"model_name"=>"pages"}
|
80462
|
+
Completed 404 Not Found in 2ms
|
80463
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:28 +0200
|
80464
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80465
|
+
Parameters: {"model_name"=>"structures"}
|
80466
|
+
Completed 401 Unauthorized in 0ms
|
80467
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:28 +0200
|
80468
|
+
Processing by Devise::SessionsController#new as HTML
|
80469
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.0ms)
|
80470
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
80471
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80472
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80473
|
+
[1m[36m (191.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80474
|
+
[1m[35m (308.6ms)[0m TRUNCATE TABLE `audits`;
|
80475
|
+
[1m[36m (305.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80476
|
+
[1m[35m (195.7ms)[0m TRUNCATE TABLE `page_parts`;
|
80477
|
+
[1m[36m (204.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80478
|
+
[1m[35m (138.8ms)[0m TRUNCATE TABLE `settings`;
|
80479
|
+
[1m[36m (284.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80480
|
+
[1m[35m (364.6ms)[0m TRUNCATE TABLE `users`;
|
80481
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80482
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80483
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80484
|
+
[1m[35m (294.8ms)[0m TRUNCATE TABLE `assets`;
|
80485
|
+
[1m[36m (305.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80486
|
+
[1m[35m (176.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
80487
|
+
[1m[36m (305.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80488
|
+
[1m[35m (116.6ms)[0m TRUNCATE TABLE `posts`;
|
80489
|
+
[1m[36m (238.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80490
|
+
[1m[35m (284.8ms)[0m TRUNCATE TABLE `structures`;
|
80491
|
+
[1m[36m (353.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80492
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80493
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80494
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing35@example.com' LIMIT 1
|
80495
|
+
[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-02-04 17:00:32', '2013-02-04 17:00:32', NULL, NULL, 'testing35@example.com', 'aef6f482a22f95acf04033eb858e181a9eca5fa361e4c0b82dee2880971522621afdb2c5365acb9480f771f1e289a8bb1636676fb3af57d59d50e9a2782a6f6a', 0, NULL, NULL, NULL, 'Admin', 'cyrJ7bhdWff2wkscFS6M', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:32')[0m
|
80496
|
+
[1m[35m (26.9ms)[0m COMMIT
|
80497
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-02-04 19:00:32 +0200
|
80498
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
80499
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80500
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80501
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:32', `current_sign_in_at` = '2013-02-04 17:00:32', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:32' WHERE `users`.`id` = 1
|
80502
|
+
[1m[36m (24.9ms)[0m [1mCOMMIT[0m
|
80503
|
+
Processing by Sunrise::ManagerController#new as HTML
|
80504
|
+
Parameters: {"model_name"=>"structures"}
|
80505
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80506
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80507
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (98.5ms)
|
80508
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.6ms)
|
80509
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (108.9ms)
|
80510
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
80511
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
80512
|
+
Completed 200 OK in 119ms (Views: 116.5ms | ActiveRecord: 0.6ms)
|
80513
|
+
Started POST "/manage/structures/new" for 127.0.0.1 at 2013-02-04 19:00:32 +0200
|
80514
|
+
Processing by Sunrise::ManagerController#create as HTML
|
80515
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Good day", "redirect_url"=>"", "slug"=>"", "parent_id"=>"", "kind"=>"1", "position"=>"2", "is_visible"=>"1", "tag_title"=>"", "tag_keywords"=>"", "tag_description"=>""}, "commit"=>"Create Structure", "model_name"=>"structures"}
|
80516
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80517
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80518
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80519
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:33', 0, 1, 1, 1, NULL, 2, '', 2, 'good-day', 'Good day', '2013-02-04 17:00:33')
|
80520
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
80521
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
80522
|
+
[1m[36m (24.7ms)[0m [1mCOMMIT[0m
|
80523
|
+
Redirected to http://www.example.com/manage/structures
|
80524
|
+
Completed 302 Found in 326ms (ActiveRecord: 0.0ms)
|
80525
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2013-02-04 19:00:33 +0200
|
80526
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80527
|
+
Parameters: {"model_name"=>"structures"}
|
80528
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
80529
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
80530
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.5ms)
|
80531
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
80532
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80533
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.9ms)
|
80534
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (3.4ms)
|
80535
|
+
Completed 200 OK in 20ms (Views: 14.1ms | ActiveRecord: 0.8ms)
|
80536
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`id` DESC LIMIT 1
|
80537
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2013-02-04 19:00:33 +0200
|
80538
|
+
Processing by Sunrise::ManagerController#new as HTML
|
80539
|
+
Parameters: {"model_name"=>"structures"}
|
80540
|
+
Completed 401 Unauthorized in 0ms
|
80541
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:33 +0200
|
80542
|
+
Processing by Devise::SessionsController#new as HTML
|
80543
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.1ms)
|
80544
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
80545
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80546
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80547
|
+
[1m[36m (166.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80548
|
+
[1m[35m (1284.0ms)[0m TRUNCATE TABLE `audits`;
|
80549
|
+
[1m[36m (598.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80550
|
+
[1m[35m (284.5ms)[0m TRUNCATE TABLE `page_parts`;
|
80551
|
+
[1m[36m (116.7ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80552
|
+
[1m[35m (227.4ms)[0m TRUNCATE TABLE `settings`;
|
80553
|
+
[1m[36m (307.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80554
|
+
[1m[35m (343.3ms)[0m TRUNCATE TABLE `users`;
|
80555
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80556
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80557
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80558
|
+
[1m[35m (206.1ms)[0m TRUNCATE TABLE `assets`;
|
80559
|
+
[1m[36m (342.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80560
|
+
[1m[35m (262.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
80561
|
+
[1m[36m (295.6ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80562
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `posts`;
|
80563
|
+
[1m[36m (217.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80564
|
+
[1m[35m (307.1ms)[0m TRUNCATE TABLE `structures`;
|
80565
|
+
[1m[36m (343.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80566
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80567
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80568
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing36@example.com' LIMIT 1
|
80569
|
+
[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-02-04 17:00:38', '2013-02-04 17:00:38', NULL, NULL, 'testing36@example.com', 'f0ab11a5f7f8ec9ae75bfccc775fb7940bdcfcab13ffb71b14da18e29acb7c8384783591890adc457760e67625d229a46f22a630133788ebd08dad8bcfd6cec9', 0, NULL, NULL, NULL, 'Admin', 'qp9zDMyHX12g2mXGeEQz', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:38')[0m
|
80570
|
+
[1m[35m (90.9ms)[0m COMMIT
|
80571
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80572
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
80573
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:38', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:38')[0m
|
80574
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
80575
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
80576
|
+
[1m[35m (48.9ms)[0m COMMIT
|
80577
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80578
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
80579
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:38', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug11', 'Structure', '2013-02-04 17:00:38')[0m
|
80580
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
80581
|
+
[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
|
80582
|
+
[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`
|
80583
|
+
[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
|
80584
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80585
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80586
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80587
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80588
|
+
[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`
|
80589
|
+
[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
|
80590
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80591
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80592
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
80593
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
80594
|
+
[1m[35m (192.4ms)[0m COMMIT
|
80595
|
+
Started GET "/manage/whatever/2/edit" for 127.0.0.1 at 2013-02-04 19:00:38 +0200
|
80596
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80597
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80598
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80599
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:38', `current_sign_in_at` = '2013-02-04 17:00:38', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:38' WHERE `users`.`id` = 1
|
80600
|
+
[1m[36m (20.4ms)[0m [1mCOMMIT[0m
|
80601
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80602
|
+
Parameters: {"model_name"=>"whatever", "id"=>"2"}
|
80603
|
+
Completed 404 Not Found in 10ms
|
80604
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:38 +0200
|
80605
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80606
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
80607
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80608
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:38' WHERE `users`.`id` = 1[0m
|
80609
|
+
[1m[35m (66.2ms)[0m COMMIT
|
80610
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80611
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
80612
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80613
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80614
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
80615
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`[0m
|
80616
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (17.8ms)
|
80617
|
+
[1m[35mMetaTag Load (0.5ms)[0m SELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'
|
80618
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (8.2ms)
|
80619
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (30.0ms)
|
80620
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
80621
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80622
|
+
Completed 200 OK in 44ms (Views: 38.1ms | ActiveRecord: 2.0ms)
|
80623
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:39 +0200
|
80624
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80625
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80626
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
80627
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2013-02-04 17:00:39', `sign_in_count` = 3, `updated_at` = '2013-02-04 17:00:39' WHERE `users`.`id` = 1
|
80628
|
+
[1m[36m (29.0ms)[0m [1mCOMMIT[0m
|
80629
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80630
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
80631
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80632
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80633
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`[0m
|
80634
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `structures`.`lft`
|
80635
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (16.9ms)
|
80636
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT `meta_tags`.* FROM `meta_tags` WHERE `meta_tags`.`taggable_id` = 2 AND `meta_tags`.`taggable_type` = 'Structure'[0m
|
80637
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.6ms)
|
80638
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (28.3ms)
|
80639
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
80640
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80641
|
+
Completed 200 OK in 40ms (Views: 35.8ms | ActiveRecord: 0.7ms)
|
80642
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-02-04 19:00:39 +0200
|
80643
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80644
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
80645
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80646
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:39', `sign_in_count` = 4, `updated_at` = '2013-02-04 17:00:39' WHERE `users`.`id` = 1[0m
|
80647
|
+
[1m[35m (31.3ms)[0m COMMIT
|
80648
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80649
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
80650
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80651
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80652
|
+
[1m[35mPagePart Load (0.5ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
80653
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.8ms)
|
80654
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.9ms)
|
80655
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
80656
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80657
|
+
Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.7ms)
|
80658
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2013-02-04 19:00:39 +0200
|
80659
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80660
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80661
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80662
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 5, `updated_at` = '2013-02-04 17:00:39' WHERE `users`.`id` = 1
|
80663
|
+
[1m[36m (51.9ms)[0m [1mCOMMIT[0m
|
80664
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80665
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
80666
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80667
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80668
|
+
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
80669
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.6ms)
|
80670
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.7ms)
|
80671
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
80672
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80673
|
+
Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.3ms)
|
80674
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2013-02-04 19:00:39 +0200
|
80675
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80676
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
80677
|
+
Completed 401 Unauthorized in 0ms
|
80678
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:39 +0200
|
80679
|
+
Processing by Devise::SessionsController#new as HTML
|
80680
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.1ms)
|
80681
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
80682
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80683
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80684
|
+
[1m[35m (201.8ms)[0m TRUNCATE TABLE `assets`;
|
80685
|
+
[1m[36m (264.2ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80686
|
+
[1m[35m (340.0ms)[0m TRUNCATE TABLE `meta_tags`;
|
80687
|
+
[1m[36m (184.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80688
|
+
[1m[35m (236.9ms)[0m TRUNCATE TABLE `posts`;
|
80689
|
+
[1m[36m (138.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80690
|
+
[1m[35m (284.0ms)[0m TRUNCATE TABLE `structures`;
|
80691
|
+
[1m[36m (353.5ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80692
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80693
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80694
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80695
|
+
[1m[36m (272.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80696
|
+
[1m[35m (298.4ms)[0m TRUNCATE TABLE `audits`;
|
80697
|
+
[1m[36m (208.1ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80698
|
+
[1m[35m (271.9ms)[0m TRUNCATE TABLE `page_parts`;
|
80699
|
+
[1m[36m (237.6ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80700
|
+
[1m[35m (129.2ms)[0m TRUNCATE TABLE `settings`;
|
80701
|
+
[1m[36m (376.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80702
|
+
[1m[35m (375.7ms)[0m TRUNCATE TABLE `users`;
|
80703
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80704
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80705
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing37@example.com' LIMIT 1[0m
|
80706
|
+
[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-02-04 17:00:43', '2013-02-04 17:00:43', NULL, NULL, 'testing37@example.com', 'a210bbcbcd8791463931be12e7cf74ef126c5f33334c2fb8be5cff399d196777552853c7ef0d1ecfabb8e980938ebe170180e2db234d7fb2f2fd2c4c89b95201', 0, NULL, NULL, NULL, 'Admin', 'sCDoztLGqbz3g3emm2ma', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:43')
|
80707
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
80708
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80709
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80710
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:43', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:43')
|
80711
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
80712
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
80713
|
+
[1m[36m (36.7ms)[0m [1mCOMMIT[0m
|
80714
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80715
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80716
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:43', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug12', 'Structure', '2013-02-04 17:00:43')
|
80717
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
80718
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
80719
|
+
[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
|
80720
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
80721
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80722
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80723
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
80724
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80725
|
+
[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
|
80726
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
80727
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80728
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80729
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
80730
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80731
|
+
[1m[36m (49.5ms)[0m [1mCOMMIT[0m
|
80732
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80733
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:00:43', 1, 2, 'Default title', '2013-02-04 17:00:43')[0m
|
80734
|
+
[1m[35m (29.7ms)[0m COMMIT
|
80735
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:43 +0200
|
80736
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80737
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80738
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80739
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:43', `current_sign_in_at` = '2013-02-04 17:00:43', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:43' WHERE `users`.`id` = 1
|
80740
|
+
[1m[36m (35.9ms)[0m [1mCOMMIT[0m
|
80741
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80742
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
80743
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80744
|
+
[1m[36mPost Load (0.7ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
80745
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (6.4ms)
|
80746
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
80747
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
80748
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80749
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80750
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
80751
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (16.7ms)
|
80752
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
80753
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
80754
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
80755
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
80756
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.6ms)
|
80757
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (22.1ms)
|
80758
|
+
Completed 200 OK in 61ms (Views: 51.7ms | ActiveRecord: 1.6ms)
|
80759
|
+
Started DELETE "/manage/posts/1/delete?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:43 +0200
|
80760
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
80761
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
80762
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80763
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
80764
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80765
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
|
80766
|
+
[1m[36m (15.6ms)[0m [1mCOMMIT[0m
|
80767
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80768
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
80769
|
+
Completed 302 Found in 28ms (ActiveRecord: 0.0ms)
|
80770
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:43 +0200
|
80771
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80772
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
80773
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80774
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80775
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
80776
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
80777
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
80778
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
80779
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80780
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80781
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
80782
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.4ms)
|
80783
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
80784
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
80785
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
80786
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
80787
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.5ms)
|
80788
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.5ms)
|
80789
|
+
Completed 200 OK in 35ms (Views: 27.6ms | ActiveRecord: 1.2ms)
|
80790
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
80791
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:43 +0200
|
80792
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80793
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
80794
|
+
Completed 401 Unauthorized in 0ms
|
80795
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:43 +0200
|
80796
|
+
Processing by Devise::SessionsController#new as HTML
|
80797
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.0ms)
|
80798
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
80799
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80800
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80801
|
+
[1m[35m (204.5ms)[0m TRUNCATE TABLE `assets`;
|
80802
|
+
[1m[36m (329.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80803
|
+
[1m[35m (316.8ms)[0m TRUNCATE TABLE `meta_tags`;
|
80804
|
+
[1m[36m (299.6ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80805
|
+
[1m[35m (147.6ms)[0m TRUNCATE TABLE `posts`;
|
80806
|
+
[1m[36m (326.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80807
|
+
[1m[35m (196.6ms)[0m TRUNCATE TABLE `structures`;
|
80808
|
+
[1m[36m (410.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80809
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80810
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80811
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80812
|
+
[1m[36m (293.2ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80813
|
+
[1m[35m (309.2ms)[0m TRUNCATE TABLE `audits`;
|
80814
|
+
[1m[36m (295.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80815
|
+
[1m[35m (162.2ms)[0m TRUNCATE TABLE `page_parts`;
|
80816
|
+
[1m[36m (239.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80817
|
+
[1m[35m (150.1ms)[0m TRUNCATE TABLE `settings`;
|
80818
|
+
[1m[36m (250.7ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80819
|
+
[1m[35m (411.2ms)[0m TRUNCATE TABLE `users`;
|
80820
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80821
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80822
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing38@example.com' LIMIT 1[0m
|
80823
|
+
[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-02-04 17:00:48', '2013-02-04 17:00:48', NULL, NULL, 'testing38@example.com', '87d15366f3f3d5571d89363369d33bd1669bb5df1211a1bea798121c888d640cc7b087e4c708f8e3c15136062103cb50f16e2eb80fba59305a6d3c60866fbef6', 0, NULL, NULL, NULL, 'Admin', 'RBBcsqevyAC2eAxfwGA1', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:48')
|
80824
|
+
[1m[36m (47.4ms)[0m [1mCOMMIT[0m
|
80825
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80826
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80827
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:48', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:48')
|
80828
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
80829
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
80830
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
80831
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80832
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80833
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:48', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug13', 'Structure', '2013-02-04 17:00:48')
|
80834
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
80835
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
80836
|
+
[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
|
80837
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
80838
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80839
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80840
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
80841
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80842
|
+
[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
|
80843
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
80844
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80845
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80846
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
80847
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80848
|
+
[1m[36m (36.7ms)[0m [1mCOMMIT[0m
|
80849
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80850
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:00:48', 1, 2, 'Default title', '2013-02-04 17:00:48')[0m
|
80851
|
+
[1m[35m (42.1ms)[0m COMMIT
|
80852
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80853
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80854
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80855
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80856
|
+
[1m[35m (0.6ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:48', `current_sign_in_at` = '2013-02-04 17:00:48', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:48' WHERE `users`.`id` = 1
|
80857
|
+
[1m[36m (46.3ms)[0m [1mCOMMIT[0m
|
80858
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80859
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
80860
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
80861
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80862
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.2ms)
|
80863
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.3ms)
|
80864
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
80865
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80866
|
+
Completed 200 OK in 24ms (Views: 17.3ms | ActiveRecord: 0.5ms)
|
80867
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80868
|
+
Processing by Sunrise::ManagerController#update as HTML
|
80869
|
+
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"}
|
80870
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80871
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
80872
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80873
|
+
[1m[35m (0.4ms)[0m UPDATE `posts` SET `title` = 'Title updated', `content` = 'Tra la la', `is_visible` = 0, `updated_at` = '2013-02-04 17:00:48' WHERE `posts`.`id` = 1
|
80874
|
+
[1m[36m (23.4ms)[0m [1mCOMMIT[0m
|
80875
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80876
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
80877
|
+
Completed 302 Found in 38ms (ActiveRecord: 0.0ms)
|
80878
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80879
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80880
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
80881
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80882
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80883
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
80884
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (4.7ms)
|
80885
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
80886
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
80887
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80888
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80889
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.6ms)
|
80890
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.7ms)
|
80891
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
80892
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
80893
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.8ms)
|
80894
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.0ms)
|
80895
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.9ms)
|
80896
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.2ms)
|
80897
|
+
Completed 200 OK in 42ms (Views: 33.7ms | ActiveRecord: 1.4ms)
|
80898
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
80899
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
80900
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80901
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80902
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80903
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80904
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:48' WHERE `users`.`id` = 1
|
80905
|
+
[1m[36m (22.3ms)[0m [1mCOMMIT[0m
|
80906
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80907
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
80908
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
80909
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80910
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.5ms)
|
80911
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.6ms)
|
80912
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
80913
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
80914
|
+
Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.2ms)
|
80915
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80916
|
+
Processing by Sunrise::ManagerController#update as HTML
|
80917
|
+
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"}
|
80918
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
80919
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
80920
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80921
|
+
[1m[35m (0.1ms)[0m COMMIT
|
80922
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80923
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
80924
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
|
80925
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80926
|
+
Processing by Sunrise::ManagerController#index as HTML
|
80927
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
80928
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
80929
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80930
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
80931
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (4.8ms)
|
80932
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
80933
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.3ms)
|
80934
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
80935
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
80936
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.8ms)
|
80937
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.6ms)
|
80938
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
80939
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
80940
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
80941
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
80942
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.5ms)
|
80943
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.7ms)
|
80944
|
+
Completed 200 OK in 40ms (Views: 33.2ms | ActiveRecord: 0.7ms)
|
80945
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80946
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
80947
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
80948
|
+
Completed 401 Unauthorized in 0ms
|
80949
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:00:48 +0200
|
80950
|
+
Processing by Devise::SessionsController#new as HTML
|
80951
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.2ms)
|
80952
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
80953
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
80954
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
80955
|
+
[1m[35m (938.9ms)[0m TRUNCATE TABLE `assets`;
|
80956
|
+
[1m[36m (559.7ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
80957
|
+
[1m[35m (251.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
80958
|
+
[1m[36m (294.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
80959
|
+
[1m[35m (116.7ms)[0m TRUNCATE TABLE `posts`;
|
80960
|
+
[1m[36m (282.8ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
80961
|
+
[1m[35m (196.5ms)[0m TRUNCATE TABLE `structures`;
|
80962
|
+
[1m[36m (352.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
80963
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
80964
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
80965
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
80966
|
+
[1m[36m (285.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
80967
|
+
[1m[35m (411.2ms)[0m TRUNCATE TABLE `audits`;
|
80968
|
+
[1m[36m (438.7ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
80969
|
+
[1m[35m (184.0ms)[0m TRUNCATE TABLE `page_parts`;
|
80970
|
+
[1m[36m (249.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
80971
|
+
[1m[35m (150.3ms)[0m TRUNCATE TABLE `settings`;
|
80972
|
+
[1m[36m (305.6ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
80973
|
+
[1m[35m (365.8ms)[0m TRUNCATE TABLE `users`;
|
80974
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
80975
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80976
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing39@example.com' LIMIT 1[0m
|
80977
|
+
[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-02-04 17:00:54', '2013-02-04 17:00:54', NULL, NULL, 'testing39@example.com', '19108ea7349a1e75399a12fbfd47c2eb6488d6f4f72c3b08e72371669d07b102a2604300485a893bd70fe7e4b5ec5d5feac5e0ee6e829d51c7f3339d0b059729', 0, NULL, NULL, NULL, 'Admin', '7RCBvjj8uZpS1eqLAxiJ', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:54')
|
80978
|
+
[1m[36m (37.8ms)[0m [1mCOMMIT[0m
|
80979
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80980
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80981
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:54', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:54')
|
80982
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
80983
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
80984
|
+
[1m[36m (36.8ms)[0m [1mCOMMIT[0m
|
80985
|
+
[1m[35m (0.1ms)[0m BEGIN
|
80986
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
80987
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:54', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug14', 'Structure', '2013-02-04 17:00:54')
|
80988
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
80989
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
80990
|
+
[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
|
80991
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
80992
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80993
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80994
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
80995
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
80996
|
+
[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
|
80997
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
80998
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
80999
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81000
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81001
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81002
|
+
[1m[36m (135.4ms)[0m [1mCOMMIT[0m
|
81003
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:54 +0200
|
81004
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81005
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81006
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81007
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:54', `current_sign_in_at` = '2013-02-04 17:00:54', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:54' WHERE `users`.`id` = 1[0m
|
81008
|
+
[1m[35m (54.1ms)[0m COMMIT
|
81009
|
+
Processing by Sunrise::ManagerController#new as HTML
|
81010
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81011
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81012
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81013
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (12.5ms)
|
81014
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (15.8ms)
|
81015
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.9ms)
|
81016
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
81017
|
+
Completed 200 OK in 34ms (Views: 24.3ms | ActiveRecord: 0.5ms)
|
81018
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:54 +0200
|
81019
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81020
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81021
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81022
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:54' WHERE `users`.`id` = 1[0m
|
81023
|
+
[1m[35m (45.9ms)[0m COMMIT
|
81024
|
+
Processing by Sunrise::ManagerController#new as HTML
|
81025
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81026
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81027
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81028
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.1ms)
|
81029
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.2ms)
|
81030
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
81031
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
81032
|
+
Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.2ms)
|
81033
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:54 +0200
|
81034
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81035
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81036
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81037
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-02-04 17:00:54' WHERE `users`.`id` = 1[0m
|
81038
|
+
[1m[35m (28.6ms)[0m COMMIT
|
81039
|
+
Processing by Sunrise::ManagerController#new as HTML
|
81040
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81041
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81042
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81043
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.0ms)
|
81044
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (8.9ms)
|
81045
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
81046
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
81047
|
+
Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.2ms)
|
81048
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81049
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81050
|
+
[1m[35m (312.5ms)[0m TRUNCATE TABLE `assets`;
|
81051
|
+
[1m[36m (303.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81052
|
+
[1m[35m (167.5ms)[0m TRUNCATE TABLE `meta_tags`;
|
81053
|
+
[1m[36m (296.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81054
|
+
[1m[35m (161.0ms)[0m TRUNCATE TABLE `posts`;
|
81055
|
+
[1m[36m (215.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81056
|
+
[1m[35m (307.1ms)[0m TRUNCATE TABLE `structures`;
|
81057
|
+
[1m[36m (306.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81058
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81059
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81060
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81061
|
+
[1m[36m (187.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81062
|
+
[1m[35m (286.4ms)[0m TRUNCATE TABLE `audits`;
|
81063
|
+
[1m[36m (340.5ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81064
|
+
[1m[35m (296.7ms)[0m TRUNCATE TABLE `page_parts`;
|
81065
|
+
[1m[36m (139.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81066
|
+
[1m[35m (228.6ms)[0m TRUNCATE TABLE `settings`;
|
81067
|
+
[1m[36m (307.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81068
|
+
[1m[35m (410.3ms)[0m TRUNCATE TABLE `users`;
|
81069
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81070
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81071
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing40@example.com' LIMIT 1[0m
|
81072
|
+
[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-02-04 17:00:59', '2013-02-04 17:00:59', NULL, NULL, 'testing40@example.com', 'c4806270b5a18a3718c424617bca70ed16c663f4b21b9c56ded0ba2917926f545faf80cccd8316a4eb95e6d147bcbcaf44d4366253be8e93f73c41296f02e890', 0, NULL, NULL, NULL, 'Admin', '11S6guU2XmnoqgRNz4os', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:00:59')
|
81073
|
+
[1m[36m (47.6ms)[0m [1mCOMMIT[0m
|
81074
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81075
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81076
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:59', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:00:59')
|
81077
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
81078
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
81079
|
+
[1m[36m (36.5ms)[0m [1mCOMMIT[0m
|
81080
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81081
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81082
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:00:59', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug15', 'Structure', '2013-02-04 17:00:59')
|
81083
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
81084
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81085
|
+
[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
|
81086
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
81087
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81088
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81089
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81090
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81091
|
+
[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
|
81092
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81093
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81094
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81095
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81096
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81097
|
+
[1m[36m (50.4ms)[0m [1mCOMMIT[0m
|
81098
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81099
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:00:59', 1, 2, 'Default title', '2013-02-04 17:00:59')[0m
|
81100
|
+
[1m[35m (40.7ms)[0m COMMIT
|
81101
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:59 +0200
|
81102
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81103
|
+
[1m[35m (0.1ms)[0m COMMIT
|
81104
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81105
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:00:59', `current_sign_in_at` = '2013-02-04 17:00:59', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:00:59' WHERE `users`.`id` = 1
|
81106
|
+
[1m[36m (36.0ms)[0m [1mCOMMIT[0m
|
81107
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81108
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81109
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81110
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
81111
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (4.7ms)
|
81112
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
81113
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81114
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81115
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81116
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.4ms)
|
81117
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.1ms)
|
81118
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
81119
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
81120
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
81121
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
81122
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.5ms)
|
81123
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.3ms)
|
81124
|
+
Completed 200 OK in 39ms (Views: 32.4ms | ActiveRecord: 1.4ms)
|
81125
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81126
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:00:59', 1, 2, 'Good day', '2013-02-04 17:00:59')
|
81127
|
+
[1m[36m (26.1ms)[0m [1mCOMMIT[0m
|
81128
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:59 +0200
|
81129
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81130
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81131
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81132
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:00:59' WHERE `users`.`id` = 1[0m
|
81133
|
+
[1m[35m (36.8ms)[0m COMMIT
|
81134
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81135
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81136
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81137
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
81138
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (8.3ms)
|
81139
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
81140
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81141
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81142
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81143
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
81144
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.2ms)
|
81145
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
81146
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
81147
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
81148
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
81149
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.4ms)
|
81150
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.2ms)
|
81151
|
+
Completed 200 OK in 42ms (Views: 36.2ms | ActiveRecord: 1.2ms)
|
81152
|
+
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-02-04 19:00:59 +0200
|
81153
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81154
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "search"=>{"title"=>"Good day", "structure_id"=>""}, "commit"=>"Search", "model_name"=>"posts"}
|
81155
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
81156
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81157
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`title` = 'Good day' AND `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
81158
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (4.7ms)
|
81159
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`title` = 'Good day' AND `posts`.`structure_id` = 2[0m
|
81160
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81161
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81162
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81163
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
81164
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.9ms)
|
81165
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
81166
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.7ms)
|
81167
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
81168
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
81169
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.5ms)
|
81170
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.1ms)
|
81171
|
+
Completed 200 OK in 43ms (Views: 33.5ms | ActiveRecord: 1.9ms)
|
81172
|
+
Started GET "/manage/posts?parent_id=1&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:00:59 +0200
|
81173
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81174
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81175
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81176
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 3, `updated_at` = '2013-02-04 17:00:59' WHERE `users`.`id` = 1[0m
|
81177
|
+
[1m[35m (16.2ms)[0m COMMIT
|
81178
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81179
|
+
Parameters: {"parent_id"=>"1", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81180
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
81181
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 1 LIMIT 25 OFFSET 0
|
81182
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
81183
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 1[0m
|
81184
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81185
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81186
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81187
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.4ms)
|
81188
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.3ms)
|
81189
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
81190
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
81191
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
81192
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.0ms)
|
81193
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.5ms)
|
81194
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.6ms)
|
81195
|
+
Completed 200 OK in 35ms (Views: 27.8ms | ActiveRecord: 1.5ms)
|
81196
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81197
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81198
|
+
[1m[35m (198.4ms)[0m TRUNCATE TABLE `assets`;
|
81199
|
+
[1m[36m (286.3ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81200
|
+
[1m[35m (317.1ms)[0m TRUNCATE TABLE `meta_tags`;
|
81201
|
+
[1m[36m (173.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81202
|
+
[1m[35m (273.4ms)[0m TRUNCATE TABLE `posts`;
|
81203
|
+
[1m[36m (238.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81204
|
+
[1m[35m (196.5ms)[0m TRUNCATE TABLE `structures`;
|
81205
|
+
[1m[36m (330.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81206
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81207
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81208
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81209
|
+
[1m[36m (351.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81210
|
+
[1m[35m (311.2ms)[0m TRUNCATE TABLE `audits`;
|
81211
|
+
[1m[36m (339.6ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81212
|
+
[1m[35m (352.6ms)[0m TRUNCATE TABLE `page_parts`;
|
81213
|
+
[1m[36m (139.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81214
|
+
[1m[35m (228.3ms)[0m TRUNCATE TABLE `settings`;
|
81215
|
+
[1m[36m (341.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81216
|
+
[1m[35m (410.7ms)[0m TRUNCATE TABLE `users`;
|
81217
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81218
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81219
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing41@example.com' LIMIT 1[0m
|
81220
|
+
[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-02-04 17:01:04', '2013-02-04 17:01:04', NULL, NULL, 'testing41@example.com', '230f06de3520a21738796e15088ec73665096395c5dec5663bf54025a1e7e324cf9fdc49b092ec76d6acb147af703033e83f2a77f5c89a37786c73dbc9a2f477', 0, NULL, NULL, NULL, 'Admin', 'oUwZxDzqpxspAm5vxijL', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:04')
|
81221
|
+
[1m[36m (36.6ms)[0m [1mCOMMIT[0m
|
81222
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81223
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81224
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:04', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:01:04')
|
81225
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
81226
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
81227
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
81228
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81229
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81230
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:04', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug16', 'Structure', '2013-02-04 17:01:04')
|
81231
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
81232
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81233
|
+
[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
|
81234
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
81235
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81236
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81237
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81238
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81239
|
+
[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
|
81240
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81241
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81242
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81243
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81244
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81245
|
+
[1m[36m (52.3ms)[0m [1mCOMMIT[0m
|
81246
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81247
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81248
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81249
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81250
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:01:04', `current_sign_in_at` = '2013-02-04 17:01:04', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:01:04' WHERE `users`.`id` = 1[0m
|
81251
|
+
[1m[35m (35.7ms)[0m COMMIT
|
81252
|
+
Processing by Sunrise::ManagerController#new as HTML
|
81253
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81254
|
+
[1m[36mStructure Load (15.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81255
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81256
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.5ms)
|
81257
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.7ms)
|
81258
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81259
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
81260
|
+
Completed 200 OK in 140ms (Views: 18.2ms | ActiveRecord: 15.6ms)
|
81261
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81262
|
+
Processing by Sunrise::ManagerController#create as HTML
|
81263
|
+
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"}
|
81264
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
81265
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81266
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81267
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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-02-04 17:01:04', 1, 2, 'Good title', '2013-02-04 17:01:04')[0m
|
81268
|
+
[1m[35m (30.2ms)[0m COMMIT
|
81269
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
81270
|
+
Completed 302 Found in 42ms (ActiveRecord: 0.0ms)
|
81271
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81272
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81273
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81274
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
81275
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81276
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
81277
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (4.7ms)
|
81278
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
81279
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81280
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81281
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81282
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.7ms)
|
81283
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.6ms)
|
81284
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.7ms)
|
81285
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
81286
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
81287
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (1.0ms)
|
81288
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.6ms)
|
81289
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (16.0ms)
|
81290
|
+
Completed 200 OK in 41ms (Views: 33.4ms | ActiveRecord: 1.4ms)
|
81291
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1[0m
|
81292
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81293
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81294
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81295
|
+
[1m[35m (0.1ms)[0m COMMIT
|
81296
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81297
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:01:04' WHERE `users`.`id` = 1
|
81298
|
+
[1m[36m (15.2ms)[0m [1mCOMMIT[0m
|
81299
|
+
Processing by Sunrise::ManagerController#new as HTML
|
81300
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81301
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81302
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81303
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.3ms)
|
81304
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.4ms)
|
81305
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81306
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.5ms)
|
81307
|
+
Completed 200 OK in 22ms (Views: 17.7ms | ActiveRecord: 0.2ms)
|
81308
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81309
|
+
Processing by Sunrise::ManagerController#create as HTML
|
81310
|
+
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"}
|
81311
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
81312
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81313
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81314
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long textSome long text', '2013-02-04 17:01:04', 1, 2, 'Good title', '2013-02-04 17:01:04')
|
81315
|
+
[1m[36m (43.2ms)[0m [1mCOMMIT[0m
|
81316
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
81317
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.0ms)
|
81318
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81319
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81320
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
81321
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
81322
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81323
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
81324
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (8.2ms)
|
81325
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
81326
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.4ms)
|
81327
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81328
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
81329
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (5.5ms)
|
81330
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (10.5ms)
|
81331
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_new.html.erb (0.6ms)
|
81332
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_edit.html.erb (0.6ms)
|
81333
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_delete.html.erb (0.6ms)
|
81334
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/buttons/_sort.html.erb (0.9ms)
|
81335
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (4.4ms)
|
81336
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (15.6ms)
|
81337
|
+
Completed 200 OK in 46ms (Views: 39.1ms | ActiveRecord: 1.5ms)
|
81338
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1
|
81339
|
+
Started GET "/manage/posts/new" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81340
|
+
Processing by Sunrise::ManagerController#new as HTML
|
81341
|
+
Parameters: {"model_name"=>"posts"}
|
81342
|
+
Completed 401 Unauthorized in 0ms
|
81343
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:01:04 +0200
|
81344
|
+
Processing by Devise::SessionsController#new as HTML
|
81345
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.0ms)
|
81346
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
81347
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81348
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81349
|
+
[1m[36m (1345.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81350
|
+
[1m[35m (381.9ms)[0m TRUNCATE TABLE `audits`;
|
81351
|
+
[1m[36m (162.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81352
|
+
[1m[35m (217.3ms)[0m TRUNCATE TABLE `page_parts`;
|
81353
|
+
[1m[36m (230.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81354
|
+
[1m[35m (171.9ms)[0m TRUNCATE TABLE `settings`;
|
81355
|
+
[1m[36m (341.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81356
|
+
[1m[35m (321.5ms)[0m TRUNCATE TABLE `users`;
|
81357
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81358
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81359
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81360
|
+
[1m[35m (317.6ms)[0m TRUNCATE TABLE `assets`;
|
81361
|
+
[1m[36m (319.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81362
|
+
[1m[35m (151.0ms)[0m TRUNCATE TABLE `meta_tags`;
|
81363
|
+
[1m[36m (239.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81364
|
+
[1m[35m (250.4ms)[0m TRUNCATE TABLE `posts`;
|
81365
|
+
[1m[36m (275.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81366
|
+
[1m[35m (361.1ms)[0m TRUNCATE TABLE `structures`;
|
81367
|
+
[1m[36m (364.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81368
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81369
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81370
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing42@example.com' LIMIT 1
|
81371
|
+
[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-02-04 17:01:10', '2013-02-04 17:01:10', NULL, NULL, 'testing42@example.com', '8c9a2a7b617673769c1cab76dc1012a94f7ef95ec7b90ec4502e9f9be0f296e7ee145e184e70fa485241626fd958cc959dc325b533674166f035a9cf92a71671', 0, NULL, NULL, NULL, 'Admin', 'ojuzzgsSKcR31DyzbYLo', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:10')[0m
|
81372
|
+
[1m[35m (47.6ms)[0m COMMIT
|
81373
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81374
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
81375
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:10', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:01:10')[0m
|
81376
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
81377
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
81378
|
+
[1m[35m (47.8ms)[0m COMMIT
|
81379
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81380
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
81381
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:10', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug17', 'Structure', '2013-02-04 17:01:10')[0m
|
81382
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
81383
|
+
[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
|
81384
|
+
[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`
|
81385
|
+
[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
|
81386
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81387
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81388
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
81389
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81390
|
+
[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`
|
81391
|
+
[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
|
81392
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81393
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81394
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
81395
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81396
|
+
[1m[35m (50.0ms)[0m COMMIT
|
81397
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81398
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:01:10', 1, 2, 'Default title', '2013-02-04 17:01:10')
|
81399
|
+
[1m[36m (39.8ms)[0m [1mCOMMIT[0m
|
81400
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:10 +0200
|
81401
|
+
[1m[35m (0.2ms)[0m BEGIN
|
81402
|
+
[1m[36m (1.3ms)[0m [1mCOMMIT[0m
|
81403
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81404
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:01:10', `current_sign_in_at` = '2013-02-04 17:01:10', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:01:10' WHERE `users`.`id` = 1[0m
|
81405
|
+
[1m[35m (33.5ms)[0m COMMIT
|
81406
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
81407
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
81408
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
81409
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81410
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (14.6ms)
|
81411
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (17.9ms)
|
81412
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.8ms)
|
81413
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
81414
|
+
Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.5ms)
|
81415
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:10 +0200
|
81416
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81417
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81418
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81419
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2, `updated_at` = '2013-02-04 17:01:10' WHERE `users`.`id` = 1[0m
|
81420
|
+
[1m[35m (50.8ms)[0m COMMIT
|
81421
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
81422
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
81423
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
81424
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
81425
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (6.1ms)
|
81426
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.3ms)
|
81427
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.7ms)
|
81428
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.5ms)
|
81429
|
+
Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 0.3ms)
|
81430
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2013-02-04 19:01:10 +0200
|
81431
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
81432
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
81433
|
+
Completed 401 Unauthorized in 1ms
|
81434
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2013-02-04 19:01:10 +0200
|
81435
|
+
Processing by Devise::SessionsController#new as HTML
|
81436
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.2.0.rc/app/views/devise/shared/_links.erb (1.0ms)
|
81437
|
+
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
|
81438
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81439
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81440
|
+
[1m[35m (164.3ms)[0m TRUNCATE TABLE `assets`;
|
81441
|
+
[1m[36m (308.7ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81442
|
+
[1m[35m (294.7ms)[0m TRUNCATE TABLE `meta_tags`;
|
81443
|
+
[1m[36m (173.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81444
|
+
[1m[35m (226.9ms)[0m TRUNCATE TABLE `posts`;
|
81445
|
+
[1m[36m (150.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81446
|
+
[1m[35m (305.6ms)[0m TRUNCATE TABLE `structures`;
|
81447
|
+
[1m[36m (364.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81448
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81449
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81450
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81451
|
+
[1m[36m (328.2ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81452
|
+
[1m[35m (305.4ms)[0m TRUNCATE TABLE `audits`;
|
81453
|
+
[1m[36m (154.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81454
|
+
[1m[35m (328.0ms)[0m TRUNCATE TABLE `page_parts`;
|
81455
|
+
[1m[36m (296.8ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81456
|
+
[1m[35m (116.7ms)[0m TRUNCATE TABLE `settings`;
|
81457
|
+
[1m[36m (318.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81458
|
+
[1m[35m (455.5ms)[0m TRUNCATE TABLE `users`;
|
81459
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81460
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81461
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing43@example.com' LIMIT 1[0m
|
81462
|
+
[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-02-04 17:01:15', '2013-02-04 17:01:15', NULL, NULL, 'testing43@example.com', 'abf192a82668b3788e1b8b96bdcc3efbf4dc3a0af34555f5d22d4977108d87d3d148ad2c247cd60bea44d27bae567fac1c28af72b1a41d180e12c9544bf38311', 0, NULL, NULL, NULL, 'Admin', 'oAbx1SWKaf47pTEbVZne', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:15')
|
81463
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
81464
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81465
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81466
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:15', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:01:15')
|
81467
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
81468
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
81469
|
+
[1m[36m (36.2ms)[0m [1mCOMMIT[0m
|
81470
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81471
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81472
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:15', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug18', 'Structure', '2013-02-04 17:01:15')
|
81473
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
81474
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81475
|
+
[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
|
81476
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
81477
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81478
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81479
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81480
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81481
|
+
[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
|
81482
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81483
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81484
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81485
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81486
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81487
|
+
[1m[36m (49.0ms)[0m [1mCOMMIT[0m
|
81488
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2013-02-04 19:01:15 +0200
|
81489
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81490
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
81491
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81492
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2013-02-04 17:01:15', `current_sign_in_at` = '2013-02-04 17:01:15', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-02-04 17:01:15' WHERE `users`.`id` = 1[0m
|
81493
|
+
[1m[35m (36.1ms)[0m COMMIT
|
81494
|
+
Processing by Sunrise::SharedController#services as JSON
|
81495
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft` LIMIT 1[0m
|
81496
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
81497
|
+
Completed 200 OK in 67ms (Views: 53.2ms | ActiveRecord: 1.2ms)
|
81498
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2013-02-04 19:01:15 +0200
|
81499
|
+
Processing by Sunrise::SharedController#services as JSON
|
81500
|
+
Completed 401 Unauthorized in 0ms
|
81501
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81502
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81503
|
+
[1m[36m (189.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81504
|
+
[1m[35m (330.9ms)[0m TRUNCATE TABLE `audits`;
|
81505
|
+
[1m[36m (285.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81506
|
+
[1m[35m (272.7ms)[0m TRUNCATE TABLE `page_parts`;
|
81507
|
+
[1m[36m (139.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81508
|
+
[1m[35m (294.2ms)[0m TRUNCATE TABLE `settings`;
|
81509
|
+
[1m[36m (320.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81510
|
+
[1m[35m (398.9ms)[0m TRUNCATE TABLE `users`;
|
81511
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81512
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81513
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81514
|
+
[1m[35m (184.0ms)[0m TRUNCATE TABLE `assets`;
|
81515
|
+
[1m[36m (355.5ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81516
|
+
[1m[35m (252.1ms)[0m TRUNCATE TABLE `meta_tags`;
|
81517
|
+
[1m[36m (303.8ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81518
|
+
[1m[35m (117.1ms)[0m TRUNCATE TABLE `posts`;
|
81519
|
+
[1m[36m (273.7ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81520
|
+
[1m[35m (307.1ms)[0m TRUNCATE TABLE `structures`;
|
81521
|
+
[1m[36m (338.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81522
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81523
|
+
[1m[36m (2.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81524
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81525
|
+
[1m[36m (1068.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81526
|
+
[1m[35m (335.0ms)[0m TRUNCATE TABLE `audits`;
|
81527
|
+
[1m[36m (305.6ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81528
|
+
[1m[35m (162.2ms)[0m TRUNCATE TABLE `page_parts`;
|
81529
|
+
[1m[36m (226.3ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81530
|
+
[1m[35m (161.8ms)[0m TRUNCATE TABLE `settings`;
|
81531
|
+
[1m[36m (283.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81532
|
+
[1m[35m (365.7ms)[0m TRUNCATE TABLE `users`;
|
81533
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81534
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81535
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81536
|
+
[1m[35m (328.7ms)[0m TRUNCATE TABLE `assets`;
|
81537
|
+
[1m[36m (374.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81538
|
+
[1m[35m (390.9ms)[0m TRUNCATE TABLE `meta_tags`;
|
81539
|
+
[1m[36m (294.7ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81540
|
+
[1m[35m (116.7ms)[0m TRUNCATE TABLE `posts`;
|
81541
|
+
[1m[36m (294.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81542
|
+
[1m[35m (185.4ms)[0m TRUNCATE TABLE `structures`;
|
81543
|
+
[1m[36m (341.7ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81544
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81545
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81546
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing44@example.com' LIMIT 1
|
81547
|
+
[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-02-04 17:01:25', '2013-02-04 17:01:25', NULL, NULL, 'testing44@example.com', '6acd7bc6201aeba231a652aec6758060ce47e38b2463f03254e30fa67407c5cf161c2a05feccb38c951fc744e9b2ce4c4cee61cd96522fd8203a5168dd8ad60a', 0, NULL, NULL, NULL, 'Test', 'P4W36581Jxu9DpqoFu92', NULL, NULL, NULL, 1, 0, NULL, '2013-02-04 17:01:25')[0m
|
81548
|
+
[1m[35m (57.3ms)[0m COMMIT
|
81549
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81550
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
81551
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:25', 0, 1, 1, 1, NULL, 2, NULL, 2, 'slug19', 'Structure', '2013-02-04 17:01:25')[0m
|
81552
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
81553
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
81554
|
+
[1m[35m (46.4ms)[0m COMMIT
|
81555
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81556
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:01:25', 1, 1, 'Default title', '2013-02-04 17:01:25')
|
81557
|
+
[1m[36m (53.2ms)[0m [1mCOMMIT[0m
|
81558
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81559
|
+
[1m[36m (0.5ms)[0m [1mSELECT MAX(`audits`.`version`) AS max_id FROM `audits` WHERE `audits`.`auditable_id` = 1 AND `audits`.`auditable_type` = 'Post'[0m
|
81560
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `audits` (`action`, `associated_id`, `associated_type`, `auditable_id`, `auditable_type`, `audited_changes`, `comment`, `created_at`, `remote_address`, `user_id`, `user_type`, `username`, `version`) VALUES ('create', NULL, NULL, 1, 'Post', '---\n:title: Updated\n', NULL, '2013-02-04 17:01:25', NULL, 1, 'User', NULL, 1)
|
81561
|
+
[1m[36m (40.2ms)[0m [1mCOMMIT[0m
|
81562
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81563
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing45@example.com' LIMIT 1[0m
|
81564
|
+
[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-02-04 17:01:25', '2013-02-04 17:01:25', NULL, NULL, 'testing45@example.com', 'eb4cb17c892136f3941a14154cfa31563aa721cfa2fd6c8f572c885b5815a3e92826ca6a1d41416ad3ff293f93cbb998fe620f172a0aa65d275ca0dd78f5b6be', 0, NULL, NULL, NULL, 'Admin', '8A5xvLhetugEkTTGft7Q', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:25')
|
81565
|
+
[1m[36m (60.0ms)[0m [1mCOMMIT[0m
|
81566
|
+
Processing by Sunrise::DashboardController#index as HTML
|
81567
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
81568
|
+
[1m[36mAudited::Adapters::ActiveRecord::Audit Load (0.5ms)[0m [1mSELECT `audits`.* FROM `audits` ORDER BY version, audits.id asc LIMIT 50 OFFSET 0[0m
|
81569
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` IN (1)
|
81570
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (3.9ms)
|
81571
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count [0m
|
81572
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.0ms)
|
81573
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.3ms)
|
81574
|
+
Completed 200 OK in 34ms (Views: 20.2ms | ActiveRecord: 2.0ms)
|
81575
|
+
Processing by Sunrise::DashboardController#index as HTML
|
81576
|
+
Completed 401 Unauthorized in 1ms
|
81577
|
+
Processing by Sunrise::DashboardController#index as HTML
|
81578
|
+
Completed 401 Unauthorized in 1ms
|
81579
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81580
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81581
|
+
[1m[35m (296.7ms)[0m TRUNCATE TABLE `assets`;
|
81582
|
+
[1m[36m (297.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81583
|
+
[1m[35m (162.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
81584
|
+
[1m[36m (239.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81585
|
+
[1m[35m (242.8ms)[0m TRUNCATE TABLE `posts`;
|
81586
|
+
[1m[36m (146.4ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81587
|
+
[1m[35m (318.4ms)[0m TRUNCATE TABLE `structures`;
|
81588
|
+
[1m[36m (422.6ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81589
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81590
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81591
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81592
|
+
[1m[36m (462.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81593
|
+
[1m[35m (296.9ms)[0m TRUNCATE TABLE `audits`;
|
81594
|
+
[1m[36m (139.9ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81595
|
+
[1m[35m (229.5ms)[0m TRUNCATE TABLE `page_parts`;
|
81596
|
+
[1m[36m (318.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81597
|
+
[1m[35m (139.0ms)[0m TRUNCATE TABLE `settings`;
|
81598
|
+
[1m[36m (274.5ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81599
|
+
[1m[35m (365.4ms)[0m TRUNCATE TABLE `users`;
|
81600
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81601
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81602
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81603
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:29', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:01:29')
|
81604
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
81605
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`
|
81606
|
+
[1m[36m (36.1ms)[0m [1mCOMMIT[0m
|
81607
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81608
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81609
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:29', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug20', 'Structure', '2013-02-04 17:01:29')
|
81610
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1[0m
|
81611
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81612
|
+
[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
|
81613
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
81614
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81615
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81616
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81617
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81618
|
+
[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
|
81619
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.`lft`, `structures`.`rgt`, `structures`.`parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
81620
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
81621
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81622
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`[0m
|
81623
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
81624
|
+
[1m[36m (39.9ms)[0m [1mCOMMIT[0m
|
81625
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81626
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing46@example.com' LIMIT 1[0m
|
81627
|
+
[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-02-04 17:01:29', '2013-02-04 17:01:29', NULL, NULL, 'testing46@example.com', '3dbb772056138506b6b7e4cf99b6ae3a59f07e97fded4cb7b328d80cc3dd3128a4a102314d5ed46a81d2959a331c4dfb0fd45b0d5dbe250777b493dbb01e94cc', 0, NULL, NULL, NULL, 'Admin', 'zmxyiCD6gqHxQWefkhqN', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:29')
|
81628
|
+
[1m[36m (37.3ms)[0m [1mCOMMIT[0m
|
81629
|
+
Processing by Sunrise::SharedController#services as JSON
|
81630
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
81631
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft` LIMIT 1[0m
|
81632
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
81633
|
+
Completed 200 OK in 19ms (Views: 3.8ms | ActiveRecord: 1.7ms)
|
81634
|
+
Processing by Sunrise::SharedController#services as JSON
|
81635
|
+
Completed 401 Unauthorized in 1ms
|
81636
|
+
Processing by Sunrise::SharedController#services as HTML
|
81637
|
+
Completed 401 Unauthorized in 1ms
|
81638
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81639
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81640
|
+
[1m[36m (301.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81641
|
+
[1m[35m (306.2ms)[0m TRUNCATE TABLE `audits`;
|
81642
|
+
[1m[36m (154.4ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81643
|
+
[1m[35m (307.1ms)[0m TRUNCATE TABLE `page_parts`;
|
81644
|
+
[1m[36m (239.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81645
|
+
[1m[35m (116.8ms)[0m TRUNCATE TABLE `settings`;
|
81646
|
+
[1m[36m (273.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81647
|
+
[1m[35m (445.0ms)[0m TRUNCATE TABLE `users`;
|
81648
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81649
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81650
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81651
|
+
[1m[35m (317.5ms)[0m TRUNCATE TABLE `assets`;
|
81652
|
+
[1m[36m (341.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81653
|
+
[1m[35m (242.2ms)[0m TRUNCATE TABLE `meta_tags`;
|
81654
|
+
[1m[36m (237.7ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81655
|
+
[1m[35m (249.5ms)[0m TRUNCATE TABLE `posts`;
|
81656
|
+
[1m[36m (128.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81657
|
+
[1m[35m (321.7ms)[0m TRUNCATE TABLE `structures`;
|
81658
|
+
[1m[36m (1240.8ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81659
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81660
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81661
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing47@example.com' LIMIT 1
|
81662
|
+
[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-02-04 17:01:35', '2013-02-04 17:01:35', NULL, NULL, 'testing47@example.com', 'f27632ce66194420125b3f42efd37ba243984730809e269441eab0178c42f756a87706e4c44fbf9a21f670dd5426d3493350b9292ff311280d11651bae25868c', 0, NULL, NULL, NULL, 'Admin', 'swYBNyyGVJoYy9cX7vjP', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:35')[0m
|
81663
|
+
[1m[35m (36.3ms)[0m COMMIT
|
81664
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
81665
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
81666
|
+
[1m[35mSettings Load (0.4ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL
|
81667
|
+
[1m[36mSettings Load (0.5ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting' LIMIT 1[0m
|
81668
|
+
[1m[35mSettings Load (0.5ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting2' LIMIT 1
|
81669
|
+
[1m[36mSettings Load (0.4ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'persisted?' LIMIT 1[0m
|
81670
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_form.html.erb (14.2ms)
|
81671
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.1ms)
|
81672
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_header_edit.html.erb (1.7ms)
|
81673
|
+
Completed 200 OK in 269ms (Views: 248.8ms | ActiveRecord: 3.9ms)
|
81674
|
+
Processing by Sunrise::SettingsController#update as HTML
|
81675
|
+
Parameters: {"settings"=>{"some_setting"=>"blablabla"}}
|
81676
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
81677
|
+
[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
|
81678
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81679
|
+
[1m[36mSQL (42.8ms)[0m [1mINSERT INTO `settings` (`created_at`, `target_id`, `target_type`, `updated_at`, `value`, `var`) VALUES ('2013-02-04 17:01:35', NULL, NULL, '2013-02-04 17:01:35', '--- blablabla\n...\n', 'some_setting')[0m
|
81680
|
+
[1m[35m (52.9ms)[0m COMMIT
|
81681
|
+
Redirected to http://test.host/manage/
|
81682
|
+
Completed 302 Found in 141ms (ActiveRecord: 96.3ms)
|
81683
|
+
Processing by Sunrise::SettingsController#update as HTML
|
81684
|
+
Completed 401 Unauthorized in 1ms
|
81685
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
81686
|
+
Completed 401 Unauthorized in 1ms
|
81687
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
81688
|
+
Completed 401 Unauthorized in 1ms
|
81689
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81690
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81691
|
+
[1m[36m (350.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81692
|
+
[1m[35m (308.0ms)[0m TRUNCATE TABLE `audits`;
|
81693
|
+
[1m[36m (273.3ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81694
|
+
[1m[35m (151.1ms)[0m TRUNCATE TABLE `page_parts`;
|
81695
|
+
[1m[36m (316.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81696
|
+
[1m[35m (116.6ms)[0m TRUNCATE TABLE `settings`;
|
81697
|
+
[1m[36m (276.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81698
|
+
[1m[35m (399.6ms)[0m TRUNCATE TABLE `users`;
|
81699
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
81700
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
81701
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
81702
|
+
[1m[35m (306.4ms)[0m TRUNCATE TABLE `assets`;
|
81703
|
+
[1m[36m (352.4ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
81704
|
+
[1m[35m (297.6ms)[0m TRUNCATE TABLE `meta_tags`;
|
81705
|
+
[1m[36m (171.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
81706
|
+
[1m[35m (250.1ms)[0m TRUNCATE TABLE `posts`;
|
81707
|
+
[1m[36m (116.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
81708
|
+
[1m[35m (306.8ms)[0m TRUNCATE TABLE `structures`;
|
81709
|
+
[1m[36m (398.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
81710
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
81711
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81712
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testing48@example.com' LIMIT 1
|
81713
|
+
[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-02-04 17:01:40', '2013-02-04 17:01:40', NULL, NULL, 'testing48@example.com', '2c7423cdc497be97529d41681f8c2cb0f743548b4af0a04f7bb11a826ff46609f6ef618003580f3ac5c9b940f4c32ceae53b8cd07af73a3a46e5338fc79569bc', 0, NULL, NULL, NULL, 'Admin', 'MpPbE5pN5QxvFksAfxTo', NULL, NULL, NULL, 4, 0, NULL, '2013-02-04 17:01:40')[0m
|
81714
|
+
[1m[35m (60.1ms)[0m COMMIT
|
81715
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81716
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
81717
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:40', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2013-02-04 17:01:40')[0m
|
81718
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
81719
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft`[0m
|
81720
|
+
[1m[35m (35.3ms)[0m COMMIT
|
81721
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81722
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE
|
81723
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:40', 0, 1, 1, 3, 1, 2, NULL, 4, 'slug21', 'Structure', '2013-02-04 17:01:40')[0m
|
81724
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `structures`.`lft` LIMIT 1
|
81725
|
+
[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
|
81726
|
+
[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`
|
81727
|
+
[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
|
81728
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81729
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81730
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
81731
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81732
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 2 AND `structures`.`lft` < 3) AND (`structures`.id != 2) ORDER BY `structures`.`lft`
|
81733
|
+
[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
|
81734
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
81735
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81736
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `structures`.`lft`
|
81737
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
81738
|
+
[1m[35m (41.1ms)[0m COMMIT
|
81739
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81740
|
+
Parameters: {"model_name"=>"structures"}
|
81741
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
81742
|
+
Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.6ms)
|
81743
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `structures`.`lft`
|
81744
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81745
|
+
Parameters: {"model_name"=>"wrong"}
|
81746
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
81747
|
+
Completed 404 Not Found in 8ms
|
81748
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
81749
|
+
Parameters: {"model_name"=>"structures", "id"=>"1"}
|
81750
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
81751
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
81752
|
+
Access denied on destroy #<Structure id: 1, title: "Main page", slug: "main-page", kind: 3, position: 1, is_visible: true, redirect_url: nil, parent_id: nil, lft: 1, rgt: 4, depth: 0, created_at: "2013-02-04 17:01:40", updated_at: "2013-02-04 17:01:40">, context: sunrise, user: 1
|
81753
|
+
Redirected to http://test.host/
|
81754
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
81755
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81756
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`rgt` desc LIMIT 1 FOR UPDATE[0m
|
81757
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2013-02-04 17:01:40', 0, 1, 1, 5, NULL, 2, NULL, 6, 'slug22', 'Structure', '2013-02-04 17:01:40')
|
81758
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1[0m
|
81759
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 3 ORDER BY `structures`.`lft`
|
81760
|
+
[1m[36m (67.8ms)[0m [1mCOMMIT[0m
|
81761
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81762
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2013-02-04 17:01:40', 1, 3, 'Default title', '2013-02-04 17:01:40')[0m
|
81763
|
+
[1m[35m (41.9ms)[0m COMMIT
|
81764
|
+
Processing by Sunrise::ManagerController#index as HTML
|
81765
|
+
Parameters: {"model_name"=>"posts"}
|
81766
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
81767
|
+
Completed 200 OK in 31ms (Views: 1.7ms | ActiveRecord: 0.3ms)
|
81768
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` LIMIT 50 OFFSET 0
|
81769
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
81770
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
81771
|
+
[1m[36m (225.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
81772
|
+
[1m[35m (384.4ms)[0m TRUNCATE TABLE `audits`;
|
81773
|
+
[1m[36m (336.2ms)[0m [1mTRUNCATE TABLE `meta_tags`;[0m
|
81774
|
+
[1m[35m (196.9ms)[0m TRUNCATE TABLE `page_parts`;
|
81775
|
+
[1m[36m (237.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
81776
|
+
[1m[35m (172.6ms)[0m TRUNCATE TABLE `settings`;
|
81777
|
+
[1m[36m (305.8ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
81778
|
+
[1m[35m (386.6ms)[0m TRUNCATE TABLE `users`;
|
81779
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|