sunrise-cms 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sunrise/abstract_model.rb +1 -5
- data/lib/sunrise/version.rb +1 -1
- data/spec/dummy/log/test.log +2746 -0
- data/spec/requests/manager/default/export_spec.rb +3 -3
- metadata +45 -45
@@ -214,11 +214,7 @@ module Sunrise
|
|
214
214
|
|
215
215
|
# List of columns names to be exported
|
216
216
|
def export_columns
|
217
|
-
|
218
|
-
config.list.fields.map(&:name)
|
219
|
-
else
|
220
|
-
model.column_names
|
221
|
-
end
|
217
|
+
list.fields ? list.fields.map(&:name) : model.column_names
|
222
218
|
end
|
223
219
|
|
224
220
|
# Filename for export data
|
data/lib/sunrise/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -286655,3 +286655,2749 @@ Completed 401 Unauthorized in 1ms
|
|
286655
286655
|
[1m[35m (44.1ms)[0m TRUNCATE TABLE `structures`;
|
286656
286656
|
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
286657
286657
|
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
286658
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
286659
|
+
Migrating to CreateAssets (20111216144515)
|
286660
|
+
Migrating to CreateRoles (20111216144815)
|
286661
|
+
Migrating to CreateStructures (20111216144915)
|
286662
|
+
Migrating to CreateUsers (20111216145015)
|
286663
|
+
Migrating to CreateSettings (20120611095315)
|
286664
|
+
[1m[35m (0.1ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
286665
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
286666
|
+
Migrating to CreatePageParts (20111227143901)
|
286667
|
+
Migrating to CreatePosts (20111228152051)
|
286668
|
+
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
286669
|
+
Migrating to CreateAssets (20111216144515)
|
286670
|
+
Migrating to CreateRoles (20111216144815)
|
286671
|
+
Migrating to CreateStructures (20111216144915)
|
286672
|
+
Migrating to CreateUsers (20111216145015)
|
286673
|
+
Migrating to CreateSettings (20120611095315)
|
286674
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
286675
|
+
Migrating to InstallActsAsAudited (20111227111941)
|
286676
|
+
Migrating to CreatePageParts (20111227143901)
|
286677
|
+
Migrating to CreatePosts (20111228152051)
|
286678
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286679
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing1@example.com' LIMIT 1
|
286680
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:04', '2012-06-22 09:11:05', NULL, NULL, 'testing1@example.com', '3379fc989b9af705c60f938b8145fcff8c99f31ed71f83adb7ab698a76ae4475d4276a81621feae3a5e8c2c380ce2a62a859340be3f6ac0ec4355000ecc7a916', 0, NULL, NULL, NULL, 'Admin', 'QSQRTmyuw9K4iEdPcqpN', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:05')[0m
|
286681
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:05', 4, '2012-06-22 09:11:05', 1)
|
286682
|
+
[1m[36m (84.9ms)[0m [1mCOMMIT[0m
|
286683
|
+
[1m[35m (0.2ms)[0m BEGIN
|
286684
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing2@example.com' LIMIT 1[0m
|
286685
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:05', '2012-06-22 09:11:05', NULL, NULL, 'testing2@example.com', 'bf345c8843c78d7f348a7c9c00d358a85d854edadbd9f349a5f44c269214bef7b528cd0a45cdc878c161a195ed2b42d4539d7f31aa73bacd44d0bb4ab912fe3a', 0, NULL, NULL, NULL, 'Test', 'hWwQy3wxqanVGRsxfJqP', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:05')
|
286686
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:05', 1, '2012-06-22 09:11:05', 2)[0m
|
286687
|
+
[1m[35m (87.6ms)[0m COMMIT
|
286688
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286689
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
286690
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
286691
|
+
[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 ('2012-06-22 09:11:05', 0, 1, 1, 1, NULL, 2, NULL, 2, 'structure', 'Structure', '2012-06-22 09:11:05')
|
286692
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
286693
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
286694
|
+
[1m[36m (42.1ms)[0m [1mCOMMIT[0m
|
286695
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286696
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:05', 1, 1, 'Default title', '2012-06-22 09:11:05')[0m
|
286697
|
+
[1m[35m (39.7ms)[0m COMMIT
|
286698
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286699
|
+
[1m[35m (0.6ms)[0m SELECT MAX(`audits`.`version`) AS max_id FROM `audits` WHERE `audits`.`auditable_id` = 1 AND `audits`.`auditable_type` = 'Post'
|
286700
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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, '2012-06-22 09:11:05', NULL, 2, 'User', NULL, 1)[0m
|
286701
|
+
[1m[35m (37.1ms)[0m COMMIT
|
286702
|
+
|
286703
|
+
|
286704
|
+
Started GET "/manage/" for 127.0.0.1 at 2012-06-22 12:11:05 +0300
|
286705
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286706
|
+
[1m[35m (0.1ms)[0m COMMIT
|
286707
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286708
|
+
[1m[35m (0.6ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:05', `current_sign_in_at` = '2012-06-22 09:11:05', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:05' WHERE `users`.`id` = 1
|
286709
|
+
[1m[36m (39.9ms)[0m [1mCOMMIT[0m
|
286710
|
+
Processing by Sunrise::DashboardController#index as HTML
|
286711
|
+
[1m[35mRole Load (0.6ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286712
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286713
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286714
|
+
[1m[36mAudited::Adapters::ActiveRecord::Audit Load (0.4ms)[0m [1mSELECT `audits`.* FROM `audits` ORDER BY version LIMIT 50 OFFSET 0[0m
|
286715
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` IN (2)
|
286716
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (3.3ms)
|
286717
|
+
[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
|
286718
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/index.html.erb within layouts/sunrise/application (131.2ms)
|
286719
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (57.8ms)
|
286720
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (2.3ms)
|
286721
|
+
Completed 200 OK in 274ms (Views: 260.7ms | ActiveRecord: 2.2ms)
|
286722
|
+
|
286723
|
+
|
286724
|
+
Started GET "/manage/" for 127.0.0.1 at 2012-06-22 12:11:06 +0300
|
286725
|
+
[1m[35m (0.2ms)[0m BEGIN
|
286726
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
286727
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286728
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:06', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:06' WHERE `users`.`id` = 1[0m
|
286729
|
+
[1m[35m (39.0ms)[0m COMMIT
|
286730
|
+
Processing by Sunrise::DashboardController#index as HTML
|
286731
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286732
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286733
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286734
|
+
[1m[35mAudited::Adapters::ActiveRecord::Audit Load (0.2ms)[0m SELECT `audits`.* FROM `audits` ORDER BY version LIMIT 50 OFFSET 0
|
286735
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` IN (2)[0m
|
286736
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (2.3ms)
|
286737
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count
|
286738
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.7ms)
|
286739
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.0ms)
|
286740
|
+
Completed 200 OK in 24ms (Views: 13.3ms | ActiveRecord: 1.3ms)
|
286741
|
+
|
286742
|
+
|
286743
|
+
Started GET "/manage/" for 127.0.0.1 at 2012-06-22 12:11:06 +0300
|
286744
|
+
Processing by Sunrise::DashboardController#index as HTML
|
286745
|
+
Completed 401 Unauthorized in 0ms
|
286746
|
+
|
286747
|
+
|
286748
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:06 +0300
|
286749
|
+
Processing by Devise::SessionsController#new as HTML
|
286750
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (2.1ms)
|
286751
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms)
|
286752
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
286753
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
286754
|
+
[1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
|
286755
|
+
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'sunrise_dummy_test'
|
286756
|
+
[1m[36m (60.1ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
286757
|
+
[1m[35m (43.9ms)[0m TRUNCATE TABLE `audits`;
|
286758
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
286759
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `page_parts`;
|
286760
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
286761
|
+
[1m[35m (77.1ms)[0m TRUNCATE TABLE `roles`;
|
286762
|
+
[1m[36m (44.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
286763
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `structures`;
|
286764
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
286765
|
+
[1m[35m (0.3ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
286766
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286767
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing3@example.com' LIMIT 1
|
286768
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:06', '2012-06-22 09:11:06', NULL, NULL, 'testing3@example.com', '74c269425208a0bd1f1d45ada852181558ace45e13162a4f4031137af86bbbd34045a8aa341aaca03e31b3e8140af1b6007faed231088516795a08788298c50f', 0, NULL, NULL, NULL, 'Admin', 'b1yBiLJBpAEqgpLCuJBN', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:06')[0m
|
286769
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:06', 4, '2012-06-22 09:11:06', 1)
|
286770
|
+
[1m[36m (44.1ms)[0m [1mCOMMIT[0m
|
286771
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286772
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
286773
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
286774
|
+
[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 ('2012-06-22 09:11:06', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:06')[0m
|
286775
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
286776
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
286777
|
+
[1m[35m (36.4ms)[0m COMMIT
|
286778
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286779
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
286780
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
286781
|
+
[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 ('2012-06-22 09:11:06', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:06')
|
286782
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
286783
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
286784
|
+
[1m[36mSQL (0.3ms)[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 `lft`[0m
|
286785
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
286786
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
286787
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
286788
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
286789
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
286790
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
286791
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
286792
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
286793
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
286794
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
286795
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
286796
|
+
[1m[36m (81.0ms)[0m [1mCOMMIT[0m
|
286797
|
+
|
286798
|
+
|
286799
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2012-06-22 12:11:07 +0300
|
286800
|
+
[1m[35m (0.2ms)[0m BEGIN
|
286801
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
286802
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286803
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:07', `current_sign_in_at` = '2012-06-22 09:11:07', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:07' WHERE `users`.`id` = 1[0m
|
286804
|
+
[1m[35m (77.0ms)[0m COMMIT
|
286805
|
+
Processing by Sunrise::SharedController#services as JSON
|
286806
|
+
[1m[36mRole Load (0.6ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286807
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286808
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286809
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `structures` WHERE `structures`.`depth` = 1
|
286810
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`depth` = 1[0m
|
286811
|
+
Completed 200 OK in 25ms (Views: 11.6ms | ActiveRecord: 1.4ms)
|
286812
|
+
|
286813
|
+
|
286814
|
+
Started GET "/manage/services.json" for 127.0.0.1 at 2012-06-22 12:11:07 +0300
|
286815
|
+
Processing by Sunrise::SharedController#services as JSON
|
286816
|
+
Completed 401 Unauthorized in 0ms
|
286817
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
286818
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
286819
|
+
[1m[35m (99.0ms)[0m TRUNCATE TABLE `assets`;
|
286820
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
286821
|
+
[1m[35m (66.1ms)[0m TRUNCATE TABLE `headers`;
|
286822
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
286823
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `posts`;
|
286824
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
286825
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `settings`;
|
286826
|
+
[1m[36m (68.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
286827
|
+
[1m[35m (66.3ms)[0m TRUNCATE TABLE `users`;
|
286828
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
286829
|
+
[1m[35m (0.2ms)[0m BEGIN
|
286830
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing4@example.com' LIMIT 1[0m
|
286831
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:07', '2012-06-22 09:11:07', NULL, NULL, 'testing4@example.com', '2b7b60dd22f86c4acbf2fc2239485072250929743010a94b869b59386a7a1c7397c22feca42338cd54f0a59cbc83399555b055353af7598f4388e8f6d1679a5f', 0, NULL, NULL, NULL, 'Admin', 'GCjg2gutCq8yF5xCa5QB', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:07')
|
286832
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:07', 4, '2012-06-22 09:11:07', 1)[0m
|
286833
|
+
[1m[35m (56.0ms)[0m COMMIT
|
286834
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286835
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
286836
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
286837
|
+
[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 ('2012-06-22 09:11:07', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:07')
|
286838
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
286839
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
286840
|
+
[1m[36m (55.7ms)[0m [1mCOMMIT[0m
|
286841
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286842
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
286843
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
286844
|
+
[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 ('2012-06-22 09:11:07', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:07')[0m
|
286845
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
286846
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
286847
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `lft`
|
286848
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
286849
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
286850
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
286851
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
286852
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
286853
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
286854
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
286855
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
286856
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
286857
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
286858
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
286859
|
+
[1m[35m (87.7ms)[0m COMMIT
|
286860
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286861
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:08', 1, 2, 'Default title', '2012-06-22 09:11:08')
|
286862
|
+
[1m[36m (80.8ms)[0m [1mCOMMIT[0m
|
286863
|
+
|
286864
|
+
|
286865
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:08 +0300
|
286866
|
+
[1m[35m (0.2ms)[0m BEGIN
|
286867
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
286868
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286869
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:08', `current_sign_in_at` = '2012-06-22 09:11:08', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:08' WHERE `users`.`id` = 1[0m
|
286870
|
+
[1m[35m (55.7ms)[0m COMMIT
|
286871
|
+
Processing by Sunrise::ManagerController#index as HTML
|
286872
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
286873
|
+
[1m[36mRole Load (0.5ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286874
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286875
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286876
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
286877
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
286878
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
286879
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (4.5ms)
|
286880
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
286881
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.8ms)
|
286882
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.6ms)
|
286883
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
286884
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (459.7ms)
|
286885
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (470.8ms)
|
286886
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (3.2ms)
|
286887
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (476.4ms)
|
286888
|
+
Completed 200 OK in 515ms (Views: 500.6ms | ActiveRecord: 2.2ms)
|
286889
|
+
[1m[35m (0.2ms)[0m BEGIN
|
286890
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:08', 1, 2, 'Aimbulance', '2012-06-22 09:11:08')[0m
|
286891
|
+
[1m[35m (56.8ms)[0m COMMIT
|
286892
|
+
|
286893
|
+
|
286894
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:08 +0300
|
286895
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286896
|
+
[1m[35m (0.1ms)[0m COMMIT
|
286897
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286898
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:08', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:08' WHERE `users`.`id` = 1
|
286899
|
+
[1m[36m (48.8ms)[0m [1mCOMMIT[0m
|
286900
|
+
Processing by Sunrise::ManagerController#index as HTML
|
286901
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
286902
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286903
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286904
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286905
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
286906
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
286907
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
286908
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (62.8ms)
|
286909
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
286910
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.8ms)
|
286911
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
286912
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
286913
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.4ms)
|
286914
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.7ms)
|
286915
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.1ms)
|
286916
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (9.3ms)
|
286917
|
+
Completed 200 OK in 89ms (Views: 81.0ms | ActiveRecord: 1.5ms)
|
286918
|
+
|
286919
|
+
|
286920
|
+
Started GET "/manage/posts?utf8=%E2%9C%93&parent_id=2&parent_type=Structure&search[title]=Aimbulance&search[structure_id]=&commit=Search" for 127.0.0.1 at 2012-06-22 12:11:08 +0300
|
286921
|
+
Processing by Sunrise::ManagerController#index as HTML
|
286922
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "search"=>{"title"=>"Aimbulance", "structure_id"=>""}, "commit"=>"Search", "model_name"=>"posts"}
|
286923
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
286924
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286925
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286926
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286927
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
286928
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
286929
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`title` = 'Aimbulance' AND `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
286930
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (3.2ms)
|
286931
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`title` = 'Aimbulance' AND `posts`.`structure_id` = 2
|
286932
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (56.0ms)
|
286933
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
286934
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
286935
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.5ms)
|
286936
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (7.5ms)
|
286937
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.1ms)
|
286938
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (10.0ms)
|
286939
|
+
Completed 200 OK in 84ms (Views: 76.1ms | ActiveRecord: 2.3ms)
|
286940
|
+
|
286941
|
+
|
286942
|
+
Started GET "/manage/posts?parent_id=1&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:09 +0300
|
286943
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286944
|
+
[1m[35m (0.2ms)[0m COMMIT
|
286945
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286946
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:08', `current_sign_in_at` = '2012-06-22 09:11:09', `sign_in_count` = 3, `updated_at` = '2012-06-22 09:11:09' WHERE `users`.`id` = 1
|
286947
|
+
[1m[36m (52.1ms)[0m [1mCOMMIT[0m
|
286948
|
+
Processing by Sunrise::ManagerController#index as HTML
|
286949
|
+
Parameters: {"parent_id"=>"1", "parent_type"=>"Structure", "model_name"=>"posts"}
|
286950
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286951
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
286952
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
286953
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '1' LIMIT 1[0m
|
286954
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
286955
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 1 LIMIT 25 OFFSET 0[0m
|
286956
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
286957
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 1
|
286958
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.8ms)
|
286959
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
286960
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
286961
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.3ms)
|
286962
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.8ms)
|
286963
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.0ms)
|
286964
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (9.1ms)
|
286965
|
+
Completed 200 OK in 25ms (Views: 17.0ms | ActiveRecord: 1.9ms)
|
286966
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
286967
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
286968
|
+
[1m[36m (62.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
286969
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `audits`;
|
286970
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
286971
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `page_parts`;
|
286972
|
+
[1m[36m (110.4ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
286973
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `roles`;
|
286974
|
+
[1m[36m (66.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
286975
|
+
[1m[35m (43.9ms)[0m TRUNCATE TABLE `structures`;
|
286976
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
286977
|
+
[1m[35m (0.3ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
286978
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286979
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing5@example.com' LIMIT 1
|
286980
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:09', '2012-06-22 09:11:09', NULL, NULL, 'testing5@example.com', 'c52623bb5e9374d4e11d8daf3b229d77806f9cc368b88af5ba03f888bcb9152476e30c4c6cbc28f157391207e0840559e8170b8d6f074bda9a673ed6336135f2', 0, NULL, NULL, NULL, 'Admin', 'YyxspAuzpqzAtmevmysb', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:09')[0m
|
286981
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:09', 4, '2012-06-22 09:11:09', 1)
|
286982
|
+
[1m[36m (35.7ms)[0m [1mCOMMIT[0m
|
286983
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286984
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
286985
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
286986
|
+
[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 ('2012-06-22 09:11:09', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:09')[0m
|
286987
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
286988
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
286989
|
+
[1m[35m (37.2ms)[0m COMMIT
|
286990
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
286991
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
286992
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
286993
|
+
[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 ('2012-06-22 09:11:09', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:09')
|
286994
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
286995
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
286996
|
+
[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 `lft`[0m
|
286997
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
286998
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
286999
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287000
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
287001
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287002
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
287003
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
287004
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287005
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287006
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
287007
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287008
|
+
[1m[36m (56.7ms)[0m [1mCOMMIT[0m
|
287009
|
+
|
287010
|
+
|
287011
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:09 +0300
|
287012
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287013
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287014
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287015
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:09', `current_sign_in_at` = '2012-06-22 09:11:09', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:09' WHERE `users`.`id` = 1[0m
|
287016
|
+
[1m[35m (36.2ms)[0m COMMIT
|
287017
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287018
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287019
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287020
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287021
|
+
[1m[36mRole Load (0.4ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287022
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287023
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287024
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
287025
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (18.5ms)
|
287026
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (85.4ms)
|
287027
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.8ms)
|
287028
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.9ms)
|
287029
|
+
Completed 200 OK in 103ms (Views: 94.6ms | ActiveRecord: 1.2ms)
|
287030
|
+
|
287031
|
+
|
287032
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287033
|
+
Processing by Sunrise::ManagerController#create as HTML
|
287034
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Aimbulance", "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"}
|
287035
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287036
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287037
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287038
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287039
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287040
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287041
|
+
[1m[35mRole Load (0.5ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1
|
287042
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287043
|
+
[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', '2012-06-22 09:11:10', 1, 2, 'Aimbulance', '2012-06-22 09:11:10')
|
287044
|
+
[1m[36m (60.2ms)[0m [1mCOMMIT[0m
|
287045
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
287046
|
+
Completed 302 Found in 136ms (ActiveRecord: 0.0ms)
|
287047
|
+
|
287048
|
+
|
287049
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287050
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287051
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287052
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287053
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287054
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287055
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287056
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287057
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287058
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
287059
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (3.0ms)
|
287060
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
287061
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.8ms)
|
287062
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287063
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287064
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.5ms)
|
287065
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.7ms)
|
287066
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.1ms)
|
287067
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (9.1ms)
|
287068
|
+
Completed 200 OK in 28ms (Views: 20.1ms | ActiveRecord: 1.9ms)
|
287069
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1
|
287070
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287071
|
+
|
287072
|
+
|
287073
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287074
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287075
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287076
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287077
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:10', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:10' WHERE `users`.`id` = 1[0m
|
287078
|
+
[1m[35m (37.0ms)[0m COMMIT
|
287079
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287080
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287081
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287082
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287083
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287084
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287085
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287086
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.7ms)
|
287087
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (61.4ms)
|
287088
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (65.1ms)
|
287089
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.0ms)
|
287090
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.4ms)
|
287091
|
+
Completed 200 OK in 81ms (Views: 71.8ms | ActiveRecord: 0.6ms)
|
287092
|
+
|
287093
|
+
|
287094
|
+
Started POST "/manage/posts/new" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287095
|
+
Processing by Sunrise::ManagerController#create as HTML
|
287096
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Aimbulance", "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"}
|
287097
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287098
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287099
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287100
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287101
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287102
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287103
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1
|
287104
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287105
|
+
[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', '2012-06-22 09:11:10', 1, 2, 'Aimbulance', '2012-06-22 09:11:10')
|
287106
|
+
[1m[36m (40.7ms)[0m [1mCOMMIT[0m
|
287107
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
287108
|
+
Completed 302 Found in 53ms (ActiveRecord: 0.0ms)
|
287109
|
+
|
287110
|
+
|
287111
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287112
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287113
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287114
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287115
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287116
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287117
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287118
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287119
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287120
|
+
[1m[35mPost Load (0.6ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
287121
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (5.1ms)
|
287122
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
287123
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.7ms)
|
287124
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287125
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287126
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.6ms)
|
287127
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.6ms)
|
287128
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.0ms)
|
287129
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (9.0ms)
|
287130
|
+
Completed 200 OK in 30ms (Views: 22.2ms | ActiveRecord: 1.8ms)
|
287131
|
+
[1m[35mPost Load (0.5ms)[0m SELECT `posts`.* FROM `posts` ORDER BY `posts`.`id` DESC LIMIT 1
|
287132
|
+
|
287133
|
+
|
287134
|
+
Started GET "/manage/posts/new" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287135
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287136
|
+
Parameters: {"model_name"=>"posts"}
|
287137
|
+
Completed 401 Unauthorized in 1ms
|
287138
|
+
|
287139
|
+
|
287140
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:10 +0300
|
287141
|
+
Processing by Devise::SessionsController#new as HTML
|
287142
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (1.0ms)
|
287143
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
287144
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
287145
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
287146
|
+
[1m[36m (39.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
287147
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `audits`;
|
287148
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
287149
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `page_parts`;
|
287150
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
287151
|
+
[1m[35m (66.3ms)[0m TRUNCATE TABLE `roles`;
|
287152
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
287153
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `structures`;
|
287154
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
287155
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
287156
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287157
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing6@example.com' LIMIT 1
|
287158
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:10', '2012-06-22 09:11:10', NULL, NULL, 'testing6@example.com', 'c929ebe1ebda21839f88f4c3d9b7e4d2df70ba5054a334229e1f13b99dce650bd974dae191597e873bbe6ec1ae148fe0aa729ccc7df946b55c9f69c63fe23b57', 0, NULL, NULL, NULL, 'Admin', 'js14Ha1TJoVzFbj6ia7Y', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:10')[0m
|
287159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:10', 4, '2012-06-22 09:11:10', 1)
|
287160
|
+
[1m[36m (101.4ms)[0m [1mCOMMIT[0m
|
287161
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287162
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
287163
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
287164
|
+
[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 ('2012-06-22 09:11:11', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:11')[0m
|
287165
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
287166
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
287167
|
+
[1m[35m (74.7ms)[0m COMMIT
|
287168
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287169
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287170
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287171
|
+
[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 ('2012-06-22 09:11:11', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:11')
|
287172
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
287173
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
287174
|
+
[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 `lft`[0m
|
287175
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
287176
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287177
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287178
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
287179
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287180
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
287181
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
287182
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287183
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287184
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
287185
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287186
|
+
[1m[36m (46.6ms)[0m [1mCOMMIT[0m
|
287187
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287188
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:11', 1, 2, 'Default title', '2012-06-22 09:11:11')[0m
|
287189
|
+
[1m[35m (40.4ms)[0m COMMIT
|
287190
|
+
|
287191
|
+
|
287192
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:11 +0300
|
287193
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287194
|
+
[1m[35m (0.2ms)[0m COMMIT
|
287195
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287196
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:11', `current_sign_in_at` = '2012-06-22 09:11:11', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:11' WHERE `users`.`id` = 1
|
287197
|
+
[1m[36m (37.8ms)[0m [1mCOMMIT[0m
|
287198
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287199
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287200
|
+
[1m[35mRole Load (0.5ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287201
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287202
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287203
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287204
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287205
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
287206
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (3.5ms)
|
287207
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
287208
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.2ms)
|
287209
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
287210
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287211
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (4.1ms)
|
287212
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (8.1ms)
|
287213
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (61.6ms)
|
287214
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (70.4ms)
|
287215
|
+
Completed 200 OK in 91ms (Views: 83.2ms | ActiveRecord: 2.2ms)
|
287216
|
+
|
287217
|
+
|
287218
|
+
Started DELETE "/manage/posts/1/delete?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:11 +0300
|
287219
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
287220
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287221
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
287222
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
287223
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287224
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287225
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287226
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287227
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 1[0m
|
287228
|
+
[1m[35m (38.0ms)[0m COMMIT
|
287229
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287230
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287231
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
287232
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.0ms)
|
287233
|
+
|
287234
|
+
|
287235
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:11 +0300
|
287236
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287237
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287238
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
287239
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287240
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287241
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287242
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287243
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287244
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
287245
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (0.0ms)
|
287246
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
287247
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.8ms)
|
287248
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287249
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287250
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.5ms)
|
287251
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.6ms)
|
287252
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.0ms)
|
287253
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (9.0ms)
|
287254
|
+
Completed 200 OK in 24ms (Views: 16.7ms | ActiveRecord: 1.7ms)
|
287255
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
287256
|
+
|
287257
|
+
|
287258
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:11 +0300
|
287259
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287260
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287261
|
+
Completed 401 Unauthorized in 0ms
|
287262
|
+
|
287263
|
+
|
287264
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:11 +0300
|
287265
|
+
Processing by Devise::SessionsController#new as HTML
|
287266
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.7ms)
|
287267
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
287268
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
287269
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
287270
|
+
[1m[35m (59.1ms)[0m TRUNCATE TABLE `assets`;
|
287271
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
287272
|
+
[1m[35m (43.9ms)[0m TRUNCATE TABLE `headers`;
|
287273
|
+
[1m[36m (66.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
287274
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `posts`;
|
287275
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
287276
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `settings`;
|
287277
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
287278
|
+
[1m[35m (44.2ms)[0m TRUNCATE TABLE `users`;
|
287279
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
287280
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287281
|
+
[1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing7@example.com' LIMIT 1[0m
|
287282
|
+
[1m[35mSQL (48.9ms)[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:11', '2012-06-22 09:11:11', NULL, NULL, 'testing7@example.com', 'bbd35ec9644ce86fb19517cc872d0c84a45a96998514dfedd9571d0275b0d5844b5dd616026de09d8fe39761bd7c4de7e33b4faffb323851d3e1455eb40af0c5', 0, NULL, NULL, NULL, 'Admin', 'wwfzPDowNpD5VoXqSauU', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:11')
|
287283
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:12', 4, '2012-06-22 09:11:12', 1)[0m
|
287284
|
+
[1m[35m (108.4ms)[0m COMMIT
|
287285
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287286
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287287
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287288
|
+
[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 ('2012-06-22 09:11:12', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:12')
|
287289
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
287290
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
287291
|
+
[1m[36m (47.7ms)[0m [1mCOMMIT[0m
|
287292
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287293
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
287294
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
287295
|
+
[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 ('2012-06-22 09:11:12', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:12')[0m
|
287296
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
287297
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287298
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `lft`
|
287299
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
287300
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287301
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287302
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287303
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287304
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
287305
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287306
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287307
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287308
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287309
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287310
|
+
[1m[35m (52.2ms)[0m COMMIT
|
287311
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287312
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:12', 1, 2, 'Default title', '2012-06-22 09:11:12')
|
287313
|
+
[1m[36m (52.4ms)[0m [1mCOMMIT[0m
|
287314
|
+
|
287315
|
+
|
287316
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:12 +0300
|
287317
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287318
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287319
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287320
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:12', `current_sign_in_at` = '2012-06-22 09:11:12', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:12' WHERE `users`.`id` = 1[0m
|
287321
|
+
[1m[35m (47.0ms)[0m COMMIT
|
287322
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
287323
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287324
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
287325
|
+
[1m[35mRole Load (0.4ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287326
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287327
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287328
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
287329
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (4.1ms)
|
287330
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (6.4ms)
|
287331
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
287332
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.8ms)
|
287333
|
+
Completed 200 OK in 21ms (Views: 14.0ms | ActiveRecord: 0.9ms)
|
287334
|
+
|
287335
|
+
|
287336
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:12 +0300
|
287337
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287338
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287339
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287340
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:12', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:12' WHERE `users`.`id` = 1
|
287341
|
+
[1m[36m (48.3ms)[0m [1mCOMMIT[0m
|
287342
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
287343
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287344
|
+
[1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
287345
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287346
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287347
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287348
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
287349
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (4.0ms)
|
287350
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (6.0ms)
|
287351
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.5ms)
|
287352
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.3ms)
|
287353
|
+
Completed 200 OK in 18ms (Views: 11.2ms | ActiveRecord: 0.5ms)
|
287354
|
+
|
287355
|
+
|
287356
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:12 +0300
|
287357
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
287358
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287359
|
+
Completed 401 Unauthorized in 0ms
|
287360
|
+
|
287361
|
+
|
287362
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:12 +0300
|
287363
|
+
Processing by Devise::SessionsController#new as HTML
|
287364
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.8ms)
|
287365
|
+
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms)
|
287366
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
287367
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
287368
|
+
[1m[35m (50.1ms)[0m TRUNCATE TABLE `assets`;
|
287369
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
287370
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `headers`;
|
287371
|
+
[1m[36m (55.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
287372
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `posts`;
|
287373
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
287374
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `settings`;
|
287375
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
287376
|
+
[1m[35m (132.7ms)[0m TRUNCATE TABLE `users`;
|
287377
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
287378
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287379
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing8@example.com' LIMIT 1[0m
|
287380
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:13', '2012-06-22 09:11:13', NULL, NULL, 'testing8@example.com', '2b5f329d85c27763653c8faaa45609f21187768b12637fa0e19c5d5bad8f8aa86a59a42fe6574a0fdd8c17651f66ca2e77a042d326f4264046e2a5890f337c14', 0, NULL, NULL, NULL, 'Admin', 'Qqegfzbqia2FJQ2ayV9S', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:13')
|
287381
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:13', 4, '2012-06-22 09:11:13', 1)[0m
|
287382
|
+
[1m[35m (53.5ms)[0m COMMIT
|
287383
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287384
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287385
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287386
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2012-06-22 09:11:13', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:13')
|
287387
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
287388
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
287389
|
+
[1m[36m (54.6ms)[0m [1mCOMMIT[0m
|
287390
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287391
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
287392
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
287393
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2012-06-22 09:11:13', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:13')[0m
|
287394
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
287395
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287396
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `lft`
|
287397
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
287398
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287399
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287400
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287401
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287402
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
287403
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287404
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287405
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287406
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287407
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287408
|
+
[1m[35m (51.4ms)[0m COMMIT
|
287409
|
+
|
287410
|
+
|
287411
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:13 +0300
|
287412
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287413
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287414
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287415
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:13', `current_sign_in_at` = '2012-06-22 09:11:13', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:13' WHERE `users`.`id` = 1
|
287416
|
+
[1m[36m (57.4ms)[0m [1mCOMMIT[0m
|
287417
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287418
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287419
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287420
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287421
|
+
[1m[35mRole Load (0.4ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287422
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287423
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287424
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
287425
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (5.0ms)
|
287426
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (7.4ms)
|
287427
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.1ms)
|
287428
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.4ms)
|
287429
|
+
Completed 200 OK in 20ms (Views: 13.7ms | ActiveRecord: 1.3ms)
|
287430
|
+
|
287431
|
+
|
287432
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:13 +0300
|
287433
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287434
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287436
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:13', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:13' WHERE `users`.`id` = 1
|
287437
|
+
[1m[36m (46.7ms)[0m [1mCOMMIT[0m
|
287438
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287439
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287440
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287441
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287442
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287443
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287444
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287445
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
287446
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (3.9ms)
|
287447
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (5.8ms)
|
287448
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
287449
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.3ms)
|
287450
|
+
Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.3ms)
|
287451
|
+
|
287452
|
+
|
287453
|
+
Started GET "/manage/posts/new?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:13 +0300
|
287454
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287455
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287456
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287457
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:13', `current_sign_in_at` = '2012-06-22 09:11:13', `sign_in_count` = 3, `updated_at` = '2012-06-22 09:11:13' WHERE `users`.`id` = 1
|
287458
|
+
[1m[36m (55.6ms)[0m [1mCOMMIT[0m
|
287459
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287460
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287461
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287462
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287463
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287464
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287465
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287466
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.6ms)
|
287467
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (7.6ms)
|
287468
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (10.7ms)
|
287469
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.5ms)
|
287470
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.3ms)
|
287471
|
+
Completed 200 OK in 24ms (Views: 16.6ms | ActiveRecord: 0.5ms)
|
287472
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
287473
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
287474
|
+
[1m[36m (52.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
287475
|
+
[1m[35m (66.0ms)[0m TRUNCATE TABLE `audits`;
|
287476
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
287477
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `page_parts`;
|
287478
|
+
[1m[36m (121.8ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
287479
|
+
[1m[35m (95.2ms)[0m TRUNCATE TABLE `roles`;
|
287480
|
+
[1m[36m (114.5ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
287481
|
+
[1m[35m (66.0ms)[0m TRUNCATE TABLE `structures`;
|
287482
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
287483
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
287484
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287485
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing9@example.com' LIMIT 1
|
287486
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:14', '2012-06-22 09:11:14', NULL, NULL, 'testing9@example.com', '9d8f074c0b7f78eb82816a4f3fbe1fb6b91d20fe733fb5d4a9b33088c38eac51259bff3c28b904229984229725ec8c2d227bbfada17fb2919f2fa06bd463de8a', 0, NULL, NULL, NULL, 'Admin', 'wjY2T3xjVovwVbeKkLzZ', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:14')[0m
|
287487
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:14', 4, '2012-06-22 09:11:14', 1)
|
287488
|
+
[1m[36m (47.1ms)[0m [1mCOMMIT[0m
|
287489
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287490
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
287491
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
287492
|
+
[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 ('2012-06-22 09:11:14', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:14')[0m
|
287493
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
287494
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
287495
|
+
[1m[35m (46.7ms)[0m COMMIT
|
287496
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287497
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287498
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287499
|
+
[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 ('2012-06-22 09:11:14', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:14')
|
287500
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
287501
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
287502
|
+
[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 `lft`[0m
|
287503
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
287504
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287505
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287506
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
287507
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287508
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
287509
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
287510
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287511
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287512
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
287513
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
287514
|
+
[1m[36m (52.3ms)[0m [1mCOMMIT[0m
|
287515
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287516
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:14', 1, 2, 'Default title', '2012-06-22 09:11:14')[0m
|
287517
|
+
[1m[35m (40.0ms)[0m COMMIT
|
287518
|
+
|
287519
|
+
|
287520
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287522
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287523
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287524
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:14', `current_sign_in_at` = '2012-06-22 09:11:14', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:14' WHERE `users`.`id` = 1
|
287525
|
+
[1m[36m (37.4ms)[0m [1mCOMMIT[0m
|
287526
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
287527
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287528
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
287529
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287530
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287531
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287532
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
287533
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (4.0ms)
|
287534
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (6.1ms)
|
287535
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (63.7ms)
|
287536
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.4ms)
|
287537
|
+
Completed 200 OK in 78ms (Views: 72.8ms | ActiveRecord: 0.6ms)
|
287538
|
+
|
287539
|
+
|
287540
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287541
|
+
Processing by Sunrise::ManagerController#update as HTML
|
287542
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Aimbulance updated", "content"=>"Tra la la", "is_visible"=>"0"}, "commit"=>"Update Post", "model_name"=>"posts", "id"=>"1"}
|
287543
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287544
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
287545
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287546
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287547
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287548
|
+
[1m[36mRole Load (0.3ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1[0m
|
287549
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287550
|
+
[1m[36m (0.3ms)[0m [1mUPDATE `posts` SET `title` = 'Aimbulance updated', `content` = 'Tra la la', `is_visible` = 0, `updated_at` = '2012-06-22 09:11:14' WHERE `posts`.`id` = 1[0m
|
287551
|
+
[1m[35m (35.7ms)[0m COMMIT
|
287552
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287553
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287554
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
287555
|
+
Completed 302 Found in 57ms (ActiveRecord: 0.0ms)
|
287556
|
+
|
287557
|
+
|
287558
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287559
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287560
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287561
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
287562
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287563
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287564
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287565
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
287566
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287567
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0[0m
|
287568
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (2.9ms)
|
287569
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2
|
287570
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.7ms)
|
287571
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287572
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287573
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.4ms)
|
287574
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.5ms)
|
287575
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.0ms)
|
287576
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (8.9ms)
|
287577
|
+
Completed 200 OK in 30ms (Views: 19.4ms | ActiveRecord: 1.8ms)
|
287578
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
287579
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287580
|
+
|
287581
|
+
|
287582
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287583
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287584
|
+
[1m[35m (0.2ms)[0m COMMIT
|
287585
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287586
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:14', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:14' WHERE `users`.`id` = 1
|
287587
|
+
[1m[36m (36.4ms)[0m [1mCOMMIT[0m
|
287588
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
287589
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287590
|
+
[1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
|
287591
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287592
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287593
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287594
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
287595
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (4.2ms)
|
287596
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (6.4ms)
|
287597
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
287598
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.4ms)
|
287599
|
+
Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 0.6ms)
|
287600
|
+
|
287601
|
+
|
287602
|
+
Started PUT "/manage/posts/1/edit" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287603
|
+
Processing by Sunrise::ManagerController#update as HTML
|
287604
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"2", "parent_type"=>"Structure", "post"=>{"title"=>"Aimbulance updated", "content"=>"Tra la la", "is_visible"=>"0"}, "commit"=>"Update Post", "model_name"=>"posts", "id"=>"1"}
|
287605
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287606
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1[0m
|
287607
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287608
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287609
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287610
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1[0m
|
287611
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287612
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287613
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287614
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287615
|
+
Redirected to http://www.example.com/manage/posts?parent_id=2&parent_type=Structure
|
287616
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
287617
|
+
|
287618
|
+
|
287619
|
+
Started GET "/manage/posts?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287620
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287621
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts"}
|
287622
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287623
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287624
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287625
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287626
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
287627
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
287628
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`structure_id` = 2 LIMIT 25 OFFSET 0
|
287629
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_record.html.erb (3.0ms)
|
287630
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `posts` WHERE `posts`.`structure_id` = 2[0m
|
287631
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
287632
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287633
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287634
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (3.3ms)
|
287635
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (6.3ms)
|
287636
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (61.1ms)
|
287637
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (67.8ms)
|
287638
|
+
Completed 200 OK in 87ms (Views: 79.5ms | ActiveRecord: 1.1ms)
|
287639
|
+
|
287640
|
+
|
287641
|
+
Started GET "/manage/posts/1/edit?parent_id=2&parent_type=Structure" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287642
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
287643
|
+
Parameters: {"parent_id"=>"2", "parent_type"=>"Structure", "model_name"=>"posts", "id"=>"1"}
|
287644
|
+
Completed 401 Unauthorized in 0ms
|
287645
|
+
|
287646
|
+
|
287647
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:14 +0300
|
287648
|
+
Processing by Devise::SessionsController#new as HTML
|
287649
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.8ms)
|
287650
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
287651
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
287652
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
287653
|
+
[1m[35m (98.1ms)[0m TRUNCATE TABLE `assets`;
|
287654
|
+
[1m[36m (220.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
287655
|
+
[1m[35m (111.4ms)[0m TRUNCATE TABLE `headers`;
|
287656
|
+
[1m[36m (98.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
287657
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `posts`;
|
287658
|
+
[1m[36m (44.3ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
287659
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `settings`;
|
287660
|
+
[1m[36m (44.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
287661
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `users`;
|
287662
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
287663
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287664
|
+
[1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing10@example.com' LIMIT 1[0m
|
287665
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:15', '2012-06-22 09:11:15', NULL, NULL, 'testing10@example.com', 'dd16f489436d33446500fd3030a5d286277d56ea76e91605d0c08f71688be955161340665ab8038e27f998cffc4f6fc7f1da97b89d765492f7816fc72615aca0', 0, NULL, NULL, NULL, 'Admin', 'ND43MYkFtAyzse8sKby2', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:15')
|
287666
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:15', 4, '2012-06-22 09:11:15', 1)[0m
|
287667
|
+
[1m[35m (102.1ms)[0m COMMIT
|
287668
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287669
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287670
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287671
|
+
[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 ('2012-06-22 09:11:15', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:15')
|
287672
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
287673
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
287674
|
+
[1m[36m (90.8ms)[0m [1mCOMMIT[0m
|
287675
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287676
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
287677
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
287678
|
+
[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 ('2012-06-22 09:11:15', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:15')[0m
|
287679
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
287680
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287681
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `lft`
|
287682
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
287683
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287684
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287685
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287686
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287687
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
287688
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287689
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287690
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287691
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287692
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287693
|
+
[1m[35m (81.0ms)[0m COMMIT
|
287694
|
+
|
287695
|
+
|
287696
|
+
Started GET "/manage/" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287697
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287698
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287699
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287700
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:16', `current_sign_in_at` = '2012-06-22 09:11:16', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:16' WHERE `users`.`id` = 1
|
287701
|
+
[1m[36m (80.6ms)[0m [1mCOMMIT[0m
|
287702
|
+
Processing by Sunrise::DashboardController#index as HTML
|
287703
|
+
[1m[35mRole Load (0.6ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287704
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287705
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287706
|
+
[1m[36mAudited::Adapters::ActiveRecord::Audit Load (0.5ms)[0m [1mSELECT `audits`.* FROM `audits` ORDER BY version LIMIT 50 OFFSET 0[0m
|
287707
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (0.0ms)
|
287708
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count
|
287709
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.7ms)
|
287710
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (1.8ms)
|
287711
|
+
Completed 200 OK in 30ms (Views: 18.5ms | ActiveRecord: 1.6ms)
|
287712
|
+
|
287713
|
+
|
287714
|
+
Started GET "/manage/whatever" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287715
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
287716
|
+
[1m[35m (0.2ms)[0m COMMIT
|
287717
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287718
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:16', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:16' WHERE `users`.`id` = 1
|
287719
|
+
[1m[36m (55.0ms)[0m [1mCOMMIT[0m
|
287720
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287721
|
+
Parameters: {"model_name"=>"whatever"}
|
287722
|
+
Completed 500 Internal Server Error in 7ms
|
287723
|
+
|
287724
|
+
|
287725
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287726
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287727
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
287728
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287729
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:16', `current_sign_in_at` = '2012-06-22 09:11:16', `sign_in_count` = 3, `updated_at` = '2012-06-22 09:11:16' WHERE `users`.`id` = 1[0m
|
287730
|
+
[1m[35m (87.1ms)[0m COMMIT
|
287731
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287732
|
+
Parameters: {"model_name"=>"structures"}
|
287733
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`[0m
|
287734
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 4) ORDER BY `lft`
|
287735
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287736
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287737
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287738
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
287739
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
287740
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.9ms)
|
287741
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (7.6ms)
|
287742
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.1ms)
|
287743
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
287744
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.3ms)
|
287745
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.6ms)
|
287746
|
+
Completed 200 OK in 32ms (Views: 19.2ms | ActiveRecord: 1.6ms)
|
287747
|
+
|
287748
|
+
|
287749
|
+
Started GET "/manage/users" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287750
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287751
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287752
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287753
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:16', `current_sign_in_at` = '2012-06-22 09:11:16', `sign_in_count` = 4, `updated_at` = '2012-06-22 09:11:16' WHERE `users`.`id` = 1[0m
|
287754
|
+
[1m[35m (39.7ms)[0m COMMIT
|
287755
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287756
|
+
Parameters: {"model_name"=>"users"}
|
287757
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287758
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287759
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287760
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` LIMIT 25 OFFSET 0
|
287761
|
+
[1m[36mAvatar Load (0.4ms)[0m [1mSELECT `assets`.* FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`assetable_type` = 'User' AND `assets`.`assetable_id` IN (1) ORDER BY `assets`.sort_order[0m
|
287762
|
+
Rendered sunrise/manager/users/thumbs/_record.html.erb (5.6ms)
|
287763
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `users`
|
287764
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (5.1ms)
|
287765
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
287766
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287767
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/thumbs/_model_filter.html.erb (7.9ms)
|
287768
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (17.9ms)
|
287769
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_toolbar.html.erb (2.0ms)
|
287770
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (20.5ms)
|
287771
|
+
Completed 200 OK in 123ms (Views: 52.3ms | ActiveRecord: 3.5ms)
|
287772
|
+
|
287773
|
+
|
287774
|
+
Started GET "/manage/pages" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287775
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287776
|
+
[1m[35m (0.1ms)[0m COMMIT
|
287777
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
287778
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:16', `current_sign_in_at` = '2012-06-22 09:11:16', `sign_in_count` = 5, `updated_at` = '2012-06-22 09:11:16' WHERE `users`.`id` = 1
|
287779
|
+
[1m[36m (92.7ms)[0m [1mCOMMIT[0m
|
287780
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287781
|
+
Parameters: {"model_name"=>"pages"}
|
287782
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287783
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287784
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287785
|
+
Completed 500 Internal Server Error in 7ms
|
287786
|
+
|
287787
|
+
|
287788
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287789
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287790
|
+
Parameters: {"model_name"=>"structures"}
|
287791
|
+
Completed 401 Unauthorized in 1ms
|
287792
|
+
|
287793
|
+
|
287794
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:16 +0300
|
287795
|
+
Processing by Devise::SessionsController#new as HTML
|
287796
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.8ms)
|
287797
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
287798
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
287799
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
287800
|
+
[1m[36m (67.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
287801
|
+
[1m[35m (65.9ms)[0m TRUNCATE TABLE `audits`;
|
287802
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
287803
|
+
[1m[35m (66.2ms)[0m TRUNCATE TABLE `page_parts`;
|
287804
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
287805
|
+
[1m[35m (66.2ms)[0m TRUNCATE TABLE `roles`;
|
287806
|
+
[1m[36m (154.6ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
287807
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `structures`;
|
287808
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
287809
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
287810
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287811
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing11@example.com' LIMIT 1
|
287812
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:17', '2012-06-22 09:11:17', NULL, NULL, 'testing11@example.com', '2e9c6e7c93c0ca55a64f14c90d4fb7b71ad1e8d8a091cdf81691fa6215dda5e8ee2d2cccf2c2259798ffde919c21cbe61e4f942492e20559fccdb28fd87c0c43', 0, NULL, NULL, NULL, 'Admin', '5nxZpzbn78BhbzxTyXvP', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:17')[0m
|
287813
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:17', 4, '2012-06-22 09:11:17', 1)
|
287814
|
+
[1m[36m (56.5ms)[0m [1mCOMMIT[0m
|
287815
|
+
|
287816
|
+
|
287817
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2012-06-22 12:11:17 +0300
|
287818
|
+
[1m[35m (0.2ms)[0m BEGIN
|
287819
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287820
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287821
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:17', `current_sign_in_at` = '2012-06-22 09:11:17', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:17' WHERE `users`.`id` = 1[0m
|
287822
|
+
[1m[35m (47.6ms)[0m COMMIT
|
287823
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287824
|
+
Parameters: {"model_name"=>"structures"}
|
287825
|
+
[1m[36mRole Load (0.5ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287826
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287827
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287828
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
287829
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (22.3ms)
|
287830
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (25.0ms)
|
287831
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
287832
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.3ms)
|
287833
|
+
Completed 200 OK in 37ms (Views: 30.6ms | ActiveRecord: 0.5ms)
|
287834
|
+
|
287835
|
+
|
287836
|
+
Started POST "/manage/structures/new" for 127.0.0.1 at 2012-06-22 12:11:17 +0300
|
287837
|
+
Processing by Sunrise::ManagerController#create as HTML
|
287838
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Aimbulance", "redirect_url"=>"", "slug"=>"", "parent_id"=>"", "kind"=>"1", "position"=>"2", "is_visible"=>"1"}, "commit"=>"Create Structure", "model_name"=>"structures"}
|
287839
|
+
[1m[35mUser Load (0.7ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287840
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287841
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287842
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287843
|
+
[1m[35mRole Load (0.3ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1
|
287844
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287845
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'aimbulance' OR `slug` LIKE 'aimbulance--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287846
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287847
|
+
[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 ('2012-06-22 09:11:17', 0, 1, 1, 1, NULL, 2, '', 2, 'aimbulance', 'Aimbulance', '2012-06-22 09:11:17')
|
287848
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
287849
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
287850
|
+
[1m[36m (52.2ms)[0m [1mCOMMIT[0m
|
287851
|
+
Redirected to http://www.example.com/manage/structures
|
287852
|
+
Completed 302 Found in 65ms (ActiveRecord: 0.0ms)
|
287853
|
+
|
287854
|
+
|
287855
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:17 +0300
|
287856
|
+
Processing by Sunrise::ManagerController#index as HTML
|
287857
|
+
Parameters: {"model_name"=>"structures"}
|
287858
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
287859
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287860
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287861
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287862
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
287863
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.2ms)
|
287864
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.4ms)
|
287865
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
287866
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (1.8ms)
|
287867
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.1ms)
|
287868
|
+
Completed 200 OK in 13ms (Views: 8.7ms | ActiveRecord: 1.2ms)
|
287869
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `structures`.`id` DESC LIMIT 1[0m
|
287870
|
+
|
287871
|
+
|
287872
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2012-06-22 12:11:17 +0300
|
287873
|
+
Processing by Sunrise::ManagerController#new as HTML
|
287874
|
+
Parameters: {"model_name"=>"structures"}
|
287875
|
+
Completed 401 Unauthorized in 0ms
|
287876
|
+
|
287877
|
+
|
287878
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:17 +0300
|
287879
|
+
Processing by Devise::SessionsController#new as HTML
|
287880
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.8ms)
|
287881
|
+
Completed 200 OK in 71ms (Views: 70.0ms | ActiveRecord: 0.0ms)
|
287882
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
287883
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
287884
|
+
[1m[35m (58.4ms)[0m TRUNCATE TABLE `assets`;
|
287885
|
+
[1m[36m (55.1ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
287886
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `headers`;
|
287887
|
+
[1m[36m (55.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
287888
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `posts`;
|
287889
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
287890
|
+
[1m[35m (55.3ms)[0m TRUNCATE TABLE `settings`;
|
287891
|
+
[1m[36m (121.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
287892
|
+
[1m[35m (77.3ms)[0m TRUNCATE TABLE `users`;
|
287893
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
287894
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287895
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing12@example.com' LIMIT 1[0m
|
287896
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:18', '2012-06-22 09:11:18', NULL, NULL, 'testing12@example.com', '47dbec52c4efc19386f4a6d39e471d7d60cf0a3bacd15832495cbdb242027d78e7ad18aeb951635983d397d8ea7e57c06729d3db60f66fe3d99e4e5ae2d18ff7', 0, NULL, NULL, NULL, 'Admin', 'hL5kcyKqbqpynRX8QdJN', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:18')
|
287897
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:18', 4, '2012-06-22 09:11:18', 1)[0m
|
287898
|
+
[1m[35m (47.1ms)[0m COMMIT
|
287899
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287900
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
287901
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
287902
|
+
[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 ('2012-06-22 09:11:18', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:18')
|
287903
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
287904
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
287905
|
+
[1m[36m (47.5ms)[0m [1mCOMMIT[0m
|
287906
|
+
[1m[35m (0.1ms)[0m BEGIN
|
287907
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
287908
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
287909
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2012-06-22 09:11:18', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:18')[0m
|
287910
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
287911
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287912
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `lft`
|
287913
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
287914
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287915
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287916
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287917
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287918
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
287919
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
287920
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
287921
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287922
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
287923
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
287924
|
+
[1m[35m (68.4ms)[0m COMMIT
|
287925
|
+
|
287926
|
+
|
287927
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
287928
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287929
|
+
[1m[35m (0.0ms)[0m COMMIT
|
287930
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287931
|
+
[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
|
287932
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
287933
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
287934
|
+
Parameters: {"model_name"=>"users"}
|
287935
|
+
[1m[35mRole Load (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287936
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287937
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287938
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
287939
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0[0m
|
287940
|
+
Sent data users_2012-01-01_16h00m00.xls (0.0ms)
|
287941
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
287942
|
+
|
287943
|
+
|
287944
|
+
Started GET "/manage/users/export.csv" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
287945
|
+
[1m[35m (0.0ms)[0m BEGIN
|
287946
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
287947
|
+
[1m[35m (0.0ms)[0m BEGIN
|
287948
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 2 WHERE `users`.`id` = 1[0m
|
287949
|
+
[1m[35m (0.0ms)[0m COMMIT
|
287950
|
+
Processing by Sunrise::ManagerController#export as CSV
|
287951
|
+
Parameters: {"model_name"=>"users"}
|
287952
|
+
[1m[36mRole Load (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287953
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287954
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287955
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
287956
|
+
[1m[35mUser Load (0.0ms)[0m SELECT `users`.* FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000 OFFSET 0
|
287957
|
+
Sent data users_2012-01-01_16h00m00.csv (0.0ms)
|
287958
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
287959
|
+
|
287960
|
+
|
287961
|
+
Started GET "/manage/users/export.json" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
287962
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287963
|
+
[1m[35m (0.0ms)[0m COMMIT
|
287964
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287965
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 3 WHERE `users`.`id` = 1
|
287966
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
287967
|
+
Processing by Sunrise::ManagerController#export as JSON
|
287968
|
+
Parameters: {"model_name"=>"users"}
|
287969
|
+
[1m[35mRole Load (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287970
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287971
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287972
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT `users`.* FROM `users` LIMIT 25 OFFSET 0[0m
|
287973
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
287974
|
+
[1m[35m (0.0ms)[0m BEGIN
|
287975
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT 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')[0m
|
287976
|
+
[1m[35m (0.0ms)[0m COMMIT
|
287977
|
+
|
287978
|
+
|
287979
|
+
Started GET "/manage/posts/export.csv" for 127.0.0.1 at 2012-01-01 16:00:00 UTC
|
287980
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287981
|
+
[1m[35m (0.0ms)[0m COMMIT
|
287982
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287983
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 4 WHERE `users`.`id` = 1
|
287984
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
287985
|
+
Processing by Sunrise::ManagerController#export as CSV
|
287986
|
+
Parameters: {"model_name"=>"posts"}
|
287987
|
+
[1m[35mRole Load (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287988
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
287989
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
287990
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
287991
|
+
[1m[36mPost Load (0.0ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE (`posts`.`id` >= 0) ORDER BY `posts`.`id` ASC LIMIT 1000 OFFSET 0[0m
|
287992
|
+
[1m[35mStructure Load (0.0ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` IN (2)
|
287993
|
+
Sent data posts_2012-01-01_16h00m00.csv (0.0ms)
|
287994
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
287995
|
+
|
287996
|
+
|
287997
|
+
Started GET "/manage/structures/export.xlsx" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
287998
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
287999
|
+
[1m[35m (0.0ms)[0m COMMIT
|
288000
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
288001
|
+
[1m[35m (0.0ms)[0m UPDATE `users` SET `sign_in_count` = 5 WHERE `users`.`id` = 1
|
288002
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
288003
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
288004
|
+
Parameters: {"model_name"=>"structures"}
|
288005
|
+
[1m[35mRole Load (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288006
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288007
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288008
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
288009
|
+
[1m[36mStructure Load (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`id` >= 0) ORDER BY `structures`.`id` ASC LIMIT 1000 OFFSET 0[0m
|
288010
|
+
Sent data structures_2012-01-01_16h00m00.xls (0.0ms)
|
288011
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
288012
|
+
|
288013
|
+
|
288014
|
+
Started GET "/manage/structures/export.xml" for 127.0.0.1 at 2012-01-01 18:00:00 +0200
|
288015
|
+
[1m[35m (0.0ms)[0m BEGIN
|
288016
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
288017
|
+
[1m[35m (0.0ms)[0m BEGIN
|
288018
|
+
[1m[36m (0.0ms)[0m [1mUPDATE `users` SET `sign_in_count` = 6 WHERE `users`.`id` = 1[0m
|
288019
|
+
[1m[35m (0.0ms)[0m COMMIT
|
288020
|
+
Processing by Sunrise::ManagerController#export as XML
|
288021
|
+
Parameters: {"model_name"=>"structures"}
|
288022
|
+
[1m[36mRole Load (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288023
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288024
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288025
|
+
[1m[35mStructure Load (0.0ms)[0m SELECT `structures`.* FROM `structures` LIMIT 25 OFFSET 0
|
288026
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
288027
|
+
|
288028
|
+
|
288029
|
+
Started GET "/manage/users/export.xlsx" for 127.0.0.1 at 2012-06-22 12:11:19 +0300
|
288030
|
+
Processing by Sunrise::ManagerController#export as XLSX
|
288031
|
+
Parameters: {"model_name"=>"users"}
|
288032
|
+
Completed 401 Unauthorized in 0ms
|
288033
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
288034
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
288035
|
+
[1m[36m (55.4ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
288036
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `audits`;
|
288037
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
288038
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `page_parts`;
|
288039
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
288040
|
+
[1m[35m (44.2ms)[0m TRUNCATE TABLE `roles`;
|
288041
|
+
[1m[36m (43.9ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
288042
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `structures`;
|
288043
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
288044
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
288045
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288046
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing13@example.com' LIMIT 1
|
288047
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:20', '2012-06-22 09:11:20', NULL, NULL, 'testing13@example.com', 'cc0e62aff6a53002bb23026e4ba9f32309bd7888ee78b8c35cb4c2747376658da3c7f757d15bbd7d2bdef2f09d0cd4ff98bda25aecff0ec95cf9a6804e3ebe5b', 0, NULL, NULL, NULL, 'Admin', 'aGRKRry1sWrebAbvx8gU', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:20')[0m
|
288048
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:20', 4, '2012-06-22 09:11:20', 1)
|
288049
|
+
[1m[36m (41.2ms)[0m [1mCOMMIT[0m
|
288050
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288051
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
288052
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
288053
|
+
[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 ('2012-06-22 09:11:20', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:20')[0m
|
288054
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
288055
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
288056
|
+
[1m[35m (102.5ms)[0m COMMIT
|
288057
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288058
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
288059
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
288060
|
+
[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 ('2012-06-22 09:11:20', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:20')
|
288061
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
288062
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288063
|
+
[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 `lft`[0m
|
288064
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
288065
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288066
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288067
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288068
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288069
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
288070
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288071
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288072
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288073
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288074
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288075
|
+
[1m[36m (55.4ms)[0m [1mCOMMIT[0m
|
288076
|
+
|
288077
|
+
|
288078
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2012-06-22 12:11:20 +0300
|
288079
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288080
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
288081
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288082
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:20', `current_sign_in_at` = '2012-06-22 09:11:20', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:20' WHERE `users`.`id` = 1[0m
|
288083
|
+
[1m[35m (48.3ms)[0m COMMIT
|
288084
|
+
Processing by Sunrise::ManagerController#show as HTML
|
288085
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288086
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
288087
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288088
|
+
[1m[36mRole Load (0.4ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288089
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288090
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288091
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.6ms)
|
288092
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
288093
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.0ms)
|
288094
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.3ms)
|
288095
|
+
Completed 200 OK in 23ms (Views: 11.7ms | ActiveRecord: 1.3ms)
|
288096
|
+
|
288097
|
+
|
288098
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2012-06-22 12:11:20 +0300
|
288099
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288100
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
288101
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288102
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:20', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:20' WHERE `users`.`id` = 1[0m
|
288103
|
+
[1m[35m (37.2ms)[0m COMMIT
|
288104
|
+
Processing by Sunrise::ManagerController#show as HTML
|
288105
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288106
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
288107
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288108
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288109
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288110
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288111
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.6ms)
|
288112
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
288113
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.0ms)
|
288114
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.3ms)
|
288115
|
+
Completed 200 OK in 15ms (Views: 9.4ms | ActiveRecord: 0.6ms)
|
288116
|
+
|
288117
|
+
|
288118
|
+
Started GET "/manage/structures/2" for 127.0.0.1 at 2012-06-22 12:11:20 +0300
|
288119
|
+
Processing by Sunrise::ManagerController#show as HTML
|
288120
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288121
|
+
Completed 401 Unauthorized in 0ms
|
288122
|
+
|
288123
|
+
|
288124
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:20 +0300
|
288125
|
+
Processing by Devise::SessionsController#new as HTML
|
288126
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.7ms)
|
288127
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
288128
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
288129
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
288130
|
+
[1m[35m (57.4ms)[0m TRUNCATE TABLE `assets`;
|
288131
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
288132
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `headers`;
|
288133
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
288134
|
+
[1m[35m (57.1ms)[0m TRUNCATE TABLE `posts`;
|
288135
|
+
[1m[36m (44.3ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
288136
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `settings`;
|
288137
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
288138
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `users`;
|
288139
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
288140
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288141
|
+
[1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing14@example.com' LIMIT 1[0m
|
288142
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:20', '2012-06-22 09:11:20', NULL, NULL, 'testing14@example.com', '32fa0fb93db1279c79887b72d51f66f8e1b144e118dcf9fe5343ad64373262f57695738fe6f94d4f38075d039038613829860f6d2cf33991e0e8a42f4541423b', 0, NULL, NULL, NULL, 'Admin', 'xEqyyu1p8aVoh3w94qWx', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:20')
|
288143
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:20', 4, '2012-06-22 09:11:20', 1)[0m
|
288144
|
+
[1m[35m (46.9ms)[0m COMMIT
|
288145
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288146
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
288147
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
288148
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2012-06-22 09:11:21', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:21')
|
288149
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
288150
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
288151
|
+
[1m[36m (49.1ms)[0m [1mCOMMIT[0m
|
288152
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288153
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
288154
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
288155
|
+
[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 ('2012-06-22 09:11:21', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:21')[0m
|
288156
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
288157
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
288158
|
+
[1m[35mSQL (0.6ms)[0m UPDATE `structures` SET `lft` = CASE WHEN `lft` BETWEEN 2 AND 2 THEN `lft` + 4 - 2 WHEN `lft` BETWEEN 3 AND 4 THEN `lft` + 2 - 3 ELSE `lft` END, `rgt` = CASE WHEN `rgt` BETWEEN 2 AND 2 THEN `rgt` + 4 - 2 WHEN `rgt` BETWEEN 3 AND 4 THEN `rgt` + 2 - 3 ELSE `rgt` END, `parent_id` = CASE WHEN id = 2 THEN 1 ELSE `parent_id` END ORDER BY `lft`
|
288159
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
288160
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288161
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
288162
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
288163
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
288164
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
288165
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
288166
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288167
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
288168
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
288169
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
288170
|
+
[1m[35m (49.6ms)[0m COMMIT
|
288171
|
+
|
288172
|
+
|
288173
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:21 +0300
|
288174
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288175
|
+
[1m[35m (0.1ms)[0m COMMIT
|
288176
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288177
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:21', `current_sign_in_at` = '2012-06-22 09:11:21', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:21' WHERE `users`.`id` = 1
|
288178
|
+
[1m[36m (92.4ms)[0m [1mCOMMIT[0m
|
288179
|
+
Processing by Sunrise::ManagerController#index as HTML
|
288180
|
+
Parameters: {"model_name"=>"structures"}
|
288181
|
+
[1m[35mRole Load (0.5ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288182
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288183
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288184
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`[0m
|
288185
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft
|
288186
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.2ms)
|
288187
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (4.1ms)
|
288188
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288189
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288190
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.2ms)
|
288191
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.4ms)
|
288192
|
+
Completed 200 OK in 21ms (Views: 13.6ms | ActiveRecord: 1.6ms)
|
288193
|
+
|
288194
|
+
|
288195
|
+
Started DELETE "/manage/structures/2/delete" for 127.0.0.1 at 2012-06-22 12:11:21 +0300
|
288196
|
+
Processing by Sunrise::ManagerController#destroy as HTML
|
288197
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288198
|
+
[1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
288199
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288200
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288201
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288202
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288203
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288204
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288205
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288206
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT id FROM `structures` WHERE (`lft` >= 2) FOR UPDATE[0m
|
288207
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM `structures` WHERE (`lft` > 2 AND `rgt` < 3)
|
288208
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `lft` = (`lft` - 2) WHERE (`lft` > 3) ORDER BY `lft`[0m
|
288209
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `structures` SET `rgt` = (`rgt` - 2) WHERE (`rgt` > 3) ORDER BY `lft`
|
288210
|
+
[1m[36mPagePart Load (0.4ms)[0m [1mSELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'[0m
|
288211
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`structure_id` = 2
|
288212
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM `structures` WHERE `structures`.`id` = 2[0m
|
288213
|
+
[1m[35m (52.8ms)[0m COMMIT
|
288214
|
+
Redirected to http://www.example.com/manage/structures
|
288215
|
+
Completed 302 Found in 81ms (ActiveRecord: 0.0ms)
|
288216
|
+
|
288217
|
+
|
288218
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:21 +0300
|
288219
|
+
Processing by Sunrise::ManagerController#index as HTML
|
288220
|
+
Parameters: {"model_name"=>"structures"}
|
288221
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
288222
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288223
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288224
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288225
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`[0m
|
288226
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.3ms)
|
288227
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.7ms)
|
288228
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
288229
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.1ms)
|
288230
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.5ms)
|
288231
|
+
Completed 200 OK in 16ms (Views: 9.9ms | ActiveRecord: 0.8ms)
|
288232
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288233
|
+
|
288234
|
+
|
288235
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:21 +0300
|
288236
|
+
Processing by Sunrise::ManagerController#index as HTML
|
288237
|
+
Parameters: {"model_name"=>"structures"}
|
288238
|
+
Completed 401 Unauthorized in 0ms
|
288239
|
+
|
288240
|
+
|
288241
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:21 +0300
|
288242
|
+
Processing by Devise::SessionsController#new as HTML
|
288243
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.8ms)
|
288244
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
288245
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
288246
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
288247
|
+
[1m[36m (53.8ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
288248
|
+
[1m[35m (66.1ms)[0m TRUNCATE TABLE `audits`;
|
288249
|
+
[1m[36m (66.3ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
288250
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `page_parts`;
|
288251
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
288252
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `roles`;
|
288253
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
288254
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `structures`;
|
288255
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
288256
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
288257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288258
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing15@example.com' LIMIT 1
|
288259
|
+
[1m[36mSQL (0.3ms)[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:22', '2012-06-22 09:11:22', NULL, NULL, 'testing15@example.com', 'c26c943f59228bcc08f7776ba96c7469607022e5ab829f3b99ef4901de6f512ffd902cf684b2f8f6eea00bf525f635cfb2749895fc81ca70f177aeef6e24053b', 0, NULL, NULL, NULL, 'Admin', 'kZQwDpskJu58X8MH9URo', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:22')[0m
|
288260
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:22', 4, '2012-06-22 09:11:22', 1)
|
288261
|
+
[1m[36m (46.7ms)[0m [1mCOMMIT[0m
|
288262
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288263
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
288264
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
288265
|
+
[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 ('2012-06-22 09:11:22', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:22')[0m
|
288266
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
288267
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
288268
|
+
[1m[35m (47.8ms)[0m COMMIT
|
288269
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288270
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
288271
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
288272
|
+
[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 ('2012-06-22 09:11:22', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:22')
|
288273
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
288274
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288275
|
+
[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 `lft`[0m
|
288276
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
288277
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288278
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288279
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288280
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288281
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
288282
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288283
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288284
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288285
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288286
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288287
|
+
[1m[36m (56.9ms)[0m [1mCOMMIT[0m
|
288288
|
+
|
288289
|
+
|
288290
|
+
Started GET "/manage/whatever/2/edit" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288291
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288292
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
288293
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288294
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:22', `current_sign_in_at` = '2012-06-22 09:11:22', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:22' WHERE `users`.`id` = 1[0m
|
288295
|
+
[1m[35m (171.9ms)[0m COMMIT
|
288296
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288297
|
+
Parameters: {"model_name"=>"whatever", "id"=>"2"}
|
288298
|
+
Completed 500 Internal Server Error in 5ms
|
288299
|
+
|
288300
|
+
|
288301
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288302
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288303
|
+
[1m[35m (0.2ms)[0m COMMIT
|
288304
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288305
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:22', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:22' WHERE `users`.`id` = 1
|
288306
|
+
[1m[36m (52.9ms)[0m [1mCOMMIT[0m
|
288307
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288308
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288309
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288310
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288311
|
+
[1m[35mRole Load (0.4ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288312
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288313
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288314
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.5ms)
|
288315
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (11.2ms)
|
288316
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (14.5ms)
|
288317
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288318
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.4ms)
|
288319
|
+
Completed 200 OK in 32ms (Views: 20.5ms | ActiveRecord: 1.3ms)
|
288320
|
+
|
288321
|
+
|
288322
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288323
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288324
|
+
[1m[35m (0.2ms)[0m COMMIT
|
288325
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288326
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:22', `current_sign_in_at` = '2012-06-22 09:11:22', `sign_in_count` = 3, `updated_at` = '2012-06-22 09:11:22' WHERE `users`.`id` = 1
|
288327
|
+
[1m[36m (49.3ms)[0m [1mCOMMIT[0m
|
288328
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288329
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288330
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288331
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288332
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288333
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288334
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288335
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.6ms)
|
288336
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (11.1ms)
|
288337
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (14.5ms)
|
288338
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288339
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (60.9ms)
|
288340
|
+
Completed 200 OK in 89ms (Views: 81.3ms | ActiveRecord: 0.5ms)
|
288341
|
+
|
288342
|
+
|
288343
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288344
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288345
|
+
[1m[35m (0.1ms)[0m COMMIT
|
288346
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288347
|
+
[1m[35m (0.4ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:22', `current_sign_in_at` = '2012-06-22 09:11:22', `sign_in_count` = 4, `updated_at` = '2012-06-22 09:11:22' WHERE `users`.`id` = 1
|
288348
|
+
[1m[36m (51.8ms)[0m [1mCOMMIT[0m
|
288349
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288350
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
288351
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288352
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288353
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288354
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288355
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288356
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288357
|
+
[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
|
288358
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (16.8ms)
|
288359
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (19.5ms)
|
288360
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288361
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.4ms)
|
288362
|
+
Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 1.1ms)
|
288363
|
+
|
288364
|
+
|
288365
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288366
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288367
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
288368
|
+
[1m[35m (0.0ms)[0m BEGIN
|
288369
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:22', `current_sign_in_at` = '2012-06-22 09:11:22', `sign_in_count` = 5, `updated_at` = '2012-06-22 09:11:22' WHERE `users`.`id` = 1[0m
|
288370
|
+
[1m[35m (53.4ms)[0m COMMIT
|
288371
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288372
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
288373
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
288374
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288375
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288376
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288377
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288378
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.6ms)
|
288379
|
+
[1m[35mPagePart Load (0.1ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
288380
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (5.5ms)
|
288381
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (9.1ms)
|
288382
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288383
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.3ms)
|
288384
|
+
Completed 200 OK in 24ms (Views: 15.1ms | ActiveRecord: 1.0ms)
|
288385
|
+
|
288386
|
+
|
288387
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288388
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288389
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288390
|
+
Completed 401 Unauthorized in 0ms
|
288391
|
+
|
288392
|
+
|
288393
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:22 +0300
|
288394
|
+
Processing by Devise::SessionsController#new as HTML
|
288395
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.7ms)
|
288396
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
288397
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
288398
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
288399
|
+
[1m[36m (69.6ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
288400
|
+
[1m[35m (66.0ms)[0m TRUNCATE TABLE `audits`;
|
288401
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
288402
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `page_parts`;
|
288403
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
288404
|
+
[1m[35m (144.4ms)[0m TRUNCATE TABLE `roles`;
|
288405
|
+
[1m[36m (120.7ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
288406
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `structures`;
|
288407
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
288408
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
288409
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288410
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing16@example.com' LIMIT 1
|
288411
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:23', '2012-06-22 09:11:23', NULL, NULL, 'testing16@example.com', 'db38f884d2f676773470c13e051ed2e7306f4c38a835cfd5ef3c247847793403c52e56d62b1d96925cc81c7d48654a0761c6470f2a6533d435524af9dc3072f7', 0, NULL, NULL, NULL, 'Admin', 'LAhV8XyMhamfySoL9eL4', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:23')[0m
|
288412
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:23', 4, '2012-06-22 09:11:23', 1)
|
288413
|
+
[1m[36m (45.0ms)[0m [1mCOMMIT[0m
|
288414
|
+
|
288415
|
+
|
288416
|
+
Started GET "/manage/whatever/new" for 127.0.0.1 at 2012-06-22 12:11:23 +0300
|
288417
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288418
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
288419
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288420
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:23', `current_sign_in_at` = '2012-06-22 09:11:23', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:23' WHERE `users`.`id` = 1[0m
|
288421
|
+
[1m[35m (36.2ms)[0m COMMIT
|
288422
|
+
Processing by Sunrise::ManagerController#new as HTML
|
288423
|
+
Parameters: {"model_name"=>"whatever"}
|
288424
|
+
Completed 500 Internal Server Error in 4ms
|
288425
|
+
|
288426
|
+
|
288427
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2012-06-22 12:11:23 +0300
|
288428
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288429
|
+
[1m[35m (0.2ms)[0m COMMIT
|
288430
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288431
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:23', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:23' WHERE `users`.`id` = 1
|
288432
|
+
[1m[36m (37.1ms)[0m [1mCOMMIT[0m
|
288433
|
+
Processing by Sunrise::ManagerController#new as HTML
|
288434
|
+
Parameters: {"model_name"=>"structures"}
|
288435
|
+
[1m[35mRole Load (0.5ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288436
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288437
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288438
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288439
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (9.0ms)
|
288440
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.1ms)
|
288441
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288442
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.3ms)
|
288443
|
+
Completed 200 OK in 22ms (Views: 16.4ms | ActiveRecord: 0.5ms)
|
288444
|
+
|
288445
|
+
|
288446
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2012-06-22 12:11:23 +0300
|
288447
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288448
|
+
[1m[35m (0.1ms)[0m COMMIT
|
288449
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288450
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:23', `current_sign_in_at` = '2012-06-22 09:11:23', `sign_in_count` = 3, `updated_at` = '2012-06-22 09:11:23' WHERE `users`.`id` = 1
|
288451
|
+
[1m[36m (40.7ms)[0m [1mCOMMIT[0m
|
288452
|
+
Processing by Sunrise::ManagerController#new as HTML
|
288453
|
+
Parameters: {"model_name"=>"structures"}
|
288454
|
+
[1m[35mRole Load (0.3ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288455
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288456
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288457
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288458
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (9.0ms)
|
288459
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.2ms)
|
288460
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288461
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_new.html.erb (0.3ms)
|
288462
|
+
Completed 200 OK in 24ms (Views: 17.2ms | ActiveRecord: 0.3ms)
|
288463
|
+
|
288464
|
+
|
288465
|
+
Started GET "/manage/structures/new" for 127.0.0.1 at 2012-06-22 12:11:23 +0300
|
288466
|
+
Processing by Sunrise::ManagerController#new as HTML
|
288467
|
+
Parameters: {"model_name"=>"structures"}
|
288468
|
+
Completed 401 Unauthorized in 0ms
|
288469
|
+
|
288470
|
+
|
288471
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:23 +0300
|
288472
|
+
Processing by Devise::SessionsController#new as HTML
|
288473
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.7ms)
|
288474
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
288475
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
288476
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
288477
|
+
[1m[36m (60.9ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
288478
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `audits`;
|
288479
|
+
[1m[36m (44.3ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
288480
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `page_parts`;
|
288481
|
+
[1m[36m (43.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
288482
|
+
[1m[35m (73.5ms)[0m TRUNCATE TABLE `roles`;
|
288483
|
+
[1m[36m (81.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
288484
|
+
[1m[35m (43.9ms)[0m TRUNCATE TABLE `structures`;
|
288485
|
+
[1m[36m (44.4ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
288486
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
288487
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288488
|
+
[1m[35mUser Exists (0.4ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing17@example.com' LIMIT 1
|
288489
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:24', '2012-06-22 09:11:24', NULL, NULL, 'testing17@example.com', 'a801fcf1817ad124c1876c6e11c40b6aae6ab5fbef85b23d56bdb1b60930e89092ae1a9c741e513e415dd3aae83f7fc2a064ee3d3ad053b7c49b0395936eb8e4', 0, NULL, NULL, NULL, 'Admin', 'hJsastA3YHEBb3RwzaST', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:24')[0m
|
288490
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:24', 4, '2012-06-22 09:11:24', 1)
|
288491
|
+
[1m[36m (42.0ms)[0m [1mCOMMIT[0m
|
288492
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288493
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
288494
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
288495
|
+
[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 ('2012-06-22 09:11:24', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:24')[0m
|
288496
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
288497
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
288498
|
+
[1m[35m (36.3ms)[0m COMMIT
|
288499
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288500
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
288501
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
288502
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2012-06-22 09:11:24', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:24')
|
288503
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
288504
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288505
|
+
[1m[36mSQL (0.3ms)[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 `lft`[0m
|
288506
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
288507
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288508
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288509
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288510
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288511
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
288512
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
288513
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288514
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288515
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288516
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288517
|
+
[1m[36m (38.4ms)[0m [1mCOMMIT[0m
|
288518
|
+
|
288519
|
+
|
288520
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288521
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288522
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
288523
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288524
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:24', `current_sign_in_at` = '2012-06-22 09:11:24', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2012-06-22 09:11:24' WHERE `users`.`id` = 1[0m
|
288525
|
+
[1m[35m (37.6ms)[0m COMMIT
|
288526
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288527
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288528
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
288529
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288530
|
+
[1m[36mRole Load (0.3ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288531
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288532
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288533
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288534
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (10.8ms)
|
288535
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (13.2ms)
|
288536
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.5ms)
|
288537
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.3ms)
|
288538
|
+
Completed 200 OK in 24ms (Views: 18.6ms | ActiveRecord: 1.1ms)
|
288539
|
+
|
288540
|
+
|
288541
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288542
|
+
Processing by Sunrise::ManagerController#update as HTML
|
288543
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Aimbulance updated", "redirect_url"=>"", "slug"=>"structure", "parent_id"=>"1", "kind"=>"2", "position"=>"1", "is_visible"=>"0"}, "commit"=>"Update Structure", "model_name"=>"structures", "id"=>"2"}
|
288544
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
288545
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
288546
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288547
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288548
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288549
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288550
|
+
[1m[35mRole Load (0.4ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1
|
288551
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288552
|
+
[1m[35m (0.4ms)[0m UPDATE `structures` SET `title` = 'Aimbulance updated', `redirect_url` = '', `kind` = 2, `position` = 1, `is_visible` = 0, `updated_at` = '2012-06-22 09:11:24' WHERE `structures`.`id` = 2
|
288553
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288554
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288555
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288556
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288557
|
+
[1m[36m (39.2ms)[0m [1mCOMMIT[0m
|
288558
|
+
Redirected to http://www.example.com/manage/structures
|
288559
|
+
Completed 302 Found in 57ms (ActiveRecord: 0.0ms)
|
288560
|
+
|
288561
|
+
|
288562
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288563
|
+
Processing by Sunrise::ManagerController#index as HTML
|
288564
|
+
Parameters: {"model_name"=>"structures"}
|
288565
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
288566
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288567
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288568
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288569
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
288570
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
288571
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.2ms)
|
288572
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (4.0ms)
|
288573
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.4ms)
|
288574
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (59.1ms)
|
288575
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (61.3ms)
|
288576
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (61.6ms)
|
288577
|
+
Completed 200 OK in 76ms (Views: 70.5ms | ActiveRecord: 1.7ms)
|
288578
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288579
|
+
|
288580
|
+
|
288581
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288582
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288583
|
+
[1m[35m (0.1ms)[0m COMMIT
|
288584
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288585
|
+
[1m[35m (0.5ms)[0m UPDATE `users` SET `current_sign_in_at` = '2012-06-22 09:11:24', `sign_in_count` = 2, `updated_at` = '2012-06-22 09:11:24' WHERE `users`.`id` = 1
|
288586
|
+
[1m[36m (36.3ms)[0m [1mCOMMIT[0m
|
288587
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288588
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288589
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288590
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288591
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288592
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288593
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288594
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288595
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (9.2ms)
|
288596
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (11.5ms)
|
288597
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.6ms)
|
288598
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.3ms)
|
288599
|
+
Completed 200 OK in 22ms (Views: 16.8ms | ActiveRecord: 0.7ms)
|
288600
|
+
|
288601
|
+
|
288602
|
+
Started PUT "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288603
|
+
Processing by Sunrise::ManagerController#update as HTML
|
288604
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"title"=>"Aimbulance updated", "redirect_url"=>"", "slug"=>"structure", "parent_id"=>"1", "kind"=>"2", "position"=>"1", "is_visible"=>"0"}, "commit"=>"Update Structure", "model_name"=>"structures", "id"=>"2"}
|
288605
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
288606
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288607
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288608
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288609
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288610
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288611
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1[0m
|
288612
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288613
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288614
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288615
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288616
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288617
|
+
[1m[36m (44.0ms)[0m [1mCOMMIT[0m
|
288618
|
+
Redirected to http://www.example.com/manage/structures
|
288619
|
+
Completed 302 Found in 58ms (ActiveRecord: 0.0ms)
|
288620
|
+
|
288621
|
+
|
288622
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288623
|
+
Processing by Sunrise::ManagerController#index as HTML
|
288624
|
+
Parameters: {"model_name"=>"structures"}
|
288625
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
288626
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288627
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288628
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288629
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
288630
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
288631
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.1ms)
|
288632
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (3.4ms)
|
288633
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.3ms)
|
288634
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.2ms)
|
288635
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (1.7ms)
|
288636
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.0ms)
|
288637
|
+
Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.9ms)
|
288638
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288639
|
+
[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
|
288640
|
+
[1m[35mPagePart Exists (0.4ms)[0m SELECT 1 FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'main' AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1
|
288641
|
+
[1m[36mPagePart Exists (0.4ms)[0m [1mSELECT 1 FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'sidebar' AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1[0m
|
288642
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Main', '2012-06-22 09:11:24', 'main', 2, 'Structure', '2012-06-22 09:11:24')
|
288643
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `page_parts` (`content`, `created_at`, `key`, `partable_id`, `partable_type`, `updated_at`) VALUES ('Sidebar', '2012-06-22 09:11:24', 'sidebar', 2, 'Structure', '2012-06-22 09:11:24')[0m
|
288644
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288645
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
288646
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
288647
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
288648
|
+
[1m[35m (41.7ms)[0m COMMIT
|
288649
|
+
|
288650
|
+
|
288651
|
+
Started GET "/manage/pages/2/edit" for 127.0.0.1 at 2012-06-22 12:11:24 +0300
|
288652
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288653
|
+
[1m[35m (0.1ms)[0m COMMIT
|
288654
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288655
|
+
[1m[35m (0.3ms)[0m UPDATE `users` SET `last_sign_in_at` = '2012-06-22 09:11:24', `current_sign_in_at` = '2012-06-22 09:11:24', `sign_in_count` = 3, `updated_at` = '2012-06-22 09:11:24' WHERE `users`.`id` = 1
|
288656
|
+
[1m[36m (49.7ms)[0m [1mCOMMIT[0m
|
288657
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288658
|
+
Parameters: {"model_name"=>"pages", "id"=>"2"}
|
288659
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1
|
288660
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288661
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288662
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288663
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288664
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.3ms)
|
288665
|
+
[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
|
288666
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_field.html.erb (5.5ms)
|
288667
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_form.html.erb (7.9ms)
|
288668
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (3.0ms)
|
288669
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/_header_edit.html.erb (0.3ms)
|
288670
|
+
Completed 200 OK in 19ms (Views: 13.3ms | ActiveRecord: 1.2ms)
|
288671
|
+
|
288672
|
+
|
288673
|
+
Started PUT "/manage/pages/2/edit" for 127.0.0.1 at 2012-06-22 12:11:25 +0300
|
288674
|
+
Processing by Sunrise::ManagerController#update as HTML
|
288675
|
+
Parameters: {"utf8"=>"✓", "parent_id"=>"", "parent_type"=>"", "structure"=>{"main"=>"Main updated", "sidebar"=>"Sidebar updated"}, "commit"=>"Update Structure", "model_name"=>"pages", "id"=>"2"}
|
288676
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
288677
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = '2' LIMIT 1[0m
|
288678
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288679
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288680
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288681
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288682
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1
|
288683
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288684
|
+
[1m[35mPagePart Load (0.3ms)[0m SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`partable_id` = 2 AND `page_parts`.`partable_type` = 'Structure'
|
288685
|
+
[1m[36mPagePart Exists (0.4ms)[0m [1mSELECT 1 FROM `page_parts` WHERE (`page_parts`.`key` = BINARY 'main' AND `page_parts`.`id` != 1 AND `page_parts`.`partable_type` = 'Structure' AND `page_parts`.`partable_id` = 2) LIMIT 1[0m
|
288686
|
+
[1m[35mPagePart Exists (0.2ms)[0m SELECT 1 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
|
288687
|
+
[1m[36m (0.3ms)[0m [1mUPDATE `page_parts` SET `content` = 'Main updated', `updated_at` = '2012-06-22 09:11:25' WHERE `page_parts`.`id` = 1[0m
|
288688
|
+
[1m[35m (0.2ms)[0m UPDATE `page_parts` SET `content` = 'Sidebar updated', `updated_at` = '2012-06-22 09:11:25' WHERE `page_parts`.`id` = 2
|
288689
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
288690
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288691
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
288692
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
288693
|
+
[1m[36m (45.8ms)[0m [1mCOMMIT[0m
|
288694
|
+
Redirected to http://www.example.com/manage/structures
|
288695
|
+
Completed 302 Found in 63ms (ActiveRecord: 0.0ms)
|
288696
|
+
|
288697
|
+
|
288698
|
+
Started GET "/manage/structures" for 127.0.0.1 at 2012-06-22 12:11:25 +0300
|
288699
|
+
Processing by Sunrise::ManagerController#index as HTML
|
288700
|
+
Parameters: {"model_name"=>"structures"}
|
288701
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
288702
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288703
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
288704
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
288705
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
288706
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 1 ORDER BY lft[0m
|
288707
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (1.1ms)
|
288708
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/manager/structures/tree/_record.html.erb (3.4ms)
|
288709
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (64.2ms)
|
288710
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_parent.html.erb (0.4ms)
|
288711
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_filter.html.erb (2.2ms)
|
288712
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_header.html.erb (2.4ms)
|
288713
|
+
Completed 200 OK in 77ms (Views: 73.1ms | ActiveRecord: 0.6ms)
|
288714
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
288715
|
+
[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
|
288716
|
+
|
288717
|
+
|
288718
|
+
Started GET "/manage/structures/2/edit" for 127.0.0.1 at 2012-06-22 12:11:25 +0300
|
288719
|
+
Processing by Sunrise::ManagerController#edit as HTML
|
288720
|
+
Parameters: {"model_name"=>"structures", "id"=>"2"}
|
288721
|
+
Completed 401 Unauthorized in 0ms
|
288722
|
+
|
288723
|
+
|
288724
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2012-06-22 12:11:25 +0300
|
288725
|
+
Processing by Devise::SessionsController#new as HTML
|
288726
|
+
Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.7ms)
|
288727
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
288728
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
288729
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
288730
|
+
[1m[35m (98.6ms)[0m TRUNCATE TABLE `assets`;
|
288731
|
+
[1m[36m (54.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
288732
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `headers`;
|
288733
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
288734
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `posts`;
|
288735
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
288736
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `settings`;
|
288737
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
288738
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `users`;
|
288739
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
288740
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
288741
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
288742
|
+
[1m[35m (54.2ms)[0m TRUNCATE TABLE `assets`;
|
288743
|
+
[1m[36m (54.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
288744
|
+
[1m[35m (55.3ms)[0m TRUNCATE TABLE `headers`;
|
288745
|
+
[1m[36m (99.4ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
288746
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `posts`;
|
288747
|
+
[1m[36m (66.0ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
288748
|
+
[1m[35m (135.4ms)[0m TRUNCATE TABLE `settings`;
|
288749
|
+
[1m[36m (118.9ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
288750
|
+
[1m[35m (144.6ms)[0m TRUNCATE TABLE `users`;
|
288751
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
288752
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288753
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing18@example.com' LIMIT 1[0m
|
288754
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:27', '2012-06-22 09:11:27', NULL, NULL, 'testing18@example.com', '1f44923797783d36ac869348b53995c116f7616d8bc9e193cd1d3fcafb6a1553cc6a0d944c3c90fa8a616e7c25511cd1f81175696ef7b51ba7e08f140baa6d8c', 0, NULL, NULL, NULL, 'Test', 'V1nVcvX9pQiKg27qpD7E', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:27')
|
288755
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:27', 1, '2012-06-22 09:11:27', 1)[0m
|
288756
|
+
[1m[35m (94.6ms)[0m COMMIT
|
288757
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288758
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `assets` (`assetable_id`, `assetable_type`, `created_at`, `data_content_type`, `data_file_name`, `data_file_size`, `guid`, `height`, `locale`, `sort_order`, `type`, `updated_at`, `user_id`, `width`) VALUES (1, 'User', '2012-06-22 09:11:27', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:27', NULL, 50)
|
288759
|
+
[1m[36m (108.6ms)[0m [1mCOMMIT[0m
|
288760
|
+
[1m[35m (0.3ms)[0m BEGIN
|
288761
|
+
[1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing19@example.com' LIMIT 1[0m
|
288762
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:28', '2012-06-22 09:11:28', NULL, NULL, 'testing19@example.com', '6788649b682e7cb8206df052ffa972e19e1daf7675d4ccb93f93121dc97013d5c0a1f40e0e1c6a6be5462e069138798cb522aee11a30c64517f1fd2086b4929d', 0, NULL, NULL, NULL, 'Test', 'MJFi3hVYiitDjcq5zUWx', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:28')
|
288763
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:28', 1, '2012-06-22 09:11:28', 2)[0m
|
288764
|
+
[1m[35m (89.2ms)[0m COMMIT
|
288765
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288766
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing20@example.com' LIMIT 1
|
288767
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:29', '2012-06-22 09:11:29', NULL, NULL, 'testing20@example.com', '60bce353c4a5dcdb5f1c855dd74a677763f229d6c3b2f9f37e48999e65a12b62472c8d354ea3eadd55525df7aeb1ddd34275205f1f90597fc77c2b876e57fa54', 0, NULL, NULL, NULL, 'Test', 'UuWJ696qAepv57jTjx3N', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:29')[0m
|
288768
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:29', 1, '2012-06-22 09:11:29', 3)
|
288769
|
+
[1m[36m (70.4ms)[0m [1mCOMMIT[0m
|
288770
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288771
|
+
[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 (3, 'User', '2012-06-22 09:11:29', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:29', NULL, 50)[0m
|
288772
|
+
[1m[35m (60.4ms)[0m COMMIT
|
288773
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288774
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing21@example.com' LIMIT 1
|
288775
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:29', '2012-06-22 09:11:29', NULL, NULL, 'testing21@example.com', '45ea1418cded874387ecc5b5f99596e37de944c27b357efb6e7493129e32ad81a83462ac9d74de4f51e47b5c3a3353dfeea456b7165aa8b858a41555fff05073', 0, NULL, NULL, NULL, 'Test', 'vedjxt3qpnQXazzn7QAU', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:29')[0m
|
288776
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:29', 1, '2012-06-22 09:11:29', 4)
|
288777
|
+
[1m[36m (89.6ms)[0m [1mCOMMIT[0m
|
288778
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288779
|
+
[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', '2012-06-22 09:11:29', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:29', NULL, 50)[0m
|
288780
|
+
[1m[35m (98.4ms)[0m COMMIT
|
288781
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288782
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing22@example.com' LIMIT 1
|
288783
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:30', '2012-06-22 09:11:30', NULL, NULL, 'testing22@example.com', 'c104326ca660d6850639ac119d00df905449c66f087258ce2d2e6ac970bfd6179d1dc5f1e9646c98289dee858bfddebf3fb7faa1b2ee595b12fd9d0f96b6e5ac', 0, NULL, NULL, NULL, 'Test', 'y8VsgXJUGXepUHmxvuPo', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:30')[0m
|
288784
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:30', 1, '2012-06-22 09:11:30', 5)
|
288785
|
+
[1m[36m (79.6ms)[0m [1mCOMMIT[0m
|
288786
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288787
|
+
[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 (5, 'User', '2012-06-22 09:11:30', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:30', NULL, 50)[0m
|
288788
|
+
[1m[35m (47.1ms)[0m COMMIT
|
288789
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288790
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing23@example.com' LIMIT 1
|
288791
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:30', '2012-06-22 09:11:30', NULL, NULL, 'testing23@example.com', 'bf7a7a3743d69a299a63a573c8ae0987f499df18080da077e8004e54451112ee2944e6a801e732245226dad63394efed0c663874997bdd03386ece0c57d910d5', 0, NULL, NULL, NULL, 'Test', 'YxvGqPjAJiLRDWEqUcjW', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:30')[0m
|
288792
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:30', 1, '2012-06-22 09:11:30', 6)
|
288793
|
+
[1m[36m (67.2ms)[0m [1mCOMMIT[0m
|
288794
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288795
|
+
[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 (6, 'User', '2012-06-22 09:11:30', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:30', NULL, 50)[0m
|
288796
|
+
[1m[35m (152.7ms)[0m COMMIT
|
288797
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288798
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing24@example.com' LIMIT 1
|
288799
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:31', '2012-06-22 09:11:31', NULL, NULL, 'testing24@example.com', 'd1eef738e8f02b8d2ce43a7ba7435c4a103244a567fb9d1965dda88bbbc9f465d3f2e80e8dc656b214725167a67916917652ab96b02de7ad5add816db9ad6d50', 0, NULL, NULL, NULL, 'Test', 'VsyFfyx5L6Aq7bL8q8Cm', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:31')[0m
|
288800
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:31', 1, '2012-06-22 09:11:31', 7)
|
288801
|
+
[1m[36m (59.7ms)[0m [1mCOMMIT[0m
|
288802
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288803
|
+
[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 (7, 'User', '2012-06-22 09:11:31', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:31', NULL, 50)[0m
|
288804
|
+
[1m[35m (48.4ms)[0m COMMIT
|
288805
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288806
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing25@example.com' LIMIT 1
|
288807
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:31', '2012-06-22 09:11:31', NULL, NULL, 'testing25@example.com', '3b99bf127921b615833dca38153db94609618561756e05fbb22b43078052c7a0cc1b45154e84c413ea8b5ceb5bda7e5a5e0a4f4a33877bc31af4790942859102', 0, NULL, NULL, NULL, 'Test', 'YesWEKndaSyz6TwhE5Tn', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:31')[0m
|
288808
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:31', 1, '2012-06-22 09:11:31', 8)
|
288809
|
+
[1m[36m (93.7ms)[0m [1mCOMMIT[0m
|
288810
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288811
|
+
[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 (8, 'User', '2012-06-22 09:11:31', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:31', NULL, 50)[0m
|
288812
|
+
[1m[35m (84.1ms)[0m COMMIT
|
288813
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288814
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing26@example.com' LIMIT 1
|
288815
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:32', '2012-06-22 09:11:32', NULL, NULL, 'testing26@example.com', 'a281f441d1fdb9f3d96e66c8c7c0d7a4e56b726f4115fd197f013d7a1929b75a6887218077e1cd1d8529025a7a4579ae5bff943959eba2f5cb34732f8645f2ee', 0, NULL, NULL, NULL, 'Test', 'x4A2udsBvbS6rqR3yZNE', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:32')[0m
|
288816
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:32', 1, '2012-06-22 09:11:32', 9)
|
288817
|
+
[1m[36m (99.0ms)[0m [1mCOMMIT[0m
|
288818
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288819
|
+
[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 (9, 'User', '2012-06-22 09:11:32', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:32', NULL, 50)[0m
|
288820
|
+
[1m[35m (79.4ms)[0m COMMIT
|
288821
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288822
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing27@example.com' LIMIT 1
|
288823
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:32', '2012-06-22 09:11:32', NULL, NULL, 'testing27@example.com', '40214a1fa6ba1163d4b0960d3753edd190546a184898923b8d9cb6ffb9e5785941b97908b1f3c125489587d40ed77b07587b3558006d623c96365eb04afb9fd0', 0, NULL, NULL, NULL, 'Test', 'oqVpqYsTfEHPjG7N5Ssj', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:32')[0m
|
288824
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:32', 1, '2012-06-22 09:11:32', 10)
|
288825
|
+
[1m[36m (68.2ms)[0m [1mCOMMIT[0m
|
288826
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288827
|
+
[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', '2012-06-22 09:11:32', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:32', NULL, 50)[0m
|
288828
|
+
[1m[35m (49.8ms)[0m COMMIT
|
288829
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288830
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing28@example.com' LIMIT 1
|
288831
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:33', '2012-06-22 09:11:33', NULL, NULL, 'testing28@example.com', '9c1c066f1e19c0e0bd2c2a1c8436194a683ece6e49d388320e8b347707b82a3769647cf3e943c3387d7f72cecfeb84c7eab15bf85f88f131a910a360f066aee5', 0, NULL, NULL, NULL, 'Test', 'kmWKmUUP92GXKupy6uCZ', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:33')[0m
|
288832
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:33', 1, '2012-06-22 09:11:33', 11)
|
288833
|
+
[1m[36m (54.8ms)[0m [1mCOMMIT[0m
|
288834
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288835
|
+
[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 (11, 'User', '2012-06-22 09:11:33', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:33', NULL, 50)[0m
|
288836
|
+
[1m[35m (59.4ms)[0m COMMIT
|
288837
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288838
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing29@example.com' LIMIT 1
|
288839
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:33', '2012-06-22 09:11:33', NULL, NULL, 'testing29@example.com', 'c3e526d47bf7931eb5f8306a0208ad0f7d0f20fe599ab2a0f4d0c71139a40d8cef5a3d61997d0b0033bff045c266d2d1805fb534a3cb2040de20dea198170d32', 0, NULL, NULL, NULL, 'Test', 'T5CqSkGxRbUTZpqPBb1o', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:33')[0m
|
288840
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:33', 1, '2012-06-22 09:11:33', 12)
|
288841
|
+
[1m[36m (106.4ms)[0m [1mCOMMIT[0m
|
288842
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288843
|
+
[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 (12, 'User', '2012-06-22 09:11:33', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:33', NULL, 50)[0m
|
288844
|
+
[1m[35m (47.1ms)[0m COMMIT
|
288845
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288846
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
288847
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288848
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing30@example.com' LIMIT 1
|
288849
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:34', '2012-06-22 09:11:34', NULL, NULL, 'testing30@example.com', 'a0c8de8614706c6ae42d2708a46c59a30b4f42290dc1ceb3578ed8e1e55915c86724403935993e237086a817753de88eabea2f817d73902b5f40b44a4b7553fc', 0, NULL, NULL, NULL, 'Test', 'CxhW5pzzjvPZpfxxypkC', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:34')[0m
|
288850
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:34', 1, '2012-06-22 09:11:34', 13)
|
288851
|
+
[1m[36m (60.6ms)[0m [1mCOMMIT[0m
|
288852
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288853
|
+
[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 (13, 'User', '2012-06-22 09:11:34', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:34', NULL, 50)[0m
|
288854
|
+
[1m[35m (50.0ms)[0m COMMIT
|
288855
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
288856
|
+
[1m[35mUser Exists (0.7ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing31@example.com' LIMIT 1
|
288857
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:34', '2012-06-22 09:11:34', NULL, NULL, 'testing31@example.com', '3924a721da9bba9638134fb16d7b477ddbfb87cfa9aaa7bc77d44617443aa96534b17a5d810dfba1745053dec0990be5f85adaadf457a68270a44f07d368af3b', 0, NULL, NULL, NULL, 'Test', 'guA9mC9xw6yyzKqsuo2n', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:34')[0m
|
288858
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:34', 1, '2012-06-22 09:11:34', 14)
|
288859
|
+
[1m[36m (72.4ms)[0m [1mCOMMIT[0m
|
288860
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288861
|
+
[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', '2012-06-22 09:11:34', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:34', NULL, 50)[0m
|
288862
|
+
[1m[35m (41.0ms)[0m COMMIT
|
288863
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288864
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing32@example.com' LIMIT 1
|
288865
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:34', '2012-06-22 09:11:35', NULL, NULL, 'testing32@example.com', 'df3933d49d99a5349fadc5e370feb9b4d0c5db5adc64624772ee8491a62c2508b2a46497b8d4dd2f18b1c61d35bc224f5cca71795a70f913f5509575572d3431', 0, NULL, NULL, NULL, 'Test', '3Cz5KmEADxZfs6fdc7gY', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:35')[0m
|
288866
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:35', 1, '2012-06-22 09:11:35', 15)
|
288867
|
+
[1m[36m (89.9ms)[0m [1mCOMMIT[0m
|
288868
|
+
[1m[35m (0.3ms)[0m BEGIN
|
288869
|
+
[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 (15, 'User', '2012-06-22 09:11:35', 'image/png', 'rails.png', 6428, NULL, 64, 0, 0, 'Avatar', '2012-06-22 09:11:35', NULL, 50)[0m
|
288870
|
+
[1m[35m (50.0ms)[0m COMMIT
|
288871
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288872
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
288873
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
288874
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
288875
|
+
[1m[36m (63.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
288876
|
+
[1m[35m (55.3ms)[0m TRUNCATE TABLE `audits`;
|
288877
|
+
[1m[36m (55.1ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
288878
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `page_parts`;
|
288879
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
288880
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `roles`;
|
288881
|
+
[1m[36m (55.3ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
288882
|
+
[1m[35m (66.0ms)[0m TRUNCATE TABLE `structures`;
|
288883
|
+
[1m[36m (55.3ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
288884
|
+
[1m[35m (0.3ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
288885
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
288886
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
288887
|
+
[1m[36m (56.3ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
288888
|
+
[1m[35m (139.2ms)[0m TRUNCATE TABLE `audits`;
|
288889
|
+
[1m[36m (81.3ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
288890
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `page_parts`;
|
288891
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
288892
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `roles`;
|
288893
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
288894
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `structures`;
|
288895
|
+
[1m[36m (43.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
288896
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
288897
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288898
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing33@example.com' LIMIT 1
|
288899
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:36', '2012-06-22 09:11:36', NULL, NULL, 'testing33@example.com', '034869b78dae60c698ca0c46b3b87769f958b265afa932bb44973bf2a4c61f3d2f32b40e761abe54b69f5dcaedb6164e2e5d854b9cf316170dec7b9e8ecad918', 0, NULL, NULL, NULL, 'Test', 'NW6TTayzHP4jpRYhjsEv', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:36')[0m
|
288900
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:36', 1, '2012-06-22 09:11:36', 1)
|
288901
|
+
[1m[36m (44.3ms)[0m [1mCOMMIT[0m
|
288902
|
+
[1m[35m (0.1ms)[0m BEGIN
|
288903
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing34@example.com' LIMIT 1[0m
|
288904
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:36', '2012-06-22 09:11:36', NULL, NULL, 'testing34@example.com', 'b77c5fcda369f73489b8d5f19226d6152b480a06dcef7670f04aa19bb3ee8a0e162ea396e0686b2f23846822e94011eedd6104f17c7a7a424792b8b0ba27d89f', 0, NULL, NULL, NULL, 'Test', '4yAVZrzW3HFTsBQAXx3t', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:36')
|
288905
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:36', 1, '2012-06-22 09:11:36', 2)[0m
|
288906
|
+
[1m[35m (69.8ms)[0m COMMIT
|
288907
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288908
|
+
[1m[35mUser Exists (0.6ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing35@example.com' LIMIT 1
|
288909
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:37', '2012-06-22 09:11:37', NULL, NULL, 'testing35@example.com', '091462e028cc5ce110c6bce590821dd235077bf2c212e428f5647156ef4436c87a59c620f9acf01f96264ee6cb91d7d1215097a17b6217f86057287577706436', 0, NULL, NULL, NULL, 'Test', 'ax82t6diuvjDdWZuhot3', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:37')[0m
|
288910
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:37', 1, '2012-06-22 09:11:37', 3)
|
288911
|
+
[1m[36m (54.8ms)[0m [1mCOMMIT[0m
|
288912
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288913
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing36@example.com' LIMIT 1[0m
|
288914
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `users` (`confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:38', '2012-06-22 09:11:38', NULL, NULL, 'testing36@example.com', 'e5e572030587b0e84a00a5ef5c7ce06834abc635b1ef51b6faabb1519f8d39488369d0437d73a7126d79fbaf37580c21e851b20f31f67be9dbd2aa049ed470a3', 0, NULL, NULL, NULL, 'Test', 'T9ftxxFsr94MKapvFb2P', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:38')
|
288915
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:38', 1, '2012-06-22 09:11:38', 4)[0m
|
288916
|
+
[1m[35m (255.5ms)[0m COMMIT
|
288917
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288918
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing37@example.com' LIMIT 1
|
288919
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:38', '2012-06-22 09:11:38', NULL, NULL, 'testing37@example.com', '46388403fa9fc72eba628ae3056d16e1e916f2665c5ac496eeac1639a807870b1fa57476da7faef9d2d8c4c5bab9d92619dd719bd4cf1489563baea07bd9388d', 0, NULL, NULL, NULL, 'Test', 'PyyKmwLsUpkqjRkysapF', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:38')[0m
|
288920
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:38', 1, '2012-06-22 09:11:38', 5)
|
288921
|
+
[1m[36m (124.0ms)[0m [1mCOMMIT[0m
|
288922
|
+
[1m[35m (0.4ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
288923
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
288924
|
+
[1m[35m (71.8ms)[0m TRUNCATE TABLE `assets`;
|
288925
|
+
[1m[36m (54.8ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
288926
|
+
[1m[35m (66.1ms)[0m TRUNCATE TABLE `headers`;
|
288927
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
288928
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `posts`;
|
288929
|
+
[1m[36m (55.1ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
288930
|
+
[1m[35m (66.2ms)[0m TRUNCATE TABLE `settings`;
|
288931
|
+
[1m[36m (55.1ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
288932
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `users`;
|
288933
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
288934
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
288935
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
288936
|
+
[1m[35m (130.0ms)[0m TRUNCATE TABLE `assets`;
|
288937
|
+
[1m[36m (54.9ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
288938
|
+
[1m[35m (66.1ms)[0m TRUNCATE TABLE `headers`;
|
288939
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
288940
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `posts`;
|
288941
|
+
[1m[36m (54.9ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
288942
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `settings`;
|
288943
|
+
[1m[36m (55.3ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
288944
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `users`;
|
288945
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
288946
|
+
[1m[35m (0.3ms)[0m BEGIN
|
288947
|
+
[1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing38@example.com' LIMIT 1[0m
|
288948
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:40', '2012-06-22 09:11:40', NULL, NULL, 'testing38@example.com', '653c1c6d3c3f79fd37478f30052853a389b02c846d546d7e014c4d33d9dcb5ce25767f06262eb1aa7859ee8373356cd566001a2bc67ee855e4191fc11f3ce65c', 0, NULL, NULL, NULL, 'Test', 'qcJeqW1JGDTLe3qGTg2y', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:40')
|
288949
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:40', 1, '2012-06-22 09:11:40', 1)[0m
|
288950
|
+
[1m[35m (56.0ms)[0m COMMIT
|
288951
|
+
[1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1[0m
|
288952
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM `users` WHERE (`users`.`email` = BINARY 'wrong' AND `users`.`id` != 1) LIMIT 1
|
288953
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288954
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing39@example.com' LIMIT 1
|
288955
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:40', '2012-06-22 09:11:40', NULL, NULL, 'testing39@example.com', '40b94b51d1176713ea8271c65c39ee8e2216dba457c6dde94f015bacbdc561499cf4b5f834147d6dba3973a4c5aaa97fd6726e434149bf1aeb48ad5209a65b2f', 0, NULL, NULL, NULL, 'Test', 'pUHWErXMpaWPmVu197yq', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:40')[0m
|
288956
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:40', 1, '2012-06-22 09:11:40', 2)
|
288957
|
+
[1m[36m (54.9ms)[0m [1mCOMMIT[0m
|
288958
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE (email LIKE 'testing39%') LIMIT 1
|
288959
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288960
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing40@example.com' LIMIT 1
|
288961
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:40', '2012-06-22 09:11:40', NULL, NULL, 'testing40@example.com', '62157f152504a171431d0b288e571536161014434c77b47e2f25a0c9040570b21b192657b976e17b84d386d1c87aa4a4b0747ce99172a72c32da44eae68d0900', 0, NULL, NULL, NULL, 'Test', 'SfscNJLBJYzpKxv8rDyV', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:40')[0m
|
288962
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:40', 1, '2012-06-22 09:11:40', 3)
|
288963
|
+
[1m[36m (52.6ms)[0m [1mCOMMIT[0m
|
288964
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` INNER JOIN `roles` ON `roles`.`user_id` = `users`.`id` WHERE `roles`.`role_type` = 1
|
288965
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288966
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing41@example.com' LIMIT 1
|
288967
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:40', '2012-06-22 09:11:40', NULL, NULL, 'testing41@example.com', 'a44d4309915b7d332ae8dc62bcbe953bb0ba5a0805bd1e1acebf40fcfbebdf7199450070801341ef12d4dc7fd56d92125fb1c6f08c101f8be5f4b762b719a295', 0, NULL, NULL, NULL, 'Test', 'DJUqEPJezsc8aXKbZqrm', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:40')[0m
|
288968
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:40', 1, '2012-06-22 09:11:40', 4)
|
288969
|
+
[1m[36m (48.7ms)[0m [1mCOMMIT[0m
|
288970
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
288971
|
+
[1m[35mUser Load (0.6ms)[0m SELECT id, email, name, current_sign_in_ip FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000
|
288972
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288973
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing42@example.com' LIMIT 1
|
288974
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:40', '2012-06-22 09:11:40', NULL, NULL, 'testing42@example.com', '1c45697c40ee752559c5ffbaa378b6651ab6cb1aa03d4b8cc4629691b97bc5c5ff20b361d78a82278219e5dbe58f1dd1b1d372d712820c443cfcfa78b9968934', 0, NULL, NULL, NULL, 'Test', 'WyTQiZAHzVHdZ6TeSxsc', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:40')[0m
|
288975
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:40', 1, '2012-06-22 09:11:40', 5)
|
288976
|
+
[1m[36m (49.0ms)[0m [1mCOMMIT[0m
|
288977
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
288978
|
+
[1m[35mUser Load (0.6ms)[0m SELECT id, email, confirmed_at, created_at FROM `users` WHERE (`users`.`id` >= 0) ORDER BY `users`.`id` ASC LIMIT 1000
|
288979
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288980
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing43@example.com' LIMIT 1
|
288981
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:40', '2012-06-22 09:11:40', NULL, NULL, 'testing43@example.com', '4210d8510b819addfff26610b8c42335921b67c1c5c4c9197aefb48d19d273f9cf0bc1b874d9007c1421f253f42d8e518b5cf42949088931de5111e5e98d8fda', 0, NULL, NULL, NULL, 'Test', 'eS8ZvufFKEDjdDSv8sun', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:40')[0m
|
288982
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:40', 1, '2012-06-22 09:11:40', 6)
|
288983
|
+
[1m[36m (83.5ms)[0m [1mCOMMIT[0m
|
288984
|
+
[1m[35mRole Load (0.6ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 6 LIMIT 1
|
288985
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 6 LIMIT 1[0m
|
288986
|
+
[1m[35mRole Load (0.4ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 6
|
288987
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288988
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing44@example.com' LIMIT 1
|
288989
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:41', '2012-06-22 09:11:41', NULL, NULL, 'testing44@example.com', '837725d211b6f7b562ddc83b5f20c50ddd32b72c4dd6fe73cf60bfd08a902307213e3d08ebbc228fe6d85c873a100255bdaeff371e63ca99ed4a0c10a715f168', 0, NULL, NULL, NULL, 'Test', 'CTh6osvPQQsAPykyboKV', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:41')[0m
|
288990
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:41', 1, '2012-06-22 09:11:41', 7)
|
288991
|
+
[1m[36m (76.7ms)[0m [1mCOMMIT[0m
|
288992
|
+
[1m[35mAvatar Load (0.7ms)[0m SELECT `assets`.* FROM `assets` WHERE `assets`.`type` IN ('Avatar') AND `assets`.`assetable_id` = 7 AND `assets`.`assetable_type` = 'User' ORDER BY `assets`.sort_order LIMIT 1
|
288993
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
288994
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing45@example.com' LIMIT 1
|
288995
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:41', '2012-06-22 09:11:41', NULL, NULL, 'testing45@example.com', 'c6f9b8b9f68acc39611fa98e85dd6f5d875c9d019d139fd2086fa738b1d19a16bd73b7c83a0b9404a85584898052fb30a1b3de3c9b99db835e387ce253772221', 0, NULL, NULL, NULL, 'Test', 'yuK77jimisKjadJG5TNK', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:41')[0m
|
288996
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:41', 1, '2012-06-22 09:11:41', 8)
|
288997
|
+
[1m[36m (54.3ms)[0m [1mCOMMIT[0m
|
288998
|
+
|
288999
|
+
Sent mail to testing45@example.com (73ms)
|
289000
|
+
Date: Fri, 22 Jun 2012 12:11:41 +0300
|
289001
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
289002
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
289003
|
+
To: testing45@example.com
|
289004
|
+
Message-ID: <4fe436cd764a5_458e46010049652e@mario.mail>
|
289005
|
+
Subject: Unlock Instructions
|
289006
|
+
Mime-Version: 1.0
|
289007
|
+
Content-Type: text/html;
|
289008
|
+
charset=UTF-8
|
289009
|
+
Content-Transfer-Encoding: 7bit
|
289010
|
+
|
289011
|
+
<p>Hello testing45@example.com!</p>
|
289012
|
+
|
289013
|
+
<p>Your account has been locked due to an excessive amount of unsuccessful sign in attempts.</p>
|
289014
|
+
|
289015
|
+
<p>Click the link below to unlock your account:</p>
|
289016
|
+
|
289017
|
+
<p><a href="http://test.com/users/unlock?unlock_token=LEAekt6u25HCcjsB7QBu">Unlock my account</a></p>
|
289018
|
+
|
289019
|
+
[1m[35m (0.3ms)[0m BEGIN
|
289020
|
+
[1m[36m (0.5ms)[0m [1mUPDATE `users` SET `confirmed_at` = NULL, `locked_at` = '2012-06-22 09:11:41', `unlock_token` = 'LEAekt6u25HCcjsB7QBu', `updated_at` = '2012-06-22 09:11:41' WHERE `users`.`id` = 8[0m
|
289021
|
+
[1m[35m (47.7ms)[0m COMMIT
|
289022
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
289023
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
289024
|
+
[1m[36m (63.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
289025
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `audits`;
|
289026
|
+
[1m[36m (86.1ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
289027
|
+
[1m[35m (68.3ms)[0m TRUNCATE TABLE `page_parts`;
|
289028
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
289029
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `roles`;
|
289030
|
+
[1m[36m (66.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
289031
|
+
[1m[35m (154.7ms)[0m TRUNCATE TABLE `structures`;
|
289032
|
+
[1m[36m (43.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
289033
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
289034
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289035
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
289036
|
+
[1m[36mStructure Load (0.8ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
289037
|
+
[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 ('2012-06-22 09:11:42', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:42')
|
289038
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
289039
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
289040
|
+
[1m[36m (37.7ms)[0m [1mCOMMIT[0m
|
289041
|
+
[1m[35m (0.2ms)[0m BEGIN
|
289042
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
289043
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
289044
|
+
[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 ('2012-06-22 09:11:42', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:42')[0m
|
289045
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
289046
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
289047
|
+
[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 `lft`
|
289048
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
289049
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289050
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289051
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
289052
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289053
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft
|
289054
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE[0m
|
289055
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289056
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289057
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
289058
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289059
|
+
[1m[35m (45.1ms)[0m COMMIT
|
289060
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289061
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
289062
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289063
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
289064
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289065
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289066
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289067
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289068
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289069
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289070
|
+
[1m[36m (42.9ms)[0m [1mCOMMIT[0m
|
289071
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289072
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
289073
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
289074
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289075
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289076
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289077
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
289078
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289079
|
+
[1m[35m (45.4ms)[0m COMMIT
|
289080
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289081
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
289082
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289083
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289084
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289085
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
289086
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)[0m
|
289087
|
+
[1m[35m (47.0ms)[0m COMMIT
|
289088
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289089
|
+
[1m[35mStructure Load (0.1ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
289090
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289091
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
289092
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
289093
|
+
[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 ('2012-06-22 09:11:42', 0, 1, 1, 5, 2, 2, NULL, 6, 'structure--2', 'Structure', '2012-06-22 09:11:42')
|
289094
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 ORDER BY `lft` LIMIT 1[0m
|
289095
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE
|
289096
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE `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 `lft`[0m
|
289097
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
289098
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1[0m
|
289099
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)
|
289100
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `lft`[0m
|
289101
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)
|
289102
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 3 ORDER BY lft[0m
|
289103
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1 FOR UPDATE
|
289104
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 3 LIMIT 1[0m
|
289105
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)
|
289106
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `structures` SET `depth` = 2 WHERE `structures`.`id` = 3 ORDER BY `lft`[0m
|
289107
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 3 AND `structures`.`rgt` >= 4) AND (`structures`.id != 3)
|
289108
|
+
[1m[36m (43.2ms)[0m [1mCOMMIT[0m
|
289109
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289110
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289111
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
289112
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289113
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
289114
|
+
[1m[36m (41.7ms)[0m [1mCOMMIT[0m
|
289115
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289116
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
289117
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
289118
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`structures`.`lft` >= 1 AND `structures`.`lft` < 6) ORDER BY `lft`[0m
|
289119
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289120
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'some-super-title' OR `slug` LIKE 'some-super-title--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
289121
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
289122
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `structures` (`created_at`, `depth`, `is_visible`, `kind`, `lft`, `parent_id`, `position`, `redirect_url`, `rgt`, `slug`, `title`, `updated_at`) VALUES ('2012-06-22 09:11:42', 0, 1, 1, 7, 1, 2, NULL, 8, 'some-super-title', 'Some super title', '2012-06-22 09:11:42')[0m
|
289123
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1
|
289124
|
+
[1m[36mStructure Load (0.1ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
289125
|
+
[1m[35mSQL (0.3ms)[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 `lft`
|
289126
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE[0m
|
289127
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
289128
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
289129
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `lft`
|
289130
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
289131
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 4 ORDER BY lft
|
289132
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1 FOR UPDATE[0m
|
289133
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1
|
289134
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
289135
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `lft`
|
289136
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)[0m
|
289137
|
+
[1m[35m (43.9ms)[0m COMMIT
|
289138
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
289139
|
+
[1m[35m (0.5ms)[0m UPDATE `structures` SET `title` = 'Other big title', `updated_at` = '2012-06-22 09:11:42' WHERE `structures`.`id` = 4
|
289140
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 4 LIMIT 1[0m
|
289141
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)
|
289142
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 4 ORDER BY `lft`[0m
|
289143
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 6 AND `structures`.`rgt` >= 7) AND (`structures`.id != 4)
|
289144
|
+
[1m[36m (46.1ms)[0m [1mCOMMIT[0m
|
289145
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289146
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289147
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
289148
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289149
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
289150
|
+
[1m[36m (39.4ms)[0m [1mCOMMIT[0m
|
289151
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289152
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'structure' LIMIT 1[0m
|
289153
|
+
[1m[35m (0.2ms)[0m BEGIN
|
289154
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289155
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
289156
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289157
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)
|
289158
|
+
[1m[36m (35.5ms)[0m [1mCOMMIT[0m
|
289159
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1340356302 LIMIT 1
|
289160
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289161
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1
|
289162
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
289163
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`
|
289164
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 5) AND (`structures`.id != 2)[0m
|
289165
|
+
[1m[35m (89.8ms)[0m COMMIT
|
289166
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'wrong' LIMIT 1[0m
|
289167
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 0 LIMIT 1
|
289168
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`slug` = 'structure' LIMIT 1[0m
|
289169
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
289170
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
289171
|
+
[1m[35m (68.5ms)[0m TRUNCATE TABLE `assets`;
|
289172
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
289173
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `headers`;
|
289174
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
289175
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `posts`;
|
289176
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
289177
|
+
[1m[35m (44.1ms)[0m TRUNCATE TABLE `settings`;
|
289178
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
289179
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `users`;
|
289180
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
289181
|
+
[1m[35m (0.2ms)[0m BEGIN
|
289182
|
+
[1m[36mStructure Load (0.6ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
289183
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
289184
|
+
[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 ('2012-06-22 09:11:43', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:43')[0m
|
289185
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
289186
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
289187
|
+
[1m[35m (44.0ms)[0m COMMIT
|
289188
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
289189
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
289190
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
289191
|
+
[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 ('2012-06-22 09:11:43', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:43')
|
289192
|
+
[1m[36mStructure Load (0.5ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
289193
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
289194
|
+
[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 `lft`[0m
|
289195
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
289196
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289197
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289198
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289199
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289200
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
289201
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
289202
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289203
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289204
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289205
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289206
|
+
[1m[36m (49.3ms)[0m [1mCOMMIT[0m
|
289207
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289208
|
+
[1m[36mUser Exists (0.4ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing46@example.com' LIMIT 1[0m
|
289209
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:43', '2012-06-22 09:11:43', NULL, NULL, 'testing46@example.com', '0f54974cd67b2189af6778fcd67d334f4c7be019a927878c613bfcaba6147b853dfbbf2b4d5c1957b6a61aa25dc390e28fcb4c3759ab08e65f0b106598184d7c', 0, NULL, NULL, NULL, 'Admin', 'SbpHVmv5qgqXoeCYtxjp', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:43')
|
289210
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:43', 4, '2012-06-22 09:11:43', 1)[0m
|
289211
|
+
[1m[35m (56.0ms)[0m COMMIT
|
289212
|
+
Processing by Sunrise::SharedController#services as JSON
|
289213
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
289214
|
+
[1m[35mRole Load (0.6ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
289215
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
289216
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
289217
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `structures` WHERE `structures`.`depth` = 1[0m
|
289218
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`depth` = 1
|
289219
|
+
Completed 200 OK in 13ms (Views: 2.5ms | ActiveRecord: 2.2ms)
|
289220
|
+
Processing by Sunrise::SharedController#services as JSON
|
289221
|
+
Completed 401 Unauthorized in 1ms
|
289222
|
+
Processing by Sunrise::SharedController#services as HTML
|
289223
|
+
Completed 401 Unauthorized in 1ms
|
289224
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
289225
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
289226
|
+
[1m[36m (49.5ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
289227
|
+
[1m[35m (54.9ms)[0m TRUNCATE TABLE `audits`;
|
289228
|
+
[1m[36m (55.2ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
289229
|
+
[1m[35m (110.7ms)[0m TRUNCATE TABLE `page_parts`;
|
289230
|
+
[1m[36m (110.5ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
289231
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `roles`;
|
289232
|
+
[1m[36m (55.1ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
289233
|
+
[1m[35m (66.3ms)[0m TRUNCATE TABLE `structures`;
|
289234
|
+
[1m[36m (54.9ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
289235
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
289236
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
289237
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing47@example.com' LIMIT 1
|
289238
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:44', '2012-06-22 09:11:44', NULL, NULL, 'testing47@example.com', 'aa96cde495f4e2321e306966d3b2be36224b1694a162756cf7ce7ff8cd247b9fff314ef8eede1335b70908cb51fc02be81fae5f033d66b43c001f080f75b9ab8', 0, NULL, NULL, NULL, 'Admin', 'WYVRzp92x92XJY3s1Run', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:44')[0m
|
289239
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:44', 4, '2012-06-22 09:11:44', 1)
|
289240
|
+
[1m[36m (53.6ms)[0m [1mCOMMIT[0m
|
289241
|
+
[1m[35m (0.2ms)[0m BEGIN
|
289242
|
+
[1m[36mStructure Load (0.7ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE (`slug` = 'main-page' OR `slug` LIKE 'main-page--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1[0m
|
289243
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE
|
289244
|
+
[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 ('2012-06-22 09:11:44', 0, 1, 3, 1, NULL, 1, NULL, 2, 'main-page', 'Main page', '2012-06-22 09:11:44')[0m
|
289245
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1
|
289246
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`[0m
|
289247
|
+
[1m[35m (66.8ms)[0m COMMIT
|
289248
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
289249
|
+
[1m[35mStructure Load (0.7ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
289250
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
289251
|
+
[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 ('2012-06-22 09:11:44', 0, 1, 1, 3, 1, 2, NULL, 4, 'structure', 'Structure', '2012-06-22 09:11:44')
|
289252
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 ORDER BY `lft` LIMIT 1[0m
|
289253
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
289254
|
+
[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 `lft`[0m
|
289255
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1 FOR UPDATE
|
289256
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289257
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289258
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289259
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289260
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` = 2 ORDER BY lft[0m
|
289261
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT `lft`, `rgt`, `parent_id` FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1 FOR UPDATE
|
289262
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 2 LIMIT 1[0m
|
289263
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289264
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `structures` SET `depth` = 1 WHERE `structures`.`id` = 2 ORDER BY `lft`[0m
|
289265
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `structures` WHERE (`structures`.`lft` <= 2 AND `structures`.`rgt` >= 3) AND (`structures`.id != 2)
|
289266
|
+
[1m[36m (47.1ms)[0m [1mCOMMIT[0m
|
289267
|
+
Processing by Sunrise::ManagerController#index as HTML
|
289268
|
+
Parameters: {"model_name"=>"structures"}
|
289269
|
+
[1m[35mUser Load (0.7ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
289270
|
+
[1m[36mRole Load (0.5ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
289271
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
289272
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
289273
|
+
Completed 200 OK in 10ms (Views: 1.7ms | ActiveRecord: 1.5ms)
|
289274
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE `structures`.`parent_id` IS NULL ORDER BY `lft`
|
289275
|
+
Processing by Sunrise::ManagerController#index as HTML
|
289276
|
+
Parameters: {"model_name"=>"wrong"}
|
289277
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
289278
|
+
Completed 500 Internal Server Error in 5ms
|
289279
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
289280
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
289281
|
+
[1m[35m (54.0ms)[0m TRUNCATE TABLE `assets`;
|
289282
|
+
[1m[36m (66.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
289283
|
+
[1m[35m (55.2ms)[0m TRUNCATE TABLE `headers`;
|
289284
|
+
[1m[36m (66.1ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
289285
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `posts`;
|
289286
|
+
[1m[36m (90.8ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
289287
|
+
[1m[35m (129.9ms)[0m TRUNCATE TABLE `settings`;
|
289288
|
+
[1m[36m (77.4ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
289289
|
+
[1m[35m (55.1ms)[0m TRUNCATE TABLE `users`;
|
289290
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
289291
|
+
[1m[35m (0.2ms)[0m BEGIN
|
289292
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing48@example.com' LIMIT 1[0m
|
289293
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:45', '2012-06-22 09:11:45', NULL, NULL, 'testing48@example.com', '0b9774464d9ee3acf5f85db02114289bfb0844a174a7eb19ed9f4ba11a66e3d4c1192a6f487b31c8177ed17706c423c798c1857f7f519ac47bb63945ec465812', 0, NULL, NULL, NULL, 'Admin', 'xrtryfrzTEozJ8r9iRQY', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:45')
|
289294
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:45', 4, '2012-06-22 09:11:45', 1)[0m
|
289295
|
+
[1m[35m (54.8ms)[0m COMMIT
|
289296
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
289297
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
289298
|
+
[1m[35mRole Load (0.6ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
289299
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
289300
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
289301
|
+
[1m[36mSettings Load (0.4ms)[0m [1mSELECT var, value FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL[0m
|
289302
|
+
[1m[35mSettings Load (0.6ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'to_key' LIMIT 1
|
289303
|
+
[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
|
289304
|
+
[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
|
289305
|
+
[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
|
289306
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_form.html.erb (15.2ms)
|
289307
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (4.4ms)
|
289308
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/settings/_header_edit.html.erb (0.9ms)
|
289309
|
+
Completed 200 OK in 51ms (Views: 32.6ms | ActiveRecord: 5.6ms)
|
289310
|
+
Processing by Sunrise::SettingsController#update as HTML
|
289311
|
+
Parameters: {"settings"=>{"some_setting"=>"blablabla"}}
|
289312
|
+
[1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
289313
|
+
[1m[36mRole Load (0.3ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
289314
|
+
[1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1
|
289315
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 1 LIMIT 1[0m
|
289316
|
+
[1m[35mSettings Load (0.2ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`target_id` IS NULL AND `settings`.`target_type` IS NULL AND `settings`.`var` = 'some_setting' LIMIT 1
|
289317
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289318
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `settings` (`created_at`, `target_id`, `target_type`, `updated_at`, `value`, `var`) VALUES ('2012-06-22 09:11:45', NULL, NULL, '2012-06-22 09:11:45', '--- blablabla\n...\n', 'some_setting')
|
289319
|
+
[1m[36m (48.1ms)[0m [1mCOMMIT[0m
|
289320
|
+
Redirected to http://test.host/manage/
|
289321
|
+
Completed 302 Found in 80ms (ActiveRecord: 49.8ms)
|
289322
|
+
Processing by Sunrise::SettingsController#update as HTML
|
289323
|
+
Completed 401 Unauthorized in 0ms
|
289324
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
289325
|
+
Completed 401 Unauthorized in 0ms
|
289326
|
+
Processing by Sunrise::SettingsController#edit as HTML
|
289327
|
+
Completed 401 Unauthorized in 1ms
|
289328
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
289329
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
289330
|
+
[1m[35m (54.2ms)[0m TRUNCATE TABLE `assets`;
|
289331
|
+
[1m[36m (55.0ms)[0m [1mTRUNCATE TABLE `audits`;[0m
|
289332
|
+
[1m[35m (54.7ms)[0m TRUNCATE TABLE `headers`;
|
289333
|
+
[1m[36m (66.3ms)[0m [1mTRUNCATE TABLE `page_parts`;[0m
|
289334
|
+
[1m[35m (55.3ms)[0m TRUNCATE TABLE `posts`;
|
289335
|
+
[1m[36m (65.9ms)[0m [1mTRUNCATE TABLE `roles`;[0m
|
289336
|
+
[1m[35m (55.0ms)[0m TRUNCATE TABLE `settings`;
|
289337
|
+
[1m[36m (66.2ms)[0m [1mTRUNCATE TABLE `structures`;[0m
|
289338
|
+
[1m[35m (97.5ms)[0m TRUNCATE TABLE `users`;
|
289339
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
289340
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289341
|
+
[1m[36mUser Exists (0.5ms)[0m [1mSELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing49@example.com' LIMIT 1[0m
|
289342
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:46', '2012-06-22 09:11:46', NULL, NULL, 'testing49@example.com', 'bc2147dd3d6eb6c1fed7e76f721ff3de8f80aae9c826c9ae756b2293f8470e796b9805a22a4464de3eec50167fe15263ff581d214ff86017b190836a532f965e', 0, NULL, NULL, NULL, 'Test', 'dp9Pa9V12WEYosuspfCr', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:46')
|
289343
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:46', 1, '2012-06-22 09:11:46', 1)[0m
|
289344
|
+
[1m[35m (69.9ms)[0m COMMIT
|
289345
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
289346
|
+
[1m[35mStructure Load (0.6ms)[0m SELECT `structures`.* FROM `structures` WHERE (`slug` = 'structure' OR `slug` LIKE 'structure--%') ORDER BY LENGTH(`slug`) DESC, `slug` DESC LIMIT 1
|
289347
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT `structures`.* FROM `structures` ORDER BY `rgt` desc LIMIT 1 FOR UPDATE[0m
|
289348
|
+
[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 ('2012-06-22 09:11:46', 0, 1, 1, 1, NULL, 2, NULL, 2, 'structure', 'Structure', '2012-06-22 09:11:46')
|
289349
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT `structures`.* FROM `structures` WHERE `structures`.`id` = 1 LIMIT 1[0m
|
289350
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `structures` SET `depth` = 0 WHERE `structures`.`id` = 1 ORDER BY `lft`
|
289351
|
+
[1m[36m (44.3ms)[0m [1mCOMMIT[0m
|
289352
|
+
[1m[35m (0.1ms)[0m BEGIN
|
289353
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `is_visible`, `structure_id`, `title`, `updated_at`) VALUES ('Some post content', '2012-06-22 09:11:46', 1, 1, 'Default title', '2012-06-22 09:11:46')[0m
|
289354
|
+
[1m[35m (52.2ms)[0m COMMIT
|
289355
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
289356
|
+
[1m[35m (0.6ms)[0m SELECT MAX(`audits`.`version`) AS max_id FROM `audits` WHERE `audits`.`auditable_id` = 1 AND `audits`.`auditable_type` = 'Post'
|
289357
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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, '2012-06-22 09:11:46', NULL, 1, 'User', NULL, 1)[0m
|
289358
|
+
[1m[35m (38.2ms)[0m COMMIT
|
289359
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
289360
|
+
[1m[35mUser Exists (0.5ms)[0m SELECT 1 FROM `users` WHERE `users`.`email` = BINARY 'testing50@example.com' LIMIT 1
|
289361
|
+
[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`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (NULL, NULL, '2012-06-22 09:11:46', '2012-06-22 09:11:46', NULL, NULL, 'testing50@example.com', '80a6dddf2d078bc30f0785f9c5e4dcb2805eb95a7ffedfb768ac849176f17d8fd2620d525c5436a5ea7af1ce2e36259a57bfaa1f23606e097bf23e929089d211', 0, NULL, NULL, NULL, 'Admin', 'GWKxhpGRLPBMiXbUz1Qq', NULL, NULL, NULL, 0, NULL, '2012-06-22 09:11:46')[0m
|
289362
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `roles` (`created_at`, `role_type`, `updated_at`, `user_id`) VALUES ('2012-06-22 09:11:46', 4, '2012-06-22 09:11:46', 2)
|
289363
|
+
[1m[36m (46.5ms)[0m [1mCOMMIT[0m
|
289364
|
+
Processing by Sunrise::DashboardController#index as HTML
|
289365
|
+
[1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
|
289366
|
+
[1m[36mRole Load (0.5ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 2 LIMIT 1[0m
|
289367
|
+
[1m[35mRole Load (0.1ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 2 LIMIT 1
|
289368
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`user_id` = 2 LIMIT 1[0m
|
289369
|
+
[1m[35mAudited::Adapters::ActiveRecord::Audit Load (0.4ms)[0m SELECT `audits`.* FROM `audits` ORDER BY version LIMIT 50 OFFSET 0
|
289370
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` IN (1)[0m
|
289371
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_event.html.erb (2.4ms)
|
289372
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `audits` LIMIT 50 OFFSET 0) subquery_for_count
|
289373
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/shared/_panel.html.erb (2.7ms)
|
289374
|
+
Rendered /var/www/gems/sunrise/app/views/sunrise/dashboard/_header.html.erb (0.9ms)
|
289375
|
+
Completed 200 OK in 26ms (Views: 13.2ms | ActiveRecord: 2.4ms)
|
289376
|
+
Processing by Sunrise::DashboardController#index as HTML
|
289377
|
+
Completed 401 Unauthorized in 1ms
|
289378
|
+
Processing by Sunrise::DashboardController#index as HTML
|
289379
|
+
Completed 401 Unauthorized in 1ms
|
289380
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
289381
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
289382
|
+
[1m[36m (38.7ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
289383
|
+
[1m[35m (43.8ms)[0m TRUNCATE TABLE `audits`;
|
289384
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
289385
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `page_parts`;
|
289386
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
289387
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `roles`;
|
289388
|
+
[1m[36m (44.2ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
289389
|
+
[1m[35m (43.8ms)[0m TRUNCATE TABLE `structures`;
|
289390
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
289391
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
289392
|
+
[1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
289393
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
289394
|
+
[1m[36m (102.0ms)[0m [1mTRUNCATE TABLE `assets`;[0m
|
289395
|
+
[1m[35m (76.5ms)[0m TRUNCATE TABLE `audits`;
|
289396
|
+
[1m[36m (44.1ms)[0m [1mTRUNCATE TABLE `headers`;[0m
|
289397
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `page_parts`;
|
289398
|
+
[1m[36m (43.9ms)[0m [1mTRUNCATE TABLE `posts`;[0m
|
289399
|
+
[1m[35m (44.2ms)[0m TRUNCATE TABLE `roles`;
|
289400
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `settings`;[0m
|
289401
|
+
[1m[35m (44.0ms)[0m TRUNCATE TABLE `structures`;
|
289402
|
+
[1m[36m (44.0ms)[0m [1mTRUNCATE TABLE `users`;[0m
|
289403
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|