ckeditor 3.6.0.pre → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/Gemfile +21 -10
  2. data/README.rdoc +3 -2
  3. data/lib/ckeditor/orm/mongoid.rb +94 -0
  4. data/lib/ckeditor/version.rb +1 -1
  5. data/lib/generators/ckeditor/install_generator.rb +18 -15
  6. data/lib/generators/ckeditor/models_generator.rb +13 -13
  7. data/lib/generators/ckeditor/templates/ckeditor.rb +7 -6
  8. data/lib/generators/ckeditor/templates/models/active_record/{asset.rb → ckeditor/asset.rb} +0 -0
  9. data/lib/generators/ckeditor/templates/models/active_record/{attachment_file.rb → ckeditor/attachment_file.rb} +0 -0
  10. data/lib/generators/ckeditor/templates/models/active_record/{picture.rb → ckeditor/picture.rb} +0 -0
  11. data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/asset.rb +7 -0
  12. data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/attachment_file.rb +15 -0
  13. data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/picture.rb +13 -0
  14. data/test/dummy/app/models/post.rb +16 -2
  15. data/test/dummy/config/application.rb +3 -3
  16. data/test/dummy/config/boot.rb +6 -7
  17. data/test/dummy/config/database.yml +6 -26
  18. data/test/dummy/config/initializers/ckeditor.rb +6 -6
  19. data/test/dummy/config/mongoid.yml +2 -0
  20. data/test/dummy/db/test.sqlite3 +0 -0
  21. data/test/dummy/log/test.log +1495 -0
  22. data/test/generators/install_generator_test.rb +11 -4
  23. data/test/generators/models_generator_test.rb +12 -2
  24. data/test/orm/active_record.rb +1 -0
  25. data/test/orm/mongoid.rb +6 -0
  26. data/test/test_helper.rb +5 -2
  27. data/test/tmp/app/models/ckeditor/asset.rb +3 -3
  28. data/test/tmp/app/models/ckeditor/attachment_file.rb +11 -11
  29. data/test/tmp/app/models/ckeditor/picture.rb +11 -11
  30. metadata +23 -22
  31. data/test/dummy/app/models/ckeditor/asset.rb +0 -7
  32. data/test/dummy/app/models/ckeditor/attachment_file.rb +0 -15
  33. data/test/dummy/app/models/ckeditor/picture.rb +0 -13
  34. data/test/tmp/db/migrate/20110711170413_create_ckeditor_assets.rb +0 -26
@@ -5,13 +5,13 @@ if Object.const_defined?("Ckeditor")
5
5
  # Load and configure the ORM. Supports :active_record (default), :mongo_mapper and
6
6
  # :mongoid (bson_ext recommended) by default. Other ORMs may be
7
7
  # available as additional gems.
8
- require 'ckeditor/orm/active_record'
9
-
10
- # Allowed image file types for upload.
8
+ require "ckeditor/orm/#{CKEDITOR_ORM}"
9
+
10
+ # Allowed image file types for upload.
11
11
  # Set to nil or [] (empty array) for all file types
12
- # config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"]
13
-
14
- # Allowed attachment file types for upload.
12
+ # config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"]
13
+
14
+ # Allowed attachment file types for upload.
15
15
  # Set to nil or [] (empty array) for all file types
16
16
  # config.attachment_file_types = ["doc", "docx", "rar", "zip", "xls", "swf"]
17
17
  end
@@ -0,0 +1,2 @@
1
+ test:
2
+ database: ckeditor-test-suite
Binary file
@@ -5396,3 +5396,1498 @@ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 52.6ms)
5396
5396
  AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 28
5397
5397
  SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5398
5398
  SQL (35.9ms) ROLLBACK
