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.
- data/Gemfile +21 -10
- data/README.rdoc +3 -2
- data/lib/ckeditor/orm/mongoid.rb +94 -0
- data/lib/ckeditor/version.rb +1 -1
- data/lib/generators/ckeditor/install_generator.rb +18 -15
- data/lib/generators/ckeditor/models_generator.rb +13 -13
- data/lib/generators/ckeditor/templates/ckeditor.rb +7 -6
- data/lib/generators/ckeditor/templates/models/active_record/{asset.rb → ckeditor/asset.rb} +0 -0
- data/lib/generators/ckeditor/templates/models/active_record/{attachment_file.rb → ckeditor/attachment_file.rb} +0 -0
- data/lib/generators/ckeditor/templates/models/active_record/{picture.rb → ckeditor/picture.rb} +0 -0
- data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/asset.rb +7 -0
- data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/attachment_file.rb +15 -0
- data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/picture.rb +13 -0
- data/test/dummy/app/models/post.rb +16 -2
- data/test/dummy/config/application.rb +3 -3
- data/test/dummy/config/boot.rb +6 -7
- data/test/dummy/config/database.yml +6 -26
- data/test/dummy/config/initializers/ckeditor.rb +6 -6
- data/test/dummy/config/mongoid.yml +2 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1495 -0
- data/test/generators/install_generator_test.rb +11 -4
- data/test/generators/models_generator_test.rb +12 -2
- data/test/orm/active_record.rb +1 -0
- data/test/orm/mongoid.rb +6 -0
- data/test/test_helper.rb +5 -2
- data/test/tmp/app/models/ckeditor/asset.rb +3 -3
- data/test/tmp/app/models/ckeditor/attachment_file.rb +11 -11
- data/test/tmp/app/models/ckeditor/picture.rb +11 -11
- metadata +23 -22
- data/test/dummy/app/models/ckeditor/asset.rb +0 -7
- data/test/dummy/app/models/ckeditor/attachment_file.rb +0 -15
- data/test/dummy/app/models/ckeditor/picture.rb +0 -13
- 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
|
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
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -5396,3 +5396,1498 @@ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 52.6ms)
|
|
5396
5396
|
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 28[0m
|
5397
5397
|
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5398
5398
|
[1m[36mSQL (35.9ms)[0m [1mROLLBACK[0m
|
5399
|
+
[1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
|
5400
|
+
[1m[35mSQL (0.3ms)[0m SHOW TABLES
|
5401
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
|
5402
|
+
Migrating to CreatePosts (20110623120047)
|
5403
|
+
Migrating to CreateCkeditorAssets (20110705195648)
|
5404
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5405
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
5409
|
+
[1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
|
5410
|
+
[1m[35mAREL (0.8ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5414
|
+
Rendered text template (0.0ms)
|
5415
|
+
Completed 200 OK in 447ms (Views: 14.3ms | ActiveRecord: 3.4ms)
|
5416
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5417
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5418
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 3[0m
|
5422
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5423
|
+
[1m[36mSQL (82.8ms)[0m [1mROLLBACK[0m
|
5424
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5425
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5429
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
5430
|
+
[paperclip] Saving attachments.
|
5431
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4/rails_tar.gz
|
5432
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5433
|
+
Completed 200 OK in 81ms (Views: 0.4ms | ActiveRecord: 84.8ms)
|
5434
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5435
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5436
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5437
|
+
[paperclip] Deleting attachments.
|
5438
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4/rails_tar.gz
|
5439
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 4
|
5440
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5441
|
+
[1m[35mSQL (55.4ms)[0m ROLLBACK
|
5442
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5443
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5444
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
5445
|
+
[paperclip] Saving attachments.
|
5446
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/5/rails_tar.gz
|
5447
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5448
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5449
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
5450
|
+
Parameters: {"id"=>5}
|
5451
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5 LIMIT 1
|
5452
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5453
|
+
[paperclip] Deleting attachments.
|
5454
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/5/rails_tar.gz
|
5455
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5
|
5456
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5457
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
5458
|
+
Completed 302 Found in 71ms
|
5459
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5460
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5461
|
+
[1m[35mSQL (50.5ms)[0m ROLLBACK
|
5462
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5463
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
5464
|
+
[1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m 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
|
+
[1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5469
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK
|
5470
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5471
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5472
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
5473
|
+
Parameters: {"qqfile"=>nil}
|
5474
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5475
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
5476
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.0ms)
|
5477
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5478
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5479
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
5480
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5481
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5482
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5483
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5484
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5485
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5486
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5487
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5488
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5489
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5490
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5491
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5492
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5493
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5494
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5495
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
5496
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5497
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5498
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5499
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5500
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5501
|
+
[1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
|
5502
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5503
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
5504
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5505
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
5506
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5507
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
5511
|
+
[1m[36mSQL (0.8ms)[0m [1mdescribe `ckeditor_assets`[0m
|
5512
|
+
[1m[35mAREL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5518
|
+
Completed 200 OK in 745ms (Views: 1.0ms | ActiveRecord: 3.2ms)
|
5519
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5520
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5521
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5522
|
+
[paperclip] Deleting attachments.
|
5523
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
5524
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5525
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5526
|
+
[paperclip] Deleting attachments.
|
5527
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
5528
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5529
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.6ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 6[0m
|
5535
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5536
|
+
[1m[36mSQL (66.6ms)[0m [1mROLLBACK[0m
|
5537
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5538
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
5542
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5548
|
+
Completed 200 OK in 199ms (Views: 0.7ms | ActiveRecord: 69.8ms)
|
5549
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5550
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5551
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5552
|
+
[paperclip] Deleting attachments.
|
5553
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
|
5554
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5555
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5556
|
+
[paperclip] Deleting attachments.
|
5557
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
|
5558
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5559
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 7
|
5565
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5566
|
+
[1m[35mSQL (62.0ms)[0m ROLLBACK
|
5567
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5568
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
5569
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5575
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5576
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
5577
|
+
Parameters: {"id"=>8}
|
5578
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8 LIMIT 1
|
5579
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8
|
5585
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5586
|
+
Redirected to http://test.host/ckeditor/pictures
|
5587
|
+
Completed 302 Found in 14ms
|
5588
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5589
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5590
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5591
|
+
[paperclip] Deleting attachments.
|
5592
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
5593
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5594
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5595
|
+
[paperclip] Deleting attachments.
|
5596
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
5597
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5598
|
+
[1m[35mSQL (86.9ms)[0m ROLLBACK
|
5599
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5600
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
5601
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m 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
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5606
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5607
|
+
[paperclip] Deleting attachments.
|
5608
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
5609
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5610
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5611
|
+
[paperclip] Deleting attachments.
|
5612
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
5613
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5614
|
+
[1m[35mSQL (52.6ms)[0m ROLLBACK
|
5615
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5616
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5617
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
5618
|
+
Parameters: {"qqfile"=>nil}
|
5619
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5620
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
5621
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 54.1ms)
|
5622
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5623
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5624
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5625
|
+
[paperclip] Deleting attachments.
|
5626
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
|
5627
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5628
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5629
|
+
[paperclip] Deleting attachments.
|
5630
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
|
5631
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5632
|
+
[1m[36mSQL (41.8ms)[0m [1mROLLBACK[0m
|
5633
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5634
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5635
|
+
[1m[35mSQL (0.4ms)[0m describe `posts`
|
5636
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
5637
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
5645
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
|
5646
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5647
|
+
[1m[35mSQL (46.0ms)[0m ROLLBACK
|
5648
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5649
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5650
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
5651
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
|
5657
|
+
Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 47.0ms)
|
5658
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5659
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 2[0m
|
5660
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5661
|
+
[1m[36mSQL (53.0ms)[0m [1mROLLBACK[0m
|
5662
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5663
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5664
|
+
[1m[35mAREL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
|
5671
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 54.0ms)
|
5672
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5673
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 3
|
5674
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5675
|
+
[1m[35mSQL (40.3ms)[0m ROLLBACK
|
5676
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5677
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5678
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
5679
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1[0m
|
5686
|
+
Rendered posts/_form.html.erb (5.5ms)
|
5687
|
+
Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 41.4ms)
|
5688
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5689
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 4[0m
|
5690
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5691
|
+
[1m[36mSQL (63.7ms)[0m [1mROLLBACK[0m
|
5692
|
+
[1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
|
5693
|
+
[1m[35mSQL (0.3ms)[0m SHOW TABLES
|
5694
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
|
5695
|
+
Migrating to CreatePosts (20110623120047)
|
5696
|
+
Migrating to CreateCkeditorAssets (20110705195648)
|
5697
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5698
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
5702
|
+
[1m[36mSQL (1.0ms)[0m [1mdescribe `ckeditor_assets`[0m
|
5703
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5707
|
+
Rendered text template (0.0ms)
|
5708
|
+
Completed 200 OK in 290ms (Views: 1.4ms | ActiveRecord: 2.8ms)
|
5709
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5710
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5711
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 9[0m
|
5715
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5716
|
+
[1m[36mSQL (105.8ms)[0m [1mROLLBACK[0m
|
5717
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5718
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5722
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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)[0m
|
5723
|
+
[paperclip] Saving attachments.
|
5724
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/10/rails_tar.gz
|
5725
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5726
|
+
Completed 200 OK in 143ms (Views: 0.6ms | ActiveRecord: 107.7ms)
|
5727
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5728
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5729
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5730
|
+
[paperclip] Deleting attachments.
|
5731
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/10/rails_tar.gz
|
5732
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 10
|
5733
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5734
|
+
[1m[35mSQL (87.8ms)[0m ROLLBACK
|
5735
|
+
[1m[36mSQL (0.2ms)[0m [1mBEGIN[0m
|
5736
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5737
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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)[0m
|
5738
|
+
[paperclip] Saving attachments.
|
5739
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/11/rails_tar.gz
|
5740
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5741
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5742
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
5743
|
+
Parameters: {"id"=>11}
|
5744
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11 LIMIT 1
|
5745
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5746
|
+
[paperclip] Deleting attachments.
|
5747
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/11/rails_tar.gz
|
5748
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11
|
5749
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5750
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
5751
|
+
Completed 302 Found in 101ms
|
5752
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5753
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5754
|
+
[1m[35mSQL (52.8ms)[0m ROLLBACK
|
5755
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5756
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
5757
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m 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
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5762
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK
|
5763
|
+
[1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
|
5764
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5765
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
5766
|
+
Parameters: {"qqfile"=>nil}
|
5767
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5768
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
5769
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
5770
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
5771
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
5772
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
5773
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5774
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5775
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5776
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5777
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5778
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5779
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5780
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5781
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5782
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
5783
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5784
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5785
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5786
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5787
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5788
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5789
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5790
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5791
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5792
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5793
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5794
|
+
[1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
|
5795
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5796
|
+
[1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
|
5797
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5798
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
5799
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5800
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
5804
|
+
[1m[36mSQL (0.5ms)[0m [1mdescribe `ckeditor_assets`[0m
|
5805
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5811
|
+
Completed 200 OK in 154ms (Views: 1.1ms | ActiveRecord: 3.3ms)
|
5812
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5813
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5814
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5815
|
+
[paperclip] Deleting attachments.
|
5816
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
5817
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5818
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5819
|
+
[paperclip] Deleting attachments.
|
5820
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
5821
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5822
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 12[0m
|
5828
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5829
|
+
[1m[36mSQL (74.7ms)[0m [1mROLLBACK[0m
|
5830
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5831
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5835
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5841
|
+
Completed 200 OK in 187ms (Views: 0.7ms | ActiveRecord: 77.4ms)
|
5842
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5843
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5844
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5845
|
+
[paperclip] Deleting attachments.
|
5846
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
|
5847
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5848
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5849
|
+
[paperclip] Deleting attachments.
|
5850
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
|
5851
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5852
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 13
|
5858
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5859
|
+
[1m[35mSQL (54.1ms)[0m ROLLBACK
|
5860
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5861
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5862
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5868
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5869
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
5870
|
+
Parameters: {"id"=>14}
|
5871
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14 LIMIT 1
|
5872
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14
|
5878
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5879
|
+
Redirected to http://test.host/ckeditor/pictures
|
5880
|
+
Completed 302 Found in 13ms
|
5881
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5882
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5883
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5884
|
+
[paperclip] Deleting attachments.
|
5885
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
5886
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5887
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5888
|
+
[paperclip] Deleting attachments.
|
5889
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
5890
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5891
|
+
[1m[35mSQL (85.4ms)[0m ROLLBACK
|
5892
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5893
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
5894
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m 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
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5899
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5900
|
+
[paperclip] Deleting attachments.
|
5901
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
5902
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5903
|
+
[1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5904
|
+
[paperclip] Deleting attachments.
|
5905
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
5906
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5907
|
+
[1m[35mSQL (56.4ms)[0m ROLLBACK
|
5908
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5909
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5910
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
5911
|
+
Parameters: {"qqfile"=>nil}
|
5912
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5913
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
5914
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 58.0ms)
|
5915
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
5916
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
5917
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5918
|
+
[paperclip] Deleting attachments.
|
5919
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
|
5920
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5921
|
+
[1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
|
5922
|
+
[paperclip] Deleting attachments.
|
5923
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
|
5924
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5925
|
+
[1m[36mSQL (41.9ms)[0m [1mROLLBACK[0m
|
5926
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
5927
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5928
|
+
[1m[35mSQL (0.3ms)[0m describe `posts`
|
5929
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
5930
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5938
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 5
|
5939
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5940
|
+
[1m[35mSQL (47.1ms)[0m ROLLBACK
|
5941
|
+
[1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
|
5942
|
+
[1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
|
5943
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT 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')[0m
|
5944
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
|
5950
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 47.9ms)
|
5951
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5952
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 6[0m
|
5953
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5954
|
+
[1m[36mSQL (43.9ms)[0m [1mROLLBACK[0m
|
5955
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5956
|
+
[1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5957
|
+
[1m[35mAREL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
|
5964
|
+
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 44.8ms)
|
5965
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5966
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 7
|
5967
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5968
|
+
[1m[35mSQL (44.1ms)[0m ROLLBACK
|
5969
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
5970
|
+
[1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
|
5971
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
5972
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1[0m
|
5979
|
+
Rendered posts/_form.html.erb (3.7ms)
|
5980
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 45.1ms)
|
5981
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5982
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 8[0m
|
5983
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5984
|
+
[1m[36mSQL (40.9ms)[0m [1mROLLBACK[0m
|
5985
|
+
[1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
|
5986
|
+
[1m[35mSQL (0.3ms)[0m SHOW TABLES
|
5987
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
|
5988
|
+
Migrating to CreatePosts (20110623120047)
|
5989
|
+
Migrating to CreateCkeditorAssets (20110705195648)
|
5990
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
5991
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
5995
|
+
[1m[36mSQL (0.6ms)[0m [1mdescribe `ckeditor_assets`[0m
|
5996
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6000
|
+
Rendered text template (0.0ms)
|
6001
|
+
Completed 200 OK in 439ms (Views: 52.2ms | ActiveRecord: 2.5ms)
|
6002
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
6003
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
6004
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 15[0m
|
6008
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6009
|
+
[1m[36mSQL (55.7ms)[0m [1mROLLBACK[0m
|
6010
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6011
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
6015
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
6016
|
+
[paperclip] Saving attachments.
|
6017
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/16/rails_tar.gz
|
6018
|
+
[1m[35mSQL (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
6019
|
+
Completed 200 OK in 97ms (Views: 0.7ms | ActiveRecord: 57.8ms)
|
6020
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
6021
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
6022
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6023
|
+
[paperclip] Deleting attachments.
|
6024
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/16/rails_tar.gz
|
6025
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 16
|
6026
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6027
|
+
[1m[35mSQL (62.8ms)[0m ROLLBACK
|
6028
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6029
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6030
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
6031
|
+
[paperclip] Saving attachments.
|
6032
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/17/rails_tar.gz
|
6033
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6034
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
6035
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
6036
|
+
Parameters: {"id"=>17}
|
6037
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17 LIMIT 1
|
6038
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6039
|
+
[paperclip] Deleting attachments.
|
6040
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/17/rails_tar.gz
|
6041
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17
|
6042
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6043
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
6044
|
+
Completed 302 Found in 53ms
|
6045
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
6046
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
6047
|
+
[1m[35mSQL (67.3ms)[0m ROLLBACK
|
6048
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6049
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
6050
|
+
[1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m 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
|
+
[1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
6055
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK
|
6056
|
+
[1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
|
6057
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
6058
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
6059
|
+
Parameters: {"qqfile"=>nil}
|
6060
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6061
|
+
[1m[35mSQL (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
6062
|
+
Completed 200 OK in 40ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
6063
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
|
6064
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
|
6065
|
+
[1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
|
6066
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
6067
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6068
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6069
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6070
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6071
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6072
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6073
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6074
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6075
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6076
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6077
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6078
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6079
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6080
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6081
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6082
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6083
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6084
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6085
|
+
[1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
|
6086
|
+
[1m[35mSQL (0.0ms)[0m BEGIN
|
6087
|
+
[1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
|
6088
|
+
[1m[35mSQL (0.2ms)[0m BEGIN
|
6089
|
+
[1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
|
6090
|
+
[1m[35mSQL (0.2ms)[0m BEGIN
|
6091
|
+
[1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
|
6092
|
+
[1m[35mSQL (0.2ms)[0m BEGIN
|
6093
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
6097
|
+
[1m[36mSQL (0.8ms)[0m [1mdescribe `ckeditor_assets`[0m
|
6098
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6104
|
+
Completed 200 OK in 237ms (Views: 0.9ms | ActiveRecord: 3.9ms)
|
6105
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
6106
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
6107
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6108
|
+
[paperclip] Deleting attachments.
|
6109
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
6110
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6111
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6112
|
+
[paperclip] Deleting attachments.
|
6113
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
6114
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6115
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 18[0m
|
6121
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6122
|
+
[1m[36mSQL (57.8ms)[0m [1mROLLBACK[0m
|
6123
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
6124
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
6128
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6134
|
+
Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 60.6ms)
|
6135
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
6136
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
6137
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6138
|
+
[paperclip] Deleting attachments.
|
6139
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
|
6140
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6141
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6142
|
+
[paperclip] Deleting attachments.
|
6143
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
|
6144
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6145
|
+
[1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 19
|
6151
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6152
|
+
[1m[35mSQL (60.2ms)[0m ROLLBACK
|
6153
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6154
|
+
[1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
|
6155
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6161
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
6162
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
6163
|
+
Parameters: {"id"=>20}
|
6164
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20 LIMIT 1
|
6165
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20
|
6171
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6172
|
+
Redirected to http://test.host/ckeditor/pictures
|
6173
|
+
Completed 302 Found in 8ms
|
6174
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
6175
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
6176
|
+
[1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
|
6177
|
+
[paperclip] Deleting attachments.
|
6178
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
6179
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6180
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6181
|
+
[paperclip] Deleting attachments.
|
6182
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
6183
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6184
|
+
[1m[35mSQL (47.5ms)[0m ROLLBACK
|
6185
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6186
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
6187
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m 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
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
6192
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6193
|
+
[paperclip] Deleting attachments.
|
6194
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
|
6195
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6196
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6197
|
+
[paperclip] Deleting attachments.
|
6198
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
|
6199
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6200
|
+
[1m[35mSQL (46.2ms)[0m ROLLBACK
|
6201
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6202
|
+
[1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
6203
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
6204
|
+
Parameters: {"qqfile"=>nil}
|
6205
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6206
|
+
[1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
6207
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 47.8ms)
|
6208
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
|
6209
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
|
6210
|
+
[1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6211
|
+
[paperclip] Deleting attachments.
|
6212
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
|
6213
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6214
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6215
|
+
[paperclip] Deleting attachments.
|
6216
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
|
6217
|
+
[1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6218
|
+
[1m[36mSQL (41.1ms)[0m [1mROLLBACK[0m
|
6219
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
6220
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6221
|
+
[1m[35mSQL (0.4ms)[0m describe `posts`
|
6222
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
6223
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6231
|
+
[1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 9
|
6232
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6233
|
+
[1m[35mSQL (41.4ms)[0m ROLLBACK
|
6234
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6235
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6236
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
6237
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
|
6243
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 42.5ms)
|
6244
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6245
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 10[0m
|
6246
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6247
|
+
[1m[36mSQL (46.7ms)[0m [1mROLLBACK[0m
|
6248
|
+
[1m[35mSQL (0.1ms)[0m BEGIN
|
6249
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6250
|
+
[1m[35mAREL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
|
6257
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 47.9ms)
|
6258
|
+
[1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6259
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 11
|
6260
|
+
[1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6261
|
+
[1m[35mSQL (43.4ms)[0m ROLLBACK
|
6262
|
+
[1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
|
6263
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6264
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
6265
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1[0m
|
6272
|
+
Rendered posts/_form.html.erb (3.4ms)
|
6273
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 44.4ms)
|
6274
|
+
[1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
|
6275
|
+
[1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 12[0m
|
6276
|
+
[1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6277
|
+
[1m[36mSQL (40.1ms)[0m [1mROLLBACK[0m
|
6278
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
6279
|
+
FROM sqlite_master
|
6280
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6281
|
+
[0m
|
6282
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
6283
|
+
[1m[36mSQL (138.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
6284
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
6285
|
+
[1m[36mSQL (89.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6286
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
6287
|
+
FROM sqlite_master
|
6288
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6289
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
6290
|
+
FROM sqlite_master
|
6291
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6292
|
+
[0m
|
6293
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6294
|
+
Migrating to CreatePosts (20110623120047)
|
6295
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime) [0m
|
6296
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
6297
|
+
Migrating to CreateCkeditorAssets (20110705195648)
|
6298
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE 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) [0m
|
6299
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
|
6300
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")[0m
|
6301
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
|
6302
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('idx_ckeditor_assetable_type')[0m
|
6303
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")
|
6304
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110705195648')[0m
|
6305
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
6306
|
+
FROM sqlite_master
|
6307
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6308
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6317
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m 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
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
|
6321
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6329
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6330
|
+
[paperclip] Deleting attachments.
|
6331
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
6332
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
|
6333
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT 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')[0m
|
6334
|
+
[paperclip] Saving attachments.
|
6335
|
+
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
6336
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6337
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
6338
|
+
Parameters: {"id"=>1}
|
6339
|
+
[1m[36mCkeditor::AttachmentFile Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
|
6340
|
+
[paperclip] Deleting attachments.
|
6341
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
6342
|
+
[1m[35mAREL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6346
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6347
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
6348
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
|
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
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6353
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6358
|
+
[1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6359
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
6360
|
+
FROM sqlite_master
|
6361
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6362
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mAREL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
6372
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m 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
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
|
6378
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mAREL (0.5ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6388
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
|
6394
|
+
[1m[36mAREL (0.5ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6400
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
6401
|
+
Parameters: {"id"=>1}
|
6402
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAREL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
6411
|
+
[1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6412
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
6413
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
|
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
|
+
[1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6418
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6423
|
+
[1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
6424
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
6425
|
+
FROM sqlite_master
|
6426
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6427
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
|
6435
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
6441
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms)
|
6442
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
|
6443
|
+
[1m[35mAREL (0.2ms)[0m 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
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
6449
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.5ms)
|
6450
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
|
6451
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mPost Load (0.2ms)[0m 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
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
|
6461
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
6462
|
+
FROM sqlite_master
|
6463
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6464
|
+
[0m
|
6465
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
6466
|
+
FROM sqlite_master
|
6467
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
6468
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
6469
|
+
Migrating to CreatePosts (20110623120047)
|
6470
|
+
Migrating to CreateCkeditorAssets (20110705195648)
|
6471
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mAREL (10.7ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6480
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6481
|
+
[paperclip] Deleting attachments.
|
6482
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
6483
|
+
[1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
|
6484
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
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
|
+
[1m[35mAREL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6492
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m 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
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
|
6496
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6500
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
6501
|
+
Parameters: {"id"=>1}
|
6502
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m 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
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
|
6506
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
6507
|
+
Completed 302 Found in 9ms
|
6508
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6509
|
+
[1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6510
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
6511
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m 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
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6516
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
|
6521
|
+
[1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
|
6522
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mAREL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
6532
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m 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
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
|
6538
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6548
|
+
[1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
|
6554
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6560
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
6561
|
+
Parameters: {"id"=>1}
|
6562
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAREL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
6571
|
+
[1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6572
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
6573
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
|
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
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6578
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
|
6583
|
+
[1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
|
6584
|
+
[1m[35mAREL (0.3ms)[0m 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
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
|
6592
|
+
[1m[35mAREL (0.1ms)[0m 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
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
6598
|
+
Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.4ms)
|
6599
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
|
6600
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
6606
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.5ms)
|
6607
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
|
6608
|
+
[1m[35mAREL (0.2ms)[0m 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
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
|
6615
|
+
Rendered posts/_form.html.erb (3.1ms)
|
6616
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms)
|
6617
|
+
[1m[35mAREL (0.1ms)[0m 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')})
|