test/dummy/log/test.log in ckeditor-3.6.0.pre vs test/dummy/log/test.log in ckeditor-3.6.0

- old
+ new

@@ -5394,5 +5394,1500 @@ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 52.6ms) SQL (0.1ms) SAVEPOINT active_record_1 AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 28 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (35.9ms) ROLLBACK + SQL (0.3ms) SHOW TABLES + SQL (0.3ms) SHOW TABLES + SQL (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` +Migrating to CreatePosts (20110623120047) +Migrating to CreateCkeditorAssets (20110705195648) + SQL (0.1ms) BEGIN + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb0bcbb4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2550-zm5wl2-0>>, "CKEditor"=>"ckeditor_field"} + SQL (0.2ms) SAVEPOINT active_record_1 + SQL (0.9ms) describe `ckeditor_assets` + AREL (0.8ms) INSERT INTO `ckeditor_assets` (`data_file_size`, `updated_at`, `assetable_id`, `type`, `data_content_type`, `assetable_type`, `data_file_name`, `created_at`) VALUES (6823, '2011-07-13 07:14:45', NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, 'rails_tar.gz', '2011-07-13 07:14:45') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/3/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendered text template (0.0ms) +Completed 200 OK in 447ms (Views: 14.3ms | ActiveRecord: 3.4ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/3/rails_tar.gz + AREL (0.4ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (82.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb112064 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2550-k4v3ly-0>>} + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_size`, `updated_at`, `assetable_id`, `type`, `data_content_type`, `assetable_type`, `data_file_name`, `created_at`) VALUES (6823, '2011-07-13 07:14:45', NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, 'rails_tar.gz', '2011-07-13 07:14:45') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 81ms (Views: 0.4ms | ActiveRecord: 84.8ms) + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4/rails_tar.gz + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 4 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (55.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_size`, `updated_at`, `assetable_id`, `type`, `data_content_type`, `assetable_type`, `data_file_name`, `created_at`) VALUES (6823, '2011-07-13 07:14:45', NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, 'rails_tar.gz', '2011-07-13 07:14:45') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/5/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#destroy as HTML + Parameters: {"id"=>5} + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5 LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/5/rails_tar.gz + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ckeditor/attachment_files +Completed 302 Found in 71ms + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (50.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Processing by Ckeditor::AttachmentFilesController#index as HTML + Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms) +Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 51.7ms) + Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>nil} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.0ms) + SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb258338 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2550-11khc6g-0>>, "CKEditor"=>"ckeditor_field"} + SQL (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) describe `ckeditor_assets` + AREL (0.2ms) INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_file_size`, `assetable_id`, `data_file_name`, `assetable_type`, `data_content_type`, `updated_at`) VALUES ('2011-07-13 07:14:59', 'Ckeditor::Picture', 6646, NULL, 'rails.png', NULL, 'image/png', '2011-07-13 07:14:59') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 745ms (Views: 1.0ms | ActiveRecord: 3.2ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png + AREL (0.6ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 6 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (66.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb3fa8a8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2550-1vv80gd-0>>} + SQL (0.2ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_file_size`, `assetable_id`, `data_file_name`, `assetable_type`, `data_content_type`, `updated_at`) VALUES ('2011-07-13 07:14:59', 'Ckeditor::Picture', 6646, NULL, 'rails.png', NULL, 'image/png', '2011-07-13 07:14:59') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 199ms (Views: 0.7ms | ActiveRecord: 69.8ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 7 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (62.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_file_size`, `assetable_id`, `data_file_name`, `assetable_type`, `data_content_type`, `updated_at`) VALUES ('2011-07-13 07:14:59', 'Ckeditor::Picture', 6646, NULL, 'rails.png', NULL, 'image/png', '2011-07-13 07:14:59') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#destroy as HTML + Parameters: {"id"=>8} + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8 LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ckeditor/pictures +Completed 302 Found in 14ms + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (86.9ms) ROLLBACK + SQL (0.1ms) BEGIN + Processing by Ckeditor::PicturesController#index as HTML + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (5.1ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms) +Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 88.6ms) + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (52.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>nil} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 54.1ms) + SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (41.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) describe `posts` + AREL (0.2ms) INSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts/new" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011 + Processing by PostsController#new as HTML +Rendered posts/_form.html.erb (4.0ms) +Completed 200 OK in 57ms (Views: 56.3ms | ActiveRecord: 43.5ms) + SQL (0.2ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (46.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT `posts`.* FROM `posts` +Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 47.0ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 2 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (53.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT `posts`.* FROM `posts` +Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 54.0ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (40.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts/4/edit" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011 + Processing by PostsController#edit as HTML + Parameters: {"id"=>"4"} + Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1 +Rendered posts/_form.html.erb (5.5ms) +Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 41.4ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 4 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (63.7ms) ROLLBACK + SQL (0.4ms) SHOW TABLES + SQL (0.3ms) SHOW TABLES + SQL (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` +Migrating to CreatePosts (20110623120047) +Migrating to CreateCkeditorAssets (20110705195648) + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbd19920 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2609-dyoq72-0>>, "CKEditor"=>"ckeditor_field"} + SQL (0.2ms) SAVEPOINT active_record_1 + SQL (1.0ms) describe `ckeditor_assets` + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_content_type`, `assetable_type`, `assetable_id`, `data_file_name`, `updated_at`, `data_file_size`) VALUES ('2011-07-13 07:16:26', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', '2011-07-13 07:16:26', 6823) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/9/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendered text template (0.0ms) +Completed 200 OK in 290ms (Views: 1.4ms | ActiveRecord: 2.8ms) + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/9/rails_tar.gz + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 9 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (105.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbd6f03c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2609-150tn1j-0>>} + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_content_type`, `assetable_type`, `assetable_id`, `data_file_name`, `updated_at`, `data_file_size`) VALUES ('2011-07-13 07:16:27', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', '2011-07-13 07:16:27', 6823) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/10/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 143ms (Views: 0.6ms | ActiveRecord: 107.7ms) + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/10/rails_tar.gz + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 10 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (87.8ms) ROLLBACK + SQL (0.2ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_content_type`, `assetable_type`, `assetable_id`, `data_file_name`, `updated_at`, `data_file_size`) VALUES ('2011-07-13 07:16:27', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', '2011-07-13 07:16:27', 6823) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/11/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#destroy as HTML + Parameters: {"id"=>11} + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11 LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/11/rails_tar.gz + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ckeditor/attachment_files +Completed 302 Found in 101ms + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (52.8ms) ROLLBACK + SQL (0.1ms) BEGIN + Processing by Ckeditor::AttachmentFilesController#index as HTML + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms) +Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 53.7ms) + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>nil} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms) + SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbec65e8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2609-1phspf3-0>>, "CKEditor"=>"ckeditor_field"} + SQL (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) describe `ckeditor_assets` + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `created_at`, `data_file_name`, `assetable_type`, `data_file_size`, `assetable_id`, `type`) VALUES ('2011-07-13 07:16:42', 'image/png', '2011-07-13 07:16:42', 'rails.png', NULL, 6646, NULL, 'Ckeditor::Picture') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/content_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 154ms (Views: 1.1ms | ActiveRecord: 3.3ms) + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/content_rails.png + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 12 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (74.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbd3c1b4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2609-mvpgnf-0>>} + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `created_at`, `data_file_name`, `assetable_type`, `data_file_size`, `assetable_id`, `type`) VALUES ('2011-07-13 07:16:42', 'image/png', '2011-07-13 07:16:42', 'rails.png', NULL, 6646, NULL, 'Ckeditor::Picture') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/content_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 187ms (Views: 0.7ms | ActiveRecord: 77.4ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/content_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 13 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (54.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `created_at`, `data_file_name`, `assetable_type`, `data_file_size`, `assetable_id`, `type`) VALUES ('2011-07-13 07:16:42', 'image/png', '2011-07-13 07:16:42', 'rails.png', NULL, 6646, NULL, 'Ckeditor::Picture') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#destroy as HTML + Parameters: {"id"=>14} + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14 LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ckeditor/pictures +Completed 302 Found in 13ms + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (85.4ms) ROLLBACK + SQL (0.1ms) BEGIN + Processing by Ckeditor::PicturesController#index as HTML + Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (6.4ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms) +Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 87.4ms) + Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (56.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>nil} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 58.0ms) + SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (41.9ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) describe `posts` + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts/new" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011 + Processing by PostsController#new as HTML +Rendered posts/_form.html.erb (4.5ms) +Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 43.4ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 5 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (47.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) SAVEPOINT active_record_1 + AREL (0.1ms) INSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT `posts`.* FROM `posts` +Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 47.9ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 6 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (43.9ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT `posts`.* FROM `posts` +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 44.8ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 7 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (44.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts/8/edit" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011 + Processing by PostsController#edit as HTML + Parameters: {"id"=>"8"} + Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1 +Rendered posts/_form.html.erb (3.7ms) +Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 45.1ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (40.9ms) ROLLBACK + SQL (0.4ms) SHOW TABLES + SQL (0.3ms) SHOW TABLES + SQL (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` +Migrating to CreatePosts (20110623120047) +Migrating to CreateCkeditorAssets (20110705195648) + SQL (0.1ms) BEGIN + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa2e78a4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6186-rmxhwn>>, "CKEditor"=>"ckeditor_field"} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) describe `ckeditor_assets` + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 07:25:09', '2011-07-13 07:25:09') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/15/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendered text template (0.0ms) +Completed 200 OK in 439ms (Views: 52.2ms | ActiveRecord: 2.5ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/15/rails_tar.gz + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 15 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (55.7ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa4b45ec @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6186-wf20qe>>} + SQL (0.2ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 07:25:09', '2011-07-13 07:25:09') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/16/rails_tar.gz + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 97ms (Views: 0.7ms | ActiveRecord: 57.8ms) + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/16/rails_tar.gz + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 16 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (62.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 07:25:10', '2011-07-13 07:25:10') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/17/rails_tar.gz + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#destroy as HTML + Parameters: {"id"=>17} + Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17 LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/17/rails_tar.gz + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ckeditor/attachment_files +Completed 302 Found in 53ms + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (67.3ms) ROLLBACK + SQL (0.1ms) BEGIN + Processing by Ckeditor::AttachmentFilesController#index as HTML + Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms) +Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 68.4ms) + Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>nil} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +Completed 200 OK in 40ms (Views: 0.4ms | ActiveRecord: 1.0ms) + SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.2ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.2ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.2ms) BEGIN + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xac3b734 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6186-12xl642>>, "CKEditor"=>"ckeditor_field"} + SQL (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) describe `ckeditor_assets` + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 07:25:27', '2011-07-13 07:25:27') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/content_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/thumb_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 237ms (Views: 0.9ms | ActiveRecord: 3.9ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/content_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/thumb_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 18 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (57.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9c6989c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6186-1susr1w>>} + SQL (0.2ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 07:25:27', '2011-07-13 07:25:27') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/content_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/thumb_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 60.6ms) + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/content_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/thumb_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 19 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (60.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SAVEPOINT active_record_1 + AREL (0.3ms) INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 07:25:27', '2011-07-13 07:25:27') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#destroy as HTML + Parameters: {"id"=>20} + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20 LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ckeditor/pictures +Completed 302 Found in 8ms + SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.0ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (47.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Processing by Ckeditor::PicturesController#index as HTML + Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (6.2ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms) +Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 49.2ms) + Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (46.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>nil} + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 47.8ms) + SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' + SQL (0.0ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 +[paperclip] Deleting attachments. + AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (41.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) describe `posts` + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts/new" for 127.0.0.1 at 2011-07-13 10:25:28 +0300 + Processing by PostsController#new as HTML +Rendered posts/_form.html.erb (4.4ms) +Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 42.9ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 9 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (41.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts" for 127.0.0.1 at 2011-07-13 10:25:28 +0300 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT `posts`.* FROM `posts` +Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 42.5ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 10 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (46.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts" for 127.0.0.1 at 2011-07-13 10:25:28 +0300 + Processing by PostsController#index as HTML + Post Load (0.3ms) SELECT `posts`.* FROM `posts` +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 47.9ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 11 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (43.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.2ms) INSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Started GET "/posts/12/edit" for 127.0.0.1 at 2011-07-13 10:25:28 +0300 + Processing by PostsController#edit as HTML + Parameters: {"id"=>"12"} + Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1 +Rendered posts/_form.html.erb (3.4ms) +Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 44.4ms) + SQL (0.1ms) SAVEPOINT active_record_1 + AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 12 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (40.1ms) ROLLBACK + SQL (0.4ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) select sqlite_version(*) + SQL (138.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  + SQL (0.1ms) PRAGMA index_list("schema_migrations") + SQL (89.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + SQL (0.2ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" +Migrating to CreatePosts (20110623120047) + SQL (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047') +Migrating to CreateCkeditorAssets (20110705195648) + SQL (0.5ms) CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "created_at" datetime, "updated_at" datetime)  + SQL (0.1ms) PRAGMA index_list("ckeditor_assets") + SQL (0.3ms) CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id") + SQL (0.1ms) PRAGMA index_list("ckeditor_assets") + SQL (0.1ms) PRAGMA index_info('idx_ckeditor_assetable_type') + SQL (0.2ms) CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110705195648') + SQL (0.2ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb846f74 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6937-1e0k58v>>, "CKEditor"=>"ckeditor_field"} + AREL (0.3ms) INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 08:01:22.145103', '2011-07-13 08:01:22.145103') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz +Rendered text template (0.0ms) +Completed 200 OK in 261ms (Views: 9.4ms | ActiveRecord: 231.9ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb560620 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6937-1vngz5d>>} + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 08:01:22.272273', '2011-07-13 08:01:22.272273') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz +Completed 200 OK in 96ms (Views: 0.4ms | ActiveRecord: 1.0ms) + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 08:01:22.361618', '2011-07-13 08:01:22.361618') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#destroy as HTML + Parameters: {"id"=>1} + Ckeditor::AttachmentFile Load (0.6ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 +Redirected to http://test.host/ckeditor/attachment_files +Completed 302 Found in 33ms + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#index as HTML + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms) +Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.4ms) + Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>nil} +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + SQL (0.2ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbf2e47c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6937-ptcqz3>>, "CKEditor"=>"ckeditor_field"} + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 08:01:44.997826', '2011-07-13 08:01:44.997826') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +Completed 200 OK in 491ms (Views: 1.2ms | ActiveRecord: 1.0ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb26fb78 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6937-638skb>>} + AREL (0.5ms) INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 08:01:45.233505', '2011-07-13 08:01:45.233505') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +Completed 200 OK in 176ms (Views: 0.5ms | ActiveRecord: 1.2ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 + AREL (0.5ms) INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 08:01:45.390100', '2011-07-13 08:01:45.390100') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#destroy as HTML + Parameters: {"id"=>1} + Ckeditor::Picture Load (0.4ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 +Redirected to http://test.host/ckeditor/pictures +Completed 302 Found in 8ms + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#index as HTML + Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms) +Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) + Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>nil} +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms) + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + SQL (0.2ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + AREL (0.2ms) INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.440380', '2011-07-13 08:01:45.440380') + + +Started GET "/posts/new" for 127.0.0.1 at 2011-07-13 11:01:45 +0300 + Processing by PostsController#new as HTML +Rendered posts/_form.html.erb (4.6ms) +Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.6ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + AREL (0.2ms) INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.510919', '2011-07-13 08:01:45.510919') + + +Started GET "/posts" for 127.0.0.1 at 2011-07-13 11:01:45 +0300 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT "posts".* FROM "posts" +Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + AREL (0.2ms) INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.522856', '2011-07-13 08:01:45.522856') + + +Started GET "/posts" for 127.0.0.1 at 2011-07-13 11:01:45 +0300 + Processing by PostsController#index as HTML + Post Load (0.2ms) SELECT "posts".* FROM "posts" +Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.5ms) + AREL (0.2ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + AREL (0.3ms) INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.537227', '2011-07-13 08:01:45.537227') + + +Started GET "/posts/1/edit" for 127.0.0.1 at 2011-07-13 11:01:45 +0300 + Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1 +Rendered posts/_form.html.erb (3.8ms) +Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.7ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" +Migrating to CreatePosts (20110623120047) +Migrating to CreateCkeditorAssets (20110705195648) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb7ff728 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3764-11pi9eq-0>>, "CKEditor"=>"ckeditor_field"} + AREL (10.7ms) INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "updated_at", "type", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', '2011-07-29 08:25:36.115848', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-07-29 08:25:36.115848') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz +Rendered text template (0.0ms) +Completed 200 OK in 480ms (Views: 14.4ms | ActiveRecord: 11.6ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + AREL (0.2ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb7bde18 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3764-oo6v06-0>>} + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "updated_at", "type", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', '2011-07-29 08:25:36.304415', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-07-29 08:25:36.304415') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz +Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 1.2ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 + AREL (0.3ms) INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "updated_at", "type", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', '2011-07-29 08:25:36.415907', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-07-29 08:25:36.415907') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#destroy as HTML + Parameters: {"id"=>1} + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 +Redirected to http://test.host/ckeditor/attachment_files +Completed 302 Found in 9ms + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#index as HTML + Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms) +Completed 200 OK in 58ms (Views: 57.5ms | ActiveRecord: 0.3ms) + Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>nil} +Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.4ms) + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb7e3820 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3764-1codzix-0>>, "CKEditor"=>"ckeditor_field"} + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("type", "created_at", "data_file_name", "data_file_size", "assetable_id", "assetable_type", "updated_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-07-29 08:26:07.967823', 'rails.png', 6646, NULL, NULL, '2011-07-29 08:26:07.967823', 'image/png') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +Completed 200 OK in 555ms (Views: 1.1ms | ActiveRecord: 0.8ms) + SQL (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png + AREL (0.2ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb60e4f0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3764-1jan4mf-0>>} + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("type", "created_at", "data_file_name", "data_file_size", "assetable_id", "assetable_type", "updated_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-07-29 08:26:08.157197', 'rails.png', 6646, NULL, NULL, '2011-07-29 08:26:08.157197', 'image/png') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +Completed 200 OK in 175ms (Views: 0.4ms | ActiveRecord: 1.3ms) + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 + AREL (0.4ms) INSERT INTO "ckeditor_assets" ("type", "created_at", "data_file_name", "data_file_size", "assetable_id", "assetable_type", "updated_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-07-29 08:26:08.313253', 'rails.png', 6646, NULL, NULL, '2011-07-29 08:26:08.313253', 'image/png') +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#destroy as HTML + Parameters: {"id"=>1} + Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1 +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png + AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 +Redirected to http://test.host/ckeditor/pictures +Completed 302 Found in 9ms + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#index as HTML + Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms) +Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.5ms) + Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>nil} +Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.4ms) + SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' + AREL (0.3ms) INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.378151', 'content', 'info', 'test', '2011-07-29 08:26:08.378151') + + +Started GET "/posts/new" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011 + Processing by PostsController#new as HTML +Rendered posts/_form.html.erb (5.1ms) +Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.5ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + AREL (0.1ms) INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.518463', 'content', 'info', 'test', '2011-07-29 08:26:08.518463') + + +Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011 + Processing by PostsController#index as HTML + Post Load (0.1ms) SELECT "posts".* FROM "posts" +Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.4ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + AREL (0.2ms) INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.544794', 'content', 'info', 'test', '2011-07-29 08:26:08.544794') + + +Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011 + Processing by PostsController#index as HTML + Post Load (0.1ms) SELECT "posts".* FROM "posts" +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.5ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 + AREL (0.2ms) INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.555844', 'content', 'info', 'test', '2011-07-29 08:26:08.555844') + + +Started GET "/posts/1/edit" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011 + Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1 +Rendered posts/_form.html.erb (3.1ms) +Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms) + AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1 +MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps. +MONGODB admin['$cmd'].find({:ismaster=>1}) +MONGODB admin['$cmd'].find({:ismaster=>1}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa5567e8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3808-91fn99-0>>, "CKEditor"=>"ckeditor_field"} +MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e326eecde2f150ee0000001'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}]) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000001/rails_tar.gz +Rendered text template (0.0ms) +Completed 200 OK in 263ms (Views: 1.6ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}) +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000001/rails_tar.gz +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000001')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa676218 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3808-a70iqt-0>>} +MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e326eecde2f150ee0000002'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}]) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000002/rails_tar.gz +Completed 200 OK in 111ms (Views: 0.8ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}) +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000002/rails_tar.gz +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000002')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e326eecde2f150ee0000003'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}]) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000003/rails_tar.gz +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) + Processing by Ckeditor::AttachmentFilesController#destroy as HTML + Parameters: {"id"=>BSON::ObjectId('4e326eecde2f150ee0000003')} +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e326eecde2f150ee0000003'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}) +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000003/rails_tar.gz +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000003')}) +Redirected to http://test.host/ckeditor/attachment_files +Completed 302 Found in 7ms +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) + Processing by Ckeditor::AttachmentFilesController#index as HTML +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (3.4ms) +Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) + Processing by Ckeditor::AttachmentFilesController#create as HTML + Parameters: {"qqfile"=>nil} +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa70b818 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3808-dkverl-0>>, "CKEditor"=>"ckeditor_field"} +MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000005'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}]) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/content_rails.png +Completed 200 OK in 205ms (Views: 1.3ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}) +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/content_rails.png +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000005')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa512c64 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3808-1imr94a-0>>} +MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000006'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}]) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/content_rails.png +Completed 200 OK in 252ms (Views: 0.4ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}) +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/content_rails.png +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000006')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000007'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}]) +[paperclip] Saving attachments. +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/thumb_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/original_rails.png +[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/content_rails.png +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) + Processing by Ckeditor::PicturesController#destroy as HTML + Parameters: {"id"=>BSON::ObjectId('4e326f16de2f150ee0000007')} +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e326f16de2f150ee0000007'), :_type=>{"$in"=>["Ckeditor::Picture"]}}) +[paperclip] Deleting attachments. +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/original_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/thumb_rails.png +[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/content_rails.png +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000007')}) +Redirected to http://test.host/ckeditor/pictures +Completed 302 Found in 9ms +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) + Processing by Ckeditor::PicturesController#index as HTML +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms) +Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.5ms) +Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) + Processing by Ckeditor::PicturesController#create as HTML + Parameters: {"qqfile"=>nil} +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000009'), "info"=>"info", "content"=>"content"}]) + + +Started GET "/posts/new" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011 + Processing by PostsController#new as HTML +Rendered posts/_form.html.erb (4.6ms) +Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000009')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee000000b'), "info"=>"info", "content"=>"content"}]) + + +Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011 + Processing by PostsController#index as HTML +MONGODB ckeditor-test-suite['posts'].find({}) +Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000b')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee000000c'), "info"=>"info", "content"=>"content"}]) + + +Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011 + Processing by PostsController#index as HTML +MONGODB ckeditor-test-suite['posts'].find({}) +Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000c')}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['posts'].remove({}) +MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil}) +MONGODB ckeditor-test-suite['ckeditor_assets'].remove({}) +MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee000000d'), "info"=>"info", "content"=>"content"}]) + + +Started GET "/posts/4e326f16de2f150ee000000d/edit" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011 + Processing by PostsController#edit as HTML + Parameters: {"id"=>"4e326f16de2f150ee000000d"} +MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e326f16de2f150ee000000d')}) +Rendered posts/_form.html.erb (3.5ms) +Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) +MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000d')})