5399
+ SQL (0.3ms) SHOW TABLES
5400
+ SQL (0.3ms) SHOW TABLES
5401
+ SQL (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
5402
+ Migrating to CreatePosts (20110623120047)
5403
+ Migrating to CreateCkeditorAssets (20110705195648)
5404
+ SQL (0.1ms) BEGIN
5405
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5406
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5407
+ 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"}
5408
+ SQL (0.2ms) SAVEPOINT active_record_1
5409
+ SQL (0.9ms) describe `ckeditor_assets`
5410
+ 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')
5411
+ [paperclip] Saving attachments.
5412
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/3/rails_tar.gz
5413
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5414
+ Rendered text template (0.0ms)
5415
+ Completed 200 OK in 447ms (Views: 14.3ms | ActiveRecord: 3.4ms)
5416
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5417
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5418
+ SQL (0.1ms) SAVEPOINT active_record_1
5419
+ [paperclip] Deleting attachments.
5420
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/3/rails_tar.gz
5421
+ AREL (0.4ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 3
5422
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5423
+ SQL (82.8ms) ROLLBACK
5424
+ SQL (0.1ms) BEGIN
5425
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5426
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5427
+ 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>>}
5428
+ SQL (0.1ms) SAVEPOINT active_record_1
5429
+ 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')
5430
+ [paperclip] Saving attachments.
5431
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4/rails_tar.gz
5432
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5433
+ Completed 200 OK in 81ms (Views: 0.4ms | ActiveRecord: 84.8ms)
5434
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5435
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5436
+ SQL (0.1ms) SAVEPOINT active_record_1
5437
+ [paperclip] Deleting attachments.
5438
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4/rails_tar.gz
5439
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 4
5440
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5441
+ SQL (55.4ms) ROLLBACK
5442
+ SQL (0.1ms) BEGIN
5443
+ SQL (0.1ms) SAVEPOINT active_record_1
5444
+ 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')
5445
+ [paperclip] Saving attachments.
5446
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/5/rails_tar.gz
5447
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5448
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5449
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
5450
+ Parameters: {"id"=>5}
5451
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5 LIMIT 1
5452
+ SQL (0.1ms) SAVEPOINT active_record_1
5453
+ [paperclip] Deleting attachments.
5454
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/5/rails_tar.gz
5455
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5
5456
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5457
+ Redirected to http://test.host/ckeditor/attachment_files
5458
+ Completed 302 Found in 71ms
5459
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5460
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5461
+ SQL (50.5ms) ROLLBACK
5462
+ SQL (0.1ms) BEGIN
5463
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
5464
+ Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
5465
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
5466
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
5467
+ Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 51.7ms)
5468
+ Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5469
+ SQL (0.1ms) ROLLBACK
5470
+ SQL (0.1ms) BEGIN
5471
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5472
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5473
+ Parameters: {"qqfile"=>nil}
5474
+ SQL (0.1ms) SAVEPOINT active_record_1
5475
+ SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5476
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.0ms)
5477
+ SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5478
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5479
+ SQL (0.1ms) ROLLBACK
5480
+ SQL (0.0ms) BEGIN
5481
+ SQL (0.0ms) ROLLBACK
5482
+ SQL (0.0ms) BEGIN
5483
+ SQL (0.0ms) ROLLBACK
5484
+ SQL (0.0ms) BEGIN
5485
+ SQL (0.0ms) ROLLBACK
5486
+ SQL (0.0ms) BEGIN
5487
+ SQL (0.0ms) ROLLBACK
5488
+ SQL (0.1ms) BEGIN
5489
+ SQL (0.0ms) ROLLBACK
5490
+ SQL (0.0ms) BEGIN
5491
+ SQL (0.0ms) ROLLBACK
5492
+ SQL (0.0ms) BEGIN
5493
+ SQL (0.0ms) ROLLBACK
5494
+ SQL (0.0ms) BEGIN
5495
+ SQL (0.1ms) ROLLBACK
5496
+ SQL (0.0ms) BEGIN
5497
+ SQL (0.0ms) ROLLBACK
5498
+ SQL (0.0ms) BEGIN
5499
+ SQL (0.0ms) ROLLBACK
5500
+ SQL (0.0ms) BEGIN
5501
+ SQL (0.2ms) ROLLBACK
5502
+ SQL (0.1ms) BEGIN
5503
+ SQL (0.1ms) ROLLBACK
5504
+ SQL (0.1ms) BEGIN
5505
+ SQL (0.1ms) ROLLBACK
5506
+ SQL (0.1ms) BEGIN
5507
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5508
+ Processing by Ckeditor::PicturesController#create as HTML
5509
+ 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"}
5510
+ SQL (0.2ms) SAVEPOINT active_record_1
5511
+ SQL (0.8ms) describe `ckeditor_assets`
5512
+ 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')
5513
+ [paperclip] Saving attachments.
5514
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/original_rails.png
5515
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png
5516
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png
5517
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5518
+ Completed 200 OK in 745ms (Views: 1.0ms | ActiveRecord: 3.2ms)
5519
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5520
+ Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5521
+ SQL (0.1ms) SAVEPOINT active_record_1
5522
+ [paperclip] Deleting attachments.
5523
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5524
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5525
+ SQL (0.1ms) SAVEPOINT active_record_1
5526
+ [paperclip] Deleting attachments.
5527
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5528
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5529
+ SQL (0.1ms) SAVEPOINT active_record_1
5530
+ [paperclip] Deleting attachments.
5531
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/original_rails.png
5532
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png
5533
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png
5534
+ AREL (0.6ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 6
5535
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5536
+ SQL (66.6ms) ROLLBACK
5537
+ SQL (0.1ms) BEGIN
5538
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5539
+ Processing by Ckeditor::PicturesController#create as HTML
5540
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb3fa8a8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2550-1vv80gd-0>>}
5541
+ SQL (0.2ms) SAVEPOINT active_record_1
5542
+ 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')
5543
+ [paperclip] Saving attachments.
5544
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/original_rails.png
5545
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png
5546
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png
5547
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5548
+ Completed 200 OK in 199ms (Views: 0.7ms | ActiveRecord: 69.8ms)
5549
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5550
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5551
+ SQL (0.1ms) SAVEPOINT active_record_1
5552
+ [paperclip] Deleting attachments.
5553
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5554
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5555
+ SQL (0.1ms) SAVEPOINT active_record_1
5556
+ [paperclip] Deleting attachments.
5557
+ AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5558
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5559
+ SQL (0.1ms) SAVEPOINT active_record_1
5560
+ [paperclip] Deleting attachments.
5561
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/original_rails.png
5562
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png
5563
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png
5564
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 7
5565
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5566
+ SQL (62.0ms) ROLLBACK
5567
+ SQL (0.1ms) BEGIN
5568
+ SQL (0.2ms) SAVEPOINT active_record_1
5569
+ 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')
5570
+ [paperclip] Saving attachments.
5571
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/original_rails.png
5572
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png
5573
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png
5574
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5575
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5576
+ Processing by Ckeditor::PicturesController#destroy as HTML
5577
+ Parameters: {"id"=>8}
5578
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8 LIMIT 1
5579
+ SQL (0.1ms) SAVEPOINT active_record_1
5580
+ [paperclip] Deleting attachments.
5581
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/original_rails.png
5582
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png
5583
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png
5584
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8
5585
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5586
+ Redirected to http://test.host/ckeditor/pictures
5587
+ Completed 302 Found in 14ms
5588
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5589
+ Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5590
+ SQL (0.1ms) SAVEPOINT active_record_1
5591
+ [paperclip] Deleting attachments.
5592
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5593
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5594
+ SQL (0.1ms) SAVEPOINT active_record_1
5595
+ [paperclip] Deleting attachments.
5596
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5597
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5598
+ SQL (86.9ms) ROLLBACK
5599
+ SQL (0.1ms) BEGIN
5600
+ Processing by Ckeditor::PicturesController#index as HTML
5601
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc
5602
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (5.1ms)
5603
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
5604
+ Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 88.6ms)
5605
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5606
+ SQL (0.1ms) SAVEPOINT active_record_1
5607
+ [paperclip] Deleting attachments.
5608
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5609
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5610
+ SQL (0.1ms) SAVEPOINT active_record_1
5611
+ [paperclip] Deleting attachments.
5612
+ AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5613
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5614
+ SQL (52.6ms) ROLLBACK
5615
+ SQL (0.1ms) BEGIN
5616
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5617
+ Processing by Ckeditor::PicturesController#create as HTML
5618
+ Parameters: {"qqfile"=>nil}
5619
+ SQL (0.1ms) SAVEPOINT active_record_1
5620
+ SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5621
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 54.1ms)
5622
+ SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5623
+ Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5624
+ SQL (0.1ms) SAVEPOINT active_record_1
5625
+ [paperclip] Deleting attachments.
5626
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5627
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5628
+ SQL (0.1ms) SAVEPOINT active_record_1
5629
+ [paperclip] Deleting attachments.
5630
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5631
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5632
+ SQL (41.8ms) ROLLBACK
5633
+ SQL (0.1ms) BEGIN
5634
+ SQL (0.1ms) SAVEPOINT active_record_1
5635
+ SQL (0.4ms) describe `posts`
5636
+ 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')
5637
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5638
+
5639
+
5640
+ Started GET "/posts/new" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
5641
+ Processing by PostsController#new as HTML
5642
+ Rendered posts/_form.html.erb (4.0ms)
5643
+ Completed 200 OK in 57ms (Views: 56.3ms | ActiveRecord: 43.5ms)
5644
+ SQL (0.2ms) SAVEPOINT active_record_1
5645
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 1
5646
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5647
+ SQL (46.0ms) ROLLBACK
5648
+ SQL (0.1ms) BEGIN
5649
+ SQL (0.1ms) SAVEPOINT active_record_1
5650
+ 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')
5651
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5652
+
5653
+
5654
+ Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
5655
+ Processing by PostsController#index as HTML
5656
+ Post Load (0.2ms) SELECT `posts`.* FROM `posts`
5657
+ Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 47.0ms)
5658
+ SQL (0.1ms) SAVEPOINT active_record_1
5659
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 2
5660
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5661
+ SQL (53.0ms) ROLLBACK
5662
+ SQL (0.1ms) BEGIN
5663
+ SQL (0.1ms) SAVEPOINT active_record_1
5664
+ 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')
5665
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5666
+
5667
+
5668
+ Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
5669
+ Processing by PostsController#index as HTML
5670
+ Post Load (0.2ms) SELECT `posts`.* FROM `posts`
5671
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 54.0ms)
5672
+ SQL (0.1ms) SAVEPOINT active_record_1
5673
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 3
5674
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5675
+ SQL (40.3ms) ROLLBACK
5676
+ SQL (0.1ms) BEGIN
5677
+ SQL (0.1ms) SAVEPOINT active_record_1
5678
+ 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')
5679
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5680
+
5681
+
5682
+ Started GET "/posts/4/edit" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
5683
+ Processing by PostsController#edit as HTML
5684
+ Parameters: {"id"=>"4"}
5685
+ Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1
5686
+ Rendered posts/_form.html.erb (5.5ms)
5687
+ Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 41.4ms)
5688
+ SQL (0.1ms) SAVEPOINT active_record_1
5689
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 4
5690
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5691
+ SQL (63.7ms) ROLLBACK
5692
+ SQL (0.4ms) SHOW TABLES
5693
+ SQL (0.3ms) SHOW TABLES
5694
+ SQL (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
5695
+ Migrating to CreatePosts (20110623120047)
5696
+ Migrating to CreateCkeditorAssets (20110705195648)
5697
+ SQL (0.1ms) BEGIN
5698
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5699
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5700
+ 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"}
5701
+ SQL (0.2ms) SAVEPOINT active_record_1
5702
+ SQL (1.0ms) describe `ckeditor_assets`
5703
+ 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)
5704
+ [paperclip] Saving attachments.
5705
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/9/rails_tar.gz
5706
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5707
+ Rendered text template (0.0ms)
5708
+ Completed 200 OK in 290ms (Views: 1.4ms | ActiveRecord: 2.8ms)
5709
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5710
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5711
+ SQL (0.1ms) SAVEPOINT active_record_1
5712
+ [paperclip] Deleting attachments.
5713
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/9/rails_tar.gz
5714
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 9
5715
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5716
+ SQL (105.8ms) ROLLBACK
5717
+ SQL (0.1ms) BEGIN
5718
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5719
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5720
+ 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>>}
5721
+ SQL (0.1ms) SAVEPOINT active_record_1
5722
+ 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)
5723
+ [paperclip] Saving attachments.
5724
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/10/rails_tar.gz
5725
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5726
+ Completed 200 OK in 143ms (Views: 0.6ms | ActiveRecord: 107.7ms)
5727
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5728
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5729
+ SQL (0.1ms) SAVEPOINT active_record_1
5730
+ [paperclip] Deleting attachments.
5731
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/10/rails_tar.gz
5732
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 10
5733
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5734
+ SQL (87.8ms) ROLLBACK
5735
+ SQL (0.2ms) BEGIN
5736
+ SQL (0.1ms) SAVEPOINT active_record_1
5737
+ 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)
5738
+ [paperclip] Saving attachments.
5739
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/11/rails_tar.gz
5740
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5741
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5742
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
5743
+ Parameters: {"id"=>11}
5744
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11 LIMIT 1
5745
+ SQL (0.1ms) SAVEPOINT active_record_1
5746
+ [paperclip] Deleting attachments.
5747
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/11/rails_tar.gz
5748
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11
5749
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5750
+ Redirected to http://test.host/ckeditor/attachment_files
5751
+ Completed 302 Found in 101ms
5752
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5753
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5754
+ SQL (52.8ms) ROLLBACK
5755
+ SQL (0.1ms) BEGIN
5756
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
5757
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
5758
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
5759
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
5760
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 53.7ms)
5761
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5762
+ SQL (0.1ms) ROLLBACK
5763
+ SQL (0.0ms) BEGIN
5764
+ SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5765
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5766
+ Parameters: {"qqfile"=>nil}
5767
+ SQL (0.1ms) SAVEPOINT active_record_1
5768
+ SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5769
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms)
5770
+ SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5771
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5772
+ SQL (0.1ms) ROLLBACK
5773
+ SQL (0.1ms) BEGIN
5774
+ SQL (0.0ms) ROLLBACK
5775
+ SQL (0.0ms) BEGIN
5776
+ SQL (0.0ms) ROLLBACK
5777
+ SQL (0.0ms) BEGIN
5778
+ SQL (0.0ms) ROLLBACK
5779
+ SQL (0.0ms) BEGIN
5780
+ SQL (0.0ms) ROLLBACK
5781
+ SQL (0.0ms) BEGIN
5782
+ SQL (0.1ms) ROLLBACK
5783
+ SQL (0.0ms) BEGIN
5784
+ SQL (0.0ms) ROLLBACK
5785
+ SQL (0.0ms) BEGIN
5786
+ SQL (0.0ms) ROLLBACK
5787
+ SQL (0.0ms) BEGIN
5788
+ SQL (0.0ms) ROLLBACK
5789
+ SQL (0.0ms) BEGIN
5790
+ SQL (0.0ms) ROLLBACK
5791
+ SQL (0.0ms) BEGIN
5792
+ SQL (0.0ms) ROLLBACK
5793
+ SQL (0.0ms) BEGIN
5794
+ SQL (0.2ms) ROLLBACK
5795
+ SQL (0.1ms) BEGIN
5796
+ SQL (0.2ms) ROLLBACK
5797
+ SQL (0.1ms) BEGIN
5798
+ SQL (0.0ms) ROLLBACK
5799
+ SQL (0.1ms) BEGIN
5800
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5801
+ Processing by Ckeditor::PicturesController#create as HTML
5802
+ 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"}
5803
+ SQL (0.2ms) SAVEPOINT active_record_1
5804
+ SQL (0.5ms) describe `ckeditor_assets`
5805
+ 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')
5806
+ [paperclip] Saving attachments.
5807
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/original_rails.png
5808
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/thumb_rails.png
5809
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/content_rails.png
5810
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5811
+ Completed 200 OK in 154ms (Views: 1.1ms | ActiveRecord: 3.3ms)
5812
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5813
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5814
+ SQL (0.1ms) SAVEPOINT active_record_1
5815
+ [paperclip] Deleting attachments.
5816
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5817
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5818
+ SQL (0.1ms) SAVEPOINT active_record_1
5819
+ [paperclip] Deleting attachments.
5820
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5821
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5822
+ SQL (0.0ms) SAVEPOINT active_record_1
5823
+ [paperclip] Deleting attachments.
5824
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/original_rails.png
5825
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/thumb_rails.png
5826
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/content_rails.png
5827
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 12
5828
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5829
+ SQL (74.7ms) ROLLBACK
5830
+ SQL (0.1ms) BEGIN
5831
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5832
+ Processing by Ckeditor::PicturesController#create as HTML
5833
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbd3c1b4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2609-mvpgnf-0>>}
5834
+ SQL (0.1ms) SAVEPOINT active_record_1
5835
+ 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')
5836
+ [paperclip] Saving attachments.
5837
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/original_rails.png
5838
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/thumb_rails.png
5839
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/content_rails.png
5840
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5841
+ Completed 200 OK in 187ms (Views: 0.7ms | ActiveRecord: 77.4ms)
5842
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5843
+ Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5844
+ SQL (0.1ms) SAVEPOINT active_record_1
5845
+ [paperclip] Deleting attachments.
5846
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5847
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5848
+ SQL (0.1ms) SAVEPOINT active_record_1
5849
+ [paperclip] Deleting attachments.
5850
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5851
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5852
+ SQL (0.1ms) SAVEPOINT active_record_1
5853
+ [paperclip] Deleting attachments.
5854
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/original_rails.png
5855
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/thumb_rails.png
5856
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/content_rails.png
5857
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 13
5858
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5859
+ SQL (54.1ms) ROLLBACK
5860
+ SQL (0.1ms) BEGIN
5861
+ SQL (0.1ms) SAVEPOINT active_record_1
5862
+ 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')
5863
+ [paperclip] Saving attachments.
5864
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/original_rails.png
5865
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png
5866
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png
5867
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5868
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5869
+ Processing by Ckeditor::PicturesController#destroy as HTML
5870
+ Parameters: {"id"=>14}
5871
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14 LIMIT 1
5872
+ SQL (0.1ms) SAVEPOINT active_record_1
5873
+ [paperclip] Deleting attachments.
5874
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/original_rails.png
5875
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png
5876
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png
5877
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14
5878
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5879
+ Redirected to http://test.host/ckeditor/pictures
5880
+ Completed 302 Found in 13ms
5881
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5882
+ Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5883
+ SQL (0.1ms) SAVEPOINT active_record_1
5884
+ [paperclip] Deleting attachments.
5885
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5886
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5887
+ SQL (0.1ms) SAVEPOINT active_record_1
5888
+ [paperclip] Deleting attachments.
5889
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5890
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5891
+ SQL (85.4ms) ROLLBACK
5892
+ SQL (0.1ms) BEGIN
5893
+ Processing by Ckeditor::PicturesController#index as HTML
5894
+ Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc
5895
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (6.4ms)
5896
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms)
5897
+ Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 87.4ms)
5898
+ Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5899
+ SQL (0.1ms) SAVEPOINT active_record_1
5900
+ [paperclip] Deleting attachments.
5901
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5902
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5903
+ SQL (0.0ms) SAVEPOINT active_record_1
5904
+ [paperclip] Deleting attachments.
5905
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5906
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5907
+ SQL (56.4ms) ROLLBACK
5908
+ SQL (0.1ms) BEGIN
5909
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5910
+ Processing by Ckeditor::PicturesController#create as HTML
5911
+ Parameters: {"qqfile"=>nil}
5912
+ SQL (0.1ms) SAVEPOINT active_record_1
5913
+ SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5914
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 58.0ms)
5915
+ SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5916
+ Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
5917
+ SQL (0.1ms) SAVEPOINT active_record_1
5918
+ [paperclip] Deleting attachments.
5919
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
5920
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5921
+ SQL (0.0ms) SAVEPOINT active_record_1
5922
+ [paperclip] Deleting attachments.
5923
+ AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
5924
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5925
+ SQL (41.9ms) ROLLBACK
5926
+ SQL (0.0ms) BEGIN
5927
+ SQL (0.1ms) SAVEPOINT active_record_1
5928
+ SQL (0.3ms) describe `posts`
5929
+ 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')
5930
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5931
+
5932
+
5933
+ Started GET "/posts/new" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011
5934
+ Processing by PostsController#new as HTML
5935
+ Rendered posts/_form.html.erb (4.5ms)
5936
+ Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 43.4ms)
5937
+ SQL (0.1ms) SAVEPOINT active_record_1
5938
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 5
5939
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5940
+ SQL (47.1ms) ROLLBACK
5941
+ SQL (0.0ms) BEGIN
5942
+ SQL (0.0ms) SAVEPOINT active_record_1
5943
+ 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')
5944
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5945
+
5946
+
5947
+ Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011
5948
+ Processing by PostsController#index as HTML
5949
+ Post Load (0.2ms) SELECT `posts`.* FROM `posts`
5950
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 47.9ms)
5951
+ SQL (0.1ms) SAVEPOINT active_record_1
5952
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 6
5953
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5954
+ SQL (43.9ms) ROLLBACK
5955
+ SQL (0.1ms) BEGIN
5956
+ SQL (0.0ms) SAVEPOINT active_record_1
5957
+ 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')
5958
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5959
+
5960
+
5961
+ Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011
5962
+ Processing by PostsController#index as HTML
5963
+ Post Load (0.2ms) SELECT `posts`.* FROM `posts`
5964
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 44.8ms)
5965
+ SQL (0.1ms) SAVEPOINT active_record_1
5966
+ AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 7
5967
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5968
+ SQL (44.1ms) ROLLBACK
5969
+ SQL (0.1ms) BEGIN
5970
+ SQL (0.0ms) SAVEPOINT active_record_1
5971
+ 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')
5972
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
5973
+
5974
+
5975
+ Started GET "/posts/8/edit" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011
5976
+ Processing by PostsController#edit as HTML
5977
+ Parameters: {"id"=>"8"}
5978
+ Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1
5979
+ Rendered posts/_form.html.erb (3.7ms)
5980
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 45.1ms)
5981
+ SQL (0.1ms) SAVEPOINT active_record_1
5982
+ AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 8
5983
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
5984
+ SQL (40.9ms) ROLLBACK
5985
+ SQL (0.4ms) SHOW TABLES
5986
+ SQL (0.3ms) SHOW TABLES
5987
+ SQL (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
5988
+ Migrating to CreatePosts (20110623120047)
5989
+ Migrating to CreateCkeditorAssets (20110705195648)
5990
+ SQL (0.1ms) BEGIN
5991
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
5992
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
5993
+ 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"}
5994
+ SQL (0.1ms) SAVEPOINT active_record_1
5995
+ SQL (0.6ms) describe `ckeditor_assets`
5996
+ 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')
5997
+ [paperclip] Saving attachments.
5998
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/15/rails_tar.gz
5999
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6000
+ Rendered text template (0.0ms)
6001
+ Completed 200 OK in 439ms (Views: 52.2ms | ActiveRecord: 2.5ms)
6002
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6003
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6004
+ SQL (0.1ms) SAVEPOINT active_record_1
6005
+ [paperclip] Deleting attachments.
6006
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/15/rails_tar.gz
6007
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 15
6008
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6009
+ SQL (55.7ms) ROLLBACK
6010
+ SQL (0.0ms) BEGIN
6011
+ SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6012
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6013
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa4b45ec @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6186-wf20qe>>}
6014
+ SQL (0.2ms) SAVEPOINT active_record_1
6015
+ 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')
6016
+ [paperclip] Saving attachments.
6017
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/16/rails_tar.gz
6018
+ SQL (0.2ms) RELEASE SAVEPOINT active_record_1
6019
+ Completed 200 OK in 97ms (Views: 0.7ms | ActiveRecord: 57.8ms)
6020
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6021
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6022
+ SQL (0.1ms) SAVEPOINT active_record_1
6023
+ [paperclip] Deleting attachments.
6024
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/16/rails_tar.gz
6025
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 16
6026
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6027
+ SQL (62.8ms) ROLLBACK
6028
+ SQL (0.1ms) BEGIN
6029
+ SQL (0.1ms) SAVEPOINT active_record_1
6030
+ 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')
6031
+ [paperclip] Saving attachments.
6032
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/17/rails_tar.gz
6033
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6034
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6035
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
6036
+ Parameters: {"id"=>17}
6037
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17 LIMIT 1
6038
+ SQL (0.1ms) SAVEPOINT active_record_1
6039
+ [paperclip] Deleting attachments.
6040
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/17/rails_tar.gz
6041
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17
6042
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6043
+ Redirected to http://test.host/ckeditor/attachment_files
6044
+ Completed 302 Found in 53ms
6045
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6046
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6047
+ SQL (67.3ms) ROLLBACK
6048
+ SQL (0.1ms) BEGIN
6049
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
6050
+ Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
6051
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6052
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
6053
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 68.4ms)
6054
+ Ckeditor::AttachmentFile Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6055
+ SQL (0.1ms) ROLLBACK
6056
+ SQL (0.0ms) BEGIN
6057
+ SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6058
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6059
+ Parameters: {"qqfile"=>nil}
6060
+ SQL (0.1ms) SAVEPOINT active_record_1
6061
+ SQL (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
6062
+ Completed 200 OK in 40ms (Views: 0.4ms | ActiveRecord: 1.0ms)
6063
+ SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6064
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
6065
+ SQL (0.1ms) ROLLBACK
6066
+ SQL (0.1ms) BEGIN
6067
+ SQL (0.0ms) ROLLBACK
6068
+ SQL (0.0ms) BEGIN
6069
+ SQL (0.0ms) ROLLBACK
6070
+ SQL (0.0ms) BEGIN
6071
+ SQL (0.0ms) ROLLBACK
6072
+ SQL (0.0ms) BEGIN
6073
+ SQL (0.0ms) ROLLBACK
6074
+ SQL (0.0ms) BEGIN
6075
+ SQL (0.0ms) ROLLBACK
6076
+ SQL (0.0ms) BEGIN
6077
+ SQL (0.0ms) ROLLBACK
6078
+ SQL (0.0ms) BEGIN
6079
+ SQL (0.0ms) ROLLBACK
6080
+ SQL (0.0ms) BEGIN
6081
+ SQL (0.0ms) ROLLBACK
6082
+ SQL (0.0ms) BEGIN
6083
+ SQL (0.0ms) ROLLBACK
6084
+ SQL (0.0ms) BEGIN
6085
+ SQL (0.0ms) ROLLBACK
6086
+ SQL (0.0ms) BEGIN
6087
+ SQL (0.2ms) ROLLBACK
6088
+ SQL (0.2ms) BEGIN
6089
+ SQL (0.2ms) ROLLBACK
6090
+ SQL (0.2ms) BEGIN
6091
+ SQL (0.2ms) ROLLBACK
6092
+ SQL (0.2ms) BEGIN
6093
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6094
+ Processing by Ckeditor::PicturesController#create as HTML
6095
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xac3b734 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6186-12xl642>>, "CKEditor"=>"ckeditor_field"}
6096
+ SQL (0.2ms) SAVEPOINT active_record_1
6097
+ SQL (0.8ms) describe `ckeditor_assets`
6098
+ 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')
6099
+ [paperclip] Saving attachments.
6100
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/original_rails.png
6101
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/content_rails.png
6102
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/thumb_rails.png
6103
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6104
+ Completed 200 OK in 237ms (Views: 0.9ms | ActiveRecord: 3.9ms)
6105
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6106
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6107
+ SQL (0.1ms) SAVEPOINT active_record_1
6108
+ [paperclip] Deleting attachments.
6109
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
6110
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6111
+ SQL (0.1ms) SAVEPOINT active_record_1
6112
+ [paperclip] Deleting attachments.
6113
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
6114
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6115
+ SQL (0.1ms) SAVEPOINT active_record_1
6116
+ [paperclip] Deleting attachments.
6117
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/original_rails.png
6118
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/content_rails.png
6119
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/thumb_rails.png
6120
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 18
6121
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6122
+ SQL (57.8ms) ROLLBACK
6123
+ SQL (0.1ms) BEGIN
6124
+ SQL (0.2ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6125
+ Processing by Ckeditor::PicturesController#create as HTML
6126
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9c6989c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6186-1susr1w>>}
6127
+ SQL (0.2ms) SAVEPOINT active_record_1
6128
+ 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')
6129
+ [paperclip] Saving attachments.
6130
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/original_rails.png
6131
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/content_rails.png
6132
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/thumb_rails.png
6133
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6134
+ Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 60.6ms)
6135
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6136
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6137
+ SQL (0.1ms) SAVEPOINT active_record_1
6138
+ [paperclip] Deleting attachments.
6139
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
6140
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6141
+ SQL (0.1ms) SAVEPOINT active_record_1
6142
+ [paperclip] Deleting attachments.
6143
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
6144
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6145
+ SQL (0.0ms) SAVEPOINT active_record_1
6146
+ [paperclip] Deleting attachments.
6147
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/original_rails.png
6148
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/content_rails.png
6149
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/thumb_rails.png
6150
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 19
6151
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6152
+ SQL (60.2ms) ROLLBACK
6153
+ SQL (0.1ms) BEGIN
6154
+ SQL (0.2ms) SAVEPOINT active_record_1
6155
+ 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')
6156
+ [paperclip] Saving attachments.
6157
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/original_rails.png
6158
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png
6159
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png
6160
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6161
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6162
+ Processing by Ckeditor::PicturesController#destroy as HTML
6163
+ Parameters: {"id"=>20}
6164
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20 LIMIT 1
6165
+ SQL (0.1ms) SAVEPOINT active_record_1
6166
+ [paperclip] Deleting attachments.
6167
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/original_rails.png
6168
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png
6169
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png
6170
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20
6171
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6172
+ Redirected to http://test.host/ckeditor/pictures
6173
+ Completed 302 Found in 8ms
6174
+ SQL (0.3ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6175
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6176
+ SQL (0.0ms) SAVEPOINT active_record_1
6177
+ [paperclip] Deleting attachments.
6178
+ AREL (0.3ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
6179
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6180
+ SQL (0.1ms) SAVEPOINT active_record_1
6181
+ [paperclip] Deleting attachments.
6182
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
6183
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
6184
+ SQL (47.5ms) ROLLBACK
6185
+ SQL (0.1ms) BEGIN
6186
+ Processing by Ckeditor::PicturesController#index as HTML
6187
+ Ckeditor::Picture Load (0.3ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc
6188
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (6.2ms)
6189
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms)
6190
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 49.2ms)
6191
+ Ckeditor::Picture Load (0.4ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6192
+ SQL (0.1ms) SAVEPOINT active_record_1
6193
+ [paperclip] Deleting attachments.
6194
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
6195
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6196
+ SQL (0.1ms) SAVEPOINT active_record_1
6197
+ [paperclip] Deleting attachments.
6198
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
6199
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6200
+ SQL (46.2ms) ROLLBACK
6201
+ SQL (0.1ms) BEGIN
6202
+ SQL (0.4ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6203
+ Processing by Ckeditor::PicturesController#create as HTML
6204
+ Parameters: {"qqfile"=>nil}
6205
+ SQL (0.1ms) SAVEPOINT active_record_1
6206
+ SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
6207
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 47.8ms)
6208
+ SQL (0.1ms) SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6209
+ Ckeditor::Picture Load (0.2ms) SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
6210
+ SQL (0.0ms) SAVEPOINT active_record_1
6211
+ [paperclip] Deleting attachments.
6212
+ AREL (0.2ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
6213
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
6214
+ SQL (0.1ms) SAVEPOINT active_record_1
6215
+ [paperclip] Deleting attachments.
6216
+ AREL (0.1ms) DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
6217
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
6218
+ SQL (41.1ms) ROLLBACK
6219
+ SQL (0.1ms) BEGIN
6220
+ SQL (0.1ms) SAVEPOINT active_record_1
6221
+ SQL (0.4ms) describe `posts`
6222
+ 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')
6223
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6224
+
6225
+
6226
+ Started GET "/posts/new" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
6227
+ Processing by PostsController#new as HTML
6228
+ Rendered posts/_form.html.erb (4.4ms)
6229
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 42.9ms)
6230
+ SQL (0.1ms) SAVEPOINT active_record_1
6231
+ AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 9
6232
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6233
+ SQL (41.4ms) ROLLBACK
6234
+ SQL (0.1ms) BEGIN
6235
+ SQL (0.1ms) SAVEPOINT active_record_1
6236
+ 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')
6237
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6238
+
6239
+
6240
+ Started GET "/posts" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
6241
+ Processing by PostsController#index as HTML
6242
+ Post Load (0.2ms) SELECT `posts`.* FROM `posts`
6243
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 42.5ms)
6244
+ SQL (0.1ms) SAVEPOINT active_record_1
6245
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 10
6246
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6247
+ SQL (46.7ms) ROLLBACK
6248
+ SQL (0.1ms) BEGIN
6249
+ SQL (0.1ms) SAVEPOINT active_record_1
6250
+ 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')
6251
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6252
+
6253
+
6254
+ Started GET "/posts" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
6255
+ Processing by PostsController#index as HTML
6256
+ Post Load (0.3ms) SELECT `posts`.* FROM `posts`
6257
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 47.9ms)
6258
+ SQL (0.1ms) SAVEPOINT active_record_1
6259
+ AREL (0.2ms) DELETE FROM `posts` WHERE `posts`.`id` = 11
6260
+ SQL (0.0ms) RELEASE SAVEPOINT active_record_1
6261
+ SQL (43.4ms) ROLLBACK
6262
+ SQL (0.1ms) BEGIN
6263
+ SQL (0.1ms) SAVEPOINT active_record_1
6264
+ 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')
6265
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6266
+
6267
+
6268
+ Started GET "/posts/12/edit" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
6269
+ Processing by PostsController#edit as HTML
6270
+ Parameters: {"id"=>"12"}
6271
+ Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1
6272
+ Rendered posts/_form.html.erb (3.4ms)
6273
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 44.4ms)
6274
+ SQL (0.1ms) SAVEPOINT active_record_1
6275
+ AREL (0.3ms) DELETE FROM `posts` WHERE `posts`.`id` = 12
6276
+ SQL (0.1ms) RELEASE SAVEPOINT active_record_1
6277
+ SQL (40.1ms) ROLLBACK
6278
+ SQL (0.4ms)  SELECT name
6279
+ FROM sqlite_master
6280
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6281
+ 
6282
+ SQL (0.1ms) select sqlite_version(*)
6283
+ SQL (138.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
6284
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
6285
+ SQL (89.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6286
+ SQL (0.2ms) SELECT name
6287
+ FROM sqlite_master
6288
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6289
+ SQL (0.2ms)  SELECT name
6290
+ FROM sqlite_master
6291
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6292
+ 
6293
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6294
+ Migrating to CreatePosts (20110623120047)
6295
+ 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) 
6296
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
6297
+ Migrating to CreateCkeditorAssets (20110705195648)
6298
+ 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) 
6299
+ SQL (0.1ms) PRAGMA index_list("ckeditor_assets")
6300
+ SQL (0.3ms) CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
6301
+ SQL (0.1ms) PRAGMA index_list("ckeditor_assets")
6302
+ SQL (0.1ms) PRAGMA index_info('idx_ckeditor_assetable_type')
6303
+ SQL (0.2ms) CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")
6304
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110705195648')
6305
+ SQL (0.2ms) SELECT name
6306
+ FROM sqlite_master
6307
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6308
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6309
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6310
+ 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"}
6311
+ 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')
6312
+ [paperclip] Saving attachments.
6313
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6314
+ Rendered text template (0.0ms)
6315
+ Completed 200 OK in 261ms (Views: 9.4ms | ActiveRecord: 231.9ms)
6316
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6317
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6318
+ [paperclip] Deleting attachments.
6319
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6320
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
6321
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6322
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6323
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb560620 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6937-1vngz5d>>}
6324
+ 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')
6325
+ [paperclip] Saving attachments.
6326
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6327
+ Completed 200 OK in 96ms (Views: 0.4ms | ActiveRecord: 1.0ms)
6328
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6329
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6330
+ [paperclip] Deleting attachments.
6331
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6332
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
6333
+ 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')
6334
+ [paperclip] Saving attachments.
6335
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6336
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6337
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
6338
+ Parameters: {"id"=>1}
6339
+ Ckeditor::AttachmentFile Load (0.6ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
6340
+ [paperclip] Deleting attachments.
6341
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6342
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
6343
+ Redirected to http://test.host/ckeditor/attachment_files
6344
+ Completed 302 Found in 33ms
6345
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6346
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6347
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
6348
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
6349
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6350
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
6351
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.4ms)
6352
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6353
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6354
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6355
+ Parameters: {"qqfile"=>nil}
6356
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
6357
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6358
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6359
+ SQL (0.2ms) SELECT name
6360
+ FROM sqlite_master
6361
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6362
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6363
+ Processing by Ckeditor::PicturesController#create as HTML
6364
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbf2e47c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6937-ptcqz3>>, "CKEditor"=>"ckeditor_field"}
6365
+ 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')
6366
+ [paperclip] Saving attachments.
6367
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6368
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6369
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6370
+ Completed 200 OK in 491ms (Views: 1.2ms | ActiveRecord: 1.0ms)
6371
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6372
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6373
+ [paperclip] Deleting attachments.
6374
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6375
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6376
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6377
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
6378
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6379
+ Processing by Ckeditor::PicturesController#create as HTML
6380
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb26fb78 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6937-638skb>>}
6381
+ 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')
6382
+ [paperclip] Saving attachments.
6383
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6384
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6385
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6386
+ Completed 200 OK in 176ms (Views: 0.5ms | ActiveRecord: 1.2ms)
6387
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6388
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6389
+ [paperclip] Deleting attachments.
6390
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6391
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6392
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6393
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
6394
+ 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')
6395
+ [paperclip] Saving attachments.
6396
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6397
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6398
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6399
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6400
+ Processing by Ckeditor::PicturesController#destroy as HTML
6401
+ Parameters: {"id"=>1}
6402
+ Ckeditor::Picture Load (0.4ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
6403
+ [paperclip] Deleting attachments.
6404
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6405
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6406
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6407
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
6408
+ Redirected to http://test.host/ckeditor/pictures
6409
+ Completed 302 Found in 8ms
6410
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6411
+ Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6412
+ Processing by Ckeditor::PicturesController#index as HTML
6413
+ Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
6414
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6415
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
6416
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms)
6417
+ Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6418
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6419
+ Processing by Ckeditor::PicturesController#create as HTML
6420
+ Parameters: {"qqfile"=>nil}
6421
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
6422
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6423
+ Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6424
+ SQL (0.2ms) SELECT name
6425
+ FROM sqlite_master
6426
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6427
+ 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')
6428
+
6429
+
6430
+ Started GET "/posts/new" for 127.0.0.1 at 2011-07-13 11:01:45 +0300
6431
+ Processing by PostsController#new as HTML
6432
+ Rendered posts/_form.html.erb (4.6ms)
6433
+ Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.6ms)
6434
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6435
+ 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')
6436
+
6437
+
6438
+ Started GET "/posts" for 127.0.0.1 at 2011-07-13 11:01:45 +0300
6439
+ Processing by PostsController#index as HTML
6440
+ Post Load (0.2ms) SELECT "posts".* FROM "posts"
6441
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms)
6442
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6443
+ 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')
6444
+
6445
+
6446
+ Started GET "/posts" for 127.0.0.1 at 2011-07-13 11:01:45 +0300
6447
+ Processing by PostsController#index as HTML
6448
+ Post Load (0.2ms) SELECT "posts".* FROM "posts"
6449
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.5ms)
6450
+ AREL (0.2ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6451
+ 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')
6452
+
6453
+
6454
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2011-07-13 11:01:45 +0300
6455
+ Processing by PostsController#edit as HTML
6456
+ Parameters: {"id"=>"1"}
6457
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1
6458
+ Rendered posts/_form.html.erb (3.8ms)
6459
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.7ms)
6460
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6461
+ SQL (0.5ms)  SELECT name
6462
+ FROM sqlite_master
6463
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6464
+ 
6465
+ SQL (0.1ms) SELECT name
6466
+ FROM sqlite_master
6467
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
6468
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6469
+ Migrating to CreatePosts (20110623120047)
6470
+ Migrating to CreateCkeditorAssets (20110705195648)
6471
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6472
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6473
+ 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"}
6474
+ 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')
6475
+ [paperclip] Saving attachments.
6476
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6477
+ Rendered text template (0.0ms)
6478
+ Completed 200 OK in 480ms (Views: 14.4ms | ActiveRecord: 11.6ms)
6479
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6480
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6481
+ [paperclip] Deleting attachments.
6482
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6483
+ AREL (0.2ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
6484
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6485
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6486
+ 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>>}
6487
+ 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')
6488
+ [paperclip] Saving attachments.
6489
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6490
+ Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 1.2ms)
6491
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6492
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6493
+ [paperclip] Deleting attachments.
6494
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6495
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
6496
+ 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')
6497
+ [paperclip] Saving attachments.
6498
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6499
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6500
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
6501
+ Parameters: {"id"=>1}
6502
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
6503
+ [paperclip] Deleting attachments.
6504
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
6505
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
6506
+ Redirected to http://test.host/ckeditor/attachment_files
6507
+ Completed 302 Found in 9ms
6508
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6509
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6510
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
6511
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
6512
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6513
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
6514
+ Completed 200 OK in 58ms (Views: 57.5ms | ActiveRecord: 0.3ms)
6515
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6516
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6517
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6518
+ Parameters: {"qqfile"=>nil}
6519
+ Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.4ms)
6520
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6521
+ Ckeditor::AttachmentFile Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
6522
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6523
+ Processing by Ckeditor::PicturesController#create as HTML
6524
+ 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"}
6525
+ 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')
6526
+ [paperclip] Saving attachments.
6527
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6528
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6529
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6530
+ Completed 200 OK in 555ms (Views: 1.1ms | ActiveRecord: 0.8ms)
6531
+ SQL (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6532
+ Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6533
+ [paperclip] Deleting attachments.
6534
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6535
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6536
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6537
+ AREL (0.2ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
6538
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6539
+ Processing by Ckeditor::PicturesController#create as HTML
6540
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb60e4f0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3764-1jan4mf-0>>}
6541
+ 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')
6542
+ [paperclip] Saving attachments.
6543
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6544
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6545
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6546
+ Completed 200 OK in 175ms (Views: 0.4ms | ActiveRecord: 1.3ms)
6547
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6548
+ Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6549
+ [paperclip] Deleting attachments.
6550
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6551
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6552
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6553
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
6554
+ 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')
6555
+ [paperclip] Saving attachments.
6556
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6557
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6558
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6559
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6560
+ Processing by Ckeditor::PicturesController#destroy as HTML
6561
+ Parameters: {"id"=>1}
6562
+ Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
6563
+ [paperclip] Deleting attachments.
6564
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
6565
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
6566
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
6567
+ AREL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
6568
+ Redirected to http://test.host/ckeditor/pictures
6569
+ Completed 302 Found in 9ms
6570
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6571
+ Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6572
+ Processing by Ckeditor::PicturesController#index as HTML
6573
+ Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
6574
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6575
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
6576
+ Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.5ms)
6577
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6578
+ SQL (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6579
+ Processing by Ckeditor::PicturesController#create as HTML
6580
+ Parameters: {"qqfile"=>nil}
6581
+ Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
6582
+ SQL (0.1ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6583
+ Ckeditor::Picture Load (0.1ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
6584
+ 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')
6585
+
6586
+
6587
+ Started GET "/posts/new" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011
6588
+ Processing by PostsController#new as HTML
6589
+ Rendered posts/_form.html.erb (5.1ms)
6590
+ Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.5ms)
6591
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6592
+ 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')
6593
+
6594
+
6595
+ Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011
6596
+ Processing by PostsController#index as HTML
6597
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
6598
+ Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.4ms)
6599
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6600
+ 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')
6601
+
6602
+
6603
+ Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011
6604
+ Processing by PostsController#index as HTML
6605
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
6606
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.5ms)
6607
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6608
+ 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')
6609
+
6610
+
6611
+ Started GET "/posts/1/edit" for 127.0.0.1 at Fri Jul 29 11:26:08 +0300 2011
6612
+ Processing by PostsController#edit as HTML
6613
+ Parameters: {"id"=>"1"}
6614
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1
6615
+ Rendered posts/_form.html.erb (3.1ms)
6616
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms)
6617
+ AREL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = 1
6618
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
6619
+ MONGODB admin['$cmd'].find({:ismaster=>1})
6620
+ MONGODB admin['$cmd'].find({:ismaster=>1})
6621
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6622
+ MONGODB ckeditor-test-suite['posts'].remove({})
6623
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6624
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6625
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6626
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6627
+ 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"}
6628
+ 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}])
6629
+ [paperclip] Saving attachments.
6630
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000001/rails_tar.gz
6631
+ Rendered text template (0.0ms)
6632
+ Completed 200 OK in 263ms (Views: 1.6ms | ActiveRecord: 0.0ms)
6633
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6634
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6635
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
6636
+ [paperclip] Deleting attachments.
6637
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000001/rails_tar.gz
6638
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000001')})
6639
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6640
+ MONGODB ckeditor-test-suite['posts'].remove({})
6641
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6642
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6643
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6644
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6645
+ 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>>}
6646
+ 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}])
6647
+ [paperclip] Saving attachments.
6648
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000002/rails_tar.gz
6649
+ Completed 200 OK in 111ms (Views: 0.8ms | ActiveRecord: 0.0ms)
6650
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6651
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6652
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
6653
+ [paperclip] Deleting attachments.
6654
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000002/rails_tar.gz
6655
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000002')})
6656
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6657
+ MONGODB ckeditor-test-suite['posts'].remove({})
6658
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6659
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6660
+ 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}])
6661
+ [paperclip] Saving attachments.
6662
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000003/rails_tar.gz
6663
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6664
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
6665
+ Parameters: {"id"=>BSON::ObjectId('4e326eecde2f150ee0000003')}
6666
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e326eecde2f150ee0000003'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
6667
+ [paperclip] Deleting attachments.
6668
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e326eecde2f150ee0000003/rails_tar.gz
6669
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000003')})
6670
+ Redirected to http://test.host/ckeditor/attachment_files
6671
+ Completed 302 Found in 7ms
6672
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6673
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6674
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
6675
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6676
+ MONGODB ckeditor-test-suite['posts'].remove({})
6677
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6678
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6679
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
6680
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
6681
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6682
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (3.4ms)
6683
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
6684
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6685
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
6686
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6687
+ MONGODB ckeditor-test-suite['posts'].remove({})
6688
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6689
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6690
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6691
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
6692
+ Parameters: {"qqfile"=>nil}
6693
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
6694
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6695
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
6696
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
6697
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6698
+ MONGODB ckeditor-test-suite['posts'].remove({})
6699
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6700
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6701
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6702
+ MONGODB ckeditor-test-suite['posts'].remove({})
6703
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6704
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6705
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6706
+ MONGODB ckeditor-test-suite['posts'].remove({})
6707
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6708
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6709
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6710
+ MONGODB ckeditor-test-suite['posts'].remove({})
6711
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6712
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6713
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6714
+ MONGODB ckeditor-test-suite['posts'].remove({})
6715
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6716
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6717
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6718
+ MONGODB ckeditor-test-suite['posts'].remove({})
6719
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6720
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6721
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6722
+ MONGODB ckeditor-test-suite['posts'].remove({})
6723
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6724
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6725
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6726
+ MONGODB ckeditor-test-suite['posts'].remove({})
6727
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6728
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6729
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6730
+ MONGODB ckeditor-test-suite['posts'].remove({})
6731
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6732
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6733
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6734
+ MONGODB ckeditor-test-suite['posts'].remove({})
6735
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6736
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6737
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6738
+ MONGODB ckeditor-test-suite['posts'].remove({})
6739
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6740
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6741
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6742
+ MONGODB ckeditor-test-suite['posts'].remove({})
6743
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6744
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6745
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6746
+ MONGODB ckeditor-test-suite['posts'].remove({})
6747
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6748
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6749
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6750
+ MONGODB ckeditor-test-suite['posts'].remove({})
6751
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6752
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6753
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6754
+ MONGODB ckeditor-test-suite['posts'].remove({})
6755
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6756
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6757
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6758
+ MONGODB ckeditor-test-suite['posts'].remove({})
6759
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6760
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6761
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6762
+ Processing by Ckeditor::PicturesController#create as HTML
6763
+ 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"}
6764
+ 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}])
6765
+ [paperclip] Saving attachments.
6766
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/thumb_rails.png
6767
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/original_rails.png
6768
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/content_rails.png
6769
+ Completed 200 OK in 205ms (Views: 1.3ms | ActiveRecord: 0.0ms)
6770
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6771
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6772
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
6773
+ [paperclip] Deleting attachments.
6774
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/original_rails.png
6775
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/thumb_rails.png
6776
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/content_rails.png
6777
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000005')})
6778
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6779
+ MONGODB ckeditor-test-suite['posts'].remove({})
6780
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6781
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6782
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6783
+ Processing by Ckeditor::PicturesController#create as HTML
6784
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa512c64 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3808-1imr94a-0>>}
6785
+ 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}])
6786
+ [paperclip] Saving attachments.
6787
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/thumb_rails.png
6788
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/original_rails.png
6789
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/content_rails.png
6790
+ Completed 200 OK in 252ms (Views: 0.4ms | ActiveRecord: 0.0ms)
6791
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6792
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6793
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
6794
+ [paperclip] Deleting attachments.
6795
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/original_rails.png
6796
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/thumb_rails.png
6797
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/content_rails.png
6798
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000006')})
6799
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6800
+ MONGODB ckeditor-test-suite['posts'].remove({})
6801
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6802
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6803
+ 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}])
6804
+ [paperclip] Saving attachments.
6805
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/thumb_rails.png
6806
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/original_rails.png
6807
+ [paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/content_rails.png
6808
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6809
+ Processing by Ckeditor::PicturesController#destroy as HTML
6810
+ Parameters: {"id"=>BSON::ObjectId('4e326f16de2f150ee0000007')}
6811
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e326f16de2f150ee0000007'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
6812
+ [paperclip] Deleting attachments.
6813
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/original_rails.png
6814
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/thumb_rails.png
6815
+ [paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/content_rails.png
6816
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000007')})
6817
+ Redirected to http://test.host/ckeditor/pictures
6818
+ Completed 302 Found in 9ms
6819
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6820
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6821
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
6822
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6823
+ MONGODB ckeditor-test-suite['posts'].remove({})
6824
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6825
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6826
+ Processing by Ckeditor::PicturesController#index as HTML
6827
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
6828
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
6829
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.5ms)
6830
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
6831
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6832
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
6833
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6834
+ MONGODB ckeditor-test-suite['posts'].remove({})
6835
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6836
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6837
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6838
+ Processing by Ckeditor::PicturesController#create as HTML
6839
+ Parameters: {"qqfile"=>nil}
6840
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
6841
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6842
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
6843
+ MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
6844
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6845
+ MONGODB ckeditor-test-suite['posts'].remove({})
6846
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6847
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6848
+ MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000009'), "info"=>"info", "content"=>"content"}])
6849
+
6850
+
6851
+ Started GET "/posts/new" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011
6852
+ Processing by PostsController#new as HTML
6853
+ Rendered posts/_form.html.erb (4.6ms)
6854
+ Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)
6855
+ MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000009')})
6856
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6857
+ MONGODB ckeditor-test-suite['posts'].remove({})
6858
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6859
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6860
+ MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee000000b'), "info"=>"info", "content"=>"content"}])
6861
+
6862
+
6863
+ Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011
6864
+ Processing by PostsController#index as HTML
6865
+ MONGODB ckeditor-test-suite['posts'].find({})
6866
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
6867
+ MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000b')})
6868
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6869
+ MONGODB ckeditor-test-suite['posts'].remove({})
6870
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6871
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6872
+ MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee000000c'), "info"=>"info", "content"=>"content"}])
6873
+
6874
+
6875
+ Started GET "/posts" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011
6876
+ Processing by PostsController#index as HTML
6877
+ MONGODB ckeditor-test-suite['posts'].find({})
6878
+ Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
6879
+ MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000c')})
6880
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
6881
+ MONGODB ckeditor-test-suite['posts'].remove({})
6882
+ MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
6883
+ MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
6884
+ MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e326f16de2f150ee000000d'), "info"=>"info", "content"=>"content"}])
6885
+
6886
+
6887
+ Started GET "/posts/4e326f16de2f150ee000000d/edit" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011
6888
+ Processing by PostsController#edit as HTML
6889
+ Parameters: {"id"=>"4e326f16de2f150ee000000d"}
6890
+ MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e326f16de2f150ee000000d')})
6891
+ Rendered posts/_form.html.erb (3.5ms)
6892
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms)
6893
+ MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000d')